Skip to content

Commit

Permalink
FF127 base href forbids javascript and data URLs (mdn#23164)
Browse files Browse the repository at this point in the history
* FF127 base href forbids javascript and data URLs

* HTMLBaseElement.href -forbit data/javascript urls

* Update api/HTMLBaseElement.json

* Update api/HTMLBaseElement.json

* Switch to impl_url

---------

Co-authored-by: Florian Scholz <fs@florianscholz.com>
  • Loading branch information
hamishwillee and Elchi3 authored May 31, 2024
1 parent 9ceaf27 commit de57742
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions api/HTMLBaseElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,40 @@
"standard_track": true,
"deprecated": false
}
},
"forbid_data_javascript_urls": {
"__compat": {
"description": "<code>data:</code> and <code>javascript:</code> urls are not allowed",
"support": {
"chrome": {
"version_added": false,
"impl_url": "https://crbug.com/40928991"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "127"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "17.2"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
},
"target": {
Expand Down
2 changes: 1 addition & 1 deletion html/elements/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
"version_added": "127"
},
"firefox_android": "mirror",
"ie": {
Expand Down

0 comments on commit de57742

Please sign in to comment.