Closed
Bug 1260664
Opened 7 years ago
Closed 7 years ago
W3C Reflect referrerPolicy as a limited enumerated attribute
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: tnguyen, Assigned: tnguyen)
References
Details
(Whiteboard: btpp-active)
Attachments
(1 file, 1 obsolete file)
7.18 KB,
patch
|
franziskus
:
review+
smaug
:
review+
|
Details | Diff | Splinter Review |
Running W3C referrer-policy test from [1] and filtering fail cases, I found a case: /referrer-policy/generic/subresource-test/attr-referrer-invalid-value.html Error message : assert_equals: expected \"\" but got \"not-valid-value\ It seems, invalid referrerpolicy should not be reflected. referrerpolicy attribute draft specs is shown in [2], but seems there's no spec mention about that. [1] https://github.com/w3c/web-platform-tests/tree/master/referrer-policy [2] https://w3c.github.io/webappsec-referrer-policy/#referrer-policy-delivery-referrer-attribute
Assignee | ||
Comment 1•7 years ago
|
||
Following [1] invalid referrerPolicy (not referrerpolicy) should be replaced as empty string. [1] https://www.w3.org/TR/html5/infrastructure.html#limited-to-only-known-values.
Assignee | ||
Comment 2•7 years ago
|
||
WIP patch: change referrerPolicy to "limited to only known values" and update test case
Updated•7 years ago
|
Assignee: nobody → tnguyen
Updated•7 years ago
|
Whiteboard: btpp-active
Assignee | ||
Updated•7 years ago
|
Summary: W3C Invalid referrerpolicy attribute value fails → W3C Reflect referrerPolicy as a limited enumerated attribute
Assignee | ||
Comment 3•7 years ago
|
||
Attachment #8739286 -
Attachment is obsolete: true
Attachment #8742303 -
Flags: review?(franziskuskiefer)
Comment 4•7 years ago
|
||
Comment on attachment 8742303 [details] [diff] [review] Reflect referrerPolicy as a limited enumerated attribute and update tests case Review of attachment 8742303 [details] [diff] [review]: ----------------------------------------------------------------- lgtm. maybe file follow ups to fix link and valid values in the new test. You'll need a dom peer to make the final review. ::: dom/html/test/test_bug1260664.html @@ +24,5 @@ > +SimpleTest.waitForExplicitFinish(); > +SimpleTest.waitForFocus(runTests); > + > +function runTests() { > + var elements = [ "iframe", "img", "a", "area" ]; maybe add a comment with bug number for the link element
Attachment #8742303 -
Flags: review?(franziskuskiefer) → review+
Assignee | ||
Updated•7 years ago
|
Attachment #8742303 -
Flags: review?(bugs)
Updated•7 years ago
|
Attachment #8742303 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 5•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4e9c1d1b1626
Assignee | ||
Comment 6•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4d0b5298dfeb
Assignee | ||
Comment 7•7 years ago
|
||
:), Try result https://treeherder.mozilla.org/#/jobs?repo=try&revision=55f9fd61fde7&selectedJob=19796764
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/643063a2427b
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Updated•4 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•