Closed
Bug 905477
Opened 12 years ago
Closed 12 years ago
gBrowser.addEventListener("load", myLoadHandler, true) throws errors
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: frommozilla.comhash69, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130730113002
Steps to reproduce:
Using examples from MDN to listen for events in tabbed browser:
gBrowser.addEventListener("load", this._loadHandler, true);
https://developer.mozilla.org/en-US/docs/XUL/School_tutorial/Intercepting_Page_Loads
https://developer.mozilla.org/en-US/docs/Code_snippets/Tabbed_browser
https://developer.mozilla.org/en-US/docs/Listening_to_events_in_Firefox_extensions
https://developer.mozilla.org/en-US/docs/Code_snippets/On_page_load
Actual results:
These examples throw errors:
Error: gBrowser.addProgressListener was called with a second argument, which is not supported. See bug 608628.
Source File: chrome://browser/content/tabbrowser.xml
Line: 1862
Expected results:
These examples don't even use gBrowser.addProgressListener
Comment 1•12 years ago
|
||
Could you please try this again with a current nightly build? http://nightly.mozilla.org/
Comment 3•12 years ago
|
||
Hm, ok.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•