Граф коммитов

538 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 26352bfee1 Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug 2018-01-31 08:25:30 +01:00
Andrea Marchesini a5bed23bd8 Bug 1432963 - Fixing workers headers - part 15 - static function in a workers namespace, r=smaug 2018-01-31 08:24:30 +01:00
Andrea Marchesini 2c7c69af24 Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug 2018-01-31 08:24:08 +01:00
Andrea Marchesini 063723a1f0 Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug 2018-01-31 08:23:44 +01:00
Andrea Marchesini 9774cec092 Bug 1413112 - Fixing includes in dom/workers, r=bkelly 2018-01-30 10:14:00 +01:00
Andrea Marchesini c0b9cdcdd1 Bug 1413112 - Move FileReaderSync into dom/file, r=me
--HG--
rename : dom/workers/FileReaderSync.cpp => dom/file/FileReaderSync.cpp
rename : dom/workers/FileReaderSync.h => dom/file/FileReaderSync.h
2018-01-30 10:13:29 +01:00
Valentin Gosu a48c8f1ada Bug 1431760 - Add NS_MutateURI.Apply that allows calling methods declared in other interfaces implemented by NS_MutateURI::mMutator r=mayhemer
* The method can be chained just as the other methods on NS_MutateURI.
* In case the mutator object does not implement the interface, mStatus will be set to an error code.
* This is useful when you are constructing a new URI and the type of the mutator is known. I expect a future patch will add a MaybeApply method, that does not set mStatus to an error code if the mutator does not implement the interface.
* This patch changes nsHostObjectProtocolHandler::NewURI to use the new method and avoid a static_cast<nsHostObjectURI*>(uri)


MozReview-Commit-ID: 9kvXJX54gUP

--HG--
extra : rebase_source : 2a27778ec583251fac26c74d78125bd7266d6d87
2018-01-22 15:52:37 +01:00
Valentin Gosu da90b10e9f Bug 1431204 - Change calls to nsIURI.spec setter to use nsIURIMutator instead r=mayhemer
* changes call to use nsIURIMutator.setSpec()
* Add new NS_MutateURI constructor that takes new Mutator object
* Make nsSimpleNestedURI::Mutate() and nsNestedAboutURI::Mutate() return mutable URIs
* Make the finalizers for nsSimpleNestedURI and nsNestedAboutURI make the returned URIs immutable

MozReview-Commit-ID: 1kcv6zMxnv7

--HG--
extra : rebase_source : 99b13e9dbc8eaaa9615843b05e1539e19b527504
2018-01-19 15:19:42 +01:00
Andrea Marchesini 9a5d7373c2 Bug 1427091 - BlobSet must use nsCString instead of nsAutoCString, r=me 2018-01-05 15:38:06 +01:00
Andrea Marchesini cc2a04e3a0 Bug 1427091 - BlobSet must propagate the OOM error when appending a big string, r=smaug 2018-01-03 22:49:36 +01:00
Florian Quèze 032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Andrea Marchesini 09330ee908 Bug 1424981 - MutableBlobStorage must keep the file locked during the IPC communication, r=smaug 2017-12-14 15:51:40 -06:00
Andrea Marchesini fbb63ae853 Bug 1424183 - nsMultiplexInputStream must call OnInputStreamReady only when there is data available, r=smaug 2017-12-13 05:11:12 -06:00
Sylvestre Ledru 9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Andrew Sutherland 92398fc309 Bug 1421099 - System principal does not need to match originAttributes. r=baku
--HG--
extra : rebase_source : 04af51f7fbdb9a171703e69a3d5651d0c344d5bb
2017-12-06 14:53:02 -05:00
Andrea Marchesini d05bd76662 Bug 1423485 - Better name for blobURL nsIAsyncShutdownBlocker, r=bkelly 2017-12-06 17:11:11 +01:00
Valentin Gosu 5a83d2bc0b Bug 1420954 - Make nsIURIMutator setters return nsIURIMutator so we can chain setters r=bagder
MozReview-Commit-ID: 53BD91hB2yi

