Closed
Bug 1264467
Opened 9 years ago
Closed 9 years ago
Investigate crossOrigin related test failures in testing/web-platform/tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla49
People
(Reporter: edgar, Assigned: edgar)
References
Details
(Whiteboard: [tw-dom] btpp-active)
Attachments
(1 file, 1 obsolete file)
|
6.09 KB,
patch
|
jdm
:
review+
|
Details | Diff | Splinter Review |
Steps to reproduce:
Open http://w3c-test.org/html/semantics/embedded-content/the-img-element/relevant-mutations.html
Actual results:
Test failed in
* crossorigin state not changed: empty to anonymous, assert_unreached: update the image data was run Reached unreachable code
* crossorigin state not changed: anonymous to foobar, assert_unreached: update the image data was run Reached unreachable code
* crossorigin state not changed: use-credentials to USE-CREDENTIALS, assert_unreached: update the image data was run Reached unreachable code
Expected results:
Ideally, 100% of these tests would pass.
| Assignee | ||
Comment 1•9 years ago
|
||
(In reply to Edgar Chen [:edgar][:echen] from comment #0)
> Test failed in
> * crossorigin state not changed: empty to anonymous, assert_unreached:
> update the image data was run Reached unreachable code
> * crossorigin state not changed: anonymous to foobar, assert_unreached:
> update the image data was run Reached unreachable code
> * crossorigin state not changed: use-credentials to USE-CREDENTIALS,
> assert_unreached: update the image data was run Reached unreachable code
The relevant mutations for an img element includes "The element's crossorigin attribute's state is changed". But in above three cases, the crossorigin's state isn't changed.
See:
https://html.spec.whatwg.org/multipage/embedded-content.html#relevant-mutations
https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-crossorigin
https://html.spec.whatwg.org/multipage/infrastructure.html#cors-settings-attribute
| Assignee | ||
Comment 2•9 years ago
|
||
Updated•9 years ago
|
Whiteboard: [tw-dom] → [tw-dom] btpp-active
Summary: Investigate corssOrigin related test failures in testing/web-platform/tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html → Investigate crossOrigin related test failures in testing/web-platform/tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html
| Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8741185 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•9 years ago
|
||
| Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8748994 [details] [diff] [review]
Patch, v2
Review of attachment 8748994 [details] [diff] [review]:
-----------------------------------------------------------------
Force a reload only when the cross origin policy is changed, and do reload after attribute has been set in order to use new cross origin policy correctly.
Attachment #8748994 -
Flags: review?(josh)
Comment 6•9 years ago
|
||
Comment on attachment 8748994 [details] [diff] [review]
Patch, v2
Review of attachment 8748994 [details] [diff] [review]:
-----------------------------------------------------------------
Nice.
Attachment #8748994 -
Flags: review?(josh) → review+
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 8•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•