Commit Graph

840 Commits

Author SHA1 Message Date
Xin Zhang
5e389b35b8 Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo
--HG--
extra : rebase_source : 24141998ffad3b0e6bad98b6fc0ce3754e448d5b
2013-04-22 14:15:49 -07:00
Masatoshi Kimura
3a3e6ebe70 Bug 859020 - Remove the MSVC exemption for FAIL_ON_WARNINGS in dom. r=bz 2013-04-21 05:36:43 +09:00
David Zbarsky
5826da3d17 Backout 2201d650ac90 for not building on Windows on a CLOSED TREE 2013-04-19 18:57:56 -04:00
David Zbarsky
1cc79b4d68 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
a0911f7978 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
335c6fc326 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-19 18:18:32 -04:00
Bobby Holley
288399f5c0 Bug 860438 - Straightforward cases. r=gabor 2013-04-18 11:36:03 -04:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Kyle Huey
927afd62a0 Bug 855276: Diagnostic patch. r=bent 2013-04-16 09:09:11 -07:00
Jeff Walden
6539207aee Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm 2013-04-05 21:22:55 -07:00
Honza Bambas
e7a737bf35 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Joshua Cranmer
292c1594b0 Bug 856108 - Port static analyses to clang, part 2b: use MOZ_STACK_CLASS in dom. r=Ms2ger 2013-04-11 22:20:18 -05:00
Steve Fink
c264467809 Bug 789593 - Clone typed arrays by cloning their buffers and only saving construction parameters. r=jorendorff, bent
Also enters a compartment where needed, and bumps both the structured clone and IndexedDB schema versions
2013-02-22 13:43:28 -08:00
Ryan VanderMeulen
e9c65dfa10 Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00
Ryan VanderMeulen
99647ac22c Backed out changesets a550dadafa30 and 315f6b451d07 (bug 857884) for mochitest failures on a CLOSED TREE. 2013-04-11 13:59:02 -04:00
Honza Bambas
52e949bcbc Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
David Zbarsky
a5cb73b253 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-11 12:24:47 -04:00
Ben Turner
ba2f222446 Bug 859591 - 'Aborted transactions sometimes block all remaining transactions forever'. r=khuey. 2013-04-10 09:27:00 -07:00
Ryan VanderMeulen
a7b2f083b6 Backed out changeset 366758c34e31 (bug 859591) for xpcshell failures. 2013-04-10 14:45:40 -04:00
Ben Turner
5110db43d7 Bug 859591 - 'Aborted transactions sometimes block all remaining transactions forever'. r=khuey. 2013-04-10 09:27:00 -07:00
Kyle Huey
065344fe65 Bug 855276: Moar diagnostics. 2013-04-09 15:08:28 -07:00
Ben Turner
65cb4d086c Bug 858674 - 'Tweak SQLite pragmas on mobile devices for space savings'. r=khuey. 2013-04-08 12:47:13 -07:00
Ryan VanderMeulen
b1544123e6 Backed out changeset 1e01b8a81990 (bug 858674) for Windows bustage on a CLOSED TREE. 2013-04-08 16:39:59 -04:00
Ben Turner
29e5fb16d7 Bug 858674 - 'Tweak SQLite pragmas on mobile devices for space savings'. r=khuey. 2013-04-08 12:47:13 -07:00
Dale Harvey
4579139c8d Bug 826058 - Hosted app install/update tests. r=fabrice, r=ted 2013-04-04 17:58:44 -07:00
Ryan VanderMeulen
202bc754d9 Backed out changeset 4081996a7420 (bug 855276) for mochitest-other orange on a CLOSED TREE. 2013-04-04 12:35:35 -04:00
Kyle Huey
1fa8376ffe Bug 855276: Add assertions to catch the cause. r=bent 2013-04-04 08:09:16 -07:00
Ben Turner
cfcb6f0d9f Bug 857283 - 'Smarter caching of index update queries'. r=khuey.
--HG--
extra : rebase_source : 489638cea833b32d05471188cf3a0b96947404cc
2013-04-02 15:09:14 -07:00
Trevor Saunders
71fb221a54 bug 856700 - don't check the result of infalible nsTArray::SwapElements() in dom/ r=khuey 2013-04-01 13:35:13 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Ryan VanderMeulen
c4ac4ab91e Merge m-c to inbound. 2013-04-01 09:50:07 -04:00
Ben Turner
95111e2044 Bug 856032 - 'Quota management enabled even for origins with unlimited permission granted'. r=janv. 2013-03-31 17:10:27 -07:00
Jan Varga
e8149cfe6e Bug 854323 - Move IDBFactory to Paris bindings. r=khuey 2013-03-31 10:18:30 +02:00
Ryan VanderMeulen
a3899ec9ca Backed out changeset 3a242f8d8298 (bug 856032) for mochitest-2 failures. 2013-03-30 16:15:06 -04:00
Ben Turner
c0a046b7ea Bug 856032 - 'Quota management enabled even for origins with unlimited permission granted'. r=janv. 2013-03-30 11:30:16 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Bobby Holley
69ef591f26 Bug 790732 - Fix automation detection to handle Components shim. rs=mccr8 2013-03-28 14:26:02 -07:00
Norbert Lindenberg
7be4d1d68f Bug 851763 - Increase maxbytes for JSRuntime in IDBObjectStore and testGCOutOfMemory. r=Waldo 2013-03-27 11:32:34 -04:00
Jan Varga
71a59dcdc8 Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Vendelin Ruzicka
f145cb9604 Bug 854190 - Remove duplicate JS code in test_create_objectStore.html and import existing JS file. r=janv 2013-03-25 11:12:14 +01:00
Ehsan Akhgari
e5a82672c6 Bug 853562 - Fix nsTArray::SetCapacity callers in IndexedDB to not look at the return value; r=bent 2013-03-21 14:46:21 -04:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Kyle Huey
3393b57409 Bug 849943: Remove an extra bounce to the end of the main thread event queue for IPC IndexedDB. r=bent 2013-03-14 09:31:17 -07:00
Gregory Szorc
56a7634c1c Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Mike Shal
ec5b39bd8b Bug 818246 - Part 9: Move XPIDL_FLAGS to moz.build; r=gps 2013-03-11 22:05:00 -07:00
Mike Shal
2eb7c496cb Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Olli Pettay
8f72caeb73 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Jon Coppeard
f85957ecb3 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley
0887cddaa0 Backed out changeset 28ef4bdff455 (bug 848395) 2013-03-07 13:03:35 +00:00
Jon Coppeard
19ed4f05c2 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
Kyle Huey
9abcb30d78 Bug 847147: Disable test. r=me 2013-03-06 08:37:03 -08:00
Kyle Huey
37c6805c0e Bug 847171: Null check the window before asking IndexedDB to look up transactions. r=bent 2013-03-06 06:29:58 -08:00
Nathan Froyd
6e5475a4fb Bug 836943: Part 0 - Make sure IndexedDB attempts to initialize the storage service on the main thread. r=bent 2013-03-04 14:33:03 -08:00
Olli Pettay
b317f5f76d Bustage fix for Bug 847607, CLOSED TREE
--HG--
extra : rebase_source : 5813d5213ce7aad43c6e8e74792e21656864200e
2013-03-12 20:47:21 +02:00
Olli Pettay
17f4a92d30 Bug 847607 - Paris bindings for IDB event, r=khuey
--HG--
extra : rebase_source : de5c4ba79b8d990b25abaabd3892847f286737fd
2013-03-12 19:45:59 +02:00
Gregory Szorc
27c42e83c6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
16f0413b0c Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
3fd0b2c59d Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Ehsan Akhgari
c3a8b72e50 Bug 844169 - Part 3: Make sure that all callers of HTMLIFrameElement.mozbrowser have chrome privileges; r=bzbarsky 2013-02-26 21:26:10 -05:00
Jonathan Griffin
d5e9be97ab Bug 831367 - Simplify SpecialPowersAPI.bindDOMWindowUtils(), r=ted 2013-02-22 14:18:38 -08:00
Bobby Holley
076b7bfcfa Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Bobby Holley
2589449122 Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Bobby Holley
e04f8d807d Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Olli Pettay
ff9c34a6e4 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
David Keeler
5983b30dd3 bug 839193 - don't exit early in AsyncUsageRunnable::RunInternal r=khuey 2013-02-07 11:54:58 -08:00
David Keeler
a2b6d33d88 bug 839193 - test for corresponding bug r=bent 2013-02-07 17:11:46 -08:00
Kyle Huey
38b5677ffe Bug 776800: Keep track of transaction dependencies explicitly to improve performance. r=bent 2013-02-05 17:01:07 +00:00
Vendelin Ruzicka
fff97547ab Bug 835767: AsyncConnectionHelper::ConvertCloneReadInfosToArray callers don't need to clear structured clone buffers. r=bent 2013-02-01 20:41:11 +01:00
Ehsan Akhgari
32d278987e Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Benoit Jacob
8602c485b1 Bug 834674 - IDBTransaction: no need for custom CC code to traverse/unlink arrays of pointers - r=smaug 2013-01-25 08:42:03 -05:00
Jan Varga
46dca7ab38 Bug 831169 - crash in mozilla::dom::indexedDB::PIndexedDBTransactionChild::SendAllRequestsFinished. r=bent 2013-01-17 22:38:36 +01:00
Doug Turner
8e744c0daa Bug 831167 - Crash in mozilla::dom::devicestorage::PDeviceStorageRequestParent::Write. r=bent
--HG--
extra : rebase_source : e7f90023f97155af70aff639bdfa5273d5cec233
2013-01-17 12:33:42 -08:00
Trevor Saunders
b98e34aed0 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Trevor Saunders
14a806d47d no bug - remove a bunch of extra ';'s to make -pedantic happy 2013-01-11 05:14:04 -05:00
Kyle Huey
a98ff52b5a Bug 828992: Deal with blobs properly when creating indexes on existing data. r=bent 2013-01-11 05:32:20 -08:00
Ed Morley
ed68742464 Backout d6efd06ceb84 (bug 828992) for assertions on a CLOSED TREE 2013-01-11 14:30:05 +00:00
Kyle Huey
b01dc23e2f Bug 828992: Deal with blobs properly when creating indexes on existing data. r=bent 2013-01-11 05:32:20 -08:00
Gene Lian
0c82742df4 Bug 821671 - Check alarm API parameters in the parent (part 1, provide .AssertAppProcess() with different types). r=sicking 2012-12-22 19:53:38 +08:00
Ben Turner
14d96b17ec Bug 824224 - IndexedDB blobs crash with 'ABORT: NULL actor value passed to non-nullable param.' r=cjones. 2013-01-07 11:25:35 +01:00
Masatoshi Kimura
ecc812a3c0 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Josh Matthews
03688bc401 Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-29 04:02:16 -05:00
Josh Matthews
a5748a8b01 Backed out changeset 6cd44513d285 (bug 782542) 2012-12-28 19:18:38 -05:00
Josh Matthews
7f617152b0 Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-12 10:40:33 -05:00
Ms2ger
3eb0a0a781 Bug 823107 - Make nsIDOMEvent::SetTrusted return void; r=smaug 2012-12-22 09:18:08 +01:00
Kyle Huey
ad46eaebf6 Bug 696591: Followup to placate clang on this CLOSED TREE. 2012-12-20 06:46:15 -08:00
Kyle Huey
dc63804499 Bug 696591: Properly handle blocking databases from pages that are entering the bfcache. r=bent,bz 2012-12-20 06:18:03 -08:00
Jan Varga
57b11a3e87 Bug 820715 - Move quota related pieces from IndexedDatabaseManager to QuotaManager. r=bent
--HG--
rename : dom/indexedDB/CheckQuotaHelper.cpp => dom/quota/CheckQuotaHelper.cpp
rename : dom/indexedDB/CheckQuotaHelper.h => dom/quota/CheckQuotaHelper.h
2012-12-19 18:45:57 +01:00
Justin Lebar
4fdc0c079a Bug 819791 - Part 6: Remove unnecessary TArray copies in dom/indexedDB. r=bent 2012-12-18 20:16:06 -05:00
Jan Varga
a7d90fb5a3 Bug 787804 - Rewrite quota handling (eliminate test_quota.c). r=bent,asuth,vladan 2012-12-17 20:25:10 +01:00
Ed Morley
0166feddca Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Josh Matthews
d599a1c9c4 Bug 782542 - Secure necko IPDL usage. r=ted,jduell
* * *
Bug 782542 - Disable network.ipc security for certain mochitests r=ted
* * *
Bug 782542.  Disable some more tests that use mozbrowser w/o app r?ted
* * *
Bug 782542 : yet another test needs tweaking. r?ted
2012-12-12 10:40:33 -05:00
Masayuki Nakano
0c3d212d7e Bug 813445 part.9 Remove NS_EVENT_FLAG_EXCEPTION_THROWN r=smaug 2012-12-16 10:26:04 +09:00
Jeff Walden
e0523203c9 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Andrew McCreight
ff4d8640a6 bug 804220 - Make IDBWrapperCache::SetScriptOwner infallible. r=khuey 2012-11-29 14:54:14 -08:00
Andrew McCreight
2fa5d0a9d8 Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug 2012-11-12 17:15:00 -08:00
Ms2ger
0a06568077 Bug 803825 - Part b: Paris bindings for FileHandle; r=khuey 2012-12-02 09:58:57 +01:00
Olli Pettay
f62ac2c85e Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Benoit Jacob
5a8b82a1cb Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Ed Morley
8dd1218e6d Backout 4fce20d0189f (bug 783913) since the later tests still failed 2012-11-12 13:47:33 +00:00
Justin Lebar
bad9a3a462 Bug 806168 - Remove extra indentation in webapp_clearBrowserData.js. r=bent
The extra indentaiton was necessary because we wanted hg/git to notice that webapp_clearBrowserData.js was actually a rename of test_webapp_clearBrowserData.html.
2012-11-10 10:32:38 -08:00
Justin Lebar
caca0b9c6a Bug 806168 - Test for bugs 802366 and 806127. r=bent
These new tests are disabled on Android because the test they're replacing, test_webapp_clearBrowserData.html, was also disabled on Android, and the new tests fail in the same way as the original test.

--HG--
rename : dom/indexedDB/test/test_webapp_clearBrowserData.html => dom/indexedDB/test/webapp_clearBrowserData.js
2012-11-10 10:32:38 -08:00
Justin Lebar
68ad9209a9 Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent 2012-11-10 10:32:37 -08:00
Ben Turner
3b47df6d3a Bug 808743 - ' Better protection for PBrowser shutdown and database invalidation in multiprocess scenarios'. r=khuey+cjones.
--HG--
extra : transplant_source : %BD%E4%ADA%09%CE%D9%BE%1C%7C%7B%1A%FC%86%5C%13%24%29%B4%16
2012-11-09 19:29:07 -08:00
Philipp von Weitershausen
e1bfa6aa62 Bug 809727 - Wait for the write transaction to finish so that the blobs are expired. r=janv 2012-11-09 20:32:10 -05:00
Ryan VanderMeulen
a9dc8e795f Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
260e7b9596 Bug 806168 - Remove extra indentation in webapp_clearBrowserData.js. r=bent
The extra indentaiton was necessary because we wanted hg/git to notice that webapp_clearBrowserData.js was actually a rename of test_webapp_clearBrowserData.html.
2012-11-09 16:37:41 -08:00
Justin Lebar
e535aa800f Bug 806168 - Test for bugs 802366 and 806127. r=bent
These new tests are disabled on Android because the test they're replacing, test_webapp_clearBrowserData.html, was also disabled on Android, and the new tests fail in the same way as the original test.

--HG--
rename : dom/indexedDB/test/test_webapp_clearBrowserData.html => dom/indexedDB/test/webapp_clearBrowserData.js
2012-11-09 16:37:41 -08:00
Justin Lebar
2b67870785 Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent 2012-11-09 16:37:40 -08:00
Jan Varga
437ca2a337 Bug 809973 - Disable FileHandle in child processes. r=bent 2012-11-08 13:41:23 -08:00
Ehsan Akhgari
d7ef991dc2 Bug 806722 - Port indexedDB browser_privateBrowsing.js to the new per-tab PB APIs; r=jdm
--HG--
rename : dom/indexedDB/test/browser_privateBrowsing.js => dom/indexedDB/test/browser_perwindow_privateBrowsing.js
2012-11-08 15:30:48 -05:00
Andrea Marchesini
b7940e94c1 Bug 795930 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir
--HG--
extra : rebase_source : fc267035c0eb85bb08b9da91bf79ecbb816da1b3
2012-11-08 15:57:17 +00:00
Mounir Lamouri
aac35871dd Backed out changeset 3566ba4296f7 because of wrong bug number.
--HG--
extra : rebase_source : c5d189308a555c7235d6cd405aa44d36c9b7db9a
2012-11-08 15:56:48 +00:00
Andrea Marchesini
94cf35d2ef Bug 809567 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir 2012-11-08 15:54:26 +00:00
Ed Morley
b4549718e8 Bug 783913 - Disable test_add_put.html for too many intermittent timeouts 2012-11-06 22:26:02 +00:00
Ben Turner
8ecdf7df47 Bug 805354 - 'Add read/write permission checks to chrome databases from other processes'. r=fabrice+khuey.
--HG--
extra : rebase_source : c23136e4d10dacb3c9d1c11598da3a6972281467
2012-10-25 10:12:14 -07:00
Justin Lebar
8edd729020 Backed out changeset fcf7daa94373 (bug 806168)
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-10-30 21:35:45 -04:00
Justin Lebar
cc82d0397b Backed out changeset 4eba57a286d7 (bug 806168) 2012-10-30 21:35:44 -04:00
Justin Lebar
deff63b9b0 Bug 806168 - Remove extra indentation in webapp_clearBrowserData.js. r=bent
The extra indentaiton was necessary because we wanted hg/git to notice that webapp_clearBrowserData.js was actually a rename of test_webapp_clearBrowserData.html.

--HG--
extra : rebase_source : 5154e7406238a0a257e10114a8446ca9288ec08d
2012-10-30 15:55:06 -04:00
Justin Lebar
15bec44d6e Bug 806168 - Test for bugs 802366 and 806127. r=bent
--HG--
rename : dom/indexedDB/test/test_webapp_clearBrowserData.html => dom/indexedDB/test/webapp_clearBrowserData.js
extra : rebase_source : baa5325286fa456eaf5c828b4a59a0ba57680e21
2012-10-30 15:55:06 -04:00
Jan Varga
922043c200 Bug 786688 - Part 3: Automatic tests. r=sicking 2012-10-30 07:12:18 +01:00
Jan Varga
118e4386f6 Bug 786688 - Part 2: Code cleanup. r=sicking 2012-10-30 07:11:58 +01:00
Jonas Sicking
6118c870a6 Bug 786688 - Part 1: Add chrome only openForPrincipal() and deleteForPrincipal(). r=bent 2012-10-30 07:07:09 +01:00
Ben Turner
f28b7974ea Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Doug Turner
4a040cfbad Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp 2012-10-18 11:29:32 -07:00
Bill McCloskey
0728920867 Bug 714050 - Add support for optional JS helper threads (r=luke) 2012-10-16 11:57:09 -07:00
Till Schneidereit
fd911d77cf Bug 784400 - Bump heap size of IndexedDB JSRuntime to deal with heap size increase caused by self-hosting code. r=luke 2012-10-11 14:43:00 +02:00
Ehsan Akhgari
8f596b4339 Bug 799126 - Rename ClearRecentHistory to ForgetAboutSite; r=jdm
--HG--
rename : browser/components/privatebrowsing/src/ClearRecentHistory.jsm => browser/components/privatebrowsing/src/ForgetAboutSite.jsm
2012-10-08 11:55:41 -04:00
Nicholas Nethercote
9dd67d2d7e Bug 793076 (part 1) - Remove unnecessary |cx| parameters. r=jwalden.
--HG--
extra : rebase_source : 0cfe86ca3b2de60b0097f6cd4686dfabe6748897
2012-09-20 21:41:49 -07:00
Kyle Huey
3b1062dc73 Bug 797889: Make sure IndexedDB does not send messages to thechild after it has begun shutting down. r=bent 2012-10-05 12:09:33 -07:00
Ehsan Akhgari
803b082135 Bug 774963 - Remove removeDataFromDomain from nsIPrivateBrowsingService, and put it in its own JS module, ClearRecentHistory; r=jdm 2012-10-03 11:29:10 -04:00
Kyle Huey
55ffd0e4d8 Bug 780778: Make sure we already release stuff on the right thread. r=bent
--HG--
extra : rebase_source : 554edc65d83af084a26679d046a90d38f499e142
2012-10-03 12:05:20 -07:00
Isaac Aggrey
a53c93b026 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Terrence Cole
185355684f Bug 791322 - Move Rooted to js:: namespace; r=billm
These should not be part of the public API.

--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Bobby Holley
5af5a73d3d Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
4d82dab5b4 Bug 792036 - Expose |Components| to content in the indexedDB test harness. r=bent 2012-09-24 14:46:27 +02:00
Ben Turner
637587502a Bug 792834 - 'Make sure to always set errors on failed requests'. r=khuey. 2012-09-20 11:20:15 -07:00
Ben Turner
61a19fad51 Bug 792833 - 'Do not unset current transaction until after savepoint has been released'. r=khuey. 2012-09-20 09:26:58 -07:00
Kyle Huey
adcac0600c Bug 774250: Use GetPath instead of GetNativePath so that IndexedDB works for people with non-ASCII usernames. r=bent 2012-09-19 14:02:08 -07:00
Ehsan Akhgari
cd2f4f62af Backout changeset c1cd7da16cd6 (bug 774250) for Linux Moth orange
--HG--
extra : rebase_source : 00e260bc4a75c6780c7863121cfc170f960ae010
2012-09-19 20:25:56 -04:00
Kyle Huey
bd5877ee3f Bug 774250: Use GetPath instead of GetNativePath so that IndexedDB works for people with non-ASCII usernames. r=bent
--HG--
extra : rebase_source : 644ec1830e0725e37ee4cceefd113b61b64158a3
2012-09-19 14:02:08 -07:00
Koosha Khajeh Moogahi
e98cd6bf45 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Ms2ger
10ec580e54 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Nathan Froyd
9b227bf10d Bug 786703 - fix dom/ build failures from introducing PARALLEL_DIRS; r=glandium 2012-09-11 07:47:42 -04:00
Daniel Holbert
f8dfa24152 Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg 2012-09-09 16:29:12 -07:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Jonas Sicking
a33daca88f Bug 769880: Make createIndex throw InvalidAccessError instead of NotSupportedError. r=khuey 2012-08-31 18:33:24 -03:00
Kyle Huey
0baaffe99f Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
Ben Turner
54bdae8e6b Bug 786771 - Fix for 'ASSERTION: Must have an actor here'. r=mrbkap.
--HG--
extra : transplant_source : %9D%D0o%D2%C7%9F%22%5E%21%91%B4%A0ly%60%FE%CA%17%FAP
2012-08-29 17:50:28 -07:00
Mounir Lamouri
816d52b077 No bug - Update tests for bug 756645 to use permissions instead of whitelist in prefs. r=bent
--HG--
extra : rebase_source : f05215f2c72538a3b5bb4382710c1fa5f9cc1759
2012-08-28 14:05:33 -03:00
Ben Turner
3fbf8c41f7 Bug 786003 - 'Fix file handle leak in nsDOMFileReader, add tests to IndexedDB'. r=jst.
--HG--
extra : transplant_source : %FB%7Ew%94%1C%9D%29%DD%B9%08%EC%FC%E5N%B7P%3F.1%C9
2012-08-28 07:59:18 -07:00
Mounir Lamouri
ff8261b707 Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-28 09:46:46 -03:00
Rafael Ávila de Espíndola
fa9b9c167a Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Matt Brubeck
eb061fb9e8 Back out changeset 5ff334b7781d (bug 786003) because of test failures on Windows on a CLOSED TREE 2012-08-27 16:28:51 -07:00
Ben Turner
0c20914759 Bug 786003 - 'Add a few extra tests for blobs in IndexedDB'. r=jst. 2012-08-27 12:40:06 -07:00
Ben Turner
b6699a748b Bug 770046 - 'test_ipc.html does not notice failures'. r=khuey. 2012-08-27 11:10:34 -07:00
Philipp von Weitershausen
f47e2a9937 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Nathan Froyd
4c779437cc Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey 2012-08-24 16:01:30 -04:00
Jan Varga
ed76a52681 Bug 763854 - Check file references (cleanup stored files) only when needed. r=bent 2012-08-24 11:51:33 -07:00
Ryan VanderMeulen
c09c1aabbe Backout 4bb90f8c6909 (bug 756645) due to Android opt M3 orange on a CLOSED TREE. 2012-08-23 22:54:15 -04:00
Luke Wagner
ce71e55555 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Ryan VanderMeulen
6a130b0407 Merge m-c to inbound. 2012-08-23 19:50:46 -04:00
Ben Turner
2e0265c8ef Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Mounir Lamouri
9d6c98efec Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-23 11:45:01 -07:00
Ehsan Akhgari
217645f36e Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Bobby Holley
2c8383dd1e Bug 783173 - Fix test_ipc implementations to handle mandatory __exposedProps__. r=khuey 2012-08-17 09:21:17 -07:00
Aryeh Gregor
809d00113d Bug 782606 - Use NS_FAILED instead of boolean test (dom/indexedDB/, dom/workers/); r=khuey 2012-08-14 12:10:41 +03:00
Ehsan Akhgari
b457a9ddf0 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Aryeh Gregor
e2dd9c2028 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Honza Bambas
5fe7a22e2c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Kyle Huey
5f75ce7335 Bug 781700: Revert test changes. 2012-08-10 15:57:59 -07:00
Kyle Huey
d6ed5b18de Bug 781700: Disable failing test in xpcshell. 2012-08-10 11:04:16 -07:00
Kyle Huey
018dc47367 Bug 781700: Don't hold strong references to databases from the synchronization queue, so that GCing a database will unblock waiting operations. r=bent
--HG--
extra : rebase_source : 2f1b2405ffc91831d33eb91e4b2d61c2b1ac872b
2012-08-10 09:15:02 -07:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Kyle Huey
00e79dfadf Bug 775206. r=bent 2012-08-09 18:06:21 -07:00
Ed Morley
36e594f3ce Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-08 17:18:26 +01:00
Johnny Stenback
8bb3a5943a Backing out 77e5cdc7af9a due to it landing w/o following our code checkin process. 2012-08-07 09:11:04 -07:00
Ms2ger
c861fd0028 Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Ms2ger
004e85239d Bug 770046 - Disable test. 2012-07-16 18:15:36 +02:00
Ms2ger
cb4d106015 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
b927c10310 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ben Turner
98a57bfb9c Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv.
--HG--
extra : transplant_source : %90%87%047%07BA%97%E0%F1n%1DY%08D%7C%E39%20%0F
2012-08-02 23:25:30 -07:00
Ben Turner
f8dee3f4cb Backed out changeset 46653198caac 2012-08-02 21:53:03 -07:00
Ben Turner
b77c1c5db1 Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv. 2012-08-02 13:42:30 -07:00
Ben Turner
1ef4c0de5b Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Eric Faust
6d4e293e26 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Jan Varga
8ddf4945c0 Bug 780625 - Followup fix for "Don't install quota handlers on chrome databases". r=bent 2012-08-08 06:35:48 +02:00
Kyle Huey
e55940e70c Bug 779638: Delay dropping the transaction until later to avoid races. r=bent 2012-08-01 14:15:12 -07:00
Kyle Huey
d9f7b8ce1d Bug 754142: Don't install quota handlers on chrome databases. r=bent 2012-08-01 14:09:23 -07:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Siddharth Agarwal
f98cae0130 Bustage fix from bug 769908 - remove trailing whitespace after a backslash 2012-07-24 18:58:51 +05:30
Sean DuBois
9010529313 Bug 769908 - Switch DIR_INSTALL to INSTALL. r=ted 2012-07-23 20:02:20 -04:00
Mounir Lamouri
d890fdb95e Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking 2012-07-23 11:08:07 -07:00
Aryeh Gregor
0c8f5adf50 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Ryan VanderMeulen
7ad11464cb Merge m-c to inbound. 2012-07-20 17:37:53 -04:00
Olli Pettay
c992398490 Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Benjamin Peterson
22a7b2002f Bug 761723 - Save script sources to implement Function.prototype.toString. r=jorendorff,njn,jimb,jst,Ms2ger
--HG--
extra : rebase_source : de1b55647780a30f98fe84d29ee3cb4a437a3ece
2012-07-20 20:17:38 +02:00
Dão Gottwald
cea0e2a669 Bug 767133 - Add slide-in animation for arrow panels. r=Enn,Mossop 2012-07-18 16:15:24 +02:00
Kyle Huey
26d0df6160 Back out 353b4785836a which was landed even after the module owner explicitly said not to. r=me
--HG--
extra : rebase_source : ff4a63d2c56435d3aa6b0c572067878cfa09378c
2012-07-18 05:59:21 -07:00
Ms2ger
3832cfe5c5 Bug 770046 - Disable test. 2012-07-16 18:15:36 +02:00
Mounir Lamouri
62e6a8a535 Bug 769597 - IndexedDB should use nsIPermissionManager with principals. r=sicking 2012-07-15 18:35:47 -07:00
Ben Turner
6aa9644815 Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. Disable xpcshell tests entirely until I can figure out how to enable them selectively. 2012-07-14 09:13:40 -04:00
Ben Turner
f44ed8784a Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %5D1%15%CC%90%E0%F5%0D%0B%FDi%0B%B9YA%D4c%24%D42
2012-07-14 07:24:20 -04:00
Ms2ger
f73be635b4 Backout changeset 592bfc94e628 for X orange. 2012-07-14 11:23:52 +02:00
Ben Turner
c82cc8d4e1 Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %217%FC%0D%A3%82%DB%F2DB%F1%5Dc%99%B9%C6j%E1U%A2
2012-07-13 23:05:58 -04:00
David Zbarsky
9f711d9f42 Bug 773128 - Fix some build warnings r=bent 2012-07-13 19:06:41 -07:00
Jan Varga
614d6f18db Bug 773182 - Remove unused db description parameter from IDB mochitests. r=sicking 2012-07-13 07:37:28 +02:00
Ehsan Akhgari
2cc2a9c45d Correct the initialization order in the IDBIndex constructor (no bug; DONTBUILD) 2012-07-11 00:25:47 -04:00
Jan Varga
2d731c29c7 Bug 771498 - FileHandle: getFile() should return a DOMRequest (instead of a FileRequest). r=sicking 2012-07-10 07:07:01 +02:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Daniel Holbert
a9d9553ee3 Bug 771638 - Remove unused variables from IDBObjectStore::GetAddInfo. r=khuey 2012-07-06 14:11:44 -07:00
Kyle Huey
d1532c7382 Bug 765936. r=bent,peterv 2012-07-06 10:28:51 -07:00
Ben Turner
b5f82bb601 Bug 758357 - Only show prompt after 50mb of quota was reached. r=sicking 2012-07-05 14:11:48 -07:00
Daniel Holbert
c493338e00 Bug 770287: Reorder IDBIndex constructor init list to fix build warning. r=khuey 2012-07-03 14:09:35 -07:00
Chris Pearce
fabffa3c7f Bug 758357 - Backout 2d295ed03d7f for causing bug 770085. r=backout 2012-07-02 16:49:38 +12:00
Chris Pearce
407517f068 Bug 758357 - Backout 540cd3aabdd4 for causing bug 770085. r=backout 2012-07-02 16:48:06 +12:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Ryan VanderMeulen
098ccbfbaa Bug 758357 - Back out part of the landing due to risk of it introducing oranges. 2012-07-01 09:38:44 -04:00
Ryan VanderMeulen
247f0f64fb Backout a8bfe5a447e7 for creating more orange than it fixed. 2012-06-30 21:51:09 -04:00
Jonas Sicking
aa23d3ac1a Back out part of the landing for bug 758357 due to risk of it introducing oranges 2012-07-01 02:25:20 +02:00
Ben Turner
31f0ebf555 Bug 758357: Only show prompt after 50mb of usage for now. Plan is to soon introduce a new service which allows us to remove "old" indexedDB databases and keep a global quota, but for now we simply remove the prompt. r=sicking 2012-06-30 19:57:15 +02:00
Kyle Huey
d3b6b42885 Bug 726378: Unprefix IndexedDB. r=sicking 2012-06-29 09:48:35 -07:00
Jonas Sicking
2911b21101 Bug 755514: Cursor.update support for keypath arrays. r=khuey 2012-06-29 09:48:34 -07:00
Kyle Huey
ee34c30679 Bug 769356: Calling transaction.abort() should leave transaction.error as null, but throwing exceptions should set transaction.error. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
f188d3c9fe Bug 769537: Actually use QuotaExceededError for database creation. r=bent 2012-06-29 09:48:34 -07:00
Kyle Huey
b2c37d1e48 Bug 758497: Mimic [EnforceRange] for cursor.advance until we get new WebIDL bindings. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
d6b1c5293d Bug 762206: Fire an nsScriptErrorEvent at the window to get the proper window.onerror behavior. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
e6cbe8e8cd Bug 755511: Revert all in-memory data when reverting versionchange transactions. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
e7ad7d9314 Bug 755507: Sort objectStoreNames/indexNames. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
7d9c9b0dc3 Bug 755515: Catch exceptions in error handlers. r=sicking 2012-06-29 09:48:34 -07:00
Bobby Holley
984ce48fa6 Bug 754202 - Use the safe JSContext rather than the current JSContext in IndexedDBDatabaseParent::HandleDatabaseEvent. r=bent
It's not used for anything substantial, and it can be (or always is?) called with no JS on the stack.
2012-06-28 23:47:56 +02:00
Jan Varga
2067d7cff2 Bug 767193 - FileHandles do not get GCed/removed when overwritten in indexeddb. r=bent 2012-06-27 05:14:53 +02:00
Kyle Huey
1e09e75ae2 Bug 755510: db.transaction should work inside a versionchange transaction's oncomplete handler. r=bent 2012-06-26 08:09:25 -07:00
Kyle Huey
5272f55af5 Bug 767999: Actually use QuotaExceededErr. r=bent 2012-06-25 12:15:18 -07:00
Kyle Huey
c9b8c47650 Bug 748630: Support IDBTransaction.error. r=bent 2012-06-25 12:15:17 -07:00
Ryan VanderMeulen
6bd65d9f86 Merge m-c to inbound. 2012-06-24 22:59:07 -04:00
Landry Breuil
46662a0f60 Bug 765834 - remove extra UTF BOM that breaks builds r=khuey 2012-06-24 15:29:47 +02:00
Kyle Huey
e8daea5e8d Bug 766462: Twiddle IDB tests some more to make the orange stop. 2012-06-24 11:56:56 -07:00
Kyle Huey
b5e3f9747f Bug 766462: Followup to fix typo. 2012-06-23 08:00:06 -07:00
Kyle Huey
f95ff896dd Bug 766462: Make some tests wait for all their events. r=me 2012-06-23 07:02:52 -07:00
Ms2ger
d2336c4ef9 Merge m-c to m-i. 2012-06-23 10:03:22 +02:00
Kyle Huey
ad5cd6156f Merge m-c to b-s. 2012-06-22 14:27:07 -07:00
Kyle Huey
85468e3834 Bug 767186: Cache the keyPath for objectStores and indexes. r=bent 2012-06-22 14:00:53 -07:00
Kyle Huey
b774759adf Bug 767184: Make test_complex_keyPath run in xpcshell too. r=bent 2012-06-22 12:08:50 -07:00
Kyle Huey
f7340a9d53 Bug 767493: Make AsyncUsageRunnable participate in the WaitForOpenAllowed synchronization mechanism. r=bent 2012-06-22 11:47:05 -07:00
Kyle Huey
6cebbeb3a8 Bug 765834: Followup to placate gcc. 2012-06-21 19:26:57 -07:00
Kyle Huey
33a29ea230 Bug 765834: Rework and unify keyPath handling. r=bent 2012-06-21 15:27:13 -07:00
Kyle Huey
cad1143970 Backed out changeset fdf2d378d405 (landed with wrong bug #). 2012-06-21 15:27:03 -07:00
Kyle Huey
3e2de2de33 Bug 765834: Rework and unify keyPath handling. r=bent 2012-06-21 13:41:20 -07:00
Luke Wagner
0c274df8bd Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Ben Turner
bfa7cae37b Bug 765839 - 'Enable IndexedDB OOP test suite'. r=khuey.
--HG--
extra : transplant_source : %3Bb4%A4%99fC%9Cg%86%9B%1F3%C6%0F%01T%1C%3C%AE
2012-06-19 18:50:39 -07:00
Masatoshi Kimura
0a16a56d7f Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap 2012-06-19 19:01:10 -04:00
Gregor Wagner
07de917b7a Bug 742626 - Allow indexedDB parent directory to not be the default profile directory. r=bent 2012-06-21 09:39:12 -07:00
Ryan VanderMeulen
c5934032a4 Merge m-c to inbound. 2012-06-18 20:59:17 -04:00
Jan Varga
2dc0f54692 Bug 763388 - Remove enablePrivilege calls from IndexedDB and FileHandle tests. r=bent 2012-06-18 19:09:26 +02:00
David Zbarsky
c4c233ef6c Bug 765362: Remove some unused functions in IDB r=bent 2012-06-18 12:48:15 -07:00
David Zbarsky
21c0933539 Bug 764705 - Unused variables in IndexedDBParent.cpp r=bent 2012-06-14 14:08:12 -07:00
Honza Bambas
f29e1ac591 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Ben Turner
a1d0c78df3 Bug 664029 - 'Make indexeddb mochitests run in fennec'. r=khuey. 2012-06-11 14:59:27 -07:00
Ryan VanderMeulen
846a6a41bf Merge m-c to inbound 2012-06-10 17:59:00 -04:00
Olli Pettay
94414ed431 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Andrew McCreight
9152e14841 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Ms2ger
2a25406a16 Bug 761635 - Fix build in MSVC 8; r=khuey 2012-06-10 19:19:12 +02:00
Kyle Huey
2c93120c84 Bug 759970: Result when reaching the end of a cursor should be null. r=sicking 2012-06-07 13:59:51 -07:00
Kyle Huey
c1cce99063 Bug 755767: Shut down IndexedDB at profile-before-change. r=bent 2012-06-07 10:44:17 -07:00
Ben Turner
e5b747a3d0 Bug 762203 - 'Potential crash in IDBObjectStore::UpdateIndexes'. r=khuey. 2012-06-06 14:02:03 -07:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Landry Breuil
70c854d344 Bug 761136 - fix uses of uint64_t vs PRUint64 after bug 666693. r=bent 2012-06-04 17:01:51 +02:00
Jan Varga
f5f6531fb7 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Ben Turner
785be4974a Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Kyle Huey
7f8a7b8e88 Back out Bug 754142. 2012-05-28 00:53:57 -07:00
Kyle Huey
bb9cdc1c83 Merge m-c to b-s. 2012-05-27 22:31:06 -07:00
Kyle Huey
7d1504662f Bug 754142: Don't install quota handlers on chrome databases. r=bent 2012-05-27 22:30:34 -07:00
Kyle Huey
0551dadd96 Bug 757222: Revert changes made to address a review comment because that comment was wrong. 2012-05-25 16:40:16 -07:00
Kyle Huey
b27b2d8178 Bug 755508: Do not allow the use of NaN dates as keys. r=sicking 2012-05-25 11:52:19 -07:00
Kyle Huey
8ab9ce853c Bug 757222: deleteDatabase should fire a versionchange event with newVersion === null. r=sicking 2012-05-25 11:48:27 -07:00
Kyle Huey
efa8b12a65 Bug 755509: Test explicity for request.result === undefined with deleteDatabase. r=sicking 2012-05-21 10:12:16 -07:00
Kyle Huey
3a7aa03332 Bug 755509: Run deleteDatabase test in Window and component scopes. r=sicking 2012-05-21 10:11:27 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Matthews
90e80e4474 Bug 722857 - Basic sanity test for before/after private browsing DOM storage implementation. r=honzab 2012-05-26 09:38:06 +01:00
Josh Matthews
a913bc7bf5 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-26 09:37:58 +01:00
Ed Morley
f02fdecdaf Backout 70cde80fa095 & 5a903d496ab0 (bug 722857) for crashes in 646184.html 2012-05-25 12:51:32 +01:00
Josh Matthews
f7cb280ab4 Bug 722857 - Basic sanity test for before/after private browsing DOM storage implementation. r=honzab 2012-05-25 12:20:58 +01:00
Josh Matthews
21239cef76 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-25 12:20:31 +01:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Masatoshi Kimura
f61723f6fb Bug 752402 - Support ArrayBufferView as a member of blobParts parameter. r=sicking 2012-05-17 17:53:44 -04:00
Kyle Huey
a66f245de4 Back out bug 754142 due to bustage. 2012-05-16 15:21:58 -07:00
Kyle Huey
7202cb3f67 Fix magical text that appeared. r=me No Bug 2012-05-16 15:12:11 -07:00
Ben Turner
9a9fb53b34 Bug 747247: Fix assertions about null owners. r=khuey 2012-05-16 15:08:18 -07:00
Kyle Huey
ba7194aa4f Bug 754142: Don't install quota handlers on chrome databases. r=bent 2012-05-16 15:08:18 -07:00
Jeff Muizelaar
fc567b67c2 Bug 755172. Add MOZ_FINAL to a bunch of idb classes. r=khuey 2012-05-15 00:50:29 -04:00
Kyle Huey
74a295727d Bug 726376: Prevent infinite recursion in indexedDB::cmp. r=sicking 2012-05-11 10:47:27 -07:00