Closed
Bug 1506839
Opened 7 years ago
Closed 6 years ago
Implement document-domain featurePolicy
Categories
(Core :: DOM: Security, enhancement)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
mozilla65
| Tracking | Status | |
|---|---|---|
| firefox65 | --- | fixed |
People
(Reporter: baku, Assigned: baku)
Details
(Keywords: dev-doc-complete, Whiteboard: [domsecurity-backlog1] [domsecurity-active])
Attachments
(1 file)
|
2.57 KB,
patch
|
annevk
:
review+
ckerschb
:
review+
|
Details | Diff | Splinter Review |
| Assignee | ||
Updated•7 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [domsecurity-backlog1] [domsecurity-active]
| Assignee | ||
Comment 1•6 years ago
|
||
I don't want to write a WPT because it's already implemented here:
https://chromium-review.googlesource.com/c/chromium/src/+/1329791
Let me know if we want to send an intent-to-implement/ship email.
Attachment #9024780 -
Flags: review?(ckerschb)
Attachment #9024780 -
Flags: review?(annevk)
Comment 2•6 years ago
|
||
Comment on attachment 9024780 [details] [diff] [review]
document-domain.patch
Nit: in the standard this check is after the sandbox check. It doesn't matter now since it's the same exception, but if that ever changes it'd be observable. Doing this without intent to ship seems acceptable given how small and easy to remove it is if there are concerns.
Attachment #9024780 -
Flags: review?(annevk) → review+
Comment 3•6 years ago
|
||
Comment on attachment 9024780 [details] [diff] [review]
document-domain.patch
Review of attachment 9024780 [details] [diff] [review]:
-----------------------------------------------------------------
Yeah, looks feasible to me - thanks!
Attachment #9024780 -
Flags: review?(ckerschb) → review+
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3e8db852399a
Implement document-domain feature policy, r=annevk, r=ckerschb
Comment 5•6 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Updated•6 years ago
|
Keywords: dev-doc-needed
Comment 6•6 years ago
|
||
Note to MDN writer's team:
IIRC, Feature-Policy is not enabled by default in any version of Firefox yet, so I'm not adding a note to the Fx65 rel notes about this. It could do with adding to the main Feature-Policy documentation however, if it is not there already.
| Assignee | ||
Comment 7•6 years ago
|
||
> IIRC, Feature-Policy is not enabled by default in any version of Firefox
It's enabled in nightly. But yes, I agree about not adding a note to the Fx65 rel.
Comment 8•6 years ago
|
||
document-domain reference docs exist already
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy#Directives
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy/document-domain
As you said, not shipping in Firefox, so compat table shows unsupported for now.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•