[wpt-sync] Sync PR 35495 - Don't rely on iframe load event firing after subsequent script executes.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35495 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35495
Details from upstream follow.
Jeremy Roman <jbroman@chromium.org> wrote:
Don't rely on iframe load event firing after subsequent script executes.
It appears that it was possible for PostMessageTest to not yet be
defined when the iframe load events are dispatched. Move them after
the definition of that function so that's impossible, and rewrite the
PostMessageTest function inline in those handlers, since it's quite
short anyhow.Fixed: 1342518,1343698
Change-Id: Iafe632570b10991c1345fdc26063ebc1a85ed1a7Reviewed-on: https://chromium-review.googlesource.com/3827819
WPT-Export-Revision: 8fcd519d786575f4ecd09a81a6411ba2434a138b
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK
: 2
PASS
: 2
Chrome
OK
: 2
PASS
: 2
Safari
OK
: 2
PASS
: 2
Links
Comment 4•3 years ago
|
||
bugherder |
Description
•