Commit Graph

467 Commits

Author SHA1 Message Date
Jan Varga
366974721c Bug 786688 - Part 3: Automatic tests. r=sicking 2012-10-30 07:12:18 +01:00
Jan Varga
3557fae1a7 Bug 786688 - Part 2: Code cleanup. r=sicking 2012-10-30 07:11:58 +01:00
Jonas Sicking
d508822340 Bug 786688 - Part 1: Add chrome only openForPrincipal() and deleteForPrincipal(). r=bent 2012-10-30 07:07:09 +01:00
Ben Turner
5e8d8d57f2 Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Doug Turner
4fd0f3eb19 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
fadcc33157 Bug 714050 - Add support for optional JS helper threads (r=luke) 2012-10-16 11:57:09 -07:00
Till Schneidereit
e7a22508a6 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
a18f92c2f3 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
cbc812d8ca 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
51f49bc2cc 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
a76261fade 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
82d5ea7892 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
b95ab79e45 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Isaac Aggrey
481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Terrence Cole
3eda1202a1 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
a25701a3f7 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
ab4caba217 Bug 792036 - Expose |Components| to content in the indexedDB test harness. r=bent 2012-09-24 14:46:27 +02:00
Ben Turner
d45605e24f Bug 792834 - 'Make sure to always set errors on failed requests'. r=khuey. 2012-09-20 11:20:15 -07:00
Ben Turner
4699115b5a 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
31c62753b9 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
4f4c28f744 Backout changeset c1cd7da16cd6 (bug 774250) for Linux Moth orange
--HG--
extra : rebase_source : 00e260bc4a75c6780c7863121cfc170f960ae010
2012-09-19 20:25:56 -04:00
Kyle Huey
d6238384e3 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
dcf81f4fb0 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
711f1fd480 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Nathan Froyd
96439647c2 Bug 786703 - fix dom/ build failures from introducing PARALLEL_DIRS; r=glandium 2012-09-11 07:47:42 -04:00
Daniel Holbert
1dc8cb22b6 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
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Jonas Sicking
15b3bab931 Bug 769880: Make createIndex throw InvalidAccessError instead of NotSupportedError. r=khuey 2012-08-31 18:33:24 -03:00
Kyle Huey
3b42fbfcd1 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
7a7df6c675 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
680ed2b5ad 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
0e2df5c403 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
ff3a89b7f3 Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-28 09:46:46 -03:00
Rafael Ávila de Espíndola
0b6fcd9466 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
fe898a1a74 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
06caecb924 Bug 786003 - 'Add a few extra tests for blobs in IndexedDB'. r=jst. 2012-08-27 12:40:06 -07:00
Ben Turner
04d02e74ab Bug 770046 - 'test_ipc.html does not notice failures'. r=khuey. 2012-08-27 11:10:34 -07:00
Philipp von Weitershausen
d158b5747c 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
1a9bf63360 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
4d3965f026 Bug 763854 - Check file references (cleanup stored files) only when needed. r=bent 2012-08-24 11:51:33 -07:00
Ryan VanderMeulen
1c1c169d75 Backout 4bb90f8c6909 (bug 756645) due to Android opt M3 orange on a CLOSED TREE. 2012-08-23 22:54:15 -04:00
Luke Wagner
ad90af9ca5 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
5fd5fe5bbc Merge m-c to inbound. 2012-08-23 19:50:46 -04:00
Ben Turner
7370f46298 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
cdb3f274d1 Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-23 11:45:01 -07:00
Ehsan Akhgari
f22f8b7a49 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
e368dc9c85 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
ae072f5464 Bug 783173 - Fix test_ipc implementations to handle mandatory __exposedProps__. r=khuey 2012-08-17 09:21:17 -07:00
Aryeh Gregor
b27b105f8d 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
a09e69cee0 Merge removal of nsnull 2012-08-14 11:29:00 -04:00