Closed
Bug 765372
Opened 11 years ago
Closed 11 years ago
Add some null safety to isElementClickable
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox15 fixed, firefox16 fixed)
RESOLVED
FIXED
Firefox 16
People
(Reporter: Margaret, Assigned: Margaret)
References
Details
Attachments
(1 file)
1.28 KB,
patch
|
wesj
:
review+
|
Details | Diff | Splinter Review |
If we call isElementClickable aAllowBodyListeners=false, if aElement isn't a descendant of aElement.ownerDocument.body (such as the root element) you can run into problems. This is what causes this error sometimes seen during development: [JavaScript Error: "NS_ERROR_INVALID_POINTER: Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIEventListenerService.getListenerInfoFor]" {file: "chrome://browser/content/browser.js" line: 3397}]
Attachment #633675 -
Flags: review?(wjohnston)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → margaret.leibovic
Assignee | ||
Comment 1•11 years ago
|
||
Wes gave me an r+ on IRC, so I landed this: https://hg.mozilla.org/integration/mozilla-inbound/rev/c6371662e21e
Target Milestone: --- → Firefox 16
Comment 2•11 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/e4861bc9f86f - other than the orange in mochitests 1-3 and 6-8, robocop, crashtests and reftests, everything when swimmingly with that push.
Assignee | ||
Comment 3•11 years ago
|
||
I pushed to try to make sure this patch wasn't the guilty one. Re-landing: https://hg.mozilla.org/integration/mozilla-inbound/rev/526235473719
Updated•11 years ago
|
Attachment #633675 -
Flags: review?(wjohnston) → review+
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/526235473719
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•11 years ago
|
||
Uplifted to aurora as part of a roll-up patch: https://hg.mozilla.org/releases/mozilla-aurora/rev/2fb0a358eaf6
status-firefox15:
--- → fixed
status-firefox16:
--- → fixed
Updated•3 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
•