Commit Graph

1346 Commits

Author SHA1 Message Date
Gabor Krizsanits
a7ba877db5 Bug 791845 - mozMatchesSelectorStub should return false on error. r=bholley 2012-09-19 10:53:42 +02:00
Luke Wagner
e61972c84b Bug 792235 - rm JS_SuspendRequest (r=mrbkap)
--HG--
extra : rebase_source : 63484578f26b009c1c6dc555c736aaa1b71d1e4a
2012-09-04 14:43:25 -07:00
Luke Wagner
0ebf25f2e4 Bug 792237 - don't expose outstanding request count, just whether a context is active (r=mccr8)
--HG--
extra : rebase_source : 319ebfef9b1212619f9d7b6132c326587cc7625d
2012-09-04 15:22:05 -07:00
Nicholas Nethercote
fe84216e70 Bug 747202 - Separate and clean up JaegerMonkey's and IonMonkey's memory reporting. r=dvander. 2012-09-19 18:16:49 -07:00
Peter Van der Beken
d21c8a19b6 Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Andrew Quartey
d72ecf6812 Bug 791091 - Fix build warnings in XPConnect. r=jorendorff 2012-09-14 15:00:01 -04:00
Ehsan Akhgari
a996a4a62d Bug 579517 follow-up: Remove NSPR types that crept in 2012-09-14 14:55:01 -04:00
Terrence Cole
ebe3bd6fcf Bug 788359 - Remove unused argumentFormatMap and associated API; r=dmandelin
This removes some fiddly code sitting around completely unused and untested.

