[wpt-sync] Sync PR 31150 - Don't require the presence of `document` in `FileAPI/file/File-constructor.any.js`
Categories
(Core :: DOM: File, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox95 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31150 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31150
Details from upstream follow.
Andreu Botella <abb@randomunok.com> wrote:
Don't require the presence of
documentinFileAPI/file/File-constructor.any.js
FileAPI/file/File-constructor.any.jsis a test file that will run in both window and worker environments, but it usesdocumentwithout testing whether it is present. This results in the worker test failing in all engines.This change only runs the
document.bodysubtest ifdocumentis a property of the global scope.
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 50 subtests
Status Summary
Firefox
OK : 2
PASS: 100
Chrome
OK : 2
PASS: 100
Safari
OK : 2
PASS: 100
Links
Comment 4•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/e0df1d757f50
https://hg.mozilla.org/mozilla-central/rev/c2a38906ebe2
Description
•