Add referrerpolicy attribute support for <script> elements
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: domfarolino, Assigned: tnguyen)
References
Details
(Keywords: dev-doc-needed)
Attachments
(3 files)
![]() |
||
Comment 1•7 years ago
|
||
![]() |
||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Assignee | ||
Comment 5•7 years ago
|
||
Comment 10•7 years ago
|
||
bugherder |
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
I've documented this:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement
https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/referrerPolicy
And filed a PR to add compat data for it:
https://github.com/mdn/browser-compat-data/pull/3301
Let me know if the docs look OK. Thanks!
Assignee | ||
Comment 14•7 years ago
|
||
Thanks Chris
I think the empty string is not mentioned in the doc, that is the default and fallback value, https://www.w3.org/TR/referrer-policy/#referrer-policy-empty-string
Comment 15•7 years ago
|
||
(In reply to Thomas Nguyen from comment #14)
Thanks Chris
I think the empty string is not mentioned in the doc, that is the default and fallback value, https://www.w3.org/TR/referrer-policy/#referrer-policy-empty-string
I've added a note to cover this to both the following:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/referrerPolicy
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
Does it look OK?
Assignee | ||
Comment 16•7 years ago
|
||
lgtm, thanks
Comment 17•6 years ago
|
||
(In reply to Chris Mills (Mozilla, MDN editor) [:cmills] from comment #15)
(In reply to Thomas Nguyen from comment #14)
Thanks Chris
I think the empty string is not mentioned in the doc, that is the default and fallback value, https://www.w3.org/TR/referrer-policy/#referrer-policy-empty-stringI've added a note to cover this to both the following:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/referrerPolicy
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/scriptDoes it look OK?
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy#Integration_with_HTML implies there is no support for <script>...
Description
•