Summary: We are about to land bug 1193394 which will change microtask
behavior that our microtask behavior complied with the HTML spec.
We had fixed all test failures but still it's possible that new failures
will
appear before the change gets merged into mozilla-central. If we found any
failed tests we will disable it temporarily and file a bug to enable it
respectively. If new test you have locally started failing after this
change,
the document that Bevis wrote [1] would be helpful to make the test pass
with
the new behavior. Bevis' original message [2] has some background of
this, so
it would be also helpful to understand this change.
Big thanks to Olli who started the initial work and Bevis who took over
his work
and :arai who had been fixing tests that failed by the microtask change
in various
areas. And big thanks to everyone involved!
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1193394
Standard:
https://html.spec.whatwg.org/multipage/webappapis.html#enqueuejob(queuename,-job,-arguments)
Platform coverage: All
Target release: Firefox 60
Preference: None. We tried to add a pref but didn't add since it will make
things more complicated and hard to maintain.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1420816#c9 for the
detail.
DevTools bug: None
web-platform-tests: There are test cases that this change makes the
tests pass.
Do other browser engines implement this?: Chrome and Safari as per the
result of
a wpt [3].
[1]
https://docs.google.com/presentation/d/1momsC3suU8m-CrdZyYD_6QATATehjzZHbkGmL6KsmSk/edit#slide=id.g28ecd2197a_0_269
[2]
https://groups.google.com/forum/#!msg/mozilla.dev.platform/naB6gaevSSo/w-29kbpUBQAJ
[3]
https://wpt.fyi/html/webappapis/scripting/event-loops/task_microtask_ordering.html
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform