Closed
Bug 1488415
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 12825 - Idlharness.js tests added for Trusted Types API
Categories
(Core :: DOM: Core & HTML, enhancement, P4)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 12825 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12825 Details from upstream follow. Maja Kabus <kabusm@google.com> wrote: > Idlharness.js tests added for Trusted Types API > > Added Idlharness tests for Trusted Types interfaces. > > Bug: 739170 > Change-Id: Id8834affcdded63f3ebb9ebd4d288cfd01ef24a8 > Reviewed-on: https://chromium-review.googlesource.com/1204150 > WPT-Export-Revision: 58f331d5d86451d80b345f55f4342b966e3589fe
Assignee | ||
Updated•6 years ago
|
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Assignee | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=a4b3d1c489218b66c16a272b2fecbfeac4aac47d
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Updated•6 years ago
|
Component: DOM: Security → DOM
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=899fd1feaa46b753f99b85e34227a6817ff50e37
Assignee | ||
Comment 3•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=4872b5b9a424a04a9520008dd1fdcc7ff0474ec5
Assignee | ||
Comment 4•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=cdd49af99f6f7958c61217bfa402d5962519140a
Assignee | ||
Comment 5•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=1e09b06f3cdae3c7dc313ad868600c0137318e8c
Assignee | ||
Comment 6•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=87daba7bf7ff48aa2e4a86d788e05e34e567ad3e
Assignee | ||
Comment 7•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=23f0708b209db99f7395b439a65223c219995698
Assignee | ||
Comment 8•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=991f24dcfd9309ee6ac4b99d1b493ffad14acaba
Assignee | ||
Comment 9•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=ee8119791425eb632bf3829aca9d0ab0fe4d9cd3
Assignee | ||
Comment 10•6 years ago
|
||
Ran 1 tests and 72 subtests OK : 1 PASS : 1 FAIL : 71 New tests that have failures or other problems: /trusted-types/idlharness.window.html Stringification of window.TrustedTypes: FAIL Stringification of window.TrustedTypes.createPolicy("SomeName", { createHTML: s => s }): FAIL Stringification of window.TrustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string"): FAIL Stringification of window.TrustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string"): FAIL Stringification of window.TrustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string"): FAIL Stringification of window.TrustedTypes.createPolicy("SomeName4", { createURL: s => s }).createURL("A string"): FAIL TrustedHTML interface object length: FAIL TrustedHTML interface object name: FAIL TrustedHTML interface: existence and properties of interface object: FAIL TrustedHTML interface: existence and properties of interface prototype object: FAIL TrustedHTML interface: existence and properties of interface prototype object's "constructor" property: FAIL TrustedHTML interface: existence and properties of interface prototype object's @@unscopables property: FAIL TrustedHTML interface: stringifier: FAIL TrustedHTML must be primary interface of window.TrustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string"): FAIL TrustedScript interface object length: FAIL TrustedScript interface object name: FAIL TrustedScript interface: existence and properties of interface object: FAIL TrustedScript interface: existence and properties of interface prototype object: FAIL TrustedScript interface: existence and properties of interface prototype object's "constructor" property: FAIL TrustedScript interface: existence and properties of interface prototype object's @@unscopables property: FAIL TrustedScript interface: stringifier: FAIL TrustedScript must be primary interface of window.TrustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string"): FAIL TrustedScriptURL interface object length: FAIL TrustedScriptURL interface object name: FAIL TrustedScriptURL interface: existence and properties of interface object: FAIL TrustedScriptURL interface: existence and properties of interface prototype object: FAIL TrustedScriptURL interface: existence and properties of interface prototype object's "constructor" property: FAIL TrustedScriptURL interface: existence and properties of interface prototype object's @@unscopables property: FAIL TrustedScriptURL interface: stringifier: FAIL TrustedScriptURL must be primary interface of window.TrustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string"): FAIL TrustedTypePolicy interface object length: FAIL TrustedTypePolicy interface object name: FAIL TrustedTypePolicy interface: attribute name: FAIL TrustedTypePolicy interface: calling createHTML(DOMString) on window.TrustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError: FAIL TrustedTypePolicy interface: calling createScript(DOMString) on window.TrustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError: FAIL TrustedTypePolicy interface: calling createScriptURL(DOMString) on window.TrustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError: FAIL TrustedTypePolicy interface: calling createURL(DOMString) on window.TrustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError: FAIL TrustedTypePolicy interface: existence and properties of interface object: FAIL TrustedTypePolicy interface: existence and properties of interface prototype object: FAIL TrustedTypePolicy interface: existence and properties of interface prototype object's "constructor" property: FAIL TrustedTypePolicy interface: existence and properties of interface prototype object's @@unscopables property: FAIL TrustedTypePolicy interface: operation createHTML(DOMString): FAIL TrustedTypePolicy interface: operation createScript(DOMString): FAIL TrustedTypePolicy interface: operation createScriptURL(DOMString): FAIL TrustedTypePolicy interface: operation createURL(DOMString): FAIL TrustedTypePolicy interface: window.TrustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createHTML(DOMString)" with the proper type: FAIL TrustedTypePolicy interface: window.TrustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createScript(DOMString)" with the proper type: FAIL TrustedTypePolicy interface: window.TrustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createScriptURL(DOMString)" with the proper type: FAIL TrustedTypePolicy interface: window.TrustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createURL(DOMString)" with the proper type: FAIL TrustedTypePolicy interface: window.TrustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "name" with the proper type: FAIL TrustedTypePolicy must be primary interface of window.TrustedTypes.createPolicy("SomeName", { createHTML: s => s }): FAIL TrustedTypePolicyFactory interface object length: FAIL TrustedTypePolicyFactory interface object name: FAIL TrustedTypePolicyFactory interface: calling createPolicy(DOMString, TrustedTypePolicyOptions) on window.TrustedTypes with too few arguments must throw TypeError: FAIL TrustedTypePolicyFactory interface: existence and properties of interface object: FAIL TrustedTypePolicyFactory interface: existence and properties of interface prototype object: FAIL TrustedTypePolicyFactory interface: existence and properties of interface prototype object's "constructor" property: FAIL TrustedTypePolicyFactory interface: existence and properties of interface prototype object's @@unscopables property: FAIL TrustedTypePolicyFactory interface: operation createPolicy(DOMString, TrustedTypePolicyOptions): FAIL TrustedTypePolicyFactory interface: operation getPolicyNames(): FAIL TrustedTypePolicyFactory interface: window.TrustedTypes must inherit property "createPolicy(DOMString, TrustedTypePolicyOptions)" with the proper type: FAIL TrustedTypePolicyFactory interface: window.TrustedTypes must inherit property "getPolicyNames()" with the proper type: FAIL TrustedTypePolicyFactory must be primary interface of window.TrustedTypes: FAIL TrustedURL interface object length: FAIL TrustedURL interface object name: FAIL TrustedURL interface: existence and properties of interface object: FAIL TrustedURL interface: existence and properties of interface prototype object: FAIL TrustedURL interface: existence and properties of interface prototype object's "constructor" property: FAIL TrustedURL interface: existence and properties of interface prototype object's @@unscopables property: FAIL TrustedURL interface: stringifier: FAIL TrustedURL must be primary interface of window.TrustedTypes.createPolicy("SomeName4", { createURL: s => s }).createURL("A string"): FAIL
Comment 11•6 years ago
|
||
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/09260f4cac26 [wpt PR 12825] - Idlharness.js tests added for Trusted Types API, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/2d4bfa4346db [wpt PR 12825] - Update wpt metadata, a=testonly
Comment 12•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/09260f4cac26 https://hg.mozilla.org/mozilla-central/rev/2d4bfa4346db
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•