Commit Graph

267 Commits

Author SHA1 Message Date
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