gecko-dev/dom
Andrew Sutherland a0ec53afae Bug 1416879 - Part 6: Test cancellation of diverted client-intercepted streams. r=bkelly
This adds a test where we have a ServiceWorker return 2 different types
of streams that Firefox recognizes as downloads which are handled by
diversion of the channel to the parent.  The diverted downloads are
then cancelled and we verify that cancellation actually results in the
underlying connections being closed and/or the ServiceWorker notified.

Our 2 types of streams are:
1. A pass-through stream that is incrementally delivered through use of
   an .sjs file that delivers data using setInterval.
2. A SW-authored ReadableStream (which is not enabled by default, so we
   set a pref.)

Determining when the .sjs's stream is canceled is accomplished by
opening a second "monitor" connection that only completes when the
streaming connection is closed.

In all cases we differentiate between cancelation and timeouts firing.

--HG--
extra : rebase_source : 255ea1b97d632363d7465d6d116a8c37dcca85c3
extra : source : 840a6e04bcea7d87e362adf14a37b7c17e20f043
2018-01-04 18:38:43 -05:00
..
abort Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
animation Bug 1429668 Turn off the reduceTimerPrecision pref for one more test r=hiro a=test-fix 2018-01-10 23:06:04 -06:00
asmjscache
audiochannel
base Bug 1428946 - Part 1. Make comparing and mapping DataSourceSurfaceWrapper objects work consistently. r=bas 2018-01-11 08:48:46 -05:00
battery
bindings Bug 1427419 - Part 22: Move inIDOMUtils.getUsedFontFaces to InspectorUtils. r=bz 2018-01-11 12:38:01 +08:00
broadcastchannel
browser-element Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco 2018-01-09 17:00:49 +01:00
cache Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 9 - ServiceWorker testing enabled, r=asuth 2018-01-08 14:05:04 +01:00
canvas Bug 1429413 - Ensure Factory::CreateDataSourceSurface allocation failures are gracefully handled. r=bas 2018-01-11 08:26:42 -05:00
clients Bug 1425975 P14 Assert that storage is allowed when a ClientSource is both execution ready and controlled. r=asuth 2018-01-05 12:10:22 -05:00
commandhandler
console Bug 1429174 - Introducing ConsoleUtils for logging messages to console - message level, r=bkelly 2018-01-10 22:06:38 +01:00
credentialmanagement Bug 1421616 - Have one WebAuthnManager instance per CredentialsContainer r=jcj 2017-12-05 19:05:06 +01:00
crypto Backed out changeset 3d02d52b92ee (bug 1333140) 2017-12-01 11:27:05 +01:00
encoding Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
events Bug 1427419 - Part 21: Move content state methods from inIDOMUtils to InspectorUtils. r=bz 2018-01-11 12:38:01 +08:00
fetch Bug 1416879 - Part 5: FetchStreamReader needs to cancel its reader when it encounters write errors. r=baku, f=bkelly 2018-01-04 18:09:32 -05:00
file Bug 1427091 - BlobSet must use nsCString instead of nsAutoCString, r=me 2018-01-05 15:38:06 +01:00
filehandle
filesystem Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 16 - Webkit/Blink directory picker enabled, r=asuth 2018-01-08 14:05:05 +01:00
flex Backed out 5 changesets (bug 1409083) for eslint failures 2017-12-07 19:47:09 -08:00
gamepad Bug 1397194 - Polling manually in macOS gamepad API backend r=qdot 2017-12-06 14:20:33 +08:00
geolocation Bug 1410364 - Don't consider opener when calculating IsSecureContext. r=bz, r=dveditz 2017-11-29 10:40:00 -05:00
grid Bug 1423378 Part 3: Duplicate repeat auto-fit test into a repeat auto-fill test (with slightly different expected values). r=mats 2017-12-20 10:54:46 -08:00
html Merge inbound to mozilla-central r=merge a=merge 2018-01-11 11:54:56 +02:00
imptests
indexedDB Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
interfaces Bug 1427419 - Part 22: Move inIDOMUtils.getUsedFontFaces to InspectorUtils. r=bz 2018-01-11 12:38:01 +08:00
ipc Merge inbound to mozilla-central r=merge a=merge 2018-01-11 11:54:56 +02:00
jsurl Bug 1420954 - Make nsIURIMutator setters return nsIURIMutator so we can chain setters r=bagder 2017-12-05 02:35:21 +01:00
locales Bug 1330688 - Report a better error in the console when a module load fails r=baku r=flod 2017-12-19 15:29:38 +00:00
manifest Bug 1427419 - Part 13: Move inIDOMUtils.isValidCSSColor to InspectorUtils. r=bz 2018-01-11 12:38:00 +08:00
mathml Bug 1428339: Make attribute mapping work without a pres context. r=heycam 2018-01-05 13:47:04 +01:00
media Bug 1424341 Turn the pref off for existing tests that perform fine-grained timing comparisons r=mrbkap 2018-01-10 14:46:34 -06:00
messagechannel
network Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 17 - Network Information enabled, r=asuth 2018-01-08 14:05:05 +01:00
notification Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 7 - Notification Request-Interaction enabled, r=asuth 2018-01-08 14:05:04 +01:00
offline Backed out changeset e2beba7e6875 (bug 1423798) for failing Browser Chrome tests browser_temporary_permissions_expiry.js on Windows 7 debug. r=backout on a CLOSED TREE 2017-12-09 07:23:35 +02:00
payments
performance Backed out 2 changesets (bug 1423495) for wpt failures at /server-timing/test_server_timing.html r=backout on a CLOSED TREE 2018-01-10 21:40:58 +02:00
permission
plugins Backed out 11 changesets (bug 1382251) for failing mochitest at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RefPtr.h:318 r=backout a=backout on a CLOSED TREE 2018-01-11 17:20:36 +02:00
power
presentation Bug 1426887 - Avoid adding/removing streams to nsMultiplexInputStream when reading in Presentation API, r=jdm 2017-12-30 12:47:12 +01:00
promise Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
push Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 12 - Push enabled, r=asuth 2018-01-08 14:05:05 +01:00
quota Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 10 - StorageManager enabled, r=asuth 2018-01-08 14:05:04 +01:00
res
script Bug 1429535 - Split up ScriptLoader::ProcessScriptElement method r=baku 2018-01-11 12:05:26 +00:00
secureelement
security Bug 1424917 - Remove support for HSTS Priming. r=mayhemer, r=ckerschb 2018-01-10 11:07:00 -05:00
smil Bug 1423098 - Drop support for SMIL accessKey; r=dholbert 2017-12-14 09:58:32 -06:00
storage
svg Bug 1427512 - Part 29: Remove nsIDOMCSSDeclaration. r=xidorn,jryans,bz 2018-01-11 16:17:57 +08:00
system
tests Merge inbound to mozilla-central r=merge a=merge 2018-01-11 11:54:56 +02:00
time
u2f Bug 1406467 - Web Authentication - WD-07 Updates to Make Assertion r=jcj,smaug 2018-01-09 07:27:35 +01:00
url Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE 2017-12-07 12:20:21 +02:00
vr Bug 1402147 - Part 2: Add test to ensure vrdisplayconnect fires when a listener is added after the display is connected r=daoshengmu 2018-01-05 16:20:12 -08:00
webauthn Bug 1406467 - Web Authentication - WD-07 Updates to Make Assertion r=jcj,smaug 2018-01-09 07:27:35 +01:00
webbrowserpersist Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
webidl Merge inbound to mozilla-central r=merge a=merge 2018-01-11 11:54:56 +02:00
websocket Bug 1418860 - Adding telemetry to see how often version param is used in ScriptLoader type, r=jonco, data-r=francois 2017-11-29 09:01:04 +01:00
workers Bug 1416879 - Part 6: Test cancellation of diverted client-intercepted streams. r=bkelly 2018-01-04 18:38:43 -05:00
worklet Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 1 - dump enabled, r=asuth 2018-01-08 14:05:03 +01:00
xbl Bug 1427419 - Part 18: Move inIDOMUtils.getParentForNode to InspectorUtils. r=bz 2018-01-11 12:38:00 +08:00
xhr Bug 1407858 part 1. Give DOMString setter APIs clearer names. r=smaug 2017-12-22 13:02:51 -05:00
xml Bug 1426234 part 3. Simplify ProcessStyleLink now that it's only called for Link headers. r=mystor 2017-12-21 16:43:24 -05:00
xslt Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2018-01-03 23:59:59 +02:00
xul Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2018-01-11 12:08:47 +02:00
jar.mn
moz.build Bug 1427512 - Part 29: Remove nsIDOMCSSDeclaration. r=xidorn,jryans,bz 2018-01-11 16:17:57 +08:00