--HG--
extra : rebase_source : 3c4f5b9ad8820353ae108b982026048dbf599d95
2017-12-05 02:35:21 +01:00
Andrea Marchesini 08e23d1d73 Bug 1422314 - BlobURLs should be immediately released when shutting down, r=bkelly 2017-12-04 09:51:32 -05:00
Dorel Luca ba2b0cf4d1 Backed out 3 changesets (bug 1422314, bug 1420594) for failing xpcshell/test_ext_contentScripts_register.js on Android debug r=backout a=backout
Backed out changeset f5a3054a4c38 (bug 1420594)
Backed out changeset 7908b821ad3f (bug 1420594)
Backed out changeset b89daf5c23b8 (bug 1422314)
2017-12-04 15:35:07 +02:00
Andrea Marchesini 8ef5b5e4e5 Bug 1422314 - BlobURLs should be immediately released when shutting down, r=bkelly 2017-12-01 14:48:11 -05:00
Andrea Marchesini bc6f11d624 Bug 1421176 - nsMultiplexInputStream::Available() sanitize - mochitest - r=smaug
This is a test to check if nsMultiplexInputStream supports empty inputStreams.
2017-11-30 20:00:23 +01:00
Cosmin Sabou 4fdf797aca Backed out 3 changesets (bug 1421176) for build bustages on xpcom/tests/gtest/TestMultiplexInputStream.cpp:266:3 r=backout on a CLOSED TREE
Backed out changeset e5dd080198e6 (bug 1421176)
Backed out changeset 83964057e1b2 (bug 1421176)
Backed out changeset 3ef41e230c5e (bug 1421176)
2017-11-30 21:31:55 +02:00
Andrea Marchesini 827b28d3b6 Bug 1421176 - nsMultiplexInputStream::Available() sanitize - mochitest - r=smaug
This is a test to check if nsMultiplexInputStream supports empty inputStreams.
2017-11-30 20:00:23 +01:00
Andrea Marchesini e03f3d5909 Bug 1420419 - nsHostObjectProtocolHandler::RemoveDataEntries can be called on any process, r=me CLOSED TREE 2017-11-29 10:32:32 +01:00
Andrea Marchesini b1231ac8b9 Bug 1420419 - Postpone the removing of BlobURL for 5 seconds in order to allow the loading of them in a remote process, r=smaug 2017-11-29 09:40:16 +01:00
Andrea Marchesini d368c9c43e Bug 1421099 - blob URLs must check the nsILoadInfo originAttributes with its one in case used as top-level url, r=smaug 2017-11-28 16:40:37 +01:00
Brindusan Cristian 4e00362a6d Backed out 2 changesets (bug 1421099) for build bustages on nsHostObjectProtocolHandler.cpp r=backout on a CLOSED TREE
Backed out changeset ca1502df901c (bug 1421099)
Backed out changeset 4d506fe670b2 (bug 1421099)
2017-11-28 18:35:49 +02:00
Andrea Marchesini 13d7340678 Bug 1421099 - blob URLs must check the nsILoadInfo originAttributes with its one in case used as top-level url, r=me CLOSED TREE 2017-11-28 17:09:31 +01:00
Andrea Marchesini b82282fd5b Bug 1421099 - blob URLs must check the nsILoadInfo originAttributes with its one in case used as top-level url, r=smaug 2017-11-28 16:40:37 +01:00
Andrea Marchesini e5f36c45f1 Bug 1420223 - createImageBitmap must work with nsIAsyncInputStream - part 1 - tests, r=aosmond 2017-11-27 17:05:56 +01:00
Nika Layzell f1ac9bf744 Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Andrea Marchesini 8a7dedba69 Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 1 - NS_NewInputStreamChannelInternal, r=smaug 2017-11-22 11:18:18 +01:00
Valentin Gosu d2d8524673 Bug 1415205 - Add nsIURIMutator impls for all objects implementing nsIURI r=bagder
This also changes URIUtils.cpp:DeserializeURI() to use the mutator to instantiate new URIs, instead of using their default constructor.

MozReview-Commit-ID: JQOvIquuQAP

