Closed Bug 1573531 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 18400 - Deprecate expose parameter in TrustedTypePolicyFactory.createPolicy.

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

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

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

Stefano Sanfilippo <ssanfilippo@chromium.org> wrote:

Deprecate expose parameter in TrustedTypePolicyFactory.createPolicy.

Remove getExposedPolicy and replace it with defaultPolicy, which is needed internally but also addresses #992031.

Bug: 992006, 992031
Change-Id: Ic5f1ae6a9001a18cb72828fd8b854453605d3c84
Reviewed-on: https://chromium-review.googlesource.com/1751723
WPT-Export-Revision: b0b184e38e8ff04302262b334eb6013343e42fba

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Component: DOM: Security → web-platform-tests
Product: Core → Testing
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Ran 2 tests and 16 subtests
OK     : 1
FAIL   : 3
TIMEOUT: 2
NOTRUN : 12

New tests that have failures or other problems:
/trusted-types/TrustedTypePolicyFactory-defaultPolicy.tentative.html
    defaultPolicy is a read-only property: FAIL
    defaultPolicy returns the correct default policy: FAIL
    defaultPolicy with no default created is not an error: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/87b977fa812a
[wpt PR 18400] - [Trusted Types] Deprecate expose param in createPolicy, add defaultPolicy., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/282381641661
[wpt PR 18400] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.