Commit Graph

51 Commits

Author SHA1 Message Date
Andrew McCreight
a38ee3890e Back out Bug 1127201 (part 1) for various problems. 2015-02-06 15:05:08 -08:00
Kan-Ru Chen (陳侃如)
8dba892982 Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 16:47:32 -05:00
Nicholas Nethercote
f9f2575aa6 Bug 1127201 (part 1) - Let MOZ_ASSERT take a string variable as the second arg. r=Waldo.
ASSERT_UNLESS_FUZZING() (which is defined multiple times!) caused problems due
when __VA_ARGS__ was empty which is most of the time. So I just disallowed the
optional string, which was only used in a small fraction of the occurrences.

I don't particularly like this patch. I'm not convinced its any better than
just removing the nsPrintfCString()s like I did earlier, but I've done it to at
least show what's involved.
2015-02-04 19:42:29 -08:00
Ryan VanderMeulen
d8c6df0517 Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046. 2015-02-05 14:35:35 -05:00
Kan-Ru Chen (陳侃如)
d1351de810 Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 17:18:22 +08:00
Bill McCloskey
5ba8672d8d Bug 1124933 - Include crash reason when intentionally crashing content process (r=bent) 2015-02-03 09:09:27 -08:00
Mike Hommey
50e6916b40 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn 2015-02-02 09:56:13 +09:00
Ben Turner
f22835c679 Bug 1125969 - Fix reversed assertion when reading database metadata, r=janv. 2015-01-26 22:25:47 -08:00
Jan Varga
5a3f83f395 Bug 1123637 - Remove all code relevant to quota prompts; r=bent,ehsan 2015-01-22 09:40:42 +01:00
Kyle Huey
2a6f8887b5 Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Gijs Kruitbosch
608bb39de1 Bug 1079355 - indexedDB pref should only apply for content pages, not chrome ones, r=bent 2015-01-05 23:08:12 +00:00
Jan Varga
8d64977501 Bug 1119462 - Allow unlimited quota for explicit persistent storage; r=bent 2015-01-09 16:56:23 +01:00
Nigel Babu
49b9323899 Backed out changeset 15830cc2b55b (bug 1119462) for B2G M5 bustage
CLOSED TREE
2015-01-09 10:06:31 +05:30
Ehsan Akhgari
bd52bd3f4e Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Jan Varga
96c4b06639 Bug 1119462 - Allow unlimited quota for explicit persistent storage; r=bent 2015-01-09 01:24:54 +01:00
Wes Kocher
38ee8c9c99 Backout 977aab16aad3 (bug 1119462) for Android build bustage 2015-01-08 16:15:27 -08:00
Jan Varga
3434be33d6 Bug 1119462 - Allow unlimited quota for explicit persistent storage; r=bent 2015-01-09 00:31:50 +01:00
Ehsan Akhgari
37c07444a0 Bug 1118803 - Mark virtual overridden functions as MOZ_OVERRIDE in misc DOM code; r=baku 2015-01-08 08:49:54 -05:00
Ehsan Akhgari
3799d571b8 Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel 2015-01-06 16:30:03 -05:00
Ben Turner
64376d8607 Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
Ben Turner
9d851dcfd7 Bug 1104853 - Add a null check to an async IDB open operation, r=khuey. 2014-12-16 15:19:19 -08:00
Ehsan Akhgari
57666729b5 Bug 1109746 - Fix more bad implicit constructors in some random code across the tree
--HG--
extra : amend_source : 48ca151cb1ca2193404c65831556051c02093914
2014-12-13 14:17:04 -05:00
Ben Turner
ea0ab881c3 Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey. 2014-10-15 21:56:52 -07:00
Phil Ringnalda
b36a6a3982 Back out 58982e7b5c45 (bug 1092311) for asserting 2014-12-10 21:12:40 -08:00
Ben Turner
bffc9cbbbb Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey. 2014-10-15 21:56:52 -07:00
Jason Orendorff
d8d2b7ff19 Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
--HG--
extra : rebase_source : a44070dd6155426ef6026c1575116f90b5fdac0c
extra : amend_source : 8d8fcf05dfd5fdf214a39501663347a6d6b56463
2014-11-22 12:23:39 -06:00
Jason Orendorff
7acf3e4267 Bug 1103152 - Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett.
--HG--
extra : rebase_source : a349ef612573aff8f87b995a65df94ae56cab13d
extra : amend_source : bbfe549fe0735d8b33ffff66d7eeddcc2ad042d2
2014-12-02 16:56:35 -06:00
Jan Varga
7e6681aef5 Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); Part 1 - Remove unused stuff; r=bent 2014-12-06 07:31:53 -08:00
Jan Varga
c501baa0a3 Bug 1083927 - IndexedDB: Subdomain Quota Management; r=bent,ehsan
--HG--
rename : dom/indexedDB/test/unit/bug1056939.zip => dom/indexedDB/test/unit/bug1056939_profile.zip
2014-11-28 09:44:12 +01:00
Ben Turner
af998a3d72 Bug 1102570 - Prevent quota operations from running too soon, r=janv. 2014-11-20 15:54:49 -08:00
Ben Turner
c583a6037c Bug 1078438 - Change the way IndexedDB uses SQLite table locks. r=janv. 2014-11-11 10:47:51 -08:00
Jan Varga
c41f52187b Bug 1095474 - Intermittent /indexedDB/test/test_file_replace.html | application terminated with exit code 1; r=bent 2014-11-13 10:43:22 +01:00
Jan Varga
b1a21c2044 Bug 1089764 - Treat persistent storage as temporary storage; r=bent 2014-11-04 21:44:56 +01:00
Jan Varga
26949c745b Backed out changeset 45dad11b6580 (bug 1089764) for causing bug 1093067 and bug 1093223. 2014-11-03 21:00:52 +01:00
Jan Varga
16631bbd5f Bug 1089764 - Treat persistent storage as temporary storage; r=bent 2014-11-01 02:21:25 +01:00
Kyle Huey
d1d2546edb Bug 1072773: Add a preference for enabling SQLite's synchronous=FULL mode in IndexedDB. r=bent 2014-10-30 13:18:33 -07:00
Jan Varga
781eeb8490 Bug 1068787 - Quota usage not decreased when removing unsuccessfully copied files; r=bent 2014-10-28 20:06:54 +01:00
Ben Turner
3fd962194d Bug 1085381 - Remove bad assertion, r=khuey. 2014-10-20 17:48:56 -07:00
Jan Varga
eb5e098231 Bug 1056939 - indexedDB.open fails for certain database names - part 2; r=bent 2014-10-13 21:12:25 +02:00
Ben Turner
2276516709 Bug 1056939 - indexedDB.open fails for certain database names - part 1; r=janv 2014-10-13 21:12:12 +02:00
Andrea Marchesini
1560ff52a9 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Ryan VanderMeulen
566e49b6ff Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)

CLOSED TREE

--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
946cf8e0e1 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-07 15:20:55 +01:00
Jan Varga
9704cf9e85 Bug 1074111 - TransactionBase::VerifyRequestParams should check transaction mode for delete and clear request; r=bent 2014-09-30 15:05:48 +02:00
Ben Turner
3c9ec22cd6 Bug 1074418, Guard against talos using IndexedDB after shutdown has started, r=khuey. 2014-09-29 14:36:13 -07:00
Ben Turner
b5f643fa70 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
Ben Turner
68190e91be Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE. 2014-09-17 19:36:01 -04:00
Ehsan Akhgari
bcdb506513 Bug 1068020 - Fix more bad implicit constructors in DOM; r=baku 2014-09-17 17:53:42 -04:00
Daniel Holbert
7ee9b49cfa Bug 1068177: Remove redundant assertion about const variable 'kDEBUGThreadSleepMS', to prevent MSVC warning about ~DEBUGThreadSlower never returning. r=bent 2014-09-17 11:30:22 -07:00
Lars T Hansen
e8efbee0ad Bug 1068539 - Keep the serialization format compatible, increment the version number. r=jorendorff,khuey 2014-09-17 17:10:59 +02:00