--HG--
rename : layout/base/tests/chrome/blue-32x32.png => layout/reftests/backgrounds/blue-32x32.png
rename : mobile/android/config/mozconfigs/android-noion/nightly => mobile/android/config/mozconfigs/android/nightly
extra : rebase_source : 68192aba59396a37242ee2aa266621dbea513171
2012-09-04 17:17:21 -07:00
Gina Yeh
c74551e934 Bug 789014 - Final version: Broadcast bonding-related events via system message, r=qdot, r=mrbkap 2012-09-12 22:03:42 +08:00
Ehsan Akhgari
b1bf75409d Merge IonMonkey into mozilla-inbound 2012-09-11 16:38:44 -04:00
David Anderson
7397353ad1 Merge IonMonkey to mozilla-central. a=arewefastyet
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
Bobby Holley
69477ff25f Bug 788914 - Kill the XOW flag. r=mrbkap
There are really two questions to be asked: is the caller chrome, and does the
caller subsume the callee. We have other, more precise ways of asking both of
these questions.
2012-09-11 01:05:10 -07:00
Bobby Holley
395ad03437 Bug 788914 - Kill partially transparent wrappers. r=mrbkap 2012-09-11 01:05:10 -07:00
Bobby Holley
98aa19a8be Bug 788914 - Remove dynamic UniversalXPConnect checks sprinkled around the wrapper code. r=mrbkap 2012-09-11 01:05:10 -07:00
Bobby Holley
29a085d3bc Bug 788914 - Recompute cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap 2012-09-11 01:05:10 -07:00
Bobby Holley
a163a6189b Bug 788914 - Generate vanilla cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap 2012-09-11 01:05:10 -07:00
Eddy Bruel
7e5561a777 Bug 720619 - Attempt a puncture for the [[DefaultValue]] trap; r=bholley 2012-09-11 21:42:01 +02:00
Bobby Holley
f82cbc37b3 Bug 789713 - Ignore domain when computing whether to share non-PreCreate WNs cross-compartment. r=mrbkap 2012-09-11 10:23:20 -07:00
David Anderson
37976f8d18 Merge from mozilla-central. 2012-09-10 12:16:38 -07: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
David Anderson
300951e360 Merge from mozilla-central. 2012-09-07 15:17:11 -07:00
Ed Morley
8cf4ffc2ea Backout 5853df66d488, e8fadd906232, d787279d282c, 8c1ed6327355, 94cfcf5da7c8, 87aa103d7e87 (bug 585922) for failures in test_bug411236.html 2012-09-07 09:15:34 +01:00
Bobby Holley
263394dbe4 Bug 788914 - Kill the XOW flag. r=mrbkap
There are really two questions to be asked: is the caller chrome, and does the
caller subsume the callee. We have other, more precise ways of asking both of
these questions.
2012-09-06 22:55:18 -07:00
Bobby Holley
4a03556c3e Bug 788914 - Kill partially transparent wrappers. r=mrbkap 2012-09-06 22:55:18 -07:00
Bobby Holley
b5dd375098 Bug 788914 - Remove dynamic UniversalXPConnect checks sprinkled around the wrapper code. r=mrbkap 2012-09-06 22:55:18 -07:00
Bobby Holley
4ca571cde3 Bug 788914 - Recompute cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap 2012-09-06 22:55:18 -07:00
Bobby Holley
325c6bae80 Bug 788914 - Generate vanilla cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap 2012-09-06 22:55:18 -07:00
David Anderson
cb5e844dd9 Merge from mozilla-central. 2012-09-06 18:28:59 -07:00
David Anderson
7b70ee195a Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
156a49533c Bustage fix. 2012-08-29 21:59:32 -07:00
David Anderson
94b6346826 Merge bustage, part 3. 2012-08-29 20:57:37 -07:00
David Anderson
59aad86af4 Merge from mozilla-central.
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
9e81520770 Merge from mozilla-central.
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Luke Wagner
c692b48100 Bug 786068 - make JS_EnterCrossCompartmentCall infallible (and call it JS_EnterCompartment) (r=sfink) 2012-08-27 13:32:51 -07:00
Luke Wagner
3595a4cdb6 Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap) 2012-08-23 11:23:28 -07:00
Ehsan Akhgari
3fe9afbeb3 Bug 786375 - Remove AutoScriptEvaluate::mContextHasThread since it is unused; r=bholley 2012-09-06 21:59:33 -04:00
David Anderson
fd50a14c90 Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
David Anderson
f3d3148ca7 Merge from mozilla-central. 2012-08-21 15:59:12 -07:00
Bobby Holley
7e122c271a Backed out changeset 61e9eaf9aae2
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00
Bobby Holley
db7c7123df Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal 2012-08-20 21:03:44 -07:00
Gina Yeh
2326b507ac Bug 783454 - v1: Create devicefound event with event generator, r=qdot 2012-08-21 10:54:28 +08:00
David Anderson
5d981ba8fe Merge from mozilla-central. 2012-08-16 14:04:20 -07:00
David Anderson
348793a989 Remove JS_FrameIterator (bug 732653, r=luke,mrbkap). 2012-08-15 17:28:33 -07:00
David Anderson
f29decd8b9 Merge from mozilla-central. 2012-08-15 14:22:26 -07:00
Ryan VanderMeulen
f1e04816ea Merge m-c to inbound. 2012-08-20 20:21:35 -04:00
Olli Pettay
e1b92aea91 Bug 783856 - Autogen PopupBlockedEvent, r=jst 2012-08-20 11:26:34 -07:00
Olli Pettay
b7316c9dd3 Bug 783376 - codegenerator should be able generate implementations which inherit other simple events, r=khuey 2012-08-20 11:20:25 -07:00
Gina Yeh
d32750b34d Bug 778640 - Final version: Firing devicedisappeared event, r=qdot, r=smaug
---
 dom/bluetooth/BluetoothAdapter.cpp                 |   16 ++++++++++++++-
 dom/bluetooth/Makefile.in                          |    1 +
 .../nsIDOMBluetoothDeviceAddressEvent.idl          |   21 ++++++++++++++++++++
 js/xpconnect/src/event_impl_gen.conf.in            |    3 +++
 4 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-20 12:23:32 +08:00
