Sebastian Hengst
d3f1bf94e1
Backed out changeset 2bd53e4e662b (bug 1303113) for various test failures in debug tests with e10s. r=backout
2017-01-03 20:53:59 +01:00
Gabor Krizsanits
6df27d5c23
Bug 1303113 - Turn e10s-multi on in Nightly. r=me
2017-01-03 18:14:50 +01:00
Tom Tung
bc2f790888
Bug 1264181 - Part 1: Cache API should block 206 response. r=bkelly.
...
--HG--
extra : histedit_source : 86687cb0311825147261fe11d5d46c5574999911
2016-12-22 09:25:18 +08:00
Tom Tung
2ddc3aed92
Bug 1290933 - Part 2 - fix the exist mochitest. r=bkelly.
...
--HG--
extra : rebase_source : 0f3cdb9d731d0641833a525b0c04666e2b8ff483
2016-12-14 14:25:40 +08:00
Tom Tung
e1a074c2bc
Bug 1290933 - Part 1 - Cache API should not match() non-GET requests. r=bkelly.
...
--HG--
extra : rebase_source : 2fa5d05925c81441b912b226a04da600468fa5d6
2016-12-14 16:26:48 +08:00
Sylvestre Ledru
fe70b47302
Bug 1320888 - Fix an incorrect assert in dom/cache/ r=Ehsan
...
MozReview-Commit-ID: KYemidcoGS8
--HG--
extra : rebase_source : 561d606f4525a467ddc10b4b7a65b99cae54bec3
2016-11-29 10:50:57 +01:00
Ben Kelly
3806e267dc
Bug 1319846 P2 Add a mochitest verifying storing a Response.redirect() works. r=asuth
2016-11-28 14:18:27 -08:00
Ben Kelly
235f44a1ab
Bug 1319846 P1 Deserialize headers before restoring guard value when reading from Cache API. r=asuth
2016-11-28 14:18:27 -08:00
Ehsan Akhgari
765a5950e8
Bug 1318936 - Stop checking for unknown appId's in the DOM Cache; r=bkelly
...
The only appId's in Gecko right now are NO_APP_ID's, so
this check is useless now.
2016-11-21 12:22:56 -05:00
Andrea Marchesini
2f974ccbce
Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot
2016-11-18 09:33:33 +01:00
Sebastian Hengst
7110a88674
Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE
2016-11-17 20:58:38 +01:00
Andrea Marchesini
cf2ad8072f
Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot
2016-11-17 19:36:01 +01:00
Ehsan Akhgari
dc33b55d94
Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku
2016-11-16 14:51:08 -05:00
Kan-Ru Chen
f8100451db
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Thomas Nguyen
b169621e2e
Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana.
...
MozReview-Commit-ID: 3V6W0fuRomZ
--HG--
extra : rebase_source : 4b708f9646ea42ef40c60ba0b7a86e14edf621e3
2016-11-14 15:15:32 +08:00
Tom Tung
542a9bacec
Bug 1264178 - Part 3: Add a test in test_cache_keys and remove the added test in P1. r=bkelly
...
--HG--
extra : rebase_source : 1587c56ebf47bbdd3066c3d96068452887103e97
2016-11-03 16:18:08 +08:00
Tom Tung
a63de77d6a
Bug 1264178 - Part 1: Expose URL fragment to request but not response. r=bkelly
...
--HG--
extra : rebase_source : ee0cac184ac64b1fa9185f912753f10b61a55383
2016-11-07 10:16:34 +08:00
Bill McCloskey
5f55831a5e
Bug 792652 - Store Manager() in IProtocol (r=dvander)
...
This patch stores mManager in IProtocol rather than in each individual
PFoo. It also adds a generic accessor for that field. Note that each
individual protocol still defines a Manager() function that returns
PFooParent or whatever. I tried to get rid of that but it was a lot
of work.
2016-11-08 15:22:38 -08:00
Wes Kocher
4b3d16605a
Backed out 18 changesets (bug 792652) for build bustage on linux64 a=backout CLOSED TREE
...
Backed out changeset 90eaf6aec002 (bug 792652)
Backed out changeset ddd915ab4a48 (bug 792652)
Backed out changeset 95eff6c45cae (bug 792652)
Backed out changeset 75855b5a9ab9 (bug 792652)
Backed out changeset b658ebaad5d7 (bug 792652)
Backed out changeset 2ba36b8ac60c (bug 792652)
Backed out changeset 94fcd3bf3f34 (bug 792652)
Backed out changeset cf9c4164eb43 (bug 792652)
Backed out changeset 59e6d0a4f35b (bug 792652)
Backed out changeset bdf86b8b9c43 (bug 792652)
Backed out changeset 8edf4b247250 (bug 792652)
Backed out changeset 63a3c8e4016e (bug 792652)
Backed out changeset e3e496eab991 (bug 792652)
Backed out changeset 5a1e3136323a (bug 792652)
Backed out changeset dbbe3a8c00e7 (bug 792652)
Backed out changeset 1829d5358808 (bug 792652)
Backed out changeset 004cd692ba6d (bug 792652)
Backed out changeset 92e7fee81fa2 (bug 792652)
2016-11-08 12:05:28 -08:00
Bill McCloskey
ad7ac34ca4
Bug 792652 - Store Manager() in IProtocol (r=dvander)
...
This patch stores mManager in IProtocol rather than in each individual
PFoo. It also adds a generic accessor for that field. Note that each
individual protocol still defines a Manager() function that returns
PFooParent or whatever. I tried to get rid of that but it was a lot
of work.
2016-11-08 11:32:27 -08:00
Sebastian Hengst
c3ad7640b7
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/cache. r=RyanVM
...
MozReview-Commit-ID: 776agANVg6d
--HG--
extra : rebase_source : dc7374d36d0423c4064b2a268c58e3cd5f0d6a02
2016-11-05 11:29:15 +01:00
Gabor Krizsanits
7206482dbe
Bug 1312022
- Fix some leaky tests. r=mrbkap
2016-11-02 11:13:49 +01:00
Shawn Huang
d93d31503b
Bug 1304966 - Enable Storage API only for nightly bulid, r=baku
2016-10-26 21:38:08 +08:00
Jan Varga
d9df4039bf
Bug 768074 - A follow-up fix. Increase schema version of DOM cache databases to prevent a Cache with the data serialized using the newer snappy from trying to be opened in a firefox that only understands the older version; r=bkelly
2016-10-25 15:27:01 +02:00
Saurabh Singhal
0a5645d30d
Bug 1278275 - Update Headers::GetAll and Headers::Get to match the specification. r=jdm, r=bkelly
2016-10-10 22:50:14 +05:30
Ehsan Akhgari
0427462aa8
Bug 1308075 - Remove support for accessing the Cache API from app:// URLs and also for storing requests/responses with app:// URLs within it; r=bkelly
...
This is backing out bug 1243849.
2016-10-18 11:47:04 -04:00
Ehsan Akhgari
9de6bbbaec
Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv
2016-10-13 13:18:41 -04:00
Tim Huang
372ec56ff4
Bug 1277803 - Part 1 : Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb
2016-10-13 15:43:54 +08:00
Wes Kocher
2142de26c1
Backed out 8 changesets (bug 1277803) for browser-chrome test failures a=backout
...
Backed out changeset 477890efdb88 (bug 1277803)
Backed out changeset 49da326bfe68 (bug 1277803)
Backed out changeset 2d17a40a9077 (bug 1277803)
Backed out changeset b1cb0a195ca1 (bug 1277803)
Backed out changeset c7d82459d152 (bug 1277803)
Backed out changeset 3be9a06248af (bug 1277803)
Backed out changeset 8d119ca96999 (bug 1277803)
Backed out changeset be767a6f7ecd (bug 1277803)
2016-10-12 14:26:00 -07:00
Tim Huang
0ceca5575d
Bug 1277803 - Part 1 : Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb
2016-10-12 17:32:03 +08:00
Arthur Edelstein
dfebfaa34a
Bug 1268726 - isolate shared worker by first party domain. r=baku
...
Tor 15564: Isolate SharedWorker by first party domain
uplift/refactor by Dave Huseby <dhuseby@mozilla.com>
review tweaks
2016-09-19 21:13:00 -04:00
Tom Tung
a167b66e90
Bug 1187335 - P4 - Integrate fetch and cache with SRI & add nsIConsoleReportCollector to show console report. r=bkelly.
2016-09-07 10:20:23 +08:00
Shawn Huang
ba9fa0d68a
Bug 1267941 - Implement Storage API estimate() feature, r=janv,baku
2016-06-14 13:57:36 +01:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Ben Kelly
9d7b33a00b
Bug 1293690 P2 Set explicit status levels to fail at when calling WorkerHolder::HoldWorker. r=baku
2016-08-18 07:11:04 -07:00
Phil Ringnalda
4083fafafc
Backed out 10 changesets (bug 1290116, bug 1293690) for build bustage
...
CLOSED TREE
Backed out changeset bbc14d107fca (bug 1290116)
Backed out changeset a81b6ce5c25f (bug 1290116)
Backed out changeset e0b9c25b6125 (bug 1290116)
Backed out changeset 8e9a9ba04ce5 (bug 1290116)
Backed out changeset 2d5ad5e9ed20 (bug 1290116)
Backed out changeset eb7da0dbfc72 (bug 1290116)
Backed out changeset 6a4e8c92faae (bug 1290116)
Backed out changeset 0342d98afa10 (bug 1293690)
Backed out changeset d84b0768f0ce (bug 1293690)
Backed out changeset f9f62ade9508 (bug 1293690)
2016-08-17 21:16:43 -07:00
Ben Kelly
fa520e1fdd
Bug 1293690 P2 Set explicit status levels to fail at when calling WorkerHolder::HoldWorker. r=baku
2016-08-17 20:01:35 -07:00
Nicholas Nethercote
a54e0fd248
Bug 1295053 (part 9) - Don't use NS_METHOD for dom/ functions. r=froydnj.
...
These don't need __stdcall on Win32.
--HG--
extra : rebase_source : 93aa569789dab107137c5493d1c86acc6701329b
2016-08-16 12:12:30 +10:00
Kaku Kuo
a6ed727230
Bug 1292091 - Part 2 - replace MaybeResolve(JS::UndefinedHandleValue) with MaybeResolveWithUndefined(); r=bz
...
MozReview-Commit-ID: KNbxVcCVqts
--HG--
extra : transplant_source : %1D%18%E5%C9o%F0%29%E7%E0%93%EEcR%C7B%3BeX%B3%87
2016-08-09 17:15:13 +08:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Carsten "Tomcat" Book
b9a6c687fa
merge mozilla-inbound to mozilla-central a=merge
2016-07-25 15:50:41 +02:00
Carsten "Tomcat" Book
8b6316ec5f
Merge mozilla-central to mozilla-inbound
2016-07-22 11:59:06 +02:00
Carsten "Tomcat" Book
c7846e126c
Backed out changeset 16aa7041c009 (bug 1287107) for causing xpcshell and mac tests
2016-07-22 11:30:23 +02:00
Andrew McCreight
623b56a3f1
Bug 1287143
- Remove the window argument to SpecialPowers.exactGC(). r=jmaher
...
Cu.forceCC() is the same as DOMWindowUtils.cycleCollect(), but does
not require a window.
2016-07-19 13:13:00 +08:00
Fabrice Desré
f5b619fb28
Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
...
MozReview-Commit-ID: 9uVUrmuVFXQ
--HG--
extra : rebase_source : d0c19fcda5c72ecdce3b0d0bbbafa5a7954d7a4c
2016-03-03 09:58:47 -08:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Fabrice Desré
7846da76d6
Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
...
MozReview-Commit-ID: 9uVUrmuVFXQ
--HG--
extra : rebase_source : 20f6f0235667530c21aca4889b5d33e39c2d1a48
2016-03-03 09:58:47 -08:00
Aaron Klotz
6470186455
Bug 1268151: Clean up some dependencies in IPDL headers; r=billm
...
MozReview-Commit-ID: n0FkC1zcay
--HG--
extra : rebase_source : a56c34e5ab1fe9354be7b586a917b6eecff4cb31
2016-05-17 16:01:25 -06:00
Boris Zbarsky
efc4dcf284
Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv
2016-07-09 00:19:52 -04:00
Chris Peterson
43c2748f66
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Jarda Snajdr
c57870b617
Bug 1283401 - CacheStorage: assertion failure when CacheStorage.keys() returns error r=bkelly
...
MozReview-Commit-ID: B0OTffqPryR
2016-07-01 06:17:00 +02:00
Andrea Marchesini
aac2306f2c
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
47aeb86e2c
Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
...
--HG--
rename : dom/cache/CacheWorkerHolder.cpp => dom/cache/Feature.cpp
rename : dom/cache/CacheWorkerHolder.h => dom/cache/Feature.h
rename : dom/workers/WorkerHolder.h => dom/workers/WorkerFeature.h
extra : rebase_source : 49f9e9ce0500ac441fe97878cf9308804926544f
2016-06-23 10:13:54 +02:00
Andrea Marchesini
45087a7970
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-22 17:24:35 +02:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Andrew Sutherland
af016de2cb
Bug 1272436 - P0: Implement "only-if-cached" RequestCache mode. r=mayhemer, r=bkelly, r=bzbarsky for WebIDL change
...
The fetch spec has re-introduced "only-if-cached" mode which loads only from
the cache. There are privacy implications to this so for the time being it
is required that "same-origin" mode is used.
2016-06-08 12:10:15 -04:00
Jonas Sicking
64a8f66145
Bug 1263991 part 3: Support incoming and outgoing requests/responses. r=baku f=bkelly
2016-06-07 02:46:03 -07:00
Carsten "Tomcat" Book
a62eba3cef
Backed out changeset 5853ea69f6c4 (bug 1263991)
2016-06-07 12:10:27 +02:00
Jonas Sicking
e6c14cd4ed
Bug 1263991 part 3: Support incoming and outgoing requests/responses. r=baku f=bkelly
2016-06-07 02:46:03 -07:00
Jan Varga
5a2fea4594
Bug 1195930 - Part 5: Core changes, support for storage directory versioning, new metadata v2 files, origin suffix added to API methods, origin attributes used across the implementation, more upgrade tests; r=asuth
2016-06-05 21:42:25 +02:00
Jonas Sicking
32162d33c2
Bug 1273279 - Changes in preparation for FlyWeb landing. Change InternalResponse handling to track body size. r=baku f=bkelly
...
--HG--
extra : amend_source : 257331b8f4b86d6e1c7608ca6866526ce6aa645a
2016-06-01 17:02:29 -04:00
Ben Kelly
62ecdfc256
Bug 1093357 P3 Convert Cache to use IPCStream and AutoIPCStream. r=asuth
...
* * *
Bug 1093357 P3 interdiff 001 Use AutoIPCStream in dom/cache
2016-05-15 10:32:09 -07:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Tom Tung
cbc57001d9
Bug 1271069 - caches.match with wrong name should resolve to undefined. r=bkelly
2016-05-11 09:52:48 +08:00
Ben Kelly
ad7768df50
Bug 1271905 P2 Test Cache.put() using a Response for a shutdown origin. r=asuth
2016-05-12 07:29:20 -07:00
Ben Kelly
cab3fd4eb2
Bug 1271905 P1 Don't crash if a closed cache::ReadableStream is serialized. r=asuth
2016-05-12 07:29:20 -07:00
Tom Tung
842431d95a
Bug 1243792 - P1 implement response.redirected - Fetch API & Cache API & ServiceWorker changed. r=bkelly, r=baku.
...
--HG--
extra : rebase_source : 29ec29361738c6d2446b410a98bd4876a689ce99
2016-05-03 09:48:40 +08:00
Carsten "Tomcat" Book
a993b36b4a
Backed out changeset dc42de66de8c (bug 1243791) landing with wrong bug number
...
--HG--
extra : rebase_source : b016defba5a12065b401d0d59b3f03e8b1d7cbe1
2016-05-10 12:50:15 +02:00
Tom Tung
15b89607c6
Bug 1243791 - P1 implement response.redirected - Fetch API & Cache API & ServiceWorker changed. r=bkelly, r=baku.
2016-05-03 09:48:40 +08:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Ehsan Akhgari
756a1054f9
Bug 1265941 - Rename the ReferrerPolicy "origin-only" enum value to "origin"; r=jdm
2016-04-20 14:21:34 -04:00
Nathan Froyd
67dd0b1d96
Bug 1265056 - don't needlessly construct nsAutoCString temporaries in dom/; r=baku
2016-04-15 19:46:45 -04:00
Ryan VanderMeulen
e22a2d1d81
No bug - Re-enable various tests on Windows debug e10s that no longer fail.
...
--HG--
extra : histedit_source : 37d53b3f1958a608e96d34799e3ff123e901aed1
2016-04-15 13:26:01 -04:00
Kyle Huey
2709afd167
Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj
2016-04-11 11:40:06 -07:00
Kyle Huey
1cc02aa8c6
Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj
2016-04-11 11:40:06 -07:00
Wes Kocher
7d2cebe912
Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE
...
Backed out changeset 0434a548e1fe (bug 1263311)
Backed out changeset 60b1be29446c (bug 1263311)
Backed out changeset 18132498bc40 (bug 1263311)
MozReview-Commit-ID: LPEa05QobdQ
2016-04-11 12:50:56 -07:00
Kyle Huey
d200ed89d0
Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj
2016-04-11 11:40:06 -07:00
Kyle Huey
f13a6fc866
Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj
2016-04-11 11:40:06 -07:00
Bogdan Postelnicu
7a960eaa1f
Bug 1245868 - repalce pass by value with pass by pointer in IsHeadRequest. r=jst
...
MozReview-Commit-ID: 5eZ2XLmIjkk
--HG--
extra : rebase_source : 3d31a9a06a85639d2ee1fb8219b274ac407f9dbc
2016-02-17 10:17:20 +02:00
Kyle Huey
d9265a3eaf
Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj
2016-03-28 10:28:15 -07:00
Kyle Huey
fe5f7b4105
Bug 1259290: Part 5 - Remove the cx from WorkerFeature::Notify. r=bz
2016-03-28 10:28:14 -07:00
Ehsan Akhgari
e6b62e1073
Bug 1257630 - Port test_chrome_constructor.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap
2016-03-17 15:54:38 -04:00
Jan Varga
7bb929b877
Bug 1182987 - Part 2: Add getQuotaObjects() to mozIStorageConnection; r=mak
2016-03-15 07:00:28 +01:00
Marco Castelluccio
2fb9c40ec1
Bug 1250453
- Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk
2016-03-14 16:29:11 +00:00
Ehsan Akhgari
24fbc15619
Bug 1120715 - Part 6: Remove the dom.requestcache.enabled pref; r=bkelly
2016-03-11 14:40:53 -05:00
Ryan VanderMeulen
e98112b9bd
Backed out 8 changesets (bug 1120715) for Android dom/u2f/tests/test_no_token.html permafail.
...
Backed out changeset 043770204431 (bug 1120715)
Backed out changeset e10c375353f4 (bug 1120715)
Backed out changeset c2871dbeb7cc (bug 1120715)
Backed out changeset 79158f028ad3 (bug 1120715)
Backed out changeset c74866f52320 (bug 1120715)
Backed out changeset c731944ecc64 (bug 1120715)
Backed out changeset 44f346712a3a (bug 1120715)
Backed out changeset 60d6045125e2 (bug 1120715)
CLOSED TREE
2016-03-10 20:20:05 -05:00
Ehsan Akhgari
8508bae9bf
Bug 1120715 - Part 6: Remove the dom.requestcache.enabled pref; r=bkelly
2016-03-10 17:29:11 -05:00
Carsten "Tomcat" Book
25fbf67b66
Backed out changeset 878c54ec3954 (bug 1250453
)
2016-03-10 14:45:59 +01:00
Marco Castelluccio
1902f1c620
Bug 1250453
- Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk
2016-03-10 11:12:38 +00:00
Wes Kocher
53011a6a05
Backed out 6 changesets (bug 1120715) for wpt bustage in request-cache.html
...
Backed out changeset 2ee4b18f6b3a (bug 1120715)
Backed out changeset f87a25ade31e (bug 1120715)
Backed out changeset 9391f22c08c2 (bug 1120715)
Backed out changeset c5bf9f7bb86e (bug 1120715)
Backed out changeset 7e003fb64d41 (bug 1120715)
Backed out changeset ef66b64e9f8a (bug 1120715)
MozReview-Commit-ID: AI47IhtGWea
2016-03-09 15:57:43 -08:00
Ehsan Akhgari
017bf0f2b6
Bug 1120715 - Part 6: Remove the dom.requestcache.enabled pref; r=bkelly
2016-03-09 16:45:01 -05:00
Ehsan Akhgari
cc6dbb74a0
Bug 1251872 - Part 2: Store the Request referrerPolicy in the DOM Cache; r=bkelly
...
This patch also fixes an existing bug where we used to call
RewriteEntriesSchema at the end of each individual migration,
which is wrong since after the first call, sqlite will think
that it's dealing with the final schema. So far we were lucky
that we only changed the actual schema once.
2016-03-03 16:43:59 -05:00
Trevor Saunders
e45a8375fb
bug 1252687 - make Migration's ctor constexpr r=bz
2016-03-02 13:37:00 -05:00
Boris Zbarsky
663b9bd562
Bug 1252091. Add/RemoveFeature don't need a JSContext argument. r=khuey
2016-02-29 14:52:42 -05:00
Aidin Gharibnavaz
686438c658
Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
2016-02-10 08:23:00 +01:00
Myk Melez
a6aff185d2
Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco
2016-02-08 11:24:22 -08:00
Carsten "Tomcat" Book
5b358688b7
Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures
...
--HG--
extra : rebase_source : fb6fd434c8e3f4b5fa53ea645a54c07cab207894
2016-02-08 11:17:38 +01:00
Aidin Gharibnavaz
69cf7e035f
Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
...
--HG--
extra : rebase_source : 3c6bba6613a14e48239d302bdd0f7fe2e322265d
2016-02-07 10:56:00 +01:00
Ben Kelly
a0dffad2f8
Bug 1244764 P2 Make dom/cache mochitests pass with new add()/addAll() behavior. r=ehsan
2016-02-04 07:59:52 -08:00
Ben Kelly
1de96897ae
Bug 1244764 P1 Make Cache .add()/.addAll() fail if a Response.ok() is false. r=ehsan
2016-02-04 07:59:52 -08:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Bill McCloskey
c663839ade
Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm)
2016-01-28 20:56:37 -08:00
Ehsan Akhgari
226d0657b3
Bug 1243849 - Restore support for accessing the Cache API from app:// URLs and also for storing requests/responses with app:// URLs within it; r=bkelly
...
Firefox OS still needs to use the cache API both to access it, and possibly
store app:// URL resources inside it. See for example code in
https://github.com/fxos-components/fxos-fastlist/blob/master/fxos-fastlist.js
that manipulates the cache. Let's restore this support for now since it's
pretty harmless.
2016-01-28 17:42:57 -05:00
Ehsan Akhgari
fbf2580b8c
Bug 1197379 - Remove support for intercepting app:// URIs using service workers; r=jdm
2016-01-27 15:26:27 -05:00
Sylvestre Ledru
ab4e3a0d42
Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
...
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Chris Peterson
c824bef9fe
Bug 1240265 - Annotate intentional switch fallthroughs in dom/. r=mrbkap
...
dom/base/Element.cpp:2920:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/Element.cpp:2935:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:6595:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:7631:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:7922:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsGlobalWindow.cpp:7573:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsXMLContentSerializer.cpp:1393:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/cache/AutoUtils.cpp:487:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/html/HTMLInputElement.cpp:3808:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/html/HTMLInputElement.cpp:3836:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/storage/DOMStorageDBThread.cpp:224:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/workers/ScriptLoader.cpp:1994:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
--HG--
extra : rebase_source : ba9bd93b2c65e2db05b26e7b4c203dd7710516f3
2015-11-25 23:26:32 -08:00
Ehsan Akhgari
6a00aad6ee
Bug 1209081 - Part 2: Upgrade the saved Requests in the DOM Cache to reflect the "navigate" RequestMode if they represent navigation content policy types; r=bkelly
2016-01-19 17:46:10 -05:00
Ehsan Akhgari
d08dcc913c
Bug 1209081 - Part 1: Implement the "navigate" value for RequestMode; r=bkelly
2016-01-19 17:46:10 -05:00
Ehsan Akhgari
61ec7f09b3
Bug 1240161 - Remove "only-if-cached" from RequestCache; r=bkelly
2016-01-15 16:24:16 -05:00
Jonathan Griffin
59f626fe96
Bug 1232780 - Disable mochitests which fail on e10s so we can get that suite running, a=test-only
2016-01-05 12:02:47 -08:00
Ben Kelly
fdc6dd443a
Bug 1234458 P2 Lock the CacheChild actor while Cache DOM methods are running. r=ehsan a=ritu
2016-01-04 12:03:11 -08:00
Ben Kelly
7d02efa8cf
Bug 1234458 P1 Allow the CacheChild to be "locked" into memory so it will delay destruction. r=ehsan a=ritu
2016-01-04 12:03:11 -08:00
Nathan Froyd
c381a6b86c
Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
...
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Yoshi Huang
4b500464f5
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Jan Varga
945dffa14f
Bug 961049 - Part 6: Quota Manager on PBackground cache changes; r=bkelly
2015-11-22 10:44:16 +01:00
Boris Zbarsky
c19412a7ac
Bug 1224007 part 1. Rename ThrowMethodFailed to MaybeSetPendingException and make it an ErrorResult instance method. r=peterv
2015-11-20 16:29:40 -05:00
Boris Zbarsky
df75080cc3
Bug 1226479. Change ErrorResult::ThrowTypeError/ThrowRangeError to take string references, not pointers. r=mccr8
2015-11-20 13:36:46 -05:00
Ben Kelly
607963045b
Bug 1220308 Cache API should teardown DOM objects when Worker hits Terminating status. r=baku
2015-11-10 13:51:22 -08:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Wes Kocher
8d99befba7
Merge m-c to inbound, a=merge
...
--HG--
extra : commitid : CprilDXCNVx
2015-10-27 14:15:23 -07:00
Ben Kelly
26038d4a37
Bug 1217501 P4 Fill headers before setting guard when reading response from Cache. r=ehsan
2015-10-27 09:23:34 -07:00
Yoshi Huang
176a15f268
Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley
...
From 7bb0fbba24f4f65d3fa83efe223b1431cd71fdb6 Mon Sep 17 00:00:00 2001
---
dom/apps/tests/test_third_party_homescreen.html | 8 +-
.../test/test_messagemanager_assertpermission.html | 4 +-
dom/base/test/test_messagemanager_targetchain.html | 16 +--
...rowserElement_AllowEmbedAppsInNestedOOIframe.js | 11 +-
.../mochitest/browserElement_CopyPaste.js | 9 +-
.../browserElement_DisallowEmbedAppsInOOP.js | 9 +-
.../mochitest/browserElement_Proxy.js | 10 +-
.../browserElement_SetInputMethodActive.js | 3 +-
.../mochitest/browserElement_SetVisibleFrames.js | 17 ++--
.../mochitest/browserElement_SetVisibleFrames2.js | 16 +--
.../priority/test_ExpectingSystemMessage2.html | 16 +--
.../mochitest/priority/test_NestedFrames.html | 16 +--
dom/cache/test/mochitest/driver.js | 11 +-
.../test/mochitest/test_cache_orphaned_body.html | 33 +-----
.../test/mochitest/test_cache_orphaned_cache.html | 33 +-----
dom/cache/test/mochitest/test_cache_restart.html | 11 +-
dom/cache/test/mochitest/test_cache_shrink.html | 33 +-----
dom/indexedDB/test/file.js | 12 +--
dom/indexedDB/test/helpers.js | 9 +-
dom/indexedDB/test/webapp_clearBrowserData.js | 6 +-
dom/inputmethod/mochitest/test_bug1043828.html | 5 +-
dom/inputmethod/mochitest/test_bug944397.html | 5 +-
.../mochitest/test_focus_blur_manage_events.html | 5 +-
.../mochitest/test_input_registry_events.html | 5 +-
.../mochitest/test_simple_manage_events.html | 5 +-
.../tests/test_permission_for_nested_oop_app.html | 3 +-
.../tests/test_permission_for_two_oop_apps.html | 3 +-
dom/ipc/tests/test_permission_helper.js | 21 ++--
.../test_permission_when_oop_app_crashes.html | 3 +-
dom/tv/test/mochitest/head.js | 5 +-
.../test_SpecialPowersPushAppPermissions.html | 14 ++-
.../tests/Harness_sanity/test_bug816847.html | 6 +-
.../components/SpecialPowersObserver.js | 4 +-
.../content/SpecialPowersObserverAPI.js | 24 +----
testing/specialpowers/content/specialpowersAPI.js | 111 ++++++++-------------
35 files changed, 173 insertions(+), 329 deletions(-)
2015-10-07 14:35:43 +08:00
Yoshi Huang
0f75eb4970
Backout e54c3b878993
2015-10-27 15:49:11 +08:00
Yoshi Huang
425b3272f5
Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley
2015-10-07 14:35:43 +08:00
Ehsan Akhgari
9dbda26606
Bug 1216697 follow-up: enable the dom.requestcache.enabled pref in DOM Cache tests
2015-10-23 16:39:55 -04:00
Jonas Sicking
7bf7cbbd1a
Bug 1215746: Remove RequestMode::Cors_with_forced_preflight. r=bkelly
2015-10-19 18:24:36 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Ben Kelly
325af20738
Bug 1215290 Cache API should store unfiltered Response URL. r=ehsan
2015-10-15 14:07:49 -07:00
Ben Kelly
4f17b46d59
Bug 1210128 Ensure Cache API context internal state is consistent when shutdown during initialization. r=janv
2015-10-15 14:07:49 -07:00
Andrew McCreight
5171450b27
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-05 09:38:14 -07:00
Wes Kocher
f0d829220d
Backed out changeset 821791826960 (bug 1197893) for Nexus build failures CLOSED TREE
2015-10-02 16:17:05 -07:00
Andrew McCreight
35cd15b8de
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 15:09:02 -07:00
Andrew McCreight
7a2c6267d4
Backed out changeset 6fa9cdf4002b for breaking the build.
2015-10-02 10:49:28 -07:00
Andrew McCreight
404740a102
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 10:42:08 -07:00
Carsten "Tomcat" Book
ca77b70a8d
merge mozilla-inbound to mozilla-central a=merge
2015-10-02 11:52:49 +02:00
Ehsan Akhgari
cf1376b18d
Bug 1204596 - Part 2: Update the schema of the DOM Cache database to remove the response_redirected and response_redirected_url columns; r=bkelly
2015-10-01 18:47:05 -04:00
Ehsan Akhgari
7f68257bc6
Bug 1204596 - Part 1: Avoid overriding the channel final URI when it gets intercepted; r=nsm,bkelly
2015-10-01 18:47:04 -04:00
Yoshi Huang
f97211a451
Bug 1167100 - User originAttribute in ContentPrincipalInfo. r=bholley
2015-09-23 18:19:06 +08:00
Wes Kocher
df21b43278
Backed out changeset d0e88c95f3c5 (bug 1167100) for crashes a=backout
2015-09-29 10:25:20 -07:00
Yoshi Huang
872722fe37
Bug 1167100 - User nsIPrincipal.originAttribute in ContentPrincipalInfo. r=bholley
2015-09-23 18:19:06 +08:00
Jeff Walden
4046fe1490
Bug 1179003 - Convert the infallible objectClassIs proxy hook into a fallible getBuiltinClass hook that indicates class type via outparam. r=efaust, r=bz on DOM bits, r=billm on IPC bits
...
--HG--
extra : rebase_source : 6ddc3727c411fdfced6338e5e383a10572575f0f
2015-08-28 21:55:40 -07:00
Henry Chang
b6b5862949
Bug 1163254 - Add signedPkg to OriginAttributes. r=bholley
2015-09-18 15:11:58 +08:00
Christoph Kerschbaumer
f69e2b393b
Bug 1048048 - add preload content policy types (r=ehsan)
...
--HG--
extra : source : 740ab1ecd0794b5a304b93ef528c8aa4c68ca417
2015-09-20 14:55:44 -07:00
Wes Kocher
cd079d2bf9
Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
...
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
319984decc
Bug 1048048 - add preload content policy types (r=ehsan)
2015-09-20 14:55:44 -07:00
Carsten "Tomcat" Book
c5551bace9
Backed out 2 changesets (bug 1169633, bug 1163254) for linux Mn-e10s test bustage on a CLOSED TREE
...
Backed out changeset 47ccf6689101 (bug 1169633)
Backed out changeset 503eab197a2d (bug 1163254)
2015-09-17 16:01:25 +02:00
hchang
2e884ff477
Bug 1163254 - Add signedPkg to OriginAttributes. r=bholley
2015-09-16 19:42:00 +02:00
Phil Ringnalda
92751c5b3e
Back out 3 changesets (bug 1204596) for b2g test_fetch_cors.html failures
...
Backed out changeset 2662a1ad4cad (bug 1204596)
Backed out changeset cfc4c4ecbbf5 (bug 1204596)
Backed out changeset d10c6f32ce46 (bug 1204596)
2015-09-16 20:51:17 -07:00
Ehsan Akhgari
bac1e66119
Bug 1204596 - Part 2: Update the schema of the DOM Cache database to remove the response_redirected and response_redirected_url columns; r=bkelly
2015-09-16 20:38:21 -04:00
Ehsan Akhgari
b2a35e80cb
Bug 1204596 - Part 1: Avoid overriding the channel final URI when it gets intercepted; r=nsm,bkelly
2015-09-16 20:38:19 -04:00
Ehsan Akhgari
59c135c176
Bug 1198078 - Add support for TYPE_INTERNAL_SERVICE_WORKER; r=ckerschb,tanvi
2015-09-16 19:15:30 -04:00
Ben Kelly
a944becd40
Bug 1184607 P7.8 Test Cache API schema verison migrations. r=ehsan
2015-08-31 14:26:30 -07:00
Ben Kelly
e4c6f8d174
Bug 1184607 P7.6 Expose CacheStorage .caches property on xpcshell global. r=smaug
...
* * *
7.6 interdiff
2015-08-31 14:26:30 -07:00
Ben Kelly
4bc651e2ed
Bug 1184607 P7.5 Add RequestRedirect to Cache API schema with migration. r=ehsan
2015-08-31 14:26:30 -07:00
Ben Kelly
11f983b483
Bug 1184607 P7.4 Infrastructure for running Cache schema migrations. r=ehsan
2015-08-31 14:26:30 -07:00
Ben Kelly
6e79a82e9f
Bug 1184607 P7.3 Rename Cache "max wipe version" constant to "first shipped version". r=ehsan
2015-08-31 14:26:30 -07:00
Ben Kelly
4fb2a6ffe3
Bug 1184607 P7.2 Validate Cache schema in debug builds. r=ehsan
2015-08-31 14:26:30 -07:00
Ben Kelly
ac1063f343
Bug 1184607 P7.1 Move Cache schema SQL into separate constants. r=ehsan
2015-08-31 14:26:29 -07:00
Ben Kelly
1947fc8d08
Bug 1112071 Change Cache ManagerId to use QuotaManager's concept of origin. r=ehsan
2015-08-31 14:26:29 -07:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Michael Layzell
d412cade2c
Bug 1145744 - Update CacheStorage to use common StorageAllowedForWindow logic, r=bkelly
2015-08-28 10:10:33 -04:00
Yoshi Huang
e6070e9062
Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley
2015-08-18 15:01:42 +08:00
Bobby Holley
edfe287f26
Backed out 3 changesets (bug 1165272) for b2g sanity blocker.
2015-08-25 11:16:21 -07:00
Yoshi Huang
de47f4b89f
Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley
2015-08-24 01:18:00 -04:00
Antonio de Luna Lopez
f24373495b
Bug 1110476 - Stripped url fragment from Request::GetUrl() by calling either nsIURI::SetRef() or workers::URL::SetHash() in Request's url getter utility methods. Stripped url fragment from Response::GetUrl() by adding the method InternalRequest::StripFragmentAndSetUrl() which calls nsIURI::SetRef(). Added a test in dom/tests/mochitest/fetch/test_request.js for Request::GetUrl(). Removed manual url stripping from dom/cache/TypeUtils.cpp. r=bkelly
...
--HG--
extra : histedit_source : 034dc90148e27780a1f9a512a513ee30f26dce92
2015-08-13 08:22:19 -07:00
Christoph Kerschbaumer
1c05a94924
Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource (r=sicking,ehsan)
2015-08-06 11:17:24 -07:00
Carsten "Tomcat" Book
7d6f90f702
Backed out 2 changesets (bug 1191107, bug 1180273) for causing xpcshell and m-oth testfailures on a CLOSED TREEi IGNORE IDL
...
Backed out changeset c5f710ed8718 (bug 1191107)
Backed out changeset d98d82f9981b (bug 1180273)
2015-08-06 08:39:05 +02:00
Christoph Kerschbaumer
cb37e46dd2
Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource - IGNORE IDL (r=sicking,ehsan)
2015-08-05 12:58:05 -07:00
David Anderson
ac8c6304a9
Use the same graphics device parameters across processes. (bug 1183910 part 7, r=mattwoodrow)
2015-08-02 13:59:33 -07:00
Bobby Holley
97b9240b34
Bug 1188696
- Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
dimi
cb39e7d544
Bug 1186312 - Cache API should not accept system principals for child processes. r=bkelly
...
--HG--
extra : rebase_source : cae2763663eaf8d7fd27bc684f6ecc892690f64d
2015-07-23 17:42:02 +08:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Ben Kelly
7ff47213f8
Bug 1181871 P1 Only enforce Cache Context shared data destruction on target thread after init. r=ehsan
2015-07-10 13:56:06 -07:00
Ben Kelly
7d441b2d5c
Bug 1181577 Delay creation of QuotaInitRunnable until Cache Context actually started. r=ehsan
2015-07-09 11:19:50 -07:00
Ehsan Akhgari
54a5716d5e
Bug 1180765 - Bump the caches.sqlite version numbers because of the field that was added in bug 1169044; r=jdm
2015-07-08 19:35:29 -04:00
Ben Kelly
687fb616be
Bug 1181259 Remove stray debugging printf from Cache API. r=froydnj
2015-07-08 12:55:36 -07:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Ben Kelly
351585e29f
Bug 1179772 Make Cache API honor devtools SW testing flag in SW itself. r=ehsan
2015-07-02 11:47:10 -07:00
Fernando Jimenez
b56d917f3c
Bug 1172562 - Clear QuotaManager storage when uninstalling an app. Test. r=bkelly
2015-07-02 11:17:01 +02:00
Ben Kelly
e90a4f225d
Bug 1178196 Fix race in Cache API orphaned data tests. r=ehsan
2015-06-30 08:31:00 -07:00
Jan Varga
283acfefd3
Bug 1170021 - Part 2: Move DirectoryLock out of QuotaManager class; r=bent
2015-06-30 14:59:53 +02:00
Jan Varga
baba1643c1
Bug 1130775 - Convert synchronized ops and storage registration into unified directory locks; r=bent
...
--HG--
rename : dom/quota/OriginOrPatternString.h => dom/quota/OriginScope.h
2015-06-30 14:59:27 +02:00
Carsten "Tomcat" Book
a06a9d27a5
Backed out changeset 6ff483d6ba34 (bug 1172562) for timeouts in test_cache_clear_on_app_uninstall.html
2015-06-30 14:58:20 +02:00
Fernando Jimenez
f62f7f9f4b
Bug 1172562 - Add a test to check that cache storage is cleaned up when uninstalling an app. r=bkelly
2015-06-30 11:53:30 +02:00
Ben Kelly
f78320762c
Bug 1177965 Remove browser.privatebrowing.autostart from browser_cache_pb_window.js r=ehsan
2015-06-29 11:45:26 -07:00
Ben Kelly
ccc0bf0860
Bug 1175138 P6 Add a simple test to verify CacheStorage rejects in http origin. r=ehsan
2015-06-27 23:19:24 -04:00
Ben Kelly
2de3ef558a
Bug 1175138 P5 Make CacheStorage reject on untrusted origins. r=ehsan
2015-06-27 23:19:24 -04:00
Ben Kelly
46d52c7f4d
Bug 1175138 P4 Enable dom.caches.testing.enabled in existing tests. r=ehsan
2015-06-27 23:19:24 -04:00
Ben Kelly
d87aa736d6
Bug 1173467
P4 Add a test to validate Cache in private browsing window. r=ehsan
2015-06-26 19:36:40 -07:00
Ben Kelly
d722c7d5fb
Bug 1173467
P3 Pass private browsing flag into CacheStorage factory methods. r=ehsan
2015-06-26 19:36:40 -07:00
Ben Kelly
299afbab05
Bug 1173467
P1 Modify CacheStorage to reject with SecurityErr instead of throwing on creation. r=ehsan
2015-06-26 19:36:39 -07:00
Cameron McCormack
65dcf79af7
Back out a bit more of bug 1173467
(changeset 30cefdf8d020) that I missed.
2015-06-27 12:21:05 +10:00
Cameron McCormack
5ccbe11d06
Back out bug 1173467
(changesets a20799ebf48c, 9312c5cb756e, c0e8bba17067, af075443ab21, 30cefdf8d020) for assertion failures in test_app_protocol.html.
2015-06-27 11:57:17 +10:00
Ben Kelly
6862b4c402
Bug 1173467
P4 Add a test to validate Cache in private browsing window. r=ehsan
2015-06-26 17:42:56 -07:00
Ben Kelly
73d7dcb1a3
Bug 1173467
P3 Pass private browsing flag into CacheStorage factory methods. r=ehsan
2015-06-26 17:42:56 -07:00
Ben Kelly
f1a1a443eb
Bug 1173467
P1 Modify CacheStorage to reject with SecurityErr instead of throwing on creation. r=ehsan
2015-06-26 17:42:55 -07:00
Ben Kelly
1a7bf3eeb5
Bug 1110446 P4 Add a test that orphanes Cache API body files. r=ehsan
2015-06-25 22:22:47 -07:00
Ben Kelly
a46f5588ad
Bug 1110446 P3 Add a test that forces a Cache object to be orphaned and reclaimed. r=ehsan
2015-06-25 22:22:47 -07:00
Ben Kelly
704bdbfb99
Bug 1110446 P2 Cleanup stale caches/bodies if last session didn't shutdown cleanly. r=ehsan
2015-06-25 22:22:46 -07:00
Ben Kelly
bbd2a20e5d
Bug 1110446 P1 Create marker files when Cache API context is open. r=ehsan
2015-06-25 22:22:46 -07:00
Nikhil Marathe
b52b66ebf5
Bug 1169044 - Patch 3 - Store and set principal with script URI on ServiceWorkers. r=ehsan
...
The ServiceWorkerRegistrationInfo's principal is the principal of the document
that called register(). If we create WorkerPrivate instances based off of
this, they have a valid principal in terms of security and same-origin-ness,
but the URI path is wrong. When fetching the script from the network, the
channel's principal is used to update the worker principal. We need to do the
same when the script is loaded from Cache. This patch adds support to store the
channel principal in the cache.
--HG--
extra : rebase_source : e7d527335aa4f0d4ee52e58915c8b0ef4ad26983
2015-06-04 21:39:34 -07:00
Ben Kelly
ce90b29484
Bug 1173439 P5 Cache should index on a hash instead of the url itself. r=ehsan
2015-06-16 17:39:05 -07:00
Ben Kelly
72fd940fc3
Bug 1173439 P4 Remove Request url field from Cache API database. r=ehsan
2015-06-16 17:39:05 -07:00
Ben Kelly
0a4c003dd5
Bug 1173439 P3 Use url query field for database matching and Request creation. r=ehsan
2015-06-16 17:39:05 -07:00
Ben Kelly
2a2c3fa17d
Bug 1173439 P2 Parse Response URL query as a separate field. r=ehsan
2015-06-16 17:39:05 -07:00
Ben Kelly
18e16a0fa2
Bug 1173439 P1 Store URLs as UTF8 strings in Cache instead of UTF16. r=ehsan
2015-06-16 17:39:05 -07:00
Ben Kelly
b6487f1ac4
Bug 1174768 Cache should check if QuotaManager is shutting down before calling GetOrCreate. r=janv
2015-06-16 12:00:55 -07:00
Ehsan Akhgari
7018c8ba46
Bug 1174982 - Add the new nsContentPolicyType values to the DBSchema.cpp static_assert; r=bkelly
...
Added a comment to nsIContentPolicyBase.idl since even I forgot to do this.
2015-06-16 10:42:31 -04:00
Ehsan Akhgari
cd8eec31d9
Bug 1174868 - Avoid storing RequestContext inside InternalRequest; r=nsm,bkelly,smaug
...
We are going to infer all RequestContext types from the corresponding
nsContentPolicyType. It no longer makes sense to store both of these on
InternalRequest. This has the extra benefit that we don't need to worry
about keeping them in sync any more.
2015-06-15 21:36:04 -04:00
Ehsan Akhgari
fe838f3834
Bug 1174849 - Remove "serviceworker" from RequestContext; r=smaug,bkelly
2015-06-15 21:36:01 -04:00
Ben Kelly
a3be126ba9
Bug 1167808 P0 Cache.put() should use internal body of opaque Response. r=nsm
2015-06-12 18:59:01 -07:00
Ben Kelly
e440c549b6
Bug 1169994 Fix Cache to close connection on right thread when init is canceled. r=ehsan
2015-06-10 06:37:16 -07:00
Ehsan Akhgari
be551239da
Bug 1172629 - Use the caches global property from an iframe loaded after setting the pref in order to make the tests pass with the pref disabled; r=bkelly a=RyanVM
2015-06-09 16:06:00 -04:00
Ehsan Akhgari
d9f5031529
Bug 1164397 - Part 5: Save the redirected flag and the redirected URI in the DOM cache; r=bkelly
2015-06-05 15:57:44 -04:00
Ben Kelly
7ea74752c9
Bug 1168152 P5 Follow-up to use 32kb growth size as intended in previous patches. r=me
2015-05-28 07:52:35 -07:00
Ben Kelly
da9b1ef1b9
Bug 1168152 P4 Add a test to verify Cache incremental vacuum works. r=ehsan
2015-05-28 07:46:48 -07:00
Ben Kelly
dbbf4fbc4a
Bug 1168152 P3 Perform incremental vacuum at tail end of Cache db connections. r=ehsan
2015-05-28 07:46:47 -07:00
Ben Kelly
6ea4923572
Bug 1168152 P2 Use a wrapper mozIStorageConnection for shared Cache connections. r=ehsan
2015-05-28 07:46:47 -07:00
Ben Kelly
aee2720d22
Bug 1168152 P1 Use a smaller sqlite page size and a growth increment in Cache. r=ehsan
2015-05-28 07:46:47 -07:00
Ben Kelly
ac3f20c81e
Bug 1168135 P3 Cache Context should pass shared Data container to init Action. r=ehsan
2015-05-28 07:46:47 -07:00
Ben Kelly
02392e2639
Bug 1168135 P2 Add Cache Context::Init() method. r=ehsan
2015-05-28 07:46:47 -07:00
Ben Kelly
47b8771d37
Bug 1168135 P1 Execute Cache init Action on same target thread used for other Actions. r=ehsan
2015-05-28 07:46:47 -07:00
Ehsan Akhgari
4017e4028f
Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly
...
--HG--
rename : dom/fetch/InternalResponse.cpp => dom/fetch/ChannelInfo.cpp
rename : dom/fetch/Response.h => dom/fetch/ChannelInfo.h
2015-05-27 14:22:53 -04:00
Carsten "Tomcat" Book
1f0ef48e79
Backed out changeset ae9c77fa58d1 (bug 1168208) for bustage on a CLOSED TREE
2015-05-27 14:50:43 +02:00
Ehsan Akhgari
c66a858d3a
Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly
...
--HG--
rename : dom/fetch/InternalResponse.cpp => dom/fetch/ChannelInfo.cpp
rename : dom/fetch/Response.h => dom/fetch/ChannelInfo.h
2015-05-27 08:25:03 -04:00
Ben Turner
805bc94273
Bug 858680 - Part 2: Add idle notifications to QuotaClient, r=janv.
...
--HG--
extra : rebase_source : d4ec5e860b885ab01e4e1c19e6aed057b78e5aaa
2015-04-30 13:46:51 -07:00
Ben Kelly
322b8ff03f
Bug 1166911
Modify Cache API sqlite code to use IS NULL literal when comparing an empty key. r=ehsan
2015-05-21 18:16:37 -07:00
Ben Kelly
4a673bf1ef
Bug 1166038 De-duplicate security info stored in the Cache API. r=ehsan
2015-05-21 18:16:36 -07:00
Wes Kocher
a6c4705f9a
Backed out changeset 0aaa67fc61e8 (bug 858680)
2015-05-21 16:44:42 -07:00
Ben Turner
b553d50f23
Bug 858680 - Part 2: Add idle notifications to QuotaClient, r=janv.
...
--HG--
extra : rebase_source : 6797f2d4fdaabef4e5d3b83fbacc09984f447866
2015-04-30 13:46:51 -07:00
Bobby Holley
3b6ba803a8
Bug 1165162 - Serialize originSuffix into .origin. r=gabor,sr=sicking
...
We also provide an opt-out for the original behavior, and use it in various
consumers that look like they need fixing up. Most of the usage here is in
code with persistence considerations, where we may need some sort of migration
path.
2015-05-20 17:11:49 -07:00
Ben Kelly
da9ebcd5b3
Bug 1166577 Use named sqlite params in Cache API code. r=ehsan
2015-05-20 06:51:19 -07:00
Ben Kelly
0241f41973
Bug 1165395 Test Cache API after QuotaManager reset. r=janv
2015-05-19 17:47:16 -07:00
Ryan VanderMeulen
a022f9015f
Backed out changeset f7054968c36b (bug 1165395) for B2G debug crashes.
...
CLOSED TREE
2015-05-19 11:42:01 -04:00
Ben Kelly
628c49aec7
Bug 1165395 Test Cache API after QuotaManager reset. r=janv
2015-05-19 06:50:20 -07:00
Timur Valeev
ce02a96a2e
Bug 1162365 - Cache API does not calculate usage in QuotaClient::InitOrigin(). r=bkelly
2015-05-12 13:11:36 +03:00
Bobby Holley
e61971d74b
Bug 1164292 - Switch nsIPrincipal::origin to ACString. r=gabor
2015-05-15 11:51:51 -07:00
Ben Kelly
e65a98018d
Bug 1162342 Enable sqlite WAL transactions in Cache API. r=ehsan
2015-05-13 17:55:48 -07:00
Ben Kelly
2552521ec3
Bug 1164100 P2 Fix defunct assertion in Cache API ActionRunnable. r=ehsan
2015-05-13 13:35:34 -07:00
Ben Kelly
b053f626b5
Bug 1164100 P1 Cache API should use correct base dir even when reusing sqlite connection. r=ehsan
2015-05-13 13:35:34 -07:00
Nikhil Marathe
e91bba2a3a
Bug 1162411 - Fix Request CORS bug. r=bz
...
--HG--
extra : rebase_source : 5397f75a16865378949a4f30dd045f8c6a85b16e
2015-05-07 15:39:13 -07:00
Ehsan Akhgari
53964a12f9
Bug 1162487 - Enable the dom.caches.enabled pref in test_chrome_constructor.html; r=baku
2015-05-08 08:43:50 -04:00
Daniel Holbert
5a75770a20
Bug 1134671: Add 'override' keyword to method Context::Data::GetConnection() (in DOM Cache code). rs=ehsan
2015-05-07 09:56:40 -07:00