Closed
Bug 1483768
Opened 7 years ago
Closed 7 years ago
[wpt-sync] Sync PR 12511 - Modify expected state for test of window.event
Categories
(Core :: DOM: Core & HTML, enhancement, P4)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 12511 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/12511
Details from upstream follow.
Yuki Yamada <yukiy@google.com> wrote:
> Modify expected state for test of window.event
>
> Current wpt test of window.event checks global event on invoking a
> listener from a different global.
>
> The logic of the test is:
> 1. create a frame element and set it as a child of parent window
> 2. add listeners
> 3. load event is dispatched in the context of child frame and a listener
> in the context of parent window is invoked
> 4. a event (named "hi") is dispatched inside the listener invoked in
> step 3. and a listener in the context of child frame is called
> 5. then check the global event of each context
>
> The test says that the global event of the parent context on step 5.
> should be undefined, but it should be load event that is dispatched
> step 3. in the logic above because the global event of the context of
> some listener is set to the passed event before invoking the listener.
> (See: https://dom.spec.whatwg.org/#concept-event-listener-inner-invoke)
> Therefore, this CL corrects that.
>
> Change-Id: I2116da87d06168b9fc113826311089e1e516e488
> Reviewed-on: https://chromium-review.googlesource.com/1177216
> WPT-Export-Revision: 214a90935587b536a1de748abd36e0dbb18caaa1
Assignee | ||
Updated•7 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=e779b4aae10ddaa087cb53b63ca22d0d053e2864
Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Ran 1 tests and 6 subtests
OK : 1
PASS : 4
FAIL : 2
Assignee | ||
Comment 5•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=fae131b253c6c43737ab86cfb51d0a8a3cbfb84e
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5c5b81495024
[wpt PR 12511] - Modify expected state for test of window.event with listener from a different global, a=testonly
Comment 7•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
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
•