Closed
Bug 1001157
Opened 11 years ago
Closed 11 years ago
Assert in bindings code if there is a pending exception on the cx but no corresponding error marked on the ErrorResult
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: bzbarsky, Assigned: bzbarsky)
Details
Attachments
(1 file)
And in particular, we need to assert if there is an exception pending but the method/property is not marked [Throws].
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8412159 -
Flags: review?(peterv)
Comment 2•11 years ago
|
||
Have you pushed this to try? I wonder how many existing issues this will uncover!
Assignee | ||
Comment 3•11 years ago
|
||
I thought I had, but it looks like I accidentally did an opt push, which is not helpful. Doing another try push now (linux-only, since we don't have debug b2g coverage anyway).
Assignee | ||
Comment 4•11 years ago
|
||
I suppose I could do a MOZ_CRASH + try run on all platforms...
Comment 5•11 years ago
|
||
(In reply to comment #4)
> I suppose I could do a MOZ_CRASH + try run on all platforms...
Why would we use MOZ_CRASH?
Assignee | ||
Comment 6•11 years ago
|
||
We wouldn't use it in production. We'd use it in a try run to cause failures even on b2g, where we only run tests on opt builds.
Assignee | ||
Comment 7•11 years ago
|
||
Incidentally, my try run is at https://tbpl.mozilla.org/?tree=Try&rev=90a639fc29d6
Updated•11 years ago
|
Attachment #8412159 -
Flags: review?(peterv) → review+
Backed this out in http://hg.mozilla.org/integration/mozilla-inbound/rev/c46fb6bada28 along with backing out bug 997285 for various busted things:
https://tbpl.mozilla.org/php/getParsedLog.php?id=39073608&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=39073379&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=39073678&tree=Mozilla-Inbound
Flags: needinfo?(bzbarsky)
Assignee | ||
Comment 9•11 years ago
|
||
None of those failures were from this patch. Relanded: https://hg.mozilla.org/integration/mozilla-inbound/rev/823c0199a31d
Flags: needinfo?(bzbarsky) → in-testsuite+
Whiteboard: [need review]
Comment 10•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
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
•