Valentin Gosu
b87fb0c99e
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
2018-01-22 15:52:37 +01:00
Valentin Gosu
a215981c13
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
2018-01-19 15:19:42 +01:00
Andrew Sutherland
6c3bd8aa68
Bug 1421099 - System principal does not need to match originAttributes. r=baku
2017-12-06 14:53:02 -05:00
Andrea Marchesini
cf8dc382c1
Bug 1423485 - Better name for blobURL nsIAsyncShutdownBlocker, r=bkelly
2017-12-06 17:11:11 +01:00
Andrea Marchesini
877ff51c02
Bug 1422314 - BlobURLs should be immediately released when shutting down, r=bkelly
2017-12-04 09:51:32 -05:00
Dorel Luca
ac734a6b37
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
375f254aa8
Bug 1422314 - BlobURLs should be immediately released when shutting down, r=bkelly
2017-12-01 14:48:11 -05:00
Andrea Marchesini
bcc086bc76
Bug 1420419 - nsHostObjectProtocolHandler::RemoveDataEntries can be called on any process, r=me CLOSED TREE
2017-11-29 10:32:32 +01:00
Andrea Marchesini
574d86c9ef
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
b7903ac3d4
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
7ba9397597
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
00499602d1
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
1c7a65bcac
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
78d1ee0fd0
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 1 - NS_NewInputStreamChannelInternal, r=smaug
2017-11-22 11:18:18 +01:00
Andrea Marchesini
9286d61876
Bug 1416193 - Cloned nsHostObjectURI objects should be stored together with their BlobImpl by nsHostObjectProtocolHandler, r=valentin
2017-11-14 00:22:54 +01:00
Kris Maglione
7cdbf75d48
Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn
...
MozReview-Commit-ID: 8Oei6TuXNbu
2017-10-15 23:15:40 -07:00
Andrea Marchesini
74bc0e9cfd
Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug
2017-10-02 13:53:12 +02:00
Bevis Tseng
ce50e5aaca
Bug 1378930 - Part 1: Remove nsINamed::SetName(). r=billm
...
MozReview-Commit-ID: 7aM1yJRsfPH
2017-07-21 11:50:43 +08:00
Honza Bambas
f3b5a77a73
backout of f9abb9c83452 (bug 1319111) for crashes, r=bz
2017-05-13 13:55:11 +02:00
Wes Kocher
7b49a483cc
Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
...
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Honza Bambas
b05b600614
backout of f9abb9c83452 (bug 1319111) for crashes, r=bz
2017-05-12 22:13:49 +02:00
Bevis Tseng
484394c2e1
Bug 1362946 - Set SystemGroup EventTarget to ReleasingTimerHolder. r=baku
...
1. Label ReleasingTimerHolder with SystemGroup since ReleasingTimerHolder
touches nothing related to the web content but releases the handle of
the BlobImpl object.
2. Name ReleasingTimerHolder for telemetry.
2017-05-09 15:02:54 +08:00
Honza Bambas
e8227e774f
Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz
2017-01-27 19:10:01 +01:00
Andrea Marchesini
c1e086c91c
Bug 1358114 - Use IPCBlob in BlobURL, r=smaug
2017-04-24 12:16:49 +02:00
Sebastian Hengst
cc75d20a02
Backed out changeset a180e3f4de16 (bug 1358114)
2017-04-24 15:43:05 +02:00
Andrea Marchesini
da5c3e054f
Bug 1358114 - Use IPCBlob in BlobURL, r=smaug
2017-04-24 12:16:49 +02:00
Kate McKinley
29a60a2a81
Bug 1237868 - Don't set URI_IS_LOCAL_RESOURCE on media streams. r=baku
...
This patch only sets URI_IS_LOCAL_RESOURCE if the resource is a blob or
font table entry, to avoid having media streams treated as local
objects.
MozReview-Commit-ID: GOVr8FPByQy
2017-04-01 15:11:53 -04:00
Andrea Marchesini
c048b4585c
Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug
2017-02-16 18:26:38 +01:00
Andrea Marchesini
670aed6c1e
Bug 1322444 - No assertions needed for NS_GetBlobForBlobURI, r=qdot
2016-12-13 02:24:54 +01:00
Andrea Marchesini
37766315d4
Bug 1321261 - create dom/file for File APIs, r=qdot
2016-12-01 15:12:42 +01:00
Sebastian Hengst
903cc3ec3c
Backed out changeset d3ef6f3e9193 (bug 1321261) for build bustage (calling missing file BlobParent.h from dom/ipc/TabParent.cpp). r=backout on a CLOSED TREE
2016-12-01 12:27:28 +01:00
Andrea Marchesini
4982909415
Bug 1321261 - create dom/file for File APIs, r=qdot
2016-12-01 11:43:18 +01:00
Sebastian Hengst
abf5b533a9
Backed out changeset 806c3d121dd4 (bug 1321261) for timing out in test_fileapi.html, test_mozfiledataurl.html and test_nonascii_blob_url.html on Linux x64 asan and debug. r=backout
2016-12-01 11:05:56 +01:00
Andrea Marchesini
1837b28622
Bug 1321261 - create dom/file for File APIs, r=qdot
2016-12-01 09:21:54 +01:00