Closed
Bug 1913339
Opened 6 months ago
Closed 4 months ago
Implement default-policy support for `Element.innerHTML` and `Element.insertAdjacentHTML`
Categories
(Core :: DOM: Security, task, P3)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
133 Branch
Tracking | Status | |
---|---|---|
firefox133 | --- | fixed |
People
(Reporter: mbrodesser-Igalia, Assigned: mbrodesser-Igalia)
References
(Blocks 3 open bugs)
Details
(Whiteboard: [domsecurity-active], [wptsync upstream])
Attachments
(5 files)
No description provided.
Assignee | ||
Comment 1•6 months ago
|
||
The additional parameter is not required.
Assignee | ||
Comment 2•6 months ago
|
||
Depends on D219255
Assignee | ||
Comment 3•6 months ago
|
||
The remaining support for default policies will be added in other
patches.
Depends on D219255
Updated•6 months ago
|
Attachment #9419268 -
Attachment description: WIP: Bug 1913339: part 2) Start implementing default-policy support for `Element.insertAdjacentHTML` → WIP: Bug 1913339: part 3) Start implementing default-policy support for `Element.insertAdjacentHTML`
Assignee | ||
Updated•6 months ago
|
Assignee: nobody → mbrodesser
Updated•6 months ago
|
Attachment #9419267 -
Attachment description: WIP: Bug 1913339: part 1) Simplify existing WPT for the default-policy support of `Element.insertAdjacentHTML` → Bug 1913339: part 1) Simplify existing WPT for the default-policy support of `Element.insertAdjacentHTML`. r=smaug
Updated•6 months ago
|
Attachment #9419585 -
Attachment description: WIP: Bug 1913339: part 2) Support default policies in `TrustedTypePolicyFactory` → Bug 1913339: part 2) Support default policies in `TrustedTypePolicyFactory`. r=peterv,smaug
Updated•6 months ago
|
Priority: -- → P3
Whiteboard: [domsecurity-active]
Assignee | ||
Comment 4•6 months ago
|
||
Allows to let them pass on Gecko too, given a Gecko-specific bug (see
the test). The text-to-HTML transformation, which is what the test is
supposed to test, is still tested.
Updated•6 months ago
|
Attachment #9419268 -
Attachment description: WIP: Bug 1913339: part 3) Start implementing default-policy support for `Element.insertAdjacentHTML` → WIP: Bug 1913339: part 4) Implement default-policy support for `Element.insertAdjacentHTML`
Updated•6 months ago
|
Attachment #9419268 -
Attachment description: WIP: Bug 1913339: part 4) Implement default-policy support for `Element.insertAdjacentHTML` → Bug 1913339: part 4) Implement default-policy support for `Element.insertAdjacentHTML`. r=peterv!,smaug!
Assignee | ||
Comment 5•6 months ago
|
||
In most (all?) cases the failure case needs to be handled.
Updated•6 months ago
|
Attachment #9420136 -
Attachment description: WIP: Bug 1913339: part 5) Annotate `NonVoidLatin1StringToJsval` and `NonVoidStringToJsval` as `[[nodiscard]]` → Bug 1913339: part 5) Annotate `NonVoidLatin1StringToJsval` and `NonVoidStringToJsval` as `[[nodiscard]]`. r=jandem
Assignee | ||
Updated•6 months ago
|
No longer depends on: 1915168
Summary: Implement default-policy support for `Element.insertAdjacentHTML` → Implement default-policy support for `Element.innerHTML` and `Element.insertAdjacentHTML`
Updated•6 months ago
|
Attachment #9419268 -
Attachment description: Bug 1913339: part 4) Implement default-policy support for `Element.insertAdjacentHTML`. r=peterv!,smaug! → Bug 1913339: part 4) Implement default-policy support for `Element.innerHTML` and `Element.insertAdjacentHTML`. r=smaug!,peterv!
Assignee | ||
Updated•5 months ago
|
Flags: needinfo?(afarre)
Pushed by mbrodesser@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/e4d0ee017f1e
part 1) Simplify existing WPT for the default-policy support of `Element.insertAdjacentHTML`. r=smaug
https://hg.mozilla.org/integration/autoland/rev/8d3265a67df7
part 2) Support default policies in `TrustedTypePolicyFactory`. r=peterv,smaug
https://hg.mozilla.org/integration/autoland/rev/b741269269ef
part 3) Make some sub-tests of <block-string-assignment-to-Element-insertAdjacentHTML.html> less dependent on each other. r=smaug
https://hg.mozilla.org/integration/autoland/rev/8f8c6c4a4ab8
part 4) Implement default-policy support for `Element.innerHTML` and `Element.insertAdjacentHTML`. r=peterv,smaug,sessionstore-reviewers,sclements
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/48646 for changes under testing/web-platform/tests
Whiteboard: [domsecurity-active] → [domsecurity-active], [wptsync upstream]
Comment 9•4 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e4d0ee017f1e
https://hg.mozilla.org/mozilla-central/rev/8d3265a67df7
https://hg.mozilla.org/mozilla-central/rev/b741269269ef
https://hg.mozilla.org/mozilla-central/rev/8f8c6c4a4ab8
Status: NEW → RESOLVED
Closed: 4 months ago
status-firefox133:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
Upstream PR merged by moz-wptsync-bot
Upstream PR merged
Assignee | ||
Comment 12•4 months ago
|
||
Reopening for the last (minor) patch to land.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•4 months ago
|
Comment 13•4 months ago
|
||
Pushed by mbrodesser@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/b280c543c450
part 5) Annotate `NonVoidLatin1StringToJsval` and `NonVoidStringToJsval` as `[[nodiscard]]`. r=jandem
Comment 14•4 months ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 4 months ago → 4 months ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•