aeea139bf767767356f814943fe92f8471d8f11f: Backed out changeset 6c4cc6a04cc4 (bug 1356448) for dt5 perma failures
Carsten "Tomcat" Book <cbook@mozilla.com> - Mon, 24 Apr 2017 14:26:59 +0200 - rev 354642
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Backed out changeset 6c4cc6a04cc4 (bug 1356448) for dt5 perma failures
297b5b4a46caaa71f55d5f1e0daf16f0bebfdc03: Backed out changeset a10d45c7d6de (bug 1358115) for failing mochitest test_blob_worker_xhr_read_slice.html. r=backout
Sebastian Hengst <archaeopteryx@coole-files.de> - Mon, 24 Apr 2017 14:06:29 +0200 - rev 354641
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Backed out changeset a10d45c7d6de (bug 1358115) for failing mochitest test_blob_worker_xhr_read_slice.html. r=backout
44e3d204f259dee6727107e099ac35544dde94b0: Merge mozilla-central to mozilla-inbound
Carsten "Tomcat" Book <cbook@mozilla.com> - Mon, 24 Apr 2017 13:13:02 +0200 - rev 354640
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Merge mozilla-central to mozilla-inbound
ccdbdd6e79e3114d88f972953f462555fc3083d1: Bug 1358047 - Move Baseline CacheIR code map from JitCompartment to JitZone. r=djvj
Jan de Mooij <jdemooij@mozilla.com> - Mon, 24 Apr 2017 12:41:04 +0200 - rev 354639
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1358047 - Move Baseline CacheIR code map from JitCompartment to JitZone. r=djvj
84ef33cfa71a00408525c041fcbfeee6e0fc7d9a: Bug 1355585 - Streamline the format of "handlers.json", align the implementation, and reorganize tests. r=mak
Paolo Amadini <paolo.mozmail@amadzone.org> - Mon, 24 Apr 2017 11:29:46 +0100 - rev 354638
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1355585 - Streamline the format of "handlers.json", align the implementation, and reorganize tests. r=mak This patch significantly improves the test coverage for both the JSON and RDF back-ends. There is a clearer separation between tests using predefined data and tests for the injection of default handlers. The predefined data includes more significant property combinations, and the JSON is now formatted. Helper functions are renamed for clarity. Functions like "exists" that have different paths for MIME types and protocols are now tested with both, while behaviors that have a single path are now only tested with MIME types for efficiency. The file format is redesigned to be more compact, and all the data is normalized when saving instead of when loading. Duplicates are now handled correctly when saving. MozReview-Commit-ID: JI4I1M0N3lq
d04ed8f11abea6bfab47ff0e86269ba86340af68: Bug 986975 - do_QueryInterface abuse in nsAndroidHandlerApp.cpp. r=mak
Paolo Amadini <paolo.mozmail@amadzone.org> - Mon, 24 Apr 2017 11:29:35 +0100 - rev 354637
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 986975 - do_QueryInterface abuse in nsAndroidHandlerApp.cpp. r=mak This change is tested in detail as part of bug 1355585. MozReview-Commit-ID: 5z4evaUQDFI
a10d45c7d6de821757a365b8827691390b55a705: Bug 1358115 - Use IPCBlob in DataTransfer, r=smaug
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:16:50 +0200 - rev 354636
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1358115 - Use IPCBlob in DataTransfer, r=smaug
2577afd226ff64101e4ed3767d0abff83c34c9bd: Bug 1358113 - Use IPCBlob in File.createFromNsIFile/createFromFileName, r=smaug
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:16:50 +0200 - rev 354635
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1358113 - Use IPCBlob in File.createFromNsIFile/createFromFileName, r=smaug
a180e3f4de16aa456c8cd039805aa0924618d5c9: Bug 1358114 - Use IPCBlob in BlobURL, r=smaug
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:16:49 +0200 - rev 354634
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1358114 - Use IPCBlob in BlobURL, r=smaug
73f62ae76c08245b15223918602b6b9db31809a2: Bug 1358111 - Use IPCBlob in Entries API - part 2 - Entries API, r=smaug
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:16:49 +0200 - rev 354633
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1358111 - Use IPCBlob in Entries API - part 2 - Entries API, r=smaug
50518d6aa0fc7d2f476b065ff877c02d7ba0a36a: Bug 1358111 - Use IPCBlob in Entries API - part 1 - GetFilesHelper, r=smaug
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:16:49 +0200 - rev 354632
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1358111 - Use IPCBlob in Entries API - part 1 - GetFilesHelper, r=smaug
dec83a85f824c2afb541ecbda08dab6aa1abcff0: Bug 1358109 - Use IPCBlob in PFilePicker, r=smaug
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:16:49 +0200 - rev 354631
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1358109 - Use IPCBlob in PFilePicker, r=smaug
6e18a14aa213774f5c80ca72e0667b87654c7b80: Bug 1353629 - PBlob refactoring - part 15 - FileMediaResource is used for in-process blobURL, r=jwwang
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:09:41 +0200 - rev 354630
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1353629 - PBlob refactoring - part 15 - FileMediaResource is used for in-process blobURL, r=jwwang
b93b33542bcf7baa6029df8e0bc7a822412fe0cc: Bug 1353629 - PBlob refactoring - part 14 - tests, r=smaug
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:09:41 +0200 - rev 354629
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1353629 - PBlob refactoring - part 14 - tests, r=smaug
6586412c7f6494e5d9df0c8a24e31ec55f9ab2d4: Bug 1353629 - PBlob refactoring - part 13 - IPCBlobInputStream should support remote nsIAsyncInputStream, r=smaug
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:09:41 +0200 - rev 354628
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1353629 - PBlob refactoring - part 13 - IPCBlobInputStream should support remote nsIAsyncInputStream, r=smaug If a child-to-parent IPCBlob is more than 1mb, we end up using a pipe stream. If that ipcBlob is sent to a different process, we need to implement asyncWait correctly: we need to call the remoteStream->AsyncWait().
3a2c881ccf419304a7b728a9433fb3065f76f40a: Bug 1353629 - PBlob refactoring - part 12 - nsInputStreamPump should use BufferedStreams, r=smaug
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:09:41 +0200 - rev 354627
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1353629 - PBlob refactoring - part 12 - nsInputStreamPump should use BufferedStreams, r=smaug nsInputStreamPump should use the stream as nsIAsyncInputStream if available. In order to do so, we need to wrap a BufferedStream around it. MediaResource cannot use a simple sync nsIInputStream when BlobURL are involved in the content process.
a2d2d49d3e5774f788787cd375e46a69be5cf011: Bug 1353629 - PBlob refactoring - part 11 - Comments, r=smaug
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:09:41 +0200 - rev 354626
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1353629 - PBlob refactoring - part 11 - Comments, r=smaug
1c786e61d5c88e404cc47a2a92cea86028235ba2: Bug 1353629 - PBlob refactoring - part 10 - Make nsFileInputStream cloneable, r=smaug
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:09:41 +0200 - rev 354625
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1353629 - PBlob refactoring - part 10 - Make nsFileInputStream cloneable, r=smaug This is important to avoid extra copy when IPCInputStreamStorage::GetStream() returns a file inputStream
04d9349c61846108e9b2b99b207adaecdd366042: Bug 1353629 - PBlob refactoring - part 9 - PBlob should use IPCStream in case it is dealing with an IPCBlobInputStream, r=smaug
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:09:40 +0200 - rev 354624
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1353629 - PBlob refactoring - part 9 - PBlob should use IPCStream in case it is dealing with an IPCBlobInputStream, r=smaug This patch will go away when I'll finishing the removing of PBlob. Currently, when a PBlob is sent from child to parent, we use PMemoryStream in order to recreate the inputStream on the parent side. PMemoryStream sends the data in chunks. But if PBlob is dealing with a IPCBlobInputStream, it doesn't have access to the real data. In this case, we must send data using IPCStream. In this way, Note that thisIPCBlobInputStream will send its ID, and the parent will take the real inputStream from the IPCBlobInputStreamStorage. Note that I check the size to be 1mb instead 0. No particular reasons, but better to avoid the use of PMemoryStream for nothing.
cee81d4988a513ca5f98bd81d94214ea5697d70d: Bug 1353629 - PBlob refactoring - part 8 - FileReader should use nsIAsyncInputStream if available, r=smaug
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 24 Apr 2017 12:09:40 +0200 - rev 354623
Push 31707 by kwierso@gmail.com at Mon, 24 Apr 2017 22:53:41 +0000
Bug 1353629 - PBlob refactoring - part 8 - FileReader should use nsIAsyncInputStream if available, r=smaug Currently FileReader API uses a nsITransport. This is not needed if the inputStream is a nsIAsyncInputStream already, and IPCBlobInputStream is always a nsIAsyncInputStream. Note that, we must create a bufferedStream in order to use ReadSegments in case the remote inputStream, received by IPCBlobInputStream, is a FileInputStream. This was not needed with nsITransport.
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip