gecko-dev/testing/web-platform/meta
Kyle Huey ca2010bbb9 Bug 1208687: Only discard events from the outermost queue. r=ehsan
When workers shut down we discard the event queue rather than running it to completion.  Originally workers managed their event queue themselves and would simply iterate through the array of events and cancel them all.  After bug 914762 this was done by setting a (thread-)global "canceling" flag and then calling NS_ProcessPendingEvents.  But this neglects that a shut down request can be received while the worker is in a sync queue.  In this case, calling NS_ProcessPendingEvents will process any events pending in the sync queue, which is *not* the queue we need to cancel.

The fix is, if we are in a sync queue when NotifyInternal is called, to defer clearing the queue until the top-most sync queue is destroyed and we are about to return to the regular event queue.  Only then can we call NS_ProcessPendingEvents to clear out the queue.  Because we can never process any events from this queue while sync queues are active, the timing of the mass cancellation is unchanged from the perspective of events in the regular queue.
2015-09-28 14:34:28 -07:00
..
2dcontext Bug 655328 - remove failure meta-data for WPT for 2dcontext/drawing-images-to-the-canvas/drawimage_canvas_8.html. r=jmuizelaar 2015-09-11 10:13:11 -04:00
ambient-light Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
battery-status Bug 1199127 - Update web-platform-tests expected data to revision 4600b7dbae996754fe52f48bc9c225834f11a686, a=testonly 2015-08-27 09:41:22 +01:00
content-security-policy Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE 2015-09-21 09:08:34 -07:00
cors Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
custom-elements Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
dom Bug 647621 - Remove document.charset from historical.html because it was eventually added to the spec. r=Ms2ger 2015-09-23 09:32:30 +09:00
DOMEvents Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
domparsing Bug 647621 - Implement document.charset and update document.inputEncoding to the latest spec. r=bz 2015-09-23 09:32:29 +09:00
domxpath Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
editing Bug 1197365 - Update metadata for web-platform-tests-e10s a=testonly 2015-09-18 10:04:43 +01:00
encoding Bug 912470 part 2 - Implement Encoding Standard-compliant big5 encoder. r=emk. 2015-09-03 15:21:57 +03:00
eventsource Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
fetch/nosniff Bug 1193033 - Update web-platform-tests expected data for Windows 10, a=testonly 2015-08-14 12:03:45 +01:00
FileAPI Bug 1187720 - Update web-platform-tests expected data to revision 4bc69f287365a67585d470300a2ef109689cf465, a=testonly 2015-07-26 18:49:50 +01:00
geolocation-API Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
hr-time Bug 1187720 - Update web-platform-tests expected data to revision 4bc69f287365a67585d470300a2ef109689cf465, a=testonly 2015-07-26 18:49:50 +01:00
html Bug 647621 - Implement document.charset and update document.inputEncoding to the latest spec. r=bz 2015-09-23 09:32:29 +09:00
html-media-capture Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
IndexedDB Bug 1190349 - Update web-platform-tests expected data to revision 2bd8c7dcf2e216e58ece63491f31b5d087ec740e, a=testonly 2015-08-03 16:11:00 +01:00
infrastructure Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
js/builtins Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
media-source Bug 1199127 - Update web-platform-tests expected data to revision 4600b7dbae996754fe52f48bc9c225834f11a686, a=testonly 2015-08-27 09:41:22 +01:00
mediacapture-streams Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
microdata/microdata-dom-api Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
mixed-content Bug 1197365 - Update metadata for web-platform-tests-e10s a=testonly 2015-09-18 10:04:43 +01:00
navigation-timing Bug 1183628 - Update web-platform-tests expected data to revision 593fd27931d7e9d573d2796fe10df9fff778d56f, a=testonly 2015-07-14 14:40:14 +01:00
notifications Bug 1187720 - Update web-platform-tests expected data to revision 4bc69f287365a67585d470300a2ef109689cf465, a=testonly 2015-07-26 18:49:50 +01:00
old-tests/submission Bug 1187720 - Update web-platform-tests expected data to revision 4bc69f287365a67585d470300a2ef109689cf465, a=testonly 2015-07-26 18:49:50 +01:00
page-visibility Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
pointerevents Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
pointerlock Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
progress-events Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
proximity Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
quirks-mode Bug 1201822 - Update web-platform-tests expected data to revision d0571e01e1a2e4b8c5f696af2f81cbc1be9a5842, a=testonly 2015-09-04 10:39:27 +01:00
referrer-policy Bug 1180500 - Update web-platform-tests expected data to revision 87398b8448f699e3e324148795891658f2fa16dd, a=testonly 2015-07-07 10:05:32 +01:00
resource-timing Bug 1180500 - Update web-platform-tests expected data to revision 87398b8448f699e3e324148795891658f2fa16dd, a=testonly 2015-07-07 10:05:32 +01:00
screen-orientation Bug 1131470 - Part 3: Implement ScreenOrientation interface. r=baku 2015-08-18 14:55:21 -07:00
selection Bug 1197365 - Update metadata for web-platform-tests-e10s a=testonly 2015-09-18 10:04:43 +01:00
selectors/attribute-selectors/attribute-case Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
selectors-api/tests/submissions/Opera Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
service-workers/cache-storage Bug 1182094 Fix wpt sandboxed-iframes.https.html test to expect rejected promises. r=jgraham 2015-09-15 08:04:13 -07:00
shadow-dom/untriaged Bug 1204461 - Update web-platform-tests expected data to revision 3f82dd41c8e3697bfe5fa5c57321c842b65ba2aa, a=testonly 2015-09-14 12:19:09 +01:00
subresource-integrity Bug 1205448 - Ship subresource integrity enabled by default. r=ckerschb 2015-09-17 16:33:35 -07:00
touch-events Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
typedarrays Bug 1199127 - Update web-platform-tests expected data to revision 4600b7dbae996754fe52f48bc9c225834f11a686, a=testonly 2015-08-27 09:41:22 +01:00
url Bug 1203463 - URL constructor should support about:blank URI, r=bz 2015-09-16 11:26:29 +08:00
user-timing Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
web-animations Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
WebCryptoAPI Bug 1180500 - Update web-platform-tests expected data to revision 87398b8448f699e3e324148795891658f2fa16dd, a=testonly 2015-07-07 10:05:32 +01:00
webgl Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
WebIDL/ecmascript-binding/es-exceptions Backed out changeset 8c0027994ca4 (bug 1178754) on request from jgraham 2015-06-30 15:53:56 +02:00
webmessaging Bug 1188612 - Transferable errors should become NS_DOM_DATA_CLONE_ERR, r=sfink 2015-08-10 16:13:24 +01:00
webrtc Bug 1180500 - Update web-platform-tests expected data to revision 87398b8448f699e3e324148795891658f2fa16dd, a=testonly 2015-07-07 10:05:32 +01:00
websockets Bug 1197365 - Update metadata for web-platform-tests-e10s a=testonly 2015-09-18 10:04:43 +01:00
webstorage Bug 1197365 - Update metadata for web-platform-tests-e10s a=testonly 2015-09-18 10:04:43 +01:00
webvtt Bug 1193033 - Update web-platform-tests expected data for Windows 10, a=testonly 2015-08-14 12:03:45 +01:00
workers Bug 1208687: Only discard events from the outermost queue. r=ehsan 2015-09-28 14:34:28 -07:00
XMLHttpRequest Bug 1207233 - Don't provide a default content-type header if user calls XHR.setRequestHeader('Content-Type', ''), r=jduell 2015-09-24 16:54:11 -04:00
MANIFEST.json test for bug 864171 and bug 1053011 r=padenot 2015-09-24 19:07:29 +12:00
mozilla-sync Bug 1204461 - Update web-platform-tests to revision 3f82dd41c8e3697bfe5fa5c57321c842b65ba2aa, a=testonly 2015-09-14 12:19:08 +01:00