Closed
Bug 2068934
Opened 2 months ago
Closed 1 month ago
Sanitizer API: javascript URL handling should be part of the config
Categories
(Core :: DOM: Security, enhancement)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
158 Branch
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: noam.j.rosenthal, Assigned: mtan)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-needed)
Attachments
(1 external file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36
Steps to reproduce:
Comment 1•2 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Security' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: Untriaged → DOM: Security
Product: Firefox → Core
Updated•2 months ago
|
Updated•2 months ago
|
Assignee: nobody → tschuster
Updated•2 months ago
|
See Also: → https://github.com/whatwg/html/pull/12898
Updated•2 months ago
|
Keywords: dev-doc-needed
When javascriptURLs is set to false, unsafe methods will remove javascript URLs from the input.
In Safe methods javascript URLs always be removed regardless of config.
Implements https://github.com/whatwg/html/pull/12898
Updated•2 months ago
|
Assignee: tschuster → nobody
Updated•2 months ago
|
Assignee: nobody → mtan
Status: NEW → ASSIGNED
Pushed by tschuster@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/b590a088bc73
https://hg.mozilla.org/integration/autoland/rev/fa0eea47cef9
Support javascriptURLs in the configuration of sanitizer. r=tschuster,webidl,smaug,keithamus
Pushed by agoloman@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/19edd9c685cb
https://hg.mozilla.org/integration/autoland/rev/f46ff0e93d7f
Revert "Bug 2068934 - Support javascriptURLs in the configuration of sanitizer. r=tschuster,webidl,smaug,keithamus" for causing wpt failures @Sanitizer.cpp.
Comment 5•1 month ago
|
||
Backed out for causing wpt failures @Sanitizer.cpp.
- Backout link
- Push with failures
- Failure Log @sanitizer-javascript-url.html
- Failure log @sanitizer-config.html
- Failure Log @Sanitizer.cpp
Flags: needinfo?(mtan)
Comment 6•1 month ago
|
||
Pushed by tschuster@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/55c2874c6973
https://hg.mozilla.org/integration/autoland/rev/4ea3045980a2
Support javascriptURLs in the configuration of sanitizer. r=tschuster,webidl,smaug,keithamus
Pushed by smolnar@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/d1c4c600e21f
https://hg.mozilla.org/integration/autoland/rev/503330b78094
delete sanitizer-javascript-url.html.ini manifest because test are passing r=mtan
Comment 9•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4ea3045980a2
https://hg.mozilla.org/mozilla-central/rev/503330b78094
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox158:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
Updated•1 month ago
|
QA Whiteboard: [qa-triage-done-c159/b158]
You need to log in
before you can comment on or make changes to this bug.
Description
•