Per talk with smaug,  and  should be valid test cases. : view-source:http://w3c-test.org/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-source-media.html : view-source:http://w3c-test.org/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-candidate-insert-before.html
once this bug fixed, below task can be enabled. resource-selection-candidate-insert-before.html resource-selection-candidate-moved.html resource-selection-candidate-remove-addEventListener.html resource-selection-candidate-remove-onerror.html resource-selection-invoke-insert-source-networkState.html resource-selection-invoke-in-sync-event.html resource-selection-invoke-load.html resource-selection-invoke-pause.html resource-selection-invoke-play.html resource-selection-remove-source.html resource-selection-remove-src.html
Also resource-selection-pointer-insert-source.html, resource-selection-pointer-remove-source.html resource-selection-source-media.html Those are related to </video> tag.
(In reply to Chia-hung Tai [:ctai :ctai_mozilla :cht] from comment #1) > once this bug fixed, below task can be enabled. > > resource-selection-candidate-insert-before.html > resource-selection-candidate-moved.html > resource-selection-candidate-remove-addEventListener.html > resource-selection-candidate-remove-onerror.html > resource-selection-invoke-insert-source-networkState.html > resource-selection-invoke-in-sync-event.html > resource-selection-invoke-load.html > resource-selection-invoke-pause.html > resource-selection-invoke-play.html > resource-selection-remove-source.html > resource-selection-remove-src.html Those are related to two script case.
Hi, Smaug, Per talk in email. Above test cases are related to microtask checkpoint. Those test cases should be passed after this bug fixed. Please confirm it on bugzilla. :)
We do have microtasks in right place but our stable state doesn't follow microtask scheduling. Filed bug 1318316
Depends on: 1318316
Summary: Microtask checkpoint should be fired before second <script> tag and right after the </video>. → StableState should be fired before second <script> tag and right after the </video>.
Chia-hung, are you able to work on this? I marked this P1 due to the high number of intermittents this blocks.
Priority: -- → P1
This is basically a dup of bug 1318316, which depends on the promise+microtask scheduling stuff I've been doing.
According to Smaug's comment, that should be done by smaug.
Should we just dupe this to bug 1318316, then?
Doesn't really matter. Currently this nicely covers the cases where StableState handling affects to video handling (kind of a meta bug for that) and bug 1318316 then covers the actual change. up to you.
Is there any spec. to say each <script> should run on its own macro task so the micro tasks schedules by the 1st <script> should happen before the 2nd <script>?
There are no macro tasks ;) But HTML spec defines that microtask checkpoint happens before <script> execution.
Duplicate of this bug: 1147952
Duplicate of this bug: 1318221
This doesn't sound something we plan to ship in this release, re-set the priority.
Priority: P1 → P3
You need to log in before you can comment on or make changes to this bug.