Closed
Bug 920840
Opened 11 years ago
Closed 11 years ago
Crash when JS implemented WebIDL init() returns a value other than undefined
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: nsm, Assigned: mccr8)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
1.65 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
Right now it seems like we MOZ_ASSERT() (https://bugzil.la/884897#c11), but bug 920831 and future uses especially those not having tests are likely to make the same mistakes Push did.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → continuation
OS: Linux → All
Hardware: x86_64 → All
Comment 1•11 years ago
|
||
Yes, doing this as a followup for bug 884897 was in my backlog, but I hadn't gotten to it. :(
Comment 2•11 years ago
|
||
Oh, and:
> especially those not having tests
No comment.
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
I updated the WebIDL bindings documentation for JS-implemented WebIDL to talk about the init() issue, and how to properly implement pref and permission checks.
Keywords: dev-doc-complete
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 810867 [details] [diff] [review]
I like to crash it crash it
Try run is green, for whatever that's worth: https://tbpl.mozilla.org/?tree=Try&rev=5186c4a24031
Attachment #810867 -
Flags: review?(bzbarsky)
Comment 6•11 years ago
|
||
Comment on attachment 810867 [details] [diff] [review]
I like to crash it crash it
r=me
Attachment #810867 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 7•11 years ago
|
||
We should probably get this on Aurora or whatever B2GNext is using.
https://hg.mozilla.org/integration/mozilla-inbound/rev/6d0b41d53c32
Keywords: checkin-needed
Comment 8•11 years ago
|
||
Backed out for B2G mochitest-3 perma-fail.
https://hg.mozilla.org/integration/mozilla-inbound/rev/2106260cb59b
https://tbpl.mozilla.org/php/getParsedLog.php?id=28480685&tree=Mozilla-Inbound
Assignee | ||
Comment 9•11 years ago
|
||
RyanVM points out that that's the same failure I saw on the try run. I guess my eyes are too tuned in to look for orange and not red...
Assignee | ||
Comment 10•11 years ago
|
||
Oops, looks like I just need to wait for bug 920831 to land: https://tbpl.mozilla.org/?tree=Try&rev=675001f2451a
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Bug 920831 needs some unbitrotting first. Backed out.
https://hg.mozilla.org/integration/b2g-inbound/rev/ed1bed4fbaab
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 13•11 years ago
|
||
Keywords: checkin-needed
Comment 14•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•