Closed Bug 1728540 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 30284 - Implement HTMLScriptElement.supports(type) method

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox94 fixed)

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 30284 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/30284
Details from upstream follow.

b'Tsuyoshi Horo <horo@chromium.org>' wrote:

Implement HTMLScriptElement.supports(type) method

Change-Id: I9a902504cf692caa73ae7e49fd65895156bbf197
Reviewed-on: https://chromium-review.googlesource.com/3133553
WPT-Export-Revision: ae1faab518ac5dfc92188d47ae2bd2afbcd861a0

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 2 subtests

Status Summary

Firefox

OK : 2
FAIL: 7

Chrome

OK : 2
FAIL: 7

Safari

OK : 2
FAIL: 7

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/semantics/scripting-1/the-script-element/script-supports.html
Type of HTMLScriptElement.supports is function: FAIL (Chrome: FAIL, Safari: FAIL)
HTMLScriptElement.supports resurns true for 'classic': FAIL (Chrome: FAIL, Safari: FAIL)
HTMLScriptElement.supports resurns true for 'module': FAIL (Chrome: FAIL, Safari: FAIL)
HTMLScriptElement.supports returns false for JavaScript MIME types: FAIL (Chrome: FAIL, Safari: FAIL)
HTMLScriptElement.supports returns false for unsupported types: FAIL (Chrome: FAIL, Safari: FAIL)
/import-maps/script-supports-importmap.html
HTMLScriptElement.supports returns true for 'importmap': FAIL (Chrome: FAIL, Safari: FAIL)
HTMLScriptElement.supports returns false for unsupported types: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e6e1e74b0e49
[wpt PR 30284] - Implement HTMLScriptElement.supports(type) method, a=testonly
https://hg.mozilla.org/integration/autoland/rev/fccb9caa07a3
[wpt PR 30284] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.