David Anderson
3d58883052 Merge from mozilla-central. 2012-08-14 12:20:09 -07:00
David Anderson
0e509b2165 Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
Mark Capella
9aedb93f44 Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Misc Folders, r=ted
Content, DOM, Image, JS, RDF, and URILoader folders
2012-08-14 10:06:17 -04:00
Andrew McCreight
b5f18e04c7 Bug 775424 - Make JSCompartmentParticipant vtable rodata. r=glandium 2012-08-14 06:35:48 -07:00
Alexander Boldyrev
f61c980db5 Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert 2012-08-13 18:17:55 -07:00
Ryan VanderMeulen
212cdce23a Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
acbe3bbdd7 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09: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
David Anderson
018c2a9a6a Merge from mozilla-central. 2012-08-09 13:41:13 -07:00
Bill McCloskey
c08859c880 Bug 781945 - Improve GC telemetry (r=mccr8) 2012-08-13 10:30:44 -07:00
David Anderson
88429440a3 Merge from mozilla-central. 2012-08-08 15:09:49 -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
2371757ee1 Bug 579517 - Part 2: Make the IDL parser aware of stdint types; r=bsmedberg 2012-08-22 11:57:22 -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
826e13d885 Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal 2012-08-21 10:27:08 -07:00
David Anderson
9f806b608d Merge from mozilla-central. 2012-08-07 15:13:28 -07:00
Bobby Holley
2fd623ff39 Bug 553102 - Make content-> access default to deny if __exposedProps__ is not defined. r=mrbkap 2012-08-17 23:14:55 -07:00
Bill McCloskey
ca6a8c8bbc Bug 783147 - Collect telemetry for SCC GC sweeping (r=mccr8) 2012-08-17 18:44:54 -07:00
Bobby Holley
e80993f0d4 Bug 695292 - Port SimpleTest.executeSoon() to SpecialPowers. r=mrbkap
If we just naively use the thread manager to dispatch the event via SpecialPowers,
we cannot avoid the XPCWrappedJS for the runnable being in chrome scope (even if
we pass a content object, we make the call in chrome scope, so we pass a cross-
compartment wrapper). This means that the machinery in
nsXPCWrappedJSClass::CheckForException ends up calling the error reporter for the
SpecialPowers scope, which isn't what we want.

