Closed
Bug 1055212
Opened 11 years ago
Closed 10 years ago
JavaScript Error: "this._items[aData] is undefined" {file: "resource://gre/modules/PageActions.jsm" line: 57}]
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(fennec34+)
RESOLVED
FIXED
Firefox 34
Tracking | Status | |
---|---|---|
fennec | 34+ | --- |
People
(Reporter: aaronmt, Assigned: wesj)
References
Details
(Keywords: regression)
Attachments
(1 file)
2.13 KB,
patch
|
Margaret
:
review+
|
Details | Diff | Splinter Review |
[JavaScript Error: "this._items[aData] is undefined" {file: "resource://gre/modules/PageActions.jsm" line: 57}]
In the overflow menu in Nightly in the URL-bar, tapping 'Subscribe to Page' yields the above error.
Updated•11 years ago
|
tracking-fennec: --- → ?
Keywords: regression
Updated•11 years ago
|
Assignee: nobody → wjohnston
tracking-fennec: ? → 34+
Assignee | ||
Comment 1•10 years ago
|
||
Ahh. Interesting little fact. Components.utils.import and the nsIJSSubScriptLoader don't use the same cache, so they were generating two different PageActions objects. Margaret's uses the old API, so it was getting a different one than the reader page action uses. Both received the nsIObserverService notifications though. When they saw an id that was registered with the opposite one, they complained.
This uses Component.utils.import in both places.
Attachment #8477661 -
Flags: review?(margaret.leibovic)
Comment 2•10 years ago
|
||
Comment on attachment 8477661 [details] [diff] [review]
Patch
Review of attachment 8477661 [details] [diff] [review]:
-----------------------------------------------------------------
Tricky! Good catch.
Attachment #8477661 -
Flags: review?(margaret.leibovic) → review+
Comment 3•10 years ago
|
||
Comment on attachment 8477661 [details] [diff] [review]
Patch
Wow! Very tricky. I would have never guessed at this fix. Well done.
Assignee | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•