document.referrer should not be undefined (empty string ok)
Reported by nickg | March 21st, 2010 @ 03:32 PM
document.referrer should not return undefined. If MIA, then return ''
Comments and changes to this ticket
-
nickg March 21st, 2010 @ 03:39 PM
- State changed from new to resolved
Diff is just
--- a/src/html/document.js +++ b/src/html/document.js @@ -9,7 +9,7 @@ */ HTMLDocument = function(implementation, ownerWindow, referrer) { Document.apply(this, arguments); - this.referrer = referrer; + this.referrer = referrer || ''; this.baseURI = "about:blank"; this.ownerWindow = ownerWindow; this.head;
Committed in
http://github.com/thatcher/env-js/commit/70424375d78ae4d77bbe9108cc...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
a javascript browser environment