Bobby Holley
93c1c17a8b
Bug 795275 - Turn Components into a JS value getter for content scopes. r=mrbkap
2012-10-03 11:44:18 +02:00
Bobby Holley
9b319107a7
Bug 795275 - Introduce an explicit mechanism for determining if a script is from XBL. r=mrbkap
...
We want this right now so that we can avoid the scary warning when content Components
access happens in XBL (which we're allowing going forward). This patch would be overkill
just for that, but I also have plans to introduce a SOW-like protection of the Components
wrapper filtering policy. I can't just do the filename hack for that though, because real-
world XBL filenames might be all over the place. So let's just be safe here.
2012-10-03 11:44:18 +02:00
Bobby Holley
c216a1e8e8
Bug 795275 - Clean up isSystemOnlyAccessPermitted. r=mrbkap
...
A lot of this stuff can be simplified now, and we can stop using the deprecated APIs.
2012-10-03 11:44:18 +02:00
David Mandelin
bc06cff1f7
Bug 750019: disable optimizations for nsIDOMHTMLDocument_Write on MSVC, r=bz
...
--HG--
extra : rebase_source : 00230976a1242a20c95dc7e9f841d872114d717a
2012-10-02 12:35:37 -07:00
Masatoshi Kimura
4cf6f1fa5f
Bug 795544 - Make StringEncoding API available from xpcshell/jsm. r=bz
2012-10-02 20:14:38 -04:00
Ms2ger
4de9727ae8
Bug 795300 - Remove xpc_GetGlobalForObject; r=bholley
2012-10-02 10:24:11 +02:00
Ms2ger
8b059b56bd
Bug 795301 - Demacroize IS_{SLIM,WN}_WRAPPER{,_OBJECT}; r=bholley
2012-10-02 10:24:11 +02:00
Ms2ger
9de4e445fb
Bug 793116 - Remove nsISupports argument to xpc_CreateGlobalObject; r=bholley
2012-10-02 10:24:11 +02:00
Ms2ger
c3c2f4de37
Bug 793482 - Use xpc::GetCompartmentPrivate in a few more places; r=bholley
2012-10-02 10:24:11 +02:00
Ms2ger
a682ed1ae7
Bug 780151 - Part b: Don't hand out ThisTranslators; r=bz
2012-10-02 10:24:08 +02:00
Ms2ger
cb811c0db7
Bug 780151 - Part a: Remove unused arguments to TranslateThis; r=bz
2012-10-02 10:22:32 +02:00
Ms2ger
71ea38005c
Bug 780146 - Part d: Inline mozilla::dom::binding::DefineConstructor; r=bz
2012-10-02 10:07:36 +02:00
Bobby Holley
10b97e0d43
Bug 794912 - Remove dynamic privilege check in isCrossOriginAccessPermitted. r=mrbkap
2012-10-01 23:13:49 +02:00
Peter Van der Beken
6cf9f896da
Fix for bug 791774 (Hook DOM lists up to the new DOM bindings). r=bz.
...
--HG--
extra : rebase_source : 873020edd9cd3defc932d77bd26b5d65ebf263cb
2012-06-13 17:18:30 +02:00
Peter Van der Beken
96b3ddd3e3
Fix for bug 791347 (Support non-nsISupports refcounted natives and non-refcounted natives in new DOM bindings). r=bz/smaug.
...
--HG--
extra : rebase_source : cd6d98461d7fa3a07fa1361b4d840448122b6655
2012-09-19 15:02:37 +02:00
Kyle Huey
35610fce7c
Bug 792625: Fix xpcshell to accept non-ASCII command line arguments on Windows. r=bsmedberg
2012-09-30 09:45:05 -07:00
Inder Kumar ext:(%20and%20Mike%20Habicher%20%3Cmhabicher%40mozilla.com%3E)
6d9d08d1fd
Bug 776062: Add support for recording video on gonk. r=cjones,double,ikumar,mikeh sr=sicking
2012-09-28 22:30:52 -07:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Makoto Kato
3acf1dcf48
Bug 786579 - Remove old MSVC (<=2003) support. r=khuey
2012-09-28 16:02:40 +09:00
Mark Banner
0fea5ea228
Bug 793580 - Part 1: Use unsigned types in ExceptionArgParser::parseResult; r=ehsan
...
--HG--
extra : rebase_source : 456e3643b4d5cac96d2c6f0435581e9502037c79
2012-09-27 14:19:06 -04:00
Aryeh Gregor
2f108ae5fb
Bug 779809 part 1 - Make [notxpcom] attributes an error; r=khuey
2012-08-09 11:31:14 +03: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
Bill McCloskey
d23b971c32
Bug 787856 - Use lazy protos for cross-compartment wrappers (r=bholley)
2012-09-03 16:42:22 -07:00
Bill McCloskey
c53e57f4b2
Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett)
2012-09-03 16:42:17 -07:00
Bill McCloskey
1f195f679b
Bug 787856 - Convert js::GetObjectProto to support lazy protos (r=bhackett)
2012-09-03 16:42:10 -07:00
Ryan VanderMeulen
4fc77da566
Backout bug 792215 for suspected Windows m-oth leaks.
...
CLOSED TREE
2012-09-25 22:40:56 -04:00
Kannan Vijayan
5baa27268e
Bug 792215 part 2. Convert old proxy bindings to JSNative getters and setters. r=peterv,ejpbruel
2012-09-25 14:44:40 -04:00
Boris Zbarsky
9b67eb7d78
Bug 792215 part 1. Convert quickstubs to using JSNative getters and setters. r=peterv
2012-09-25 14:44:40 -04:00
OHZEKI Tetsuharu
4872460b7b
Bug 791944 - Use Object.defineProperty() instead of __defineGetter__ in XPCOMUtils.defineLazyGetter(). r=mak77
2012-09-25 11:04:25 -04:00
Benoit Jacob
64b67de1c3
Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert
2012-09-25 08:49:28 -04:00
Benoit Jacob
faf08d911a
Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert
2012-09-25 08:49:28 -04: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
8188b09b4e
Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
...
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Bobby Holley
8fbb34e584
Bug 792036 - Fix sandbox xpcshell tests. r=gabor
...
I want gabor to look at these.
2012-09-24 14:46:28 +02:00
Bobby Holley
373e284d28
Bug 792036 - Add a SpecialPowers API to provide access to the Components object in various forms. r=mrbkap,ted
...
Now that window.Components is no longer acccessible to page JS, we need a way
to access it in mochitests. So this patch provides SpecialPowers.Components,
which is the bonafide Components object for the window upon which SpecialPowers
is defined. It also provides SpecialPowers.{Cc,Ci,Cr,Cu}, which are SpecialPowers-wrapped
versions of their respective sub-objects (with the exception of Ci, which is unwrapped).
2012-09-24 14:46:27 +02:00
Bobby Holley
93412f5166
Bug 792036 - Factor out glue code to get the JS Components object for a scope. r=mrbkap
2012-09-24 14:46:27 +02:00
Bobby Holley
0cc9deb20c
Bug 792036 - Refactor AttachComponentsObject API to allow an explicit target. r=mrbkap
...
The aGlobal API is currently unnecessary, since it should always be equal to the global obtained from the scope. But we'll want to manually specify the target object in subsequent patches, so make it an optional argument that's currently never passed.
2012-09-24 14:46:27 +02:00
Ehsan Akhgari
f3b8a9ce62
Bug 777292 - Make sure that the Components.lastResult is interpreted as unsigned integers; r=bzbarsky
2012-09-21 14:45:57 -04:00
Ehsan Akhgari
727b01152e
Bug 777292 - Make sure that the Components.results values are interpreted as unsigned integers; r=bholley
2012-09-20 09:11:20 -04:00
Gabor Krizsanits
aac50ebea7
Bug 785096: part3: Removing ccx from codegen/qsgen. r=bholley
2012-09-20 15:04:28 +02:00
Gabor Krizsanits
dc6a0acf70
Bug 785096 - part2: Removing XPCCallContext dependency from XPCVariant; r=bholley
2012-09-20 15:03:28 +02:00
Gabor Krizsanits
ca6baf3206
Bug 785096 - part1: Moving dom string cache from XPCCallContext to XPCJSRuntime. r=bz
2012-09-20 15:01:37 +02:00
Ms2ger
abf742d34d
Merge PGO-green changeset from m-i to m-c.
2012-09-20 11:51:47 +02:00
Ms2ger
75cab94d16
Bug 776239 - Unpref XHR bindings; r=bz
2012-09-20 09:55:37 +02:00
Ms2ger
b69b160c41
Bug 792474 - Don't JS_ASSERT in xpconnect; rs=bholley
2012-09-20 09:55:37 +02:00
Ms2ger
451f5737e1
Bug 776243 - Unpref WebGL context bindings; r=peterv
2012-09-20 09:55:36 +02:00
Ms2ger
1e2def2381
Bug 791566 - Update old new proxy bindings to BaseProxyHandler::hasInstance changes; r=terrence
2012-09-20 09:55:36 +02:00
Gabor Krizsanits
f7c3bb7006
Bug 791845 - mozMatchesSelectorStub should return false on error. r=bholley
2012-09-19 10:53:42 +02:00
Luke Wagner
ae449dc39f
Bug 792235 - rm JS_SuspendRequest (r=mrbkap)
...
--HG--
extra : rebase_source : 63484578f26b009c1c6dc555c736aaa1b71d1e4a
2012-09-04 14:43:25 -07:00
Luke Wagner
98b30c7a7b
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
8fce2522d5
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
6f38d2708d
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
e5965bbb81
Bug 791091 - Fix build warnings in XPConnect. r=jorendorff
2012-09-14 15:00:01 -04:00
Ehsan Akhgari
34748565cf
Bug 579517 follow-up: Remove NSPR types that crept in
2012-09-14 14:55:01 -04:00
Terrence Cole
d6a8912805
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
38b6df706e
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
589178c8cd
Merge IonMonkey into mozilla-inbound
2012-09-11 16:38:44 -04:00
David Anderson
76ab271ead
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
ecaa32c106
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
e5ff464782
Bug 788914 - Kill partially transparent wrappers. r=mrbkap
2012-09-11 01:05:10 -07:00
Bobby Holley
a34d4a4ba8
Bug 788914 - Remove dynamic UniversalXPConnect checks sprinkled around the wrapper code. r=mrbkap
2012-09-11 01:05:10 -07:00
Bobby Holley
88f8597781
Bug 788914 - Recompute cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap
2012-09-11 01:05:10 -07:00
Bobby Holley
5fbf125729
Bug 788914 - Generate vanilla cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap
2012-09-11 01:05:10 -07:00
Eddy Bruel
3fe1c2ffd0
Bug 720619 - Attempt a puncture for the [[DefaultValue]] trap; r=bholley
2012-09-11 21:42:01 +02:00
Bobby Holley
10a2abc98b
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
09854d2b71
Merge from mozilla-central.
2012-09-10 12:16:38 -07: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
David Anderson
130b34a147
Merge from mozilla-central.
2012-09-07 15:17:11 -07:00
Ed Morley
f66e09e47d
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
50f04c89fb
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
3cf2fad500
Bug 788914 - Kill partially transparent wrappers. r=mrbkap
2012-09-06 22:55:18 -07:00
Bobby Holley
35fdd05cc2
Bug 788914 - Remove dynamic UniversalXPConnect checks sprinkled around the wrapper code. r=mrbkap
2012-09-06 22:55:18 -07:00
Bobby Holley
dab91decc0
Bug 788914 - Recompute cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap
2012-09-06 22:55:18 -07:00
Bobby Holley
0696f5997b
Bug 788914 - Generate vanilla cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap
2012-09-06 22:55:18 -07:00
David Anderson
f4bf6ff039
Merge from mozilla-central.
2012-09-06 18:28:59 -07:00
David Anderson
f6eca6c7f0
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
c2ddef3d33
Bustage fix.
2012-08-29 21:59:32 -07:00
David Anderson
a7eae9e39d
Merge bustage, part 3.
2012-08-29 20:57:37 -07:00
David Anderson
25cb077cb2
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
a77264d9fb
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
93c480d9c9
Bug 786068 - make JS_EnterCrossCompartmentCall infallible (and call it JS_EnterCompartment) (r=sfink)
2012-08-27 13:32:51 -07:00
Luke Wagner
992c618fdb
Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap)
2012-08-23 11:23:28 -07:00
Ehsan Akhgari
f15d0f1a70
Bug 786375 - Remove AutoScriptEvaluate::mContextHasThread since it is unused; r=bholley
2012-09-06 21:59:33 -04:00
David Anderson
3b9fed8952
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
David Anderson
a264d0ebc8
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
Bobby Holley
a7f8bd710c
Backed out changeset 61e9eaf9aae2
...
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00
Bobby Holley
71db56f8c9
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
6ba33be90b
Bug 783454 - v1: Create devicefound event with event generator, r=qdot
2012-08-21 10:54:28 +08:00
David Anderson
f427cc76fa
Merge from mozilla-central.
2012-08-16 14:04:20 -07:00
David Anderson
e83e82b9dd
Remove JS_FrameIterator (bug 732653, r=luke,mrbkap).
2012-08-15 17:28:33 -07:00
David Anderson
58e1815704
Merge from mozilla-central.
2012-08-15 14:22:26 -07:00
Ryan VanderMeulen
cbe189e0c0
Merge m-c to inbound.
2012-08-20 20:21:35 -04:00
Olli Pettay
711151788a
Bug 783856 - Autogen PopupBlockedEvent, r=jst
2012-08-20 11:26:34 -07:00
Olli Pettay
bb1a3b7ddb
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
f5c91080a9
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
d522cd5bdc
Merge from mozilla-central.
2012-08-14 12:20:09 -07:00
David Anderson
5c045998a5
Merge from mozilla-central.
2012-08-13 13:40:42 -07:00
Mark Capella
19d06abdb4
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
c48614a8b2
Bug 775424 - Make JSCompartmentParticipant vtable rodata. r=glandium
2012-08-14 06:35:48 -07:00
Alexander Boldyrev
51cb65d942
Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert
2012-08-13 18:17:55 -07:00
Ryan VanderMeulen
c7b834b885
Merge inbound to m-c.
2012-08-11 22:33:42 -04:00
Masayuki Nakano
5c5f0a16d2
Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst
2012-08-12 10:42:34 +09:00
Honza Bambas
15daadba69
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
a02edfdd65
Merge from mozilla-central.
2012-08-09 13:41:13 -07:00
Bill McCloskey
348a2f35fa
Bug 781945 - Improve GC telemetry (r=mccr8)
2012-08-13 10:30:44 -07:00
David Anderson
8d084d5b2e
Merge from mozilla-central.
2012-08-08 15:09:49 -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
fd07d2697c
Bug 579517 - Part 2: Make the IDL parser aware of stdint types; r=bsmedberg
2012-08-22 11:57:22 -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
4a61c7b937
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
7ab97db10e
Merge from mozilla-central.
2012-08-07 15:13:28 -07:00
Bobby Holley
9a7444669f
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
15615608a9
Bug 783147 - Collect telemetry for SCC GC sweeping (r=mccr8)
2012-08-17 18:44:54 -07:00
Bobby Holley
8ac1ba8830
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
98d4b4c7e0
Backout bug 783147 (12753a1a11b8 and 0a70fc2d7d25) for WinXP dbg M-3 failures
2012-08-17 12:55:52 -07:00
Bill McCloskey
2c43c45c0c
Bug 783147 - Send telemetry about SCC GC times (r=mccr8)
2012-08-17 10:05:11 -07:00
Gabor Krizsanits
3774a64503
Bug 779821 - safe XHR creation for sandboxes
2012-08-15 11:00:21 +02:00
Aryeh Gregor
33fe5589ca
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
9208a5089e
Back out e6761635f9cf (bug 695292) for Android mochitest bustage on a CLOSED TREE
2012-08-16 21:35:53 -07:00
Chris Pearce
f15f8516e4
Bug 778640 - Backout due to burning. r=bustage
2012-08-17 16:22:25 +12:00
Gina Yeh
faa4304b5c
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
f2b01e4cbb
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
f0e6ae1aeb
Merge from mozilla-central.
2012-08-03 18:58:30 -07:00
Ed Morley
e35dda104d
Merge mozilla-central to mozilla-inbound
2012-09-06 12:18:37 +01:00
Ms2ger
797a567f66
Bug 763367 - Add support for [EnforceRange] and [Clamp]; r=bz
2012-09-06 09:25:03 +02:00
Ms2ger
36d93492da
Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug
2012-09-06 09:14:49 +02:00
Aryeh Gregor
291bfa222b
Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug
2012-08-16 14:58:11 +03:00
Kyle Huey
74b7acf005
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
4788839f6c
Bug 776328 - Only create holders for WNs. r=mrbkap
2012-08-10 10:19:51 +02:00
David Anderson
b1e8dd2805
Merge from mozilla-central.
2012-08-02 13:47:20 -07:00
Benjamin Peterson
aa214d6bae
Bug 780051 - Remove JS_MAX and JS_MIN. r=luke
2012-08-02 20:50:51 -07:00
Bill McCloskey
5d6f5c3d31
Bug 743112 - Incremental deferred release (r=smaug,jonco)
2012-08-02 15:35:59 -07:00
Doug Turner
0cc5c1e0ee
Bug 763976 - Add onchange notifications to DeviceStorage. r=khuey
2012-08-01 23:29:34 -07:00
Eric Faust
b0323e13a7
Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke)
2012-08-01 17:59:47 -07:00
David Anderson
bd3a52c3e2
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
7f8df4e1b8
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-01 18:36:33 +01:00
Olli Pettay
99f05d8922
Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer
2012-08-01 19:17:19 +03:00
Olli Pettay
420a8918fe
Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
...
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
David Anderson
56597a8412
Merge from mozilla-central.
2012-07-31 17:19:41 -07:00
Mike Habicher
9e245cc9a4
Bug 740997 - ICS camera support, r=jst,gal,roc
2012-07-30 17:59:05 -04:00
Andrew McCreight
23dd23ff11
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
29adcd066e
Bug 761422, part 3 - get security wrappers before changing maps. r=bholley
2012-07-30 21:01:59 -07:00
Andrew McCreight
e90b0700ba
Bug 761422, part 2 - guard against double reflectors on failure in ReparentWrapperIfFound. r=bholley
2012-07-30 21:01:59 -07:00
Andrew McCreight
1a87ec52f1
Bug 761422, part 1 - Clone before we adjust XPC maps in ReparentWrapperIfFound. r=bholley
2012-07-30 21:01:59 -07:00
David Anderson
e7f516869b
Merge from mozilla-central.
2012-07-30 13:15:39 -07:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Eric Faust
a2abc41ee2
Bug 775788 - Modify JSFunctionSpec to accept JSJitInfos. (r=luke)
2012-08-07 22:26:19 -07:00
David Anderson
b8519fb4f1
Merge from mozilla-central.
2012-07-26 18:19:02 -07:00
David Anderson
8e99468375
Merge from mozilla-central.
2012-07-25 14:30:08 -07:00
David Anderson
8027cb08c0
Merge from mozilla-central.
2012-07-24 16:32:08 -07:00
Olli Pettay
26e6fedf00
Bug 777074 - dictionary_helper_gen.py doesn't handle 'unsigned long' types, r=khuey
2012-07-25 01:59:22 +03:00
Olli Pettay
adf35f6898
Bug 776929 - Let event implementation codegen to generate MozContactChangeEvent, r=gwagner
2012-07-24 22:28:26 +03:00
Ed Morley
f527443623
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-26 13:04:00 +01:00
Olli Pettay
ca22625ff8
Bug 776986 - Implement MozApplicationEvent using codegenerator, r=fabrice
2012-07-26 13:23:22 +03:00
Olli Pettay
46e6a4eab4
Bug 776971 - codegen DeviceLightEvent impl, r=dougt
2012-07-26 00:26:51 +03:00
Olli Pettay
2c8046a80a
Bug 776966 - Generate DeviceOrientationEvent implementation, r=dougt
2012-07-26 00:17:14 +03:00
David Anderson
04a683031c
Merge from mozilla-central.
2012-07-23 12:37:49 -07:00
Brian Hackett
1219ffcd31
Generate ICs which see through ListBase proxies, bug 769911. r=peterv,dvander
2012-08-06 14:51:33 -06:00
Ed Morley
6f3dfcd32a
Backout 684958bd600b (bug 769911) for failures in test_bug435425.html on a CLOSED TREE
2012-08-06 23:39:36 +01:00
Brian Hackett
ade4ecda54
Generate ICs which see through ListBase proxies, bug 769911. r=peterv,dvander
2012-08-06 14:51:33 -06:00
Andrew McCreight
21c92bd99e
Bug 763773 - replace WrapperIsNotMainThreadOnly() with false. r=billm
2012-08-06 13:42:30 -07:00
Jim Mathies
f0487b898d
Bug 780511 - Pipe additional debug output to the Windows debugger, r=neil.
2012-08-06 15:41:40 -05:00
Aryeh Gregor
2fbc523d8e
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
Ryan VanderMeulen
15565e885f
Merge m-c to inbound.
2012-07-24 22:00:07 -04:00
Benjamin Peterson
323dca3e0d
Bug 776389 - Find the source of scripts from the subscript loader correctly. r=bz
2012-07-22 15:14:47 -07:00
Benjamin Peterson
99aa02e215
Bug 776283 - Decode sources properly before handing them to the JS engine. r=bz
2012-07-22 09:00:45 -07:00
David Anderson
07f7d8e680
Merge from mozilla-central.
2012-07-20 12:02:04 -07:00
Benjamin Peterson
5b841e0c17
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
c10568d0b9
Bug 774585 - Add GetDocShellCodebasePrincipal to nsIScriptSecurityManager. r=mounir
2012-07-20 00:06:24 -07:00
Mounir Lamouri
1887aa86ce
Bug 758258 - part 5 - Add GetAppCodebasePrincipal and GetNoAppCodebasePrincipal to nsIScriptSecurityManager. r=mrbkap sr=sicking
2012-07-19 20:28:08 -07:00
David Anderson
5297cee003
Merge from mozilla-central.
2012-07-19 14:34:36 -07:00
Ryan VanderMeulen
e3deb8235d
Backout 61d052e202c8 (bug 647367) due to Windows bustage.
2012-07-18 22:33:41 -04:00
David Anderson
eec7db39f5
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
f32ed5397d
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
12779453ef
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
437a8060e9
Bug 761620 - Throw an exception for unpreservable weak map keys. r=billm
2012-08-08 11:05:58 -07:00
Nicholas Nethercote
d99476d9dc
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
84f86ababe
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
dfcda357cb
Backed out changeset afc1cf222996
2012-07-19 15:22:32 -07:00
Andrew McCreight
e66fb39e3a
Bug 773533 - import Element.h into XPConnect the right way. rs=Ms2ger
2012-07-23 15:38:30 -07:00
Doug Turner
990ea4cf4e
Bug 779864 - onchange notifications of DeviceStorage should use code generator. r=smaug
2012-08-02 13:25:16 -07:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Steve Fink
c9505918b5
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
20f40425e5
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
23c9838514
Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir
2012-07-21 00:29:40 -07:00
Jonas Sicking
8538371ed0
Bug 774585: Fix xpc-sandbox creation code to create the correct principals. r=mrbkap
2012-07-21 00:29:40 -07:00
David Anderson
4264d447f8
Merge from mozilla-central.
2012-07-12 13:23:26 -07:00
David Anderson
12f86be1b6
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
0793fb74ed
Bug 778681 part 6 - Fix some misuses of bool as nsresult; r=bz
2012-07-27 16:51:50 +03:00
Andrew McCreight
de2697fb49
Bug 761831 - Be less ambitious in GetMemberInfo. r=bholley
2012-07-18 13:28:58 -07:00
Bobby Holley
f3f5cd945c
Bug 774245 - Remove unnecessary memset. r=mccr8
2012-07-18 14:56:54 +02:00
Bobby Holley
ed537cd79f
Bug 774245 - Tests. r=mrbkap
2012-07-18 13:51:28 +02:00
Bobby Holley
bceafacc9d
Bug 774245 - Reimplement LookupMethod. r=mrbkap
2012-07-18 13:51:28 +02:00
Bobby Holley
77a1ce457f
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
a1186c1020
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
9a6ac3a438
Bug 776660 - Return null from EnsureExpandoObject instead of false; r=bholley
2012-07-23 15:58:41 -04:00
Bobby Holley
8c8fbbde29
Bug 772288 - Waive Xray for target objects in Cu.import. r=mrbkap
2012-07-23 16:47:18 +02:00
Matthew Noorenberghe
99a07d6d64
Bug 772288 - Tests. r=bholley
2012-07-23 16:47:18 +02:00
Bobby Holley
9a11ba2635
Bug 773962 - Tests. r=mrbkap
2012-07-23 15:51:19 +02:00
Bobby Holley
f747c53f93
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