Closed
Bug 1323369
Opened 8 years ago
Closed 7 years ago
Enable pause-remove-from-document-networkState.html
Categories
(Testing :: web-platform-tests, defect)
Testing
web-platform-tests
Tracking
(firefox53 fixed)
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: ctai, Assigned: ctai)
Details
Attachments
(2 files)
The Gecko codes should follow WhatWG HTML spec not HTML5 spec. In WhatWG HTML, no check of NETWORK_EMPTY anymore. See: When a media element is removed from a Document, the user agent must run the following steps: Await a stable state, allowing the task that removed the media element from the Document to continue. The synchronous section consists of all the remaining steps of this algorithm. (Steps in the synchronous section are marked with ⌛.) ⌛ If the media element is in a document, abort these steps. ⌛ Run the internal pause steps for the media element.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Component: DOM: Core & HTML → web-platform-tests
Product: Core → Testing
Comment 3•8 years ago
|
||
(In reply to Chia-hung Tai [:ctai :ctai_mozilla :cht] from comment #0) > The Gecko codes should follow WhatWG HTML spec not HTML5 spec. In WhatWG > HTML, no check of NETWORK_EMPTY anymore. I am not sure which spec. the wpt follows. See bug 1304134 comment 9 and bug 1304134 comment 10. Somehow the test is broken if we follow whatwg.
Flags: needinfo?(cpearce)
Assignee | ||
Comment 4•8 years ago
|
||
Smaug, You might also comment on the spec issue. Thanks.
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(bugs)
Comment 5•8 years ago
|
||
Gecko should follow WhatWG HTML spec since that is the spec properly maintained. W3C HTML5 spec tends to be just a snapshot of HTML spec, meaning that it contains more bugs.
Flags: needinfo?(bugs)
Assignee | ||
Comment 6•8 years ago
|
||
Sounds very reasonable. JW and cpearce what do you think? (In reply to Olli Pettay [:smaug] from comment #5) > Gecko should follow WhatWG HTML spec since that is the spec properly > maintained. W3C HTML5 spec tends to be just a snapshot of HTML spec, meaning > that it contains more bugs.
Flags: needinfo?(jwwang)
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8818467 [details] Bug 1323369 - Make HTMLMediaElement::UnbindFromTree to follow WhatWG HTML spec. https://reviewboard.mozilla.org/r/98516/#review99052
Attachment #8818467 -
Flags: review?(jwwang) → review+
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8818468 [details] Bug 1323369 - Enable pause-remove-from-document-networkState.html. https://reviewboard.mozilla.org/r/98518/#review99054
Attachment #8818468 -
Flags: review?(jwwang) → review+
Assignee | ||
Comment 10•8 years ago
|
||
If so, then you should file a bug to fix the test case. Doesn't it, smaug, JW? (In reply to JW Wang [:jwwang] [:jw_wang] from comment #9) > Let's see if any test will be broken.
Flags: needinfo?(bugs)
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•8 years ago
|
Summary: Enable resource-selection-invoke-insert-source.html → Enable pause-remove-from-document-networkState.html
Comment 11•8 years ago
|
||
Not sure what I'm supposed to comment here. If our code follows the spec and there are failing tests, that in general means that tests need to be fixed. If other browsers have different behavior, it would be nice to file bugs on their bug trackers.
Flags: needinfo?(bugs)
Comment 12•8 years ago
|
||
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6bf4393db489 Make HTMLMediaElement::UnbindFromTree to follow WhatWG HTML spec. r=jwwang https://hg.mozilla.org/integration/autoland/rev/8f5ee59daee2 Enable pause-remove-from-document-networkState.html. r=jwwang
Keywords: checkin-needed
Comment 13•8 years ago
|
||
had to back this out for leaks like https://treeherder.mozilla.org/logviewer.html#?job_id=7949571&repo=autoland that started with this push
Flags: needinfo?(ctai)
Comment 14•8 years ago
|
||
Backout by cbook@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/507ed4bc9275 Backed out changeset 8f5ee59daee2 https://hg.mozilla.org/integration/autoland/rev/180cdc0296a3 Backed out changeset 6bf4393db489 for causing memory leaks on a CLOSED TREE
Assignee | ||
Comment 16•7 years ago
|
||
Fixed. See try result: https://treeherder.mozilla.org/#/jobs?repo=try&revision=d1a70d43f9350fe19d2cd58a452437acc9dd5e90 (In reply to Carsten Book [:Tomcat] from comment #13) > had to back this out for leaks like > https://treeherder.mozilla.org/logviewer.html#?job_id=7949571&repo=autoland > that started with this push
Flags: needinfo?(ctai)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment 19•7 years ago
|
||
Pushed by ihsiao@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/15ed85da015c Make HTMLMediaElement::UnbindFromTree to follow WhatWG HTML spec. r=jwwang https://hg.mozilla.org/integration/autoland/rev/67777e24d05c Enable pause-remove-from-document-networkState.html. r=jwwang
Keywords: checkin-needed
Comment 20•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/15ed85da015c https://hg.mozilla.org/mozilla-central/rev/67777e24d05c
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•