Messing around with the implementation of CheckForException is playing with fire.
So we work around this with an explicit Cu API. :-(
2012-08-17 15:13:23 -07:00
Bill McCloskey
8bb5f2651f Backout bug 783147 (12753a1a11b8 and 0a70fc2d7d25) for WinXP dbg M-3 failures 2012-08-17 12:55:52 -07:00
Bill McCloskey
b34884ecdf Bug 783147 - Send telemetry about SCC GC times (r=mccr8) 2012-08-17 10:05:11 -07:00
Gabor Krizsanits
51367636f4 Bug 779821 - safe XHR creation for sandboxes 2012-08-15 11:00:21 +02:00
Aryeh Gregor
5cb11391e0 Bug 782594 - Use NS_FAILED instead of boolean test (content/, js/xpconnect/, layout/); r=bz 2012-08-07 17:58:47 +03:00
Phil Ringnalda
d8f4aa9d3c Back out e6761635f9cf (bug 695292) for Android mochitest bustage on a CLOSED TREE 2012-08-16 21:35:53 -07:00
Chris Pearce
8406326152 Bug 778640 - Backout due to burning. r=bustage 2012-08-17 16:22:25 +12:00
Gina Yeh
f86eea38b2 Bug 778640 - Final version: Firing devicedisappeared event, create nsIDOMBluetoothDeviceAddressEvent by event generator, r=qdot, r=smaug
---
 dom/bluetooth/BluetoothAdapter.cpp                 |   17 +++++++++++++++-
 dom/bluetooth/Makefile.in                          |    1 +
 .../nsIDOMBluetoothDeviceAddressEvent.idl          |   21 ++++++++++++++++++++
 js/xpconnect/src/event_impl_gen.conf.in            |    3 ++-
 4 files changed, 40 insertions(+), 2 deletions(-)
 create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-17 12:02:52 +08:00
David Anderson
02b557e2ee Merge from mozilla-central.
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
David Anderson
20b1197753 Merge from mozilla-central. 2012-08-03 18:58:30 -07:00
Ed Morley
1dda1f83c0 Merge mozilla-central to mozilla-inbound 2012-09-06 12:18:37 +01:00
Ms2ger
c84831a407 Bug 763367 - Add support for [EnforceRange] and [Clamp]; r=bz 2012-09-06 09:25:03 +02:00
Ms2ger
348aa6b524 Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug 2012-09-06 09:14:49 +02:00
Aryeh Gregor
e840991a39 Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03: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
Bobby Holley
480c7597d4 Bug 776328 - Only create holders for WNs. r=mrbkap 2012-08-10 10:19:51 +02:00
David Anderson
e93ecd8468 Merge from mozilla-central. 2012-08-02 13:47:20 -07:00
Benjamin Peterson
1c1e824772 Bug 780051 - Remove JS_MAX and JS_MIN. r=luke 2012-08-02 20:50:51 -07:00
Bill McCloskey
0389077d18 Bug 743112 - Incremental deferred release (r=smaug,jonco) 2012-08-02 15:35:59 -07:00
Doug Turner
e0b1269b07 Bug 763976 - Add onchange notifications to DeviceStorage. r=khuey 2012-08-01 23:29:34 -07:00
Eric Faust
6d4e293e26 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
David Anderson
2e20aecd2c Merge.
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
Ed Morley
d6d42179d1 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-01 18:36:33 +01:00
Olli Pettay
4f6e139505 Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer 2012-08-01 19:17:19 +03:00
Olli Pettay
fb67655737 Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
David Anderson
1b9c00384c Merge from mozilla-central. 2012-07-31 17:19:41 -07:00
Mike Habicher
01f8e81e31 Bug 740997 - ICS camera support, r=jst,gal,roc 2012-07-30 17:59:05 -04:00
Andrew McCreight
8df7caa03e Bug 761422, part 4 - Don't try to be a hero in ReparentWrapperIfFound. r=bholley 2012-07-30 21:02:00 -07:00
Andrew McCreight
e9759cb6ad Bug 761422, part 3 - get security wrappers before changing maps. r=bholley 2012-07-30 21:01:59 -07:00
Andrew McCreight
40af3f379d Bug 761422, part 2 - guard against double reflectors on failure in ReparentWrapperIfFound. r=bholley 2012-07-30 21:01:59 -07:00
Andrew McCreight
0f7ac14a7b Bug 761422, part 1 - Clone before we adjust XPC maps in ReparentWrapperIfFound. r=bholley 2012-07-30 21:01:59 -07:00
David Anderson
0b6251a780 Merge from mozilla-central. 2012-07-30 13:15:39 -07:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Eric Faust
d4a732fc86 Bug 775788 - Modify JSFunctionSpec to accept JSJitInfos. (r=luke) 2012-08-07 22:26:19 -07:00
David Anderson
19fd317fea Merge from mozilla-central. 2012-07-26 18:19:02 -07:00
David Anderson
cd4eba1dfe Merge from mozilla-central. 2012-07-25 14:30:08 -07:00
David Anderson
43e8426cf2 Merge from mozilla-central. 2012-07-24 16:32:08 -07:00
Olli Pettay
56e3342ec9 Bug 777074 - dictionary_helper_gen.py doesn't handle 'unsigned long' types, r=khuey 2012-07-25 01:59:22 +03:00
Olli Pettay
4fcbc28cca Bug 776929 - Let event implementation codegen to generate MozContactChangeEvent, r=gwagner 2012-07-24 22:28:26 +03:00
Ed Morley
7c29aed7d0 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-26 13:04:00 +01:00
Olli Pettay
555347dbf5 Bug 776986 - Implement MozApplicationEvent using codegenerator, r=fabrice 2012-07-26 13:23:22 +03:00
Olli Pettay
2c67e04427 Bug 776971 - codegen DeviceLightEvent impl, r=dougt 2012-07-26 00:26:51 +03:00
Olli Pettay
a90431f527 Bug 776966 - Generate DeviceOrientationEvent implementation, r=dougt 2012-07-26 00:17:14 +03:00
David Anderson
8769715833 Merge from mozilla-central. 2012-07-23 12:37:49 -07:00
Brian Hackett
886d2d2455 Generate ICs which see through ListBase proxies, bug 769911. r=peterv,dvander 2012-08-06 14:51:33 -06:00
Ed Morley
9732acffaf Backout 684958bd600b (bug 769911) for failures in test_bug435425.html on a CLOSED TREE 2012-08-06 23:39:36 +01:00
Brian Hackett
ac8acc0b03 Generate ICs which see through ListBase proxies, bug 769911. r=peterv,dvander 2012-08-06 14:51:33 -06:00
Andrew McCreight
73d06279da Bug 763773 - replace WrapperIsNotMainThreadOnly() with false. r=billm 2012-08-06 13:42:30 -07:00
Jim Mathies
418325cf8d Bug 780511 - Pipe additional debug output to the Windows debugger, r=neil. 2012-08-06 15:41:40 -05:00
Aryeh Gregor
5662d18449 Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Ryan VanderMeulen
05f7625d7a Merge m-c to inbound. 2012-07-24 22:00:07 -04:00
Benjamin Peterson
d334d9712c Bug 776389 - Find the source of scripts from the subscript loader correctly. r=bz 2012-07-22 15:14:47 -07:00
Benjamin Peterson
5354c0f330 Bug 776283 - Decode sources properly before handing them to the JS engine. r=bz 2012-07-22 09:00:45 -07:00
David Anderson
8a0fb8757b Merge from mozilla-central. 2012-07-20 12:02:04 -07:00
Benjamin Peterson
ac41818e21 Bug 776430 - Use the rightmost URI to account for possible multiple prefixing. r=bz
--HG--
extra : rebase_source : 00d3a825d0743dc5ba61a0dbe69c6f8a75b4b208
2012-07-23 19:13:18 -07:00
Jonas Sicking
ae7e96692e Bug 774585 - Add GetDocShellCodebasePrincipal to nsIScriptSecurityManager. r=mounir 2012-07-20 00:06:24 -07:00
Mounir Lamouri
f8a7531c39 Bug 758258 - part 5 - Add GetAppCodebasePrincipal and GetNoAppCodebasePrincipal to nsIScriptSecurityManager. r=mrbkap sr=sicking 2012-07-19 20:28:08 -07:00
David Anderson
d6601dffce Merge from mozilla-central. 2012-07-19 14:34:36 -07:00
Ryan VanderMeulen
1289c5333c Backout 61d052e202c8 (bug 647367) due to Windows bustage. 2012-07-18 22:33:41 -04:00
David Anderson
5977d0bae2 Merge from mozilla-central.
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-18 19:02:32 -07:00
Nicholas Nethercote
015b5205c6 Bug 647367 - Sequester jshash.{h,cpp} in js/jsd/ (attempt 2). r=luke.
--HG--
rename : js/src/jshash.cpp => js/jsd/jshash.cpp
rename : js/src/jshash.h => js/jsd/jshash.h
2012-07-18 17:38:10 -07:00
Boris Zbarsky
17c8fd47c8 Bug 780542. Make construction via a function proxy with an object in the constructor slot actually construct instead of just calling. r=ejpbruel 2012-08-08 23:47:04 -04:00
Andrew McCreight
b81fd9484b Bug 761620 - Throw an exception for unpreservable weak map keys. r=billm 2012-08-08 11:05:58 -07:00
Nicholas Nethercote
1f182688f1 Bug 647367 - Sequester jshash.{h,cpp} in js/jsd/. r=luke.
--HG--
rename : js/src/jshash.cpp => js/jsd/jshash.cpp
rename : js/src/jshash.h => js/jsd/jshash.h
extra : rebase_source : 22311241bc356e2c724c28f4199cfa8008d594a9
2012-07-18 17:38:10 -07:00
Mounir Lamouri
6e7f2253ad Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking 2012-07-18 21:25:19 -07:00
Steve Fink
cd96c07f2c Backed out changeset afc1cf222996 2012-07-19 15:22:32 -07:00
Andrew McCreight
1ca56b02ad Bug 773533 - import Element.h into XPConnect the right way. rs=Ms2ger 2012-07-23 15:38:30 -07:00
Doug Turner
045acc0826 Bug 779864 - onchange notifications of DeviceStorage should use code generator. r=smaug 2012-08-02 13:25:16 -07:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Steve Fink
52611d1e2d Bug 785167 - Root while allowing cx to be NULL for some typed array APIs. r=terrence
--HG--
extra : rebase_source : 41565e76dc534deb75e10ef65429e5bb9793f47f
2012-08-29 12:29:18 -07:00
Boris Zbarsky
db146aed28 Bug 765163 followup. Don't write DictionaryHelpers.h while generating DictionaryHelpers.cpp. r=build-bustage for checkin to CLOSED TREE 2012-07-22 01:17:38 -04:00
Jonas Sicking
690071fc50 Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir 2012-07-21 00:29:40 -07:00
Jonas Sicking
ba50571c17 Bug 774585: Fix xpc-sandbox creation code to create the correct principals. r=mrbkap 2012-07-21 00:29:40 -07:00
David Anderson
596d3144a5 Merge from mozilla-central. 2012-07-12 13:23:26 -07:00
David Anderson
86f0b2a6d8 Merge from mozilla-central.
--HG--
rename : editor/libeditor/base/DeleteElementTxn.cpp => editor/libeditor/base/DeleteNodeTxn.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicCanvasLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicColorLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicImageLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.h
rename : js/src/jsobj.cpp => js/src/builtin/Eval.cpp
2012-07-10 19:45:14 -07:00
Aryeh Gregor
6edbec8406 Bug 778681 part 6 - Fix some misuses of bool as nsresult; r=bz 2012-07-27 16:51:50 +03:00
Andrew McCreight
e82547c80d Bug 761831 - Be less ambitious in GetMemberInfo. r=bholley 2012-07-18 13:28:58 -07:00
Bobby Holley
2d242e094b Bug 774245 - Remove unnecessary memset. r=mccr8 2012-07-18 14:56:54 +02:00
Bobby Holley
b4fc3bcfe8 Bug 774245 - Tests. r=mrbkap 2012-07-18 13:51:28 +02:00
Bobby Holley
0a7b5241fb Bug 774245 - Reimplement LookupMethod. r=mrbkap 2012-07-18 13:51:28 +02:00
Bobby Holley
217bf3edb0 Bug 774245 - Add WrapperFactory and XrayWrapper machinery to allow same-compartment Xray wrapping. r=mrbkap 2012-07-18 13:51:28 +02:00
Joshua Cranmer
e1cdfe2f05 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Ehsan Akhgari
ed5670e57a Bug 776660 - Return null from EnsureExpandoObject instead of false; r=bholley 2012-07-23 15:58:41 -04:00
Bobby Holley
16e4b5b871 Bug 772288 - Waive Xray for target objects in Cu.import. r=mrbkap 2012-07-23 16:47:18 +02:00
Matthew Noorenberghe
649ea34449 Bug 772288 - Tests. r=bholley 2012-07-23 16:47:18 +02:00
Bobby Holley
6761975fd3 Bug 773962 - Tests. r=mrbkap 2012-07-23 15:51:19 +02:00
Bobby Holley
75f3cd7c86 Bug 773962 - Introduce Cu.recomputeWrappers. r=mrbkap
It's sort of annoying to add this API just for tests, but there's not another
great way to trigger a compartment-wide transplant with Xray waivers
(since setting document.domain doesn't recompute wrappers to/from chrome, and
Xray waivers will stop being accessible to content entirely in bug 742444).
2012-07-23 15:51:18 +02:00
Bobby Holley
3c7a723a9f Bug 773962 - Fix up waivers after transplanting. r=mrbkap 2012-07-23 15:51:18 +02:00
Bobby Holley
c85756fcc0 Bug 773962 - Refactor Xray waiving logic to allow simple lookups in the waiver map without creating a waiver. r=mrbkap 2012-07-23 15:51:18 +02:00
Mike Hommey
d3b70db257 Bug 775424 - Make cycle collection vtables rodata. r=smaug 2012-07-23 07:42:23 +02:00
Chris Jones
17dd1fb32e Bug 774139, part 0: Rename 'NO' typename because that's a constant in Objective-C++. r=bz 2012-07-17 16:01:56 -07:00
Gabor Krizsanits
0b4bc96f9f Bug 769273 - part4: avoiding innerization in NukeCrossCompartmentWrappers. r=bholley 2012-07-17 17:51:21 +02:00
Ms2ger
cb4d106015 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
cec5e3f75e Bug 780111 - Share code with new DOM bindings for primitive conversions in XPCConvert::JSData2Native; r=bholley 2012-08-04 09:29:18 +02:00
Ms2ger
1ac89f2246 Bug 780108 - Get rid of the double switch in XPCConvert::JSData2Native; r=bholley 2012-08-04 09:28:45 +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
e6463200a3 Merge m-c to m-i. 2012-08-04 13:02:15 +02:00
Mike Hommey
be451c22dc Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Ms2ger
b927c10310 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
3c30d568f9 Bug 780111 - Share code with new DOM bindings for primitive conversions in XPCConvert::JSData2Native; r=bholley 2012-08-04 09:29:18 +02:00
Ms2ger
16aadc8dec Bug 780108 - Get rid of the double switch in XPCConvert::JSData2Native; r=bholley 2012-08-04 09:28:45 +02:00
Mike Hommey
e79d87471e Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Eric Faust
b1b08f985c Bug 742188 - Implement ToInt64 and ToUint64 per the WebIDL standard. (r=jorendorff) 2012-08-03 15:15:04 -07:00
Wes Johnston
7fe524d43a Bug 777706 - Backout new dom bindings for touchlists. r=smaug 2012-08-02 10:41:42 -07:00
Jason Orendorff
9bcd8b30c0 Bug 725907 - for-of improvements, part 3: Implement .iterator() for arraylike DOM objects. r=bzbarsky. 2012-07-03 16:34:56 -05:00
Mounir Lamouri
a849186201 Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking 2012-07-18 21:25:19 -07:00
Mounir Lamouri
8b371aed8a Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Mounir Lamouri
ff9d427dc7 Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking 2012-07-19 10:49:17 -07:00
Justin Lebar
2170f814d5 Bug 773980 - Add Components.utils.isDeadWrapper. r=bholley
--HG--
rename : js/xpconnect/tests/Makefile.in => js/xpconnect/tests/browser/Makefile.in
2012-07-19 12:39:43 -04:00
Terrence Cole
8778e3d28d Bug 772292 - Convert JSObject2WrappedJSMap to a new-style HashTable; r=mrbkap
--HG--
extra : rebase_source : a51ae61fde535ba18e84bec484509099101247ab
2012-07-07 16:11:54 -07:00
Jim Mathies
031c062b8b Bug 762519 - Send xpconnect stack dump output and javascript dump output to the win debugger when attached. r=ehsan, mrbkap 2012-07-19 09:58:44 -05:00
Makoto Kato
2a4902ee1b Bug 771401 - Change PRTime in IDL to signed long long. r=bholley sr=bsmedberg 2012-07-19 18:53:30 +09:00
Ed Morley
bb507d18ac Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Mounir Lamouri
147b74c44a Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking 2012-07-18 21:25:19 -07:00
Mounir Lamouri
30741d2c3a Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Mounir Lamouri
2b7700d07d Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking 2012-07-18 13:35:15 -07: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
Eddy Bruel
e445b70867 Bug 703537: Rename AbstractWrapper to IndirectWrapper + adding comments; r=bholley 2012-07-08 19:04:14 +02:00
David Anderson
2d5c5bdcf3 Merge from mozilla-central. 2012-06-28 15:17:18 -07:00
Gabor Krizsanits
ce3fab5c93 Bug 769273 - part3: Cu.nukeSandbox. r=bholley 2012-07-17 17:41:07 +02:00
Peter Van der Beken
629bad9698 Fix for bug 769464 (Check mDOMObjectIsISupports when unwrapping). r=bz.
--HG--
extra : rebase_source : 26d0508b8a11d75164ae4b27af8c64e8845166f9
2012-07-16 16:52:59 +02:00
Ehsan Akhgari
5a262d0761 Bug 749101 - Move window.performance to the new DOM bindings; r=bzbarsky 2012-07-16 21:42:18 -04:00
Nicholas Nethercote
54e1cc8b68 Bug 772615 (part 2) - Enter compartments before calling GetNativeOfWrapper() in the JS memory reporter. r=bholley. 2012-07-15 19:59:47 -07:00
Nicholas Nethercote
1603d4d6fc Bug 772615 (part 1) - Use the safe JSContext in the JS memory reporter. r=bholley. 2012-07-15 21:03:27 -07:00
David Anderson
4dc2835558 Merge from mozilla-central. 2012-06-27 11:00:48 -07:00
Bill McCloskey
3970ae5992 Bug 765065 - Annotation for crash reports: "Are we GCing?" (r=bsmedberg) 2012-08-15 10:47:51 -07:00
Dave Townsend
2e2b4aca5e Backing out bug 761620 due to Add-on SDK test failures. 2012-08-15 10:31:21 -07:00
Aryeh Gregor
3304e571cb Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan 2012-08-07 17:54:44 +03:00
Eddy Bruel
4cc46d10d1 Bug 70357 - Add Wrapper base class; r=bholley 2012-06-28 04:10:37 +02:00
Terrence Cole
340bde0157 Bug 785524 - Remove JS_MakeStringImmutable; it is no longer necessary; r=luke
--HG--
extra : rebase_source : bf9e007733e5f4c6ab3fcc618c3fcff3b2fb69fc
2012-08-24 15:00:38 -07:00
Andrew McCreight
671b32897c Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug 2012-08-27 10:41:04 -07:00
Gabor Krizsanits
5138045eff Bug 763897 - Incorrect behaviour of mozMatchesSelector.call through xray; r=bholley 2012-08-27 15:15:20 +02:00
Gabor Krizsanits
9a223560e1 Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap 2012-08-27 15:06:34 +02:00