Closed Bug 102154 Opened 24 years ago Closed 24 years ago

browser.xml refers to bogus property nsIWebNavigation.LOAD_FLAGS_BYPASS_NONE

Categories

(Core :: XUL, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: jag+mozilla)

Details

Attachments

(1 file)

Rightclicking on a link and choosing open in a new tab produces: Warning: reference to undefined property nsIWebNavigation.LOAD_FLAGS_BYPASS_NONE Source File: chrome://global/content/bindings/browser.xml#browser.loadURI() Line: 2 You should turn on javascript strict warnings in the "Edit -> Prefs -> Debug" so we could avoid all the strict warning fixup...!
-> xpt
Assignee: asa → hyatt
Component: Browser-General → XP Toolkit/Widgets
QA Contact: doronr → jrgm
Hmm, looks like this one should definitely be cleaned up. There is indeed no such property 'LOAD_FLAGS_BYPASS_NONE' on the nsIWebNavigation interface, which means we are passing 'undefined' as the flags value in those calls to nsIWebNavigation. That's not good. http://lxr.mozilla.org/seamonkey/search?string=LOAD_FLAGS_BYPASS_NONE
Assignee: hyatt → jaggernaut
Summary: javascript strict warnings in browser.xml → browser.xml refers to bogus property nsIWebNavigation.LOAD_FLAGS_BYPASS_NONE
Attached patch Simple fix.Splinter Review
Comment on attachment 51436 [details] [diff] [review] Simple fix. r=rginda
Attachment #51436 - Flags: review+
checked in, rev 1.7, marking fixed.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Thanks John.
No, thank you, dude!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: