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

1463 Коммитов

Автор SHA1 Сообщение Дата
Jan Varga a25258797e Bug 1195930 - Part 11: Unified SQLite database schema and storage version, major and minor version support; r=asuth 2016-06-05 21:43:09 +02:00
Jan Varga 111f87a355 Bug 1195930 - Part 9: Remove old directories (fixes bug 1273717); r=asuth 2016-06-05 21:42:55 +02:00
Jan Varga 1fb4d91a67 Bug 1195930 - Part 7: New test for metadata v2 restoring (also tests userContextId origin attribute); r=asuth 2016-06-05 21:42:40 +02:00
Jan Varga 381cd4b9e9 Bug 1195930 - Part 6: A new schema upgrade for IndexedDB databases; r=asuth 2016-06-05 21:42:33 +02: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
Jan Varga 3249fba977 Bug 1195930 - Part 2: Refactor StorageDirectoryHelper to a base class and two separate final classes, improve correctness of default storage upgrade and add support for resource urls; r=asuth 2016-06-05 21:42:01 +02:00
Jan Varga 64b62c9b07 Bug 1195930 - Part 1: Re-enable tests for clearing origin data; r=asuth 2016-06-05 21:41:48 +02:00
Chris Peterson 11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Bill McCloskey 291c555f34 Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
Bevis Tseng 72c8e58003 Bug 823371 - Fire "blocked" event if deleteDatabase is blocked by other open connection. r=khuey 2016-05-11 16:36:52 +08: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
Andrea Marchesini 6441b9d372 Bug 1258490 - Implement file.webkitrelativepath, r=smaug 2016-05-13 13:11:38 +02:00
Ben Turner 859a0eeab3 Bug 1133540 - Add Test Coverage for the Assertion. r=khuey 2015-02-16 09:41:00 +08:00
Bevis Tseng 446e7384f0 Bug 1268380 - Part 1: Lower the precedence of SyntaxError next to ConstraintError in IDBObjectStore::CreateIndex(). r=khuey
--HG--
extra : rebase_source : 30c995da764e281636c1e134b421baf60a1d1c71
2016-04-29 10:56:02 +08:00
L. David Baron 71a0554018 Bug 1270649 - Rename mExceptionHasBeenRisen to mExceptionWasRaised. r=smaug
risen is the past participle of rise; raised is the past participle of
raise, which is what is done to exceptions.

See:
https://en.wiktionary.org/wiki/rise#Verb
https://en.wiktionary.org/wiki/raise#Verb (definition 2, though not sure
  if the use for exceptions is from 2.3 or 2.5)

(I wonder if mExceptionRaised would be simpler, though.)

MozReview-Commit-ID: 8Ynup8aDcLT
2016-05-08 22:16:42 -07:00
Bevis Tseng e0e7ead1f0 Bug 1118028 - Allow objectStores and indexes to be renamed. r=khuey
--HG--
extra : rebase_source : 4f2d1da2ddafbe786c3908eb46723b4d2f0c48cc
2016-03-30 11:04:56 +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
Bevis Tseng b4c3b32f64 Bug 1268378 - Fire TypeError from IDBDatabase.transaction() if Mode is Invalid. r=khuey
--HG--
extra : rebase_source : 6f9a9d4d6a5a42211830e7b09970b5bf2039bf41
2016-04-28 17:38:21 +08:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Andrea Marchesini 1c0c183890 Bug 1261009 - Remove the Data Store API, r=fabrice 2016-04-29 09:02:45 +08: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
Bevis Tseng 99314e7542 Bug 1265973 - Throw InvalidStateError at IDBCursor.update() if IDBCursor.continue() is in progress. r=khuey 2016-04-20 14:36:19 +08:00
Jan Varga 4834a1cc3e Bug 1182987 - Part 5: Change mode of "readwrite" transaction to "cleanup" after QuotaExceeded is fired; r=baku
--HG--
rename : dom/indexedDB/test/unit/test_quotaExceeded_recovery.js => dom/indexedDB/test/unit/test_cleanup_transaction.js
2016-04-21 06:53:30 +02:00
Nicholas Nethercote 60dcde7875 Bug 1261723 (part 2) - Separate class ops from js::Class. code=njn,h4writer. r=efaust,bz.
js::Class op are often all null. And when they're not all null, they're often
duplicated among classes. By pulling them out into their own struct, and using a
(possibly null) pointer in js::Class, we can save 114 KiB per process on
64-bit, and half that on 32-bit.
* * *
imported patch separate-ClassOps-2

--HG--
extra : rebase_source : bd751bf247e9491c1966a123dbeffa573657dfb1
2016-04-01 11:00:01 +11: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
Kyle Huey aaeb289b61 Bug 1256049: Remove diagnostic assertions. r=me 2016-04-11 11:39:52 -07:00
Blake Kaplan 9b55bc31f9 Bug 1252738 - Stop using CPOWs in this test. r=felipc 2016-04-05 18:58:00 +02:00
Kyle Huey 5063425777 Bug 1256049: Correctly handle databases currently performing maintenance when a new transaction is started. r=janv 2016-04-05 20:21:25 -07:00
Sebastian Hengst dde9a7fe14 Backed out changeset 7f0ea82bf6e9 (bug 1256049) because the new assertion hits so often that it generates many oranges. r=backout 2016-04-05 00:06:36 +02:00
Kyle Huey 794ef1d41e Bug 1256049: More assertions. r=janv 2016-04-04 13:29:59 -07:00
Nathan Froyd a44e8e3375 Bug 1261122 - don't needlessly construct nsAutoCString temporaries in dom/indexedDB; r=khuey
We can make ScriptErrorRunnable::DumpLocalized take an nsACString instead.
2016-03-31 13:14:47 -04:00
Bevis Tseng c0ccb93e52 Bug 1198093 - Part 2: Set Default Locale Value in ICU Canonicalization Form. r=khuey 2016-03-30 11:23:50 +08:00
Bevis Tseng 47e9ad43d3 Bug 1198093 - Part 1: Expose indexedDB to System with [Exposed=System]. r=khuey 2016-03-30 11:22:14 +08:00
Andrea Marchesini ed3b71bc67 Bug 1261072 - File::GetName() should be const, r=smaug 2016-04-01 11:50:16 +01:00
Alexandre Lissy 09d61ae31a Bug 1260441 - Never pass a null js context to OpenCursor() r=bz
MozReview-Commit-ID: 2Scs80wX411

--HG--
extra : rebase_source : 0d8d74a756a1b059fe0b516de292b0226740def7
2016-03-30 13:03:03 +02:00
Kyle Huey 8eb934feb7 Bug 1256049: Enable two more assertions in release. r=janv 2016-03-28 10:28:15 -07:00
Kyle Huey b58cdb109e Bug 1256049: Revert diagnostics. r=janv 2016-03-28 10:28:15 -07: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
Bevis Tseng 4aca132dcc Bug 1254853 - Add a Helper to Report a ScriptError to the Main Thread. r=khuey 2016-03-16 15:12:17 +08:00
Boris Zbarsky e3b2de6aa9 Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley 2016-03-23 11:44:54 -04:00
Boris Zbarsky ede5a13ec4 Bug 1257725 part 5. Get rid of ThreadsafeAutoJSContext usage in IDBRequest::CaptureCaller. r=khuey 2016-03-23 11:02:57 -04:00
Boris Zbarsky 5ebb7a4795 Bug 1257725 part 4. Get rid of ThreadsafeAutoJSContext usage in IndexedDB code, except for IDBRequest::CaptureCaller. r=khuey 2016-03-23 11:02:57 -04:00
Kyle Huey 032dc90f4b Bug 1256049: More diagnostics. r=janv 2016-03-21 13:49:18 -07:00
Andi-Bogdan Postelnicu f3c7e89ddb Bug 1258339 - check return value of GetFileSize. r=janv
MozReview-Commit-ID: Fy0jMfVpcCN

--HG--
extra : rebase_source : 31ac4fe714aa62a6c5b86438ca3ab983c7d4a6d9
2016-03-21 15:17:04 +02:00