Closed
Bug 1040391
Opened 10 years ago
Closed 10 years ago
Fix test_bug440572.html to not rely on silent failure to pass
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: peterv, Assigned: peterv)
Details
Attachments
(1 file)
1.97 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
dom/tests/mochitest/bugs/test_bug440572.html is supposed to test access through Xrays to iframes by name, even if they would shadow a WebIDL property. We've switched away from that behaviour, so it should be failing. It doesn't fail because the code that deals with the exception from accessing the property tries to postMessage the exception directly, which throws another exception. The test doesn't count the number of messages it gets, so the missing postMessage's are just ignored.
Attachment #8458319 -
Flags: review?(bzbarsky)
Comment 1•10 years ago
|
||
Comment on attachment 8458319 [details] [diff] [review]
v1
r=me
Attachment #8458319 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 2•10 years ago
|
||
Target Milestone: --- → mozilla34
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
QA Whiteboard: [qa-]
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
•