Nika Layzell
1ef4ae5a2f
Bug 1440771 - Part 2: Use nsCOMPtr<nsIInputStream> directly in PCacheStreamControl, r=baku
...
MozReview-Commit-ID: 1Ab49lZtxTI
2018-03-05 16:00:05 -05:00
arthur.iakab
9bffb6aa72
Merge inbound to mozilla-central. a=merge
2018-02-27 11:58:55 +02:00
Valentin Gosu
ec9082b60a
Bug 1433958 - Change code that sets nsIURI.query to use nsIURIMutator r=mayhemer
...
MozReview-Commit-ID: JKW8IsaFY10
--HG--
extra : rebase_source : 45ffa07c34739adf4de681fec1370645b0f74985
2018-02-26 20:43:46 +01:00
Arthur Edelstein
0342fd5418
Bug 1434772 - Ensure caches.open() throws SecurityError in PBM workers r=ehsan
2018-02-13 12:11:00 +02:00
Andrew McCreight
5dec0e0beb
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
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
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
d6a3041434
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
Andrea Marchesini
615e4c18e4
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 4 - DOM Cache testing enabled, r=asuth
2018-01-08 14:05:04 +01:00
Andrea Marchesini
b0c234924a
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 3 - DOM Caches enabled, r=asuth
2018-01-08 14:05:03 +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
Tom Tung
89da9c7d42
Bug 1422815 - P1: Fix for failing to get quotaObject unexpectedly. r=bkelly
...
This patch is for avoiding use quotaObject while it does not exist in Release.
Note that we sill catch this in Beta and Nightly by the assertion.
--HG--
extra : rebase_source : cae8b7816adfa91fdc1e5abae6dc92c506b1719c
2017-12-06 10:12:24 +08:00
Gurzau Raul
321347c110
Backed out 22 changesets (bug 1419771) for build bustage build/src/dom/base/FuzzingFunctions.cpp on a CLOSED TREE
...
Backed out changeset b2b7b46c8ad0 (bug 1419771)
Backed out changeset 0206657d2ea2 (bug 1419771)
Backed out changeset f0f4b98a07b6 (bug 1419771)
Backed out changeset 4b52904694f4 (bug 1419771)
Backed out changeset 9f40cc12d6c6 (bug 1419771)
Backed out changeset f500a61f564c (bug 1419771)
Backed out changeset 0bd9d964df8a (bug 1419771)
Backed out changeset 1397a6bbb446 (bug 1419771)
Backed out changeset 7e77a00fa8b5 (bug 1419771)
Backed out changeset 5f6df771459a (bug 1419771)
Backed out changeset 7624e70b2965 (bug 1419771)
Backed out changeset b9d674bdc723 (bug 1419771)
Backed out changeset 5e44aeda4196 (bug 1419771)
Backed out changeset 601b49f51b41 (bug 1419771)
Backed out changeset d12dc5557982 (bug 1419771)
Backed out changeset 6c863ab2e986 (bug 1419771)
Backed out changeset 0866d79873ab (bug 1419771)
Backed out changeset 8ecc91474621 (bug 1419771)
Backed out changeset 19b14deed8fe (bug 1419771)
Backed out changeset 000c8d5fbc03 (bug 1419771)
Backed out changeset 2e263a2519c5 (bug 1419771)
Backed out changeset b628d9298be8 (bug 1419771)
2017-12-13 23:41:49 +02:00
Andrea Marchesini
e21d3ed9a0
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 9 - ServiceWorker testing enabled, r=asuth
2017-12-13 14:02:45 -06:00
Andrea Marchesini
9447a08bbc
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 4 - DOM Cache testing enabled, r=asuth
2017-12-13 14:02:44 -06:00
Andrea Marchesini
bd8d59c237
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 3 - DOM Caches enabled, r=asuth
2017-12-13 14:02:44 -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
Mark Banner
099e4fa549
Bug 1421458 - Add more initial configuration setup and prepare .eslintignore for enabling ESLint on more xpcshell-test directories. r=mossop
...
MozReview-Commit-ID: 4nbTuNNnAdZ
--HG--
extra : rebase_source : 7131f0ddad79d28615a5799c657972bd84a69180
2017-11-28 22:57:08 +00:00
Nika Layzell
a7666fd8fe
Bug 1418048 - Add a callback-based Send API to async returning IPDL methods, r=billm
...
Currently if you write an async IPDL method which has a return value, we expose
a SendXXX method which returns a MozPromise. This MozPromise can then be
->Then-ed to run code when it is resolved or rejected.
Unfortunately, using this API loses ordering guarantees which IPDL provides.
MozPromise::Then takes an event target, which the resolve runnable is dispatched
to. This means that the resolve callback's code doesn't have any ordering
guarantees relative to the processing of other IPC messages coming over the same
protocol.
This adds a new overload to SendXXX with two additional arguments, a lambda
callback which is called if the call succeeds, and a lambda callback which is
called if the call fails. These will be called in order with other IPC messages
sent over the same protocol.
MozReview-Commit-ID: FZHJJaSDoZy
2017-11-20 17:55:32 -05:00
Edouard Oger
ee0f18811d
Bug 1416842 - Allow fetch to reject with nsresult in chrome code. r=bkelly
...
MozReview-Commit-ID: FD2NUJZtAhT
--HG--
extra : rebase_source : cff033ea3d7e9581112392e7725290819fbec18b
2017-11-15 14:53:42 -05:00
Andrea Marchesini
97baa05333
Bug 1398229 - Save-link-as feature should use the loading principal - part 3 - implementation of nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD, r=ckerschb, r=tanvi
2017-11-16 12:27:01 +01:00
Sebastian Hengst
6c1d6be6fb
Backed out 3 changesets (bug 1398229) for failing own browser-chrome browser/components/contextualidentity/test/browser/browser_saveLink.js. r=backout on a CLOSED TREE
...
Backed out changeset 5b3b0a38b2d1 (bug 1398229)
Backed out changeset a726fc7506ca (bug 1398229)
Backed out changeset 53dae7764e58 (bug 1398229)
2017-11-15 20:49:09 +02:00
Andrea Marchesini
11eefa61bb
Bug 1398229 - Save-link-as feature should use the loading principal - part 3 - implementation of nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD, r=ckerschb
2017-11-15 18:16:29 +01:00
Jonathan Watt
5ea9cced68
Bug 1417365 - Unified build issues in dom/cache. r=baku
2017-10-26 12:35:08 +01:00
Andrea Marchesini
155b15b8e0
Bug 1414755 - Get rid of ContentPrincipalInfoOriginNoSuffix, r=bz, r=bkelly
...
This patch uses MozURL in ServiceWorkerRegistrar and in DBScheme to obtain the
origin of a URL. This is safe because the URL is always http/https/ftp.
It also changes the serialization of Principal in nsJSPrincipals in order to
pass the originNoSuffix together with the OriginAttributes and the spec.
2017-11-15 11:19:26 +01: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
cc1500cb67
Bug 1408333 Get rid of nsIIPCBackgroundChildCreateCallback - part 12 - Cache API, r=asuth
2017-10-24 12:02:40 +02:00
Tom Tung
4e98cbf03e
Backed out changeset 9cf194a1ae45 (bug 1398167) for causing crash in assertion r=backout a=backout
...
--HG--
extra : amend_source : 44183a0a9edf179f12dd338f2008ade9dee4cdbd
2017-10-19 21:46:21 +08:00
Andrea Marchesini
6626e900f9
Bug 1409327 - NS_NewBufferedInputStream should take the ownership of the inputStream, r=smaug
2017-10-19 11:39:30 +02:00
Sebastian Hengst
66e04dcde6
Backed out changeset 4666cde20909 (bug 1409327)
2017-10-17 22:03:33 +02:00
Andrea Marchesini
d526801916
Bug 1409327 - NS_NewBufferedInputStream should take the ownership of the inputStream, r=smaug
2017-10-17 20:38:05 +02:00
Andrew Sutherland
e936592b39
Bug 1404344 - Part 2: DOM Cache API schema 57-56 downgrade support. r=bkelly
...
Alter 57 and 58 DOM Cache API to use an on-disk schema version of 25 again,
as was used prior to the landing of bug 1290481 that bumped the disk schema
version to 26. Patched versions will recognize this internally as schema 27
based on the presence of the column introduced by the 26 upgrade.
--HG--
extra : rebase_source : 03d6e361ef71de03e99bd27bc27a95ed65ecb846
extra : source : 523debab77daab9f69ca9ea19412c655e6d1e02f
2017-10-03 10:02:49 -04:00
Kris Maglione
3876d40960
Bug 1404198: Part 1 - Add non-virtual constructor for nsIObject(Input|Output)Stream and update existing callers. r=njn
...
MozReview-Commit-ID: 3eoh6AwDJyz
--HG--
extra : rebase_source : 92b18b6ef07d276cac79ce735ca0b592cffbf87e
2017-10-04 20:06:28 -07:00
Tom Tung
deed50af7d
Bug 1398167 - Remove the temporary fix for not upgrading shema version from 25 to 26. r=bkelly
2017-10-09 11:36:14 +08:00
Tom Tung
82eb515a1a
Bug 1402581 - P4: Make the assertions for increaing and decreaing padding size be runtime checks. r=bkelly
...
--HG--
extra : rebase_source : c5c2dd26334ed05c8143341ddfd47b85f0a0c9ef
2017-10-06 15:18:06 +08:00
Tom Tung
45c9e8c00b
Bug 1402581 - P3: Allow failures happen when restoring or wiping padding file. r=bkelly
...
--HG--
extra : rebase_source : 6582320e3c942c37a8b031e16569a4900871f458
2017-10-05 17:30:40 +08:00
Tom Tung
753c5b5960
Bug 1402581 - P2: Ensure the temporary file exists when failure happens. r=bkelly
...
There are three changes in this patch: 1. Make sure deleting padding file before
the temporary padding file. 2. Not deleting temporary file when failure happens.
3. Endure failure happens after the transaction commit.
--HG--
extra : rebase_source : d6de5cc63c7cb9bb073e00a61237440bb65fd011
2017-10-03 18:44:56 +08:00
Tom Tung
c337197339
Bug 1402581 - P1: Don't delete the body file and decrease the padding size when the transaction fails. r=bkelly
...
--HG--
extra : rebase_source : b6b9b6688973eec2058eb55218988dfea54db083
extra : amend_source : 1446cdf0fe948705bb23687902b8e0f483304622
2017-10-03 18:36:44 +08:00
Ben Kelly
211be553a3
Bug 1402586 Hold the worker alive while Cache API completes a lazy body open IPC operation. r=asuth
2017-09-25 10:45:58 -07:00
Tom Tung
6d9ce87f57
Bug 1400282 - Add a test to verify cache's operations won't run out of fd. r=bkelly
...
MozReview-Commit-ID: G8ztQs1mB6l
2017-09-13 17:24:13 +08:00
Ben Kelly
f3bd79bbe8
Bug 1397128 P9 Make content script usage of Cache API use lazy body loading. r=tt
2017-09-15 12:25:41 -07:00
Ben Kelly
9e8538fa6a
Bug 1397128 P8 Track which storage "namespace" each Cache object is associated with. r=tt
2017-09-15 12:25:41 -07:00
Ben Kelly
65f88cc067
Bug 1397128 P7 Add an OpenMode enumeration to control if individual Cache API requests eagerly or lazily opens bodies. r=tt
2017-09-15 12:25:41 -07:00
Ben Kelly
acf4cdb7d2
Bug 1397128 P6 Allow ReadStream to be created with an initially nullptr base stream. r=tt
2017-09-15 12:25:41 -07:00
Ben Kelly
2cf80de4ff
Bug 1397128 P5 Add ReadStream::Inner::EnsureStream() to synchronously open stream when Availabe/Read/ReadSegments is called. r=tt
2017-09-15 12:25:41 -07:00
Ben Kelly
9ef03c8751
Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt
2017-09-15 12:25:41 -07:00
Ben Kelly
b88c4699cd
Bug 1397128 P3 Add an OpenStreamAction class to open the file stream on the io thread. r=tt
2017-09-15 12:25:40 -07:00
Ben Kelly
9bbbfca014
Bug 1397128 P2 Refactor StreamList::Add() to use move constructors and accept a nullptr stream. r=tt
2017-09-15 12:25:40 -07:00
Ben Kelly
66eb21a04b
Bug 1397128 P1 Make CacheReadStream ipdl struct contain an OptionalIPCStream. r=tt
2017-09-15 12:25:40 -07:00
Sebastian Hengst
285f502fd9
Backed out changeset 3f1e68da9634 (bug 1397128) for bustage at mozilla/dom/cache/CacheStorage.h:108. r=backout on a CLOSED TREE
2017-09-15 18:29:41 +02:00
Sebastian Hengst
150c6ab212
Backed out changeset 15edfaab92f6 (bug 1397128)
2017-09-15 18:28:54 +02:00
Sebastian Hengst
8114378053
Backed out changeset bfbcc07fcb4b (bug 1397128)
2017-09-15 18:28:48 +02:00
Sebastian Hengst
2ecdeffe66
Backed out changeset 389e9f39d6b8 (bug 1397128)
2017-09-15 18:28:43 +02:00
Sebastian Hengst
8463726683
Backed out changeset 5988716b66bb (bug 1397128)
2017-09-15 18:28:37 +02:00
Sebastian Hengst
ea5ea33329
Backed out changeset bb52082d2d3c (bug 1397128)
2017-09-15 18:28:32 +02:00
Sebastian Hengst
b42f970139
Backed out changeset b28740aedf34 (bug 1397128)
2017-09-15 18:28:27 +02:00
Sebastian Hengst
f14ea2acaf
Backed out changeset e37614cb41e1 (bug 1397128)
2017-09-15 18:28:21 +02:00
Sebastian Hengst
4b9a1e0644
Backed out changeset b5ea37e08220 (bug 1397128)
2017-09-15 18:28:16 +02:00
Ben Kelly
188fc706fb
Bug 1397128 P9 Make content script usage of Cache API use lazy body loading. r=tt
2017-09-15 09:11:23 -07:00
Ben Kelly
6847f129b1
Bug 1397128 P8 Track which storage "namespace" each Cache object is associated with. r=tt
2017-09-15 09:11:23 -07:00
Ben Kelly
66d9e5a447
Bug 1397128 P7 Add an OpenMode enumeration to control if individual Cache API requests eagerly or lazily opens bodies. r=tt
2017-09-15 09:11:23 -07:00
Ben Kelly
60cc17beb8
Bug 1397128 P6 Allow ReadStream to be created with an initially nullptr base stream. r=tt
2017-09-15 09:11:23 -07:00
Ben Kelly
1cc7cde5c0
Bug 1397128 P5 Add ReadStream::Inner::EnsureStream() to synchronously open stream when Availabe/Read/ReadSegments is called. r=tt
2017-09-15 09:11:23 -07:00
Ben Kelly
cd504ea7b0
Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt
2017-09-15 09:11:22 -07:00
Ben Kelly
6e5e0f4a24
Bug 1397128 P3 Add an OpenStreamAction class to open the file stream on the io thread. r=tt
2017-09-15 09:11:22 -07:00
Ben Kelly
31a34132cb
Bug 1397128 P2 Refactor StreamList::Add() to use move constructors and accept a nullptr stream. r=tt
2017-09-15 09:11:22 -07:00
Ben Kelly
ba86302f10
Bug 1397128 P1 Make CacheReadStream ipdl struct contain an OptionalIPCStream. r=tt
2017-09-15 09:11:22 -07:00
Tom Tung
3e445962b3
Bug 1398231 - P2: Add a test to verify cache work when there is a temporary padding file. r=bkelly
...
MozReview-Commit-ID: JhPuL7AmteM
--HG--
extra : rebase_source : b2c60f288f4f5424ea11212db26676cb467daf77
2017-09-09 15:34:59 +08:00
Tom Tung
d56be4c5f0
Bug 1398231 - P1: Make file exist check before assertion. r=bkelly
...
MozReview-Commit-ID: 8t7P97Ttrv1
--HG--
extra : rebase_source : 2d44a42da181612af36f129f692bd4961caf2824
2017-09-09 09:30:05 +08:00
Tom Tung
c3b6fcbefc
Bug 1398649: Capture the result from MigrateFrom25To26(). r=bkelly
...
MozReview-Commit-ID: DoVqSs53is5
--HG--
extra : rebase_source : 69aad8fae9821371bd0f47c6c13c961469199557
2017-09-11 14:57:06 +08:00
Wes Kocher
2a30786cad
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 4FEkd1x2GD
2017-09-08 13:36:31 -07:00
Andrea Marchesini
157334f4b0
Bug 1397627 - Fetch API and other components should pass the length of the stream to necko when known, r=smaug
2017-09-08 16:06:26 +02:00
Tom Tung
d06f3586f2
Bug 1398043 - P3: Add a test to verify (DOM) Cache upgrade successfully. r=bkelly
...
MozReview-Commit-ID: IYyvEe3r0g4
--HG--
extra : rebase_source : e6430a0cb66bfed5d07b069c923793ef423e4e43
2017-09-08 19:22:18 +08:00
Tom Tung
fe80897097
Bug 1398043 - P2: Temporary fix for updating the existing response_padding_size to 0 when it's an opaque response with null padding size. r=bkelly
...
MozReview-Commit-ID: EKcUwqfTWvj
--HG--
extra : rebase_source : df3b416e8ff3763f37576c0a148dedcfe2f6afc4
2017-09-08 17:23:52 +08:00
Tom Tung
663a45bfc4
Bug 1398043 - P1: Add a space between strings concatenation. r=bkelly
...
MozReview-Commit-ID: mHQq4J2Kv6
--HG--
extra : rebase_source : 010819fecc690c1b8bfc456b6cc082110fa71c21
2017-09-08 15:56:53 +08:00
Tom Tung
194cbec7a2
Bug 1290481 - P15: Add an test to verify opaque response has padding and the usage are still the same between in-memory object in QM and the file-system. r=bkelly
...
--HG--
extra : rebase_source : e086661e0bcb1d7197f01dec5b3eb72d4a2c8615
2017-08-01 17:44:52 +08:00
Tom Tung
44aaef6986
Bug 1290481 - P13: Get padding from DB when there is no directroy padding file. r=bkelly
...
MozReview-Commit-ID: KlVsaGhpABk
--HG--
extra : rebase_source : 55aa5434b14c891e04ff03d7657c6b3ff40cd6f7
2017-07-18 19:08:41 +08:00
Tom Tung
b7d2e266c2
Bug 1290481 - P12: Get the padding size while QM gets usage from DOM Cache. r=bkelly
...
MozReview-Commit-ID: KlVsaGhpABk
--HG--
extra : rebase_source : 697343a1444235a64bb81f1fcebe1e0782923b06
2017-07-18 19:07:53 +08:00
Tom Tung
dbdac39cbc
Bug 1290481 - P11: Add an assertion to ensure DOM Cache running in the Quota IO thread while getting overall usage. r=bkelly
...
MozReview-Commit-ID: KlVsaGhpABk
--HG--
extra : rebase_source : d856f9509051da088948247c6c87e06b09e19a49
2017-07-18 19:03:25 +08:00
Tom Tung
d064e1463f
Bug 1290481 - P10: Update padding size to the direcotry padding file. r=bkelly
...
MozReview-Commit-ID: KlVsaGhpABk
--HG--
extra : rebase_source : 250d8cf6dd6804e8e944982d400a8de79539f7ac
2017-07-18 19:00:09 +08:00
Tom Tung
67d7727ec0
Bug 1290481 - P9: Implement a function to get overall padding size for an origin from cache.sqlite. r=bkelly
...
MozReview-Commit-ID: KlVsaGhpABk
--HG--
extra : rebase_source : a6956325cfdf6f11a4bcf66d41b8d4706ae4e1e7
2017-07-18 18:58:56 +08:00
Tom Tung
8eb68da410
Bug 1290481 - P8: Implement few utility functions to access direcotry padding file. r=bkelly
...
MozReview-Commit-ID: KlVsaGhpABk
--HG--
extra : rebase_source : 23145f66eb62f2f858311513f6bec4ead01d18cd
2017-07-18 18:57:54 +08:00
Tom Tung
161d91b1ba
Bug 1290481 - P7: Create a mutex lock on CacheQuotaClient for protected accessing directory padding file. r=bkelly
...
--HG--
extra : rebase_source : 5115d1d04083807dbe4a9cc8a388c62871e07fe9
2017-07-20 11:33:39 +08:00
Tom Tung
65c21f0c77
Bug 1290481 - P6: Upgrade QuotaManager to v3.0 for adding directory padding file to existing DOM Cache directory. r=bkelly, janv
...
MozReview-Commit-ID: KlVsaGhpABk
--HG--
extra : rebase_source : ebc8bffa58ec4ab2226254fe5c3333d5425fa2fd
2017-07-18 18:54:20 +08:00
Tom Tung
a1e22fa9e7
Bug 1290481 - P5: Implement a function to generate padding size. r=bkelly
...
MozReview-Commit-ID: 6poDeyErBjc
--HG--
extra : rebase_source : 982139c536c17a6699d700df7c8b3071939bb3c0
2017-07-10 17:03:24 +08:00
Tom Tung
29522efbef
Bug 1290481 - P4: Update padding size to the QuotaManager. r=bkelly, janv
...
MozReview-Commit-ID: 6poDeyErBjc
--HG--
extra : rebase_source : c7f556ad5c4516c0509a998c16c086795e5fa4b2
2017-07-10 17:02:44 +08:00
Tom Tung
280d7fa36c
Bug 1290481 - P3: Record padding size into cache.sqlite. r=bkelly
...
MozReview-Commit-ID: 6poDeyErBjc
--HG--
extra : rebase_source : 2c53b2891cc6da4e1688bd7f93cf79314554e1f1
2017-07-10 16:54:20 +08:00
Tom Tung
c9e3e0f1c0
Bug 1290481 - P2: Upgrade the version of cache.sqlite to store opaque responses' padding size in SQLite. r=bkelly
...
MozReview-Commit-ID: 6poDeyErBjc
--HG--
extra : rebase_source : 5c9748ac9d4b269666f66bfb1661b095eb099bc1
2017-07-10 16:45:56 +08:00
Tom Tung
9321dc629d
Bug 1290481 - P1: Make InternalResponse and CacheResponse be able to keep padding size. r=bkelly
...
MozReview-Commit-ID: LIxkSdfPZtf
--HG--
extra : rebase_source : ff52bdc1cc813ebc4d5ec679b4bac3dfb52550ac
2017-07-10 17:11:29 +08:00
Andrea Marchesini
f533937740
Bug 1378342 - AbortSignal/AbortController - part 6 - Implement Request.signal, r=bkelly
2017-08-29 11:31:06 +02:00
Sebastian Hengst
80e618e605
Backed out changeset 2c6f49d73935 (bug 1378342)
2017-08-29 09:16:59 +02:00
Andrea Marchesini
afa1c0c6c4
Bug 1378342 - AbortSignal/AbortController - part 6 - Implement Request.signal, r=bkelly
2017-08-29 07:30:21 +02:00
Marco Bonardo
7f569f98d9
Bug 1320301 - Add partial support to sqlite3_interrupt. r=asuth
...
MozReview-Commit-ID: V3ZjLEjqmT
--HG--
extra : rebase_source : 6f559b473c32dfcfb2bfe919c53199e202f7d636
2017-07-31 22:27:23 +02:00
Andrea Marchesini
cb3c4dda07
Bug 1128959 - Implement the WHATWG Streams spec - part 12 - starting body consuming and passing the JSContext down from the binding entrypoints to where the ReadableStream could be read, r=bz
...
This patch does 2 things:
. when SetBodyUsed() is called, the pump for the stream reading is activated.
. Just because of the reading of the stream could end up executing JS code, we
need to pass the JSContext in the correct state down to SetBodyUsed.
2017-08-10 18:04:55 -07:00
Andrea Marchesini
50f9ea47a3
Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm
2017-07-14 08:49:22 +02:00
Tom Tung
b9be3137cb
Bug 1367309 - Part 2: Test for ensuring DOM Cache update usage to QuotaManager. r=bkelly, r=janv
...
To do this, this test check all the cache operations which may create or delete
files by comparing overall usage in the memory are the same with overall usage
in the disk.
MozReview-Commit-ID: AXHBD7l5RqZ
--HG--
extra : rebase_source : 683f4fbdd366c60a9251cc7cd7740965fb269706
2017-06-01 15:08:54 +08:00
Tom Tung
8206d1d428
Bug 1367309 - Part 1: Update usage to QuotaManager when a file is deleted in DOM Cache. r=bkelly, r=janv
...
This patch mainly to update DOM Cahce's usage to the QuotaManager when a file
is deleted. This patch implement two helper function to delete the nsIFile
recursively or directly and update usage to QuotaManager.
MozReview-Commit-ID: 7pZZ02pS48d
--HG--
extra : rebase_source : c33e4afdbc1512f117d5f47814e149736c7ca257
2017-05-23 18:33:47 +08:00
Bill McCloskey
f115503a0b
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Nicholas Nethercote
fe9268c4cd
Bug 1374580 (part 2) - Remove nsAFlat{,C}String typedefs. r=froydnj.
...
All the instances are converted as follows.
- nsAFlatString --> nsString
- nsAFlatCString --> nsCString
--HG--
extra : rebase_source : b37350642c58a85a08363df2e7c610873faa6e41
2017-06-20 19:19:05 +10:00
Chris Peterson
fa7dea9295
Bug 1373525 - dom: Remove some unused member functions. r=billm
...
dom/asmjscache/AsmJSCache.cpp:371:3 [-Wunused-member-function] unused member function 'IsOnOwningThread'
dom/cache/DBSchema.cpp:303:3 [-Wunused-member-function] unused member function 'IdCount'
dom/filesystem/GetFilesHelper.cpp:26:3 [-Wunused-member-function] unused member function 'ReleaseRunnable'
dom/webbrowserpersist/WebBrowserPersistLocalDocument.cpp:298:10 [-Wunused-member-function] unused member function 'IsFlagSet'
MozReview-Commit-ID: 2A11iqF7u9X
--HG--
extra : source : abc07611c7cc994685cf151a47c90e3e9d3712a1
extra : intermediate-source : 44a7cfc31d995c50846aec3050514aea70ba2e2f
extra : histedit_source : 2ed361299e763d969619d3916ff20d9553d620f2
2017-06-11 15:34:21 -07:00
Carsten "Tomcat" Book
8a1350b5a6
Backed out changeset 4f6302a98ae4 (bug 1372405
)
...
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Wes Kocher
c0e1236f1a
Merge autoland to m-c a=merge
...
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Marco Bonardo
8d20cc6802
Bug 1355561 - Add a new API to spinningly close the database when strictly needed, and ensure Close() does what it's named after. r=asuth
...
Introduce a new SpinningSynchronousClose API that allows to synchronously close
a connection that executed asynchronous statements, by spinning the events loop.
This is expected to be used rarely in particular cases like database corruption.
It is currently [noscript] since the only consumer is cpp, in the future we can
evaluate removing that, if we find more uses for it.
MozReview-Commit-ID: 7SPqutoF9jJ
--HG--
extra : rebase_source : d053e308192f335dfdca089668e56115b068ff8c
2017-04-12 17:44:39 +02:00
Carsten "Tomcat" Book
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405
)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng
d1637b9c5a
Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
...
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Bill McCloskey
aefa2aa5da
Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug)
...
For the Quatum DOM project, it's better to work in terms of event targets than
threads. This patch converts DOM code to operate on event targets rather than
threads, when possible.
MozReview-Commit-ID: 5FgvpKadUA2
2017-06-12 20:20:08 -07:00
Andrea Marchesini
884d9efc73
Bug 1369316 - Get rid of nsIPrincipal.unknownAppId, r=bholley
2017-06-02 11:05:28 +02:00
Sylvestre Ledru
d525178ff0
Bug 1368106 - Use the new MOZ_DIAGNOSTIC_ASSERT_ENABLED instead of several defines r=glandium
...
MozReview-Commit-ID: KOM35SQnoRh
--HG--
extra : rebase_source : 6ece3e3e7c287ef1bfc133470a8cd451f8e3971e
2017-05-26 18:53:35 +02:00
Andrea Marchesini
b69ca32006
Bug 1359005 - Cleanup the use of PBlob in StructuredCloneHolder - part 1 - protocols, r=smaug
2017-05-23 07:49:40 +02:00
Nathan Froyd
c1d1748428
Bug 1359490 - add an event loop spinning abstraction function; r=gerald
...
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Ben Kelly
c33e926418
Bug 1362444 P3 Add a mochitest verifying accessing self.caches does not block idle Worker shutdown. r=baku
2017-05-10 09:27:10 -07:00
Ben Kelly
62239d1de6
Bug 1362444 P2 Allow idle worker shutdown while Cache/CacheStorage DOM objects exist, but block it during Cache operation. r=baku
2017-05-10 09:27:10 -07:00
Andrea Marchesini
5ba191f3a9
Bug 1357286 - Fix warnings on release builds about unused return values from autoStream->Serialize, r=philor
2017-04-18 07:29:47 -07:00
Jan Varga
ae1ee28451
Bug 1348660 - Part 3: Separate the canceled state out of UsageInfo; r=btseng
2017-03-22 12:13:54 +01:00
Jan Varga
2232d1fd5c
Bug 1348660 - Part 1: Convert nsIQuotaUsageRequest result related attributes to a new structure nsIQuotaUsageResult and expose it using a new result attribute of type nsIVariant; r=btseng
2017-03-22 12:13:38 +01:00
Andrea Marchesini
50f7937e84
Bug 1340163 - Introducing originNoSuffix as attribute in ContentPrincipalInfo, r=smaug
2017-03-20 16:03:45 +01:00
Sebastian Hengst
a472d9b04f
Backed out changeset 54a1f0cb64d9 (bug 1340163) for crashing e.g. in browser/components/originattributes/test/browser/browser_cacheAPI.js. r=backout
2017-03-20 15:38:19 +01:00
Andrea Marchesini
38c6ab4035
Bug 1340163 - Introducing originNoSuffix as attribute in ContentPrincipalInfo, r=smaug
2017-03-20 14:51:54 +01:00
Andrea Marchesini
f9cbf66dfd
Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag
...
--HG--
rename : ipc/glue/SendStreamAlloc.h => ipc/glue/IPCStreamAlloc.h
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamChild.cpp
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamDestination.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamDestination.h
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamParent.cpp
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamSource.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamSource.h
rename : ipc/glue/PChildToParentStream.ipdl => ipc/glue/PParentToChildStream.ipdl
2017-03-14 12:29:43 +01:00
Andrea Marchesini
6ced9f8a25
Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 1 - renaming PSendStream to PChildToParentStream, r=smaug
...
--HG--
rename : ipc/glue/PSendStream.ipdl => ipc/glue/PChildToParentStream.ipdl
2017-03-14 12:28:58 +01:00
Shawn Huang
cdec8ba558
Bug 1268804 Part 2: Add test cases for SecureContext, r=janv
2017-03-07 16:28:37 +08:00
Jan Varga
dcc35b89e6
Bug 1311057 - Part 2: Remove isApp from quota manager and its clients; r=asuth
2017-03-06 18:38:42 +01:00
Ben Kelly
7888480cbc
Bug 1341206 Relax Cache API schema version assertion since mismatches can happen in release profiles. r=asuth
2017-02-21 10:14:31 -05:00
Ben Kelly
8fbd3ec4ed
Bug 1322111 P4 Update the Cache API schema to account for new nsIContentPolicy type. r=asuth
2017-02-15 09:55:58 -05:00
Ben Kelly
0e176007bb
Bug 1322111 P1 Add TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS content policy type. r=ckerschb
2017-02-15 09:55:58 -05:00
Joel Maher
c203f27827
Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
...
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -05:00
Sebastian Hengst
7225ec6170
Backed out changeset 9a332af74af5 (bug 1335099) for build bustage (moz.build rule matches no files). r=backout on a CLOSED TREE
2017-02-06 16:21:20 +01:00
Joel Maher
60e61eed48
Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
...
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -05:00
Boris Zbarsky
1f816c60cf
Bug 1335368 part 12. Remove the use of IsCallerChrome in FetchRequest. r=bkelly
2017-02-01 15:43:37 -05:00
Andrea Marchesini
6278ae48c8
Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan
2017-01-27 16:53:44 +01:00
Kartikaya Gupta
1af1a82edf
Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
...
MozReview-Commit-ID: 5yt3O4Hoois
--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
Gabor Krizsanits
71ba9b000c
Bug 1315042 - Re-enable some tests. r=me
2017-01-25 18:04:55 +01:00
Ben Kelly
4b5eb524e8
Bug 1333091 Clear Cache API shared data if Context fails to initialize. r=asuth
2017-01-23 10:50:23 -08:00
Gabor Krizsanits
216527edfc
Bug 1303113 - Turn e10s-multi on in Nightly. r=me
2017-01-23 14:15:30 +01:00
Wes Kocher
336f27142f
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 3pEpsd3DljH
2017-01-19 16:47:25 -08:00
Wes Kocher
32faf4c617
Backed out changeset 0c891a3aff93 (bug 1303113) for test-oop-extensions failures a=backout CLOSED TREE
...
MozReview-Commit-ID: AU5hIBAmFKw
2017-01-19 11:29:42 -08:00
Gabor Krizsanits
c56ff65186
Bug 1303113 - Turn e10s-multi on in Nightly. r=me
2017-01-19 17:43:05 +01:00
Ben Kelly
ace278d884
Bug 1331949 Make service worker and cache diagnostic assert code compile on beta. r=asuth
2017-01-19 08:11:41 -08:00
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Ben Kelly
1f1249cf75
Bug 1328642 Protect multi-thread stream access with a mutex. r=asuth
2017-01-18 06:30:24 -08:00
Florian Quèze
85611a7b6d
Bug 1331081
- script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Wes Kocher
e7af9d37e0
Merge m-c to autoland, a=merge CLOSED TREE
...
MozReview-Commit-ID: 1X0vSt6PtFn
2017-01-12 16:20:57 -08:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Xidorn Quan
a8e64a94e1
Bug 1298756 - Use uint8_t/uint16_t as underlying type for enums from webidl. r=bz
...
MozReview-Commit-ID: 3uS9s5ZrPFd
--HG--
extra : rebase_source : ff64b4468ee99ba08fd8638298a27711b7fb6393
2017-01-12 12:23:37 +11:00
Ben Kelly
eaa45329b2
Backout c55138fae801 (bug 1329693) r=me
2017-01-10 14:14:10 -08:00
Ben Kelly
095ebc2535
Bug 1329693 Gracefully handle immediate ActorDestroy() in CacheStorage::ActorCreated(). r=asuth
2017-01-10 08:20:15 -08:00