--HG--
extra : rebase_source : e146624c5ae423f7f69a738aaaafaa55dd0940d9
2017-11-20 17:11:30 +01:00
Andrea Marchesini 06ee70f01c Bug 1416724 - part 2 - MutableBlobStorage should check the return value of TaskQueue::Dispatch(), r=smaug 2017-11-15 07:58:03 +01:00
shindli 385fb3428c Backed out 4 changesets (bug 1416724) for failing /builds/worker/workspace/build/src/dom/media/hls/HLSDemuxer.cpp:89:5 r=backout on a CLOSED TREE
Backed out changeset 45352aa4319d (bug 1416724)
Backed out changeset 01d1e5263bcd (bug 1416724)
Backed out changeset bc854c315ec8 (bug 1416724)
Backed out changeset 35a50167485d (bug 1416724)
2017-11-15 09:49:04 +02:00
Andrea Marchesini 73712f7d05 Bug 1405290 - Improve logging of workers when shutting down - part 3 - WorkerHolder with names, r=asuth 2017-11-15 07:58:38 +01:00
Andrea Marchesini 6047f2533d Bug 1416724 - part 2 - MutableBlobStorage should check the return value of TaskQueue::Dispatch(), r=smaug 2017-11-15 07:58:03 +01:00
Andrea Marchesini e50200ef65 Bug 1416193 - Cloned nsHostObjectURI objects should be stored together with their BlobImpl by nsHostObjectProtocolHandler, r=valentin 2017-11-14 00:22:54 +01:00
Andrea Marchesini a4d8f81bac Bug 1414767 - Moving SlicedInputStream under mozilla namespace, r=froydnj 2017-11-07 01:04:06 +01:00
Sebastian Hengst e50208ab81 Backed out changeset 66d49b9e8217 (bug 1414767) for build bustage on OS X: CoreServices.framework/Frameworks/AE.framework/Headers/AERegistry.h:693: reference to 'TextRange' is ambiguous. r=backout on a CLOSED TREE 2017-11-06 17:51:56 +01:00
Andrea Marchesini 096614f974 Bug 1414767 - Moving SlicedInputStream under mozilla namespace, r=froydnj 2017-11-06 16:21:01 +01:00
Andrea Marchesini fd13c17d24 Bug 1414015 - Fixing a wrong comment in IPCBlobInputStream, r=smaug 2017-11-02 22:37:03 +01:00
Andrea Marchesini b4e47f4f0f Bug 1412894 - MutableBlobStorage should return errors as soon as the temporary file writing fails, r=smaug 2017-10-30 23:33:18 +01:00
Andrea Marchesini c9960f7e15 Bug 1412822 - MutableBlobStorage should release the FileDescriptor when an error occurs, r=smaug 2017-10-30 17:40:23 +01:00
Sebastian Hengst dc3b8f00b7 merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : 2c9fdf7f2907c1d71f8637abd568e181ed3faab1
2017-10-27 13:00:27 +03:00
Andrea Marchesini 44947dd6fe Bug 1411578 - MutableBlobStorage should check if the error has been already propagated, r=smaug 2017-10-27 09:04:28 +02:00
Andrew McCreight 298aa82710 Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot
This was automatically generated by the script modeline.py.

MozReview-Commit-ID: BgulzkGteAL

--HG--
extra : rebase_source : a4b9d16a4c06c4e85d7d85f485221b1e4ebdfede
2017-10-26 15:08:41 -07:00
Andrea Marchesini 4196bb7ca0 Bug 1411257 - No MOZ_CRASH if BackgroundChild::GetOrCreateForCurrentThread() fails - part 3 - MutableBlobStorage, r=asuth 2017-10-25 08:45:52 +02:00
Andrea Marchesini 2bd17b771a Bug 1408333 Get rid of nsIIPCBackgroundChildCreateCallback - part 5 - IPCBlob, r=asuth 2017-10-24 12:02:40 +02:00
Andrea Marchesini b244cf03d0 Bug 1408333 Get rid of nsIIPCBackgroundChildCreateCallback - part 4 - MutableBlobStorage, r=asuth 2017-10-24 12:02:39 +02:00