gecko-dev/dom
Andrew Sutherland 8e593b76bd Bug 1319531 - Ensure all streams provided by DatabaseFile can be read without generating NS_BASE_STREAM_WOULD_BLOCK errors. r=janv
IndexedDB database operations are written such that they must execute
synchronously.  For this reason, the add/put operation reads/writes its
Blobs to disk in a synchronous fashion.  However, with the introduction
of SendStream-backed Blobs for large (>1 MiB) blobs whose contents are
streamed to the parent replacing nsStringInputStream-backed Blobs
(whose contents were sent up in a single IPC message that might exceed
the size limit and cause a crash), this has no longer been a safe
assumption.  However, the problems weren't immediately obvious because
most pre-WASM Blobs are smaller than the 1MiB threshold and even when
they exceeded the size, their memory-backed contents could rapidly be
sent to the parent via IPC, making NS_BASE_STREAM_WOULD_BLOCK errors
rare/hard to reproduce.  (rr and its enforced single-threading is a
good way to reproduce, however.  Also, see the testing patch on the
bug that introduces artificial delays into SendStream.)

Included SpecialPowersObserver.jsm minor changes to "CreateFiles":
- appendRelativePath is used instead of appendPath because appendPath
  only allows a single path component to be appended.  In other words,
  file creation is limited to files at the root of the profile
  directory using appendPath, which is needlessly limiting.
- outStream is now closed even if no data is provided.  This is
  essential on windows where file deletion only occurs when all handles
  are closed.  Without this fix, "RemoveFiles" side-effect of deleting
  the created files might not take effect until garbage collection runs
  and collects the outStream.
2017-01-30 01:07:27 -05:00
..
animation Bug 1334541 - add BUG_COMPONENT to dom/animation/* files. r=hiro 2017-01-29 06:51:47 -05:00
archivereader Bug 1334551 - add BUG_COMPONENT to dom/archivereader/* and dom/asmjscache/* files. r=overholt 2017-01-29 06:51:35 -05:00
asmjscache Bug 1334551 - add BUG_COMPONENT to dom/archivereader/* and dom/asmjscache/* files. r=overholt 2017-01-29 06:51:35 -05:00
audiochannel Backed out changeset 5566e83980ed (bug 1313155) for mass build bustage a=backout CLOSED TREE 2017-01-12 14:16:52 -08:00
base Backed out changeset a0d8fb1244c5 (bug 1313864) for causing bug 1334904. 2017-01-29 10:29:27 -08:00
battery
bindings Bug 1332713 part 4. Make Promise-returning getters return a rejected Promise on exception instead of throwing. r=qdot 2017-01-27 18:53:37 -05:00
broadcastchannel Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
browser-element Bug 1332850 - Skip test_browserElement_inproc_AudioChannel_nested.html on Android for frequent failures; r=me 2017-01-27 09:17:17 -07:00
cache Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan 2017-01-27 16:53:44 +01:00
canvas Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge. 2017-01-29 15:31:56 +08:00
commandhandler Bug 1309049 - move embedding/ files out of that directory, r=jst,mossop 2017-01-12 13:47:27 -08:00
console Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
crypto Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
devicestorage
encoding Bug 1334768 - stylo: More reftest expectation adjustments for 2017-01-29 merge. 2017-01-30 10:53:58 +08:00
events Backed out 2 changesets (bug 1288768) for wptlint failure 2017-01-28 08:10:26 -08:00
fetch Bug 1329298 - Part 2 - use nsIXHRSendable instead Blob/FormData/URLSearchParams, r=smaug 2017-01-24 12:14:00 +01:00
file Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj 2017-01-25 14:51:34 -05:00
filehandle Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj 2017-01-25 14:51:34 -05:00
filesystem Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
flyweb Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj 2017-01-25 14:51:34 -05:00
gamepad Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8 2017-01-03 21:47:55 +02:00
geolocation Bug 1269531 - Make the Geolocation test suite secure-context aware. r=jdm 2017-01-26 15:38:16 -07:00
grid
html Bug 1334768 - stylo: More reftest expectation adjustments for 2017-01-29 merge. 2017-01-30 10:53:58 +08:00
imptests Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
indexedDB Bug 1319531 - Ensure all streams provided by DatabaseFile can be read without generating NS_BASE_STREAM_WOULD_BLOCK errors. r=janv 2017-01-30 01:07:27 -05:00
interfaces Bug 1328293 - Show if a service worker is listening for fetch events in about:debugging. r=jdescottes 2017-01-22 09:03:00 +02:00
ipc Backed out changeset e87ae43ca443 (bug 1330326) 2017-01-27 20:59:55 +01:00
json Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
jsurl Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge. 2017-01-29 15:31:56 +08:00
locales Bug 1269531 - Make the Geolocation test suite secure-context aware. r=jdm 2017-01-26 15:38:16 -07:00
manifest Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
mathml
media Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge. 2017-01-29 15:31:56 +08:00
messagechannel Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
network Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
notification Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
offline Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
performance Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8 2017-01-03 21:47:55 +02:00
permission
plugins Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge. 2017-01-29 15:31:56 +08:00
power Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
presentation Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
promise Bug 1333112 - Fix windowClient.Navigate leak. r=bkelly 2017-01-26 21:37:17 +02:00
push Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
quota Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj 2017-01-25 14:51:34 -05:00
res
secureelement Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
security Merge m-i to m-c, a=merge 2017-01-28 13:09:00 -08:00
smil Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge. 2017-01-29 15:31:56 +08:00
storage Bug 1332202 - Convert most infallible NS_EscapeURL calls to fallible version. r=froydnj 2017-01-24 11:11:44 -08:00
svg Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge. 2017-01-29 15:31:56 +08:00
system Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
tests Bug 1334768 - stylo: More reftest expectation adjustments for 2017-01-29 merge. 2017-01-30 10:53:58 +08:00
time
u2f Bug 1333592 - Fix a regression with U2F sign() called with multiple keys r=keeler 2017-01-26 15:18:50 -07:00
url Bug 1331864 - Implement URLSearchParams's sort(), r=qdot 2017-01-27 20:35:47 +01:00
vr Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8 2017-01-03 21:47:55 +02:00
webauthn Bug 1330138 - Differentiate prefs for u2f and webauthn apis; r=jcj r=baku 2017-01-19 14:18:32 -08:00
webbrowserpersist Bug 1332202 - Convert most infallible NS_EscapeURL calls to fallible version. r=froydnj 2017-01-24 11:11:44 -08:00
webidl Bug 1332713 part 2. Disallow [SameObject] Promise-typed attributes. r=qdot 2017-01-27 18:53:36 -05:00
workers Backed out 2 changesets (bug 1288768) for wptlint failure 2017-01-28 08:10:26 -08:00
worklet Bug 1332378 - Worklet must evaluate scripts in the right JS compartment, r=nbp 2017-01-20 14:39:39 +01:00
xbl Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
xhr Bug 1333540. Common up the skippability implementations that are basically copy/pastes of the DOMEventTargetHelper one. r=smaug 2017-01-24 20:40:11 -05:00
xml Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (2 of 5, fixes for dom/). r=bkelly. 2017-01-24 17:10:39 +01:00
xslt Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj 2017-01-25 14:51:34 -05:00
xul Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm 2017-01-24 14:24:04 +00:00
jar.mn
moz.build Bug 1330138 - Divide U2F and WebAuthn into separate directories; r=jcj 2017-01-19 14:18:32 -08:00