Commit Graph

2274 Commits

Author SHA1 Message Date
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Bobby Holley
e47507c912 Bug 865729 - Remove nsIJSContextStack. r=gabor
\o/
2013-04-29 11:16:24 -07:00
Bobby Holley
eb840cbdb4 Bug 865729 - Remove Context stack iterators. r=gabor 2013-04-29 11:16:23 -07:00
Bobby Holley
ee8843b983 Bug 865729 - Remove Push/Pop from public API. r=gabor 2013-04-29 11:16:22 -07:00
Bobby Holley
a1a3f2c647 Bug 865729 - Make nsIXPConnect inherit nsIThreadJSContextStack. r=gabor
Right now, the concrete nsXPConnect implements nsIXPConnect and
nsIThreadJSContextStack separately. I want to migrate the API from the latter
interface to the former, but I can't right now because it means we'd end up
with a duplicated method (getSafeJSContext). Since there's only one concrete
class that implements nsXPConnect, let's just use interface inheritance, which
simplifies the migration.
2013-04-29 11:16:20 -07:00
Bobby Holley
49eef22d31 Bug 865729 - Remove nsIJSContextStack from xpconnect/loader. r=gabor 2013-04-29 11:16:19 -07:00
Tom Schuster
6b98f4b239 Bug 836949 - Remove the now unnecessary GetMethod function. r=jwalden 2013-04-27 17:37:05 +02:00
Jon Coppeard
7d9149ed57 Bug 865308: GC: More rooting work in XPConnect r=bholley 2013-04-26 18:50:18 +01:00
David Zbarsky
e7c17f133d Bug 856472: Convert CanvasGradient to WebIDL r=bz 2013-04-26 10:55:54 -04:00
David Zbarsky
e3ec2de9af Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
Aryeh Gregor
e0a4cd5848 Bug 859817 - Make NS_NewAtom return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
Ms2ger
e12555a543 Merge m-c to m-i. 2013-04-26 12:32:27 +02:00
Ms2ger
957b1b9641 Bug 862446 - Use CallArgs in XPC_WN_Helper_{Call,Construct}; r=bholley 2013-04-26 08:48:40 +02:00
Ms2ger
fe234fbc7f Bug 852135 - Part d: Move nsDOMAttributeMap to WebIDL bindings, remove CI and QS; r=bz 2013-04-26 08:48:27 +02:00
Boris Zbarsky
2399aa7dd7 Bug 864727 part 1. Root the global before calling WrapObject in XPCConvert. r=bholley
I sort of wish GetGlobalJSObject just returned a handle.
2013-04-25 12:29:52 -04:00
Andrew McCreight
fc6549149f Bug 865397 - Nicen up "id got defined" assertion. r=bholley 2013-04-25 08:42:44 -07:00
Nicholas Nethercote
9146bccc1a Bug 857382 (part 2) - Prefix zone addresses in about:memory with "0x" for consistenty with other addresses. r=billm.
--HG--
extra : rebase_source : a8c669c0bf27fa0b1d90c9b7862ca43dfe4a80bd
2013-04-21 13:55:05 -07:00
Bill McCloskey
4da563b989 Bug 856670 - Bring JS C stack limit closer to actual OS limits (r=bsmedberg) 2013-04-25 21:02:22 -07:00
Boris Zbarsky
7a5392b28d Bug 861493. When passing arguments to an Xray for a WebIDL constructor, make sure to do the argument unwrapping before entering the content compartment. r=bholley,waldo
There are several changes here:

1) Adds some MutableThis methods to Optional, Nullable, and dictionaries to
   effectively allow doing a const_cast without knowing the actual type being
   templated over.  I needed this because I do not in fact know that type in
   the relevant code.  I'm open to suggestions for a better name for this
   method.
2) Adds some operator& to RootedJSValue to make it look more like a JS::Value,
   and in particular so I can JS_WrapValue the thing in it.
3) Adds a Slot() method to NonNullLazyRootedObject, just like NonNull has.
4) Adds an operator& to LazyRootedObject to make it look more like JSObject* so
   I can JS_WrapObject the thing in it.
5) Implements the actual rewrapping of the arguments into the content compartment.
6) Fixes a small preexisting bug in which we didn't look at named constructors
   in getTypesFromDescriptor (this was causing my tests to not compile).
7) Changes Xrays to not enter the content compartment when calling a WebIDL
   constructor.
8) Adds some friend API to report things as not being functions.
2013-04-25 19:03:05 -04:00
Bobby Holley
6fd248fb89 Bug 865260 - Use IsXrayWrapper rather than ObjectIsNativeWrapper in nsWindowSH. r=bz
There are some other uses of ObjectIsNativeWrapper in other scriptable helpers
that are tempting to remove as well, but it's probably just better to wait for
that stuff to just go away. Given that the issue we're running into here is
Window-specific, there's not a pressing need to fix the other stuff.
2013-04-24 15:21:26 -07:00
Jon Coppeard
4764cd3074 Bug 861887 Review comments for prev patch r=bholley
--HG--
extra : rebase_source : 7f91680f5f7249c9fb09708eb790bdc19c779c67
2013-04-24 14:22:21 +01:00
Jon Coppeard
8710c00b07 Bug 861887 - GC: Rooting in XrayWrapper.cpp - part 2 r=bholley 2013-04-24 10:45:41 +01:00
Jon Coppeard
a10b75f310 Bug 861912 - GC: Remove use of AUTO_MARK_JSVAL in XPConnect r=bholley 2013-04-09 16:42:32 +01:00
Jon Coppeard
acbf815198 Bug 864748 - Avoid accessing uninitialized data when calling a getter r=bholley 2013-04-24 10:45:40 +01:00
David Zbarsky
82391d9a22 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Bobby Holley
84a715a03b Bug 860494 - Move the named property check further down in XrayWrapper. r=bz 2013-04-23 12:50:17 -04:00
Bobby Holley
a7ec941075 Bug 860494 - Check for native properties before checking named children on XOWs. r=bz 2013-04-23 12:50:17 -04:00
Bobby Holley
69cb919957 Bug 860494 - Clarify the semantics of XrayTraits::resolveOwnProperty. r=bz
Right now, it sometimes fills out |desc|, and sometimes just defines the property
on the holder. This can get confusing, so let's refine the semantics here and
describe them in a big comment.
2013-04-23 12:50:17 -04:00
Bobby Holley
6259a0e4e1 Bug 860494 - Make resolveNativeProperty a virtual instance method in XrayTraits like resolveOwnProperty. r=bz
The current setup is just an artifact of how it used to be before I refactored
Xrays. Have it as a virtual trap is more flexible since it allows us to invoke
the right trap by just calling GetXrayTraits(wrapper) from non-templatized code.
2013-04-23 12:50:16 -04:00
Tom Schuster
80ab1b136c Bug 856477 - Root rest of XPComponents. r=bholley,terrence 2013-04-23 17:48:05 +02:00
Tom Schuster
57cd547745 Bug 862834 - Root mozJSComponentLoader. r=bholley,terrence 2013-04-23 17:48:05 +02:00
Jon Coppeard
e59e17e471 Bug 864046 - GC: Almost the last rooting fixes in XPConnect - part 2 r=bholley 2013-04-20 13:08:16 +01:00
Jon Coppeard
c97d17668c Bug 864046 - GC: Almost the last rooting fixes in XPConnect - part 1 r=bholley 2013-04-20 10:41:47 +01:00
Jon Coppeard
6990ddac50 Bug 863767 - GC: Rooting for XPCCallContext r=bholley 2013-04-20 09:52:56 +01:00
Jon Coppeard
5bba3f2017 Bug 863289 - GC: Continue the rooting of XPConnect r=bholley 2013-04-17 16:38:44 +01:00
Xin Zhang
5d0104d77b Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo
--HG--
extra : rebase_source : 24141998ffad3b0e6bad98b6fc0ce3754e448d5b
2013-04-22 14:15:49 -07:00
Nicholas Nethercote
db1e996d21 Bug 864205 - Put the baseline memory reports in a tree. r=jandem.
--HG--
extra : rebase_source : 96362bd538979832f1fbe6ec55e42fd9a71c22bd
2013-04-22 13:35:44 -07:00
David Zbarsky
730feee6f8 Backout 3e7970330a3e for being wrong 2013-04-22 02:01:36 -04:00
Ms2ger
88e0c63e61 Merge m-c to m-i. 2013-04-21 09:54:41 +02:00
David Zbarsky
a670bfb881 Bug 856962 - Move Touch to WebIDL bindings; r=mounir 2013-04-21 08:42:19 +02:00
Ms2ger
7aa8595c13 Bug 862999 - Mark XPCCallContext as a stack class; r=bholley 2013-04-21 08:41:17 +02:00
Bobby Holley
edbf96fe52 Bug 862918 - Add a utility method on Cu to get the class name of an object. r=bz
instanceof is behaving sketchily on modal window, and I want this test to be robust.
2013-04-19 09:49:57 -04:00
David Zbarsky
65a41e7101 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky
7235cdcd53 Bug 856472: Convert TextMetrics to WebIDL r=bz
* * *
Bug 857439 Part 4: Fix MediaStreamList wrapping r=bz
2013-04-19 04:49:22 -04:00
Matt Brubeck
229ef006b5 Back out e1549b50183f (bug 860027), suspected of regressing Trace Malloc and/or Ts Paint 2013-04-18 15:34:48 -07:00
Ryan VanderMeulen
5022c76c9e Backed out changesets b9f7fd0996f0 and c0ab16b6003e (bug 860494) for mochitest failures on a CLOSED TREE. 2013-04-17 12:00:20 -04:00
Bobby Holley
746984d533 Bug 860494 - Tests. r=bz 2013-04-17 10:52:52 -04:00
Bobby Holley
5e2ba98af8 Bug 860494 - Move the named property check further down in XrayWrapper. r=bz 2013-04-17 10:52:52 -04:00
Gabor Krizsanits
26880f8f17 Bug 820170 - Wrapping nodes into documents compartment. r=bholley 2013-04-17 10:11:53 +02:00
Terrence Cole
761f6ac47b Bug 860572 - Use Rooted<JSPropertyDescriptor> in XPCComponents; r=bholley 2013-04-12 17:42:59 -07:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Boris Zbarsky
ff3d94eb94 Bug 862077. Even if we have a wrapper cache, don't assume that no cached wrapper means no wrapped native.: it's not true for inner windows. r=peterv 2013-04-19 23:04:22 -04:00
David Zbarsky
3c98334d35 Backout 2201d650ac90 for not building on Windows on a CLOSED TREE 2013-04-19 18:57:56 -04:00
David Zbarsky
691abfe5eb Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-19 18:18:33 -04:00
Terrence Cole
1d65c55b74 Bug 779336 - Replace DOMExpandoMap with a js::HashSet; r=bholley
--HG--
extra : rebase_source : 125fbd75b5123c17cda64c9dfe7e09b36c03bb42
2012-07-31 15:52:16 -07:00
Ms2ger
d61b281c6d Backout changeset baf184596a7b for build errors on a CLOSED TREE. 2013-04-16 19:07:38 +02:00
Gabor Krizsanits
93fd95ba5e Bug 820170 - Wrapping nodes into documents compartment. r=bholley 2013-04-16 11:31:26 +02:00
Ryan VanderMeulen
8b4107f38d Backed out changeset 76f7d7963692 (bug 861912) for debug mochitest b-c orange. 2013-04-16 11:51:49 -04:00
Jon Coppeard
7146aedf17 Bug 861912 - GC: Remove use of AUTO_MARK_JSVAL in XPConnect r=bholley
--HG--
extra : rebase_source : 5d279fe19c5dfc5812eaa2a241945c58a29dbe9d
2013-04-09 16:42:32 +01:00
Jon Coppeard
1f1c0e6af9 Bug 861281 - GC: Root the wrap object API r=terrence r=bholley
--HG--
extra : rebase_source : 1d3ed88299ad8e9ad6812fb41aa48f03cc7aabae
2013-04-15 18:32:55 +01:00
Nicholas Nethercote
f5378cec64 Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Steve Fink
2b3d9c821b Backed out 2 changesets (bug 860572) for OSX build breakage
Backed out changeset d02e437f5b48 (bug 860572)
Backed out changeset c849d14e7f59 (bug 860572)
2013-04-15 16:26:06 -07:00
Jeff Walden
f9d3bc73ed 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
Trevor Saunders
2c43164c3c bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bsmedberg, bholley 2013-04-09 16:00:21 -04:00
Trevor Saunders
af2000ea12 bug 860027 - remove nsXPConnect::mInterfaceInfoManager r=bholley 2013-03-10 20:14:14 -04:00
Trevor Saunders
954a409ff5 bug 860027 - remove nsXPConnect::GetInterfaceInfoManager() r=bholley 2013-03-08 22:05:08 -05:00
Trevor Saunders
961abcf513 bug 860027 - nuke the interface info super manager r=bsmedberg 2013-03-08 15:23:31 -05:00
Terrence Cole
400c308c7b Bug 860572 - Use Rooted<JSPropertyDescriptor> in XPCComponents; r=bholley
--HG--
extra : rebase_source : 696cf3ac61d431188d92440bbe506852ecf3c232
2013-04-12 17:42:59 -07:00
Olli Pettay
124d1b4696 Bug 856303 - Paris binding for MouseScrollEvent, r=peterv
--HG--
extra : rebase_source : 26aec7e5472d213615918f20168e3fd2277b0591
2013-04-15 23:37:52 +03:00
Olli Pettay
09d818e775 Bug 856363 - Paris binding for TouchEvent, r=peterv
--HG--
extra : rebase_source : 09fc86b555febd5adfaeebdffeb685e37c1d0823
2013-04-15 23:33:46 +03:00
Olli Pettay
67e5853096 Bug 847598 - Paris binding for NotifyPaintEvent, r=peterv
--HG--
extra : rebase_source : dcd7cc75cfc42ab5cb636093b67da057019269cb
2013-04-15 23:27:37 +03:00
Jon Coppeard
bc651dfedc Bug 861269 - GC: Continuing the rooting of XPConnect - Root XPCJSID.cpp r=bholley
--HG--
extra : rebase_source : 3702d37309dd711a6db9173d0c6ab6142ce78544
2013-04-15 15:30:05 +01:00
Jon Coppeard
90b0939c47 Bug 861269 - GC: Continuing the rooting of XPConnect - Root nsXPConnect.cpp r=bholley
--HG--
extra : rebase_source : 4bbe3cc3891cb4b3f820454f0f73acea99b36378
2013-04-15 15:29:51 +01:00
Jon Coppeard
015274be17 Bug 861269 - GC: Continuing the rooting of XPConnect - Convert id_ to idArg style arguments r=bholley
--HG--
extra : rebase_source : a0a88749928f3f622b5626adfc8aa23382d06611
2013-04-15 15:29:37 +01:00
Honza Bambas
bf6ac747cf Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Tom Schuster
6e22249506 Bug 861461 - Resolve this in sandbox.importFunction. r=bholley 2013-04-14 18:45:36 +02:00
Ryan VanderMeulen
f0a9fe5d92 Merge m-c to inbound. 2013-04-13 08:04:05 -04:00
Ms2ger
069d54680d Bug 858212 - Move FileReader to Paris bindings; r=bz 2013-04-13 09:06:31 +02:00
Ms2ger
5dba9c38a0 Bug 826740 - Part g: Remove HTMLCanvasElement quickstubs; r=khuey 2013-04-13 09:05:58 +02:00
Ms2ger
8f5d5c7049 Bug 841488 - Part d: Move HTMLSelectElement to WebIDL bindings, remove CI and QS; r=khuey 2013-04-13 09:01:59 +02:00
Boris Zbarsky
f7e751861b Bug 860591. Install WebIDL quickstubs for event interfaces as needed. r=smaug 2013-04-12 10:51:25 -04:00
Tom Schuster
7ec089ebaf Bug 854614 - Root result and argument JS::Values. r=bz 2013-04-11 13:57:03 +02:00
Ryan VanderMeulen
44378e44ad No bug - Fix typo. 2013-04-12 23:04:51 -04:00
Ryan VanderMeulen
b75fade323 Backed out changeset 8ce65f4eb1ba (bug 820170) for suspicion of causing bug 860903 on a CLOSED TREE. 2013-04-12 13:57:46 -04:00
Boris Zbarsky
cfcc19e96d Back out bug 860591 (rev 8488f69f8f91) because it causes orange, resulting in a CLOSED TREE 2013-04-12 12:50:06 -04:00
Boris Zbarsky
02efa525b8 Bug 860591. Install WebIDL quickstubs for event interfaces as needed. r=smaug 2013-04-12 10:51:25 -04:00
Jon Coppeard
10e35f2d67 Bug 860777 - Part 2 - Root WrapperFactory.cpp r=bholley
--HG--
extra : rebase_source : 83a21d88d01e52ea34326388dab462efdc4252ab
2013-04-12 10:50:43 +01:00
Jon Coppeard
1bcbbb26ea Bug 860777 - Part 1 - Root XPCWrappedJSClass.cpp r=bholley
--HG--
extra : rebase_source : bc2545f609d958549e3df3524dd543330362611c
2013-04-12 10:50:43 +01:00
Jon Coppeard
b935ddbe82 Bug 860311 - GC: More rooting in XPConnect r=bholley
--HG--
extra : rebase_source : 3afba11173f0df957fe34e66b9dd443b5ed01b9a
2013-04-09 16:42:21 +01:00
Reuben Morais
c692778422 Bug 861041 - Fix -Wunused-function error in XPCQuickStubs.h. r=bz
--HG--
extra : rebase_source : d51c372a236b67fdaf91535bc967beb9621c671d
2013-04-11 20:19:54 -07:00
Joshua Cranmer
87a1b0bcfe Bug 856108 - Port static analyses to clang, part 2g: use MOZ_STACK_CLASS in xpconnect. r=bholley 2013-04-11 22:21:46 -05:00
Ryan VanderMeulen
b880048f4e Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00
Jacek Szpot
514f40e52a Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-11 11:50:18 -07:00
Ryan VanderMeulen
d7fb6fcb67 Backed out changeset 2ceca4816688 (bug 854614) for intermittent mochitest-a11y crashes on a CLOSED TREE. 2013-04-11 13:09:58 -04:00
Honza Bambas
e09acd80df Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
Tom Schuster
7cfcb0666f Bug 854614 - Root result and argument JS::Values. r=bz 2013-04-11 13:57:03 +02:00
Gabor Krizsanits
63583713b5 Bug 820170 - Wrapping nodes into documents compartment. r=bholley, r=enn 2013-04-11 11:59:42 +02:00
Gabor Krizsanits
639d557288 Bug 851695 - PreCreate for BackstagePass. r=bholley 2013-04-10 17:35:32 +02:00
Tom Schuster
c754289a80 Bug 856477 - Root XPComponents. r=bholley f=terrence 2013-04-10 20:46:59 +02:00
Jon Coppeard
3bdc3b2633 Bug 858107 - GC: Some more rooting in XPConnect - misc rooting r=bholley 2013-04-03 13:43:04 +01:00
Jon Coppeard
e769c8b808 Bug 858107 - GC: Some more rooting in XPConnect - root XPCCallContext r=bholley
--HG--
rename : dom/mobilemessage/src/fallback/MmsService.h => dom/mobilemessage/src/SmsServicesFactory.h
extra : rebase_source : b8e5887bf6c54f776b238100cd0362ea0ed52980
2013-04-09 12:04:32 +01:00
Tom Schuster
85b90ea094 Bug 854614 - Root XPCLazyCallContext. r=terrence,bholley 2013-04-05 21:59:06 +02:00
Daniel Holbert
945ddf8aa7 Bug 859482: Remove no-longer-used variable 'definedProperty' from xpc_qsDefineQuickStubs. r=bz 2013-04-08 15:06:27 -07:00
Daniel Holbert
2a9656546d Bug 859491: Fix Wreorder build warning for XPCJSRuntime constructor. r=bholley 2013-04-08 15:06:27 -07:00
Bobby Holley
626b8d5531 Bug 856840 - Kill FindWrapper. r=mrbkap 2013-04-08 12:51:24 -07:00
Gabor Krizsanits
191ab881cc Bug 832091 - guards against crashes in resolveDOMCollectionProperty. r=bholley 2013-04-07 10:18:58 +02:00
Olli Pettay
6b3a3f1256 Bug 858973 - Make it possible to build with --disable-webspeech, r=Ms2ger 2013-04-06 23:04:48 +03:00
Ryan VanderMeulen
24a4c17eff Backed out changeset a85d21e394c0 (bug 854503) for bustage. 2013-04-06 14:37:33 -04:00
Jacek Szpot
8ce12e971c Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-04 12:14:32 +02:00
Tom Schuster
f05aa70837 Bug 854614 - Root xpc_qsUnwrapThis. r=terrence,bholley 2013-04-05 21:59:06 +02:00
Ryan VanderMeulen
5b8c7c86fb Backed out changesets 2b47c18653da and b9d17aa000e7 (bug 854614) for Windows bustage on a CLOSED TREE. 2013-04-05 17:14:51 -04:00
Tom Schuster
0e071c70c0 Bug 854614 - Root XPCLazyCallContext. r=terrence,bholley 2013-04-05 21:59:06 +02:00
Tom Schuster
acce8e630a Bug 854614 - Root xpc_qsUnwrapThis. r=terrence,bholley 2013-04-05 21:59:06 +02:00
Bobby Holley
0c00d801cd Bug 858642 - Null-check the XBL scope. r=bz 2013-04-05 12:04:09 -07:00
Jon Coppeard
dc8b60fb14 Bug 858108 - GC: Root the Locale interface r=terrence r=bholley 2013-04-05 10:45:50 +01:00
Eitan Isaacson
d884549b65 Bug 858136 - Rename nsIDOMSpeechSynthesisGetter as nsISpeechSynthesisGetter. r=smaug
--HG--
rename : dom/interfaces/base/nsIDOMSpeechSynthesisGetter.idl => dom/interfaces/base/nsISpeechSynthesisGetter.idl
2013-04-04 15:12:34 -07:00
Nils Maier
447d037468 Bug 857690 - Introduce xpc::ZoneStatsExtras and xpc::CompartmentStatsExtras. r=njn 2013-04-04 11:55:56 -04:00
Ms2ger
2fef74cc6d Merge m-c to m-i. 2013-04-04 14:15:56 +02:00
Ms2ger
906d5c820d Bug 856960 - Remove some quickstubs; r=bz 2013-04-04 09:05:28 +02:00
Ms2ger
ce86e9a39a Bug 853818 - Remove HTMLMediaElement CI/nsIJSNativeInitializer; r=mounir 2013-04-04 09:04:29 +02:00
Ms2ger
e38aa0d743 Bug 852602 - Pass CallArgs to Proxy call() and construct() hooks; r=Waldo 2013-04-04 09:02:24 +02:00
Eitan Isaacson
79a685a6a4 Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug
--HG--
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/moz.build
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/test/moz.build
2013-04-03 15:13:16 -07:00
Bobby Holley
eb199ec0c8 Bug 843829 - Wrap unwaived content JS objects in opaque wrappers for XBL scopes. r=mrbkap 2013-04-03 11:41:23 -07:00
Bobby Holley
c038c610e6 Bug 843829 - Explicitly add a waiver in FieldGetter and FieldSetter. r=mrbkap 2013-04-03 11:41:23 -07:00
Bobby Holley
43eb484613 Bug 843829 - Stop using IsTransparent for XBL field access, and explicitly waive instead. r=mrbkap 2013-04-03 11:41:23 -07:00
Bobby Holley
2d0315508f Bug 843829 - Apply transitive waivers for nativeCall. r=mrbkap 2013-04-03 11:41:23 -07:00
Bobby Holley
1f82d91ffb Bug 845862 - Transitively apply waivers for accessor descriptors. r=mrbkap 2013-04-03 11:41:22 -07:00
Nathan Froyd
0a8a82bada Bug 839103 - part 3 - send StyleSheet{Added,Removed} chrome notifications when stylesheets are added/removed; r=bz 2013-03-27 14:16:50 -04:00
Jan de Mooij
77852de9e9 Merge from mozilla-central. 2013-04-03 10:25:36 +02:00
Ehsan Akhgari
9df6dde4c7 Backed out 6 changesets (bug 843829, bug 845862) because of broken mochitest-5
Backed out changeset 1df3bdadb7ce (bug 843829)
Backed out changeset 64f001fe04fb (bug 843829)
Backed out changeset 57652d8f0827 (bug 843829)
Backed out changeset 2e889cd77a48 (bug 843829)
Backed out changeset 97d16e7beb27 (bug 843829)
Backed out changeset 6c6ab0e54917 (bug 845862)

Landed on a CLOSED TREE
2013-04-02 23:05:48 -04:00
Bobby Holley
b7d2424ff1 Bug 843829 - Wrap unwaived content JS objects in opaque wrappers for XBL scopes. r=mrbkap 2013-04-02 18:51:20 -07:00
Bobby Holley
b8f153dab6 Bug 843829 - Explicitly add a waiver in FieldGetter and FieldSetter. r=mrbkap 2013-04-02 18:51:20 -07:00
Bobby Holley
3beb744c60 Bug 843829 - Stop using IsTransparent for XBL field access, and explicitly waive instead. r=mrbkap 2013-04-02 18:51:20 -07:00
Bobby Holley
3b946c7d96 Bug 843829 - Apply transitive waivers for nativeCall. r=mrbkap 2013-04-02 18:51:20 -07:00
Bobby Holley
1a6a1730f5 Bug 845862 - Transitively apply waivers for accessor descriptors. r=mrbkap 2013-04-02 18:51:19 -07:00
Jan de Mooij
aaa969fc58 Merge from mozilla-inbound. 2013-04-02 19:20:31 +02:00
Jan de Mooij
0adfa075a4 Merge from mozilla-central. 2013-04-01 21:48:56 +02:00
Jan Varga
c60929486c Bug 854323 - Move IDBFactory to Paris bindings. r=khuey 2013-03-31 10:18:30 +02:00
Jan de Mooij
918f8f0f23 Merge from mozilla-inbound. 2013-03-29 15:55:22 +01:00
Jan de Mooij
baace0968a Merge from mozilla-central. 2013-03-28 11:26:32 +01:00
Jan de Mooij
c54687dee3 Merge from mozilla-central.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMorphologyElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMorphologyElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFETurbulenceElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFETurbulenceElement.h
rename : xpcom/stub/dependentlibs.py => toolkit/library/dependentlibs.py
rename : xpcom/stub/nsXPComStub.cpp => xpcom/build/FrozenFunctions.cpp
2013-03-27 19:51:50 +01:00
Jon Coppeard
cc11e96a10 Bug 855668 - GC: Rooting in DictionaryHelpers.cpp r=smaug
--HG--
extra : rebase_source : c4a28ae779a4432e1a20bf77501088fa8e966b73
2013-03-27 17:46:52 +00:00
Jon Coppeard
acfef2ab1e Bug 854955 - GC: Rooting in XrayWrapper.cpp r=bholley
--HG--
extra : rebase_source : fdee7c16f54e1fcbf4ae96e89ffd20eb14ec2d8d
2013-03-27 11:33:30 +00:00
Guilherme Goncalves
c48d442559 Bug 650295 - Implement main state machine for speech recognition. r=smaug 2013-03-27 14:13:57 -07:00
Jan de Mooij
799355e0c1 Merge from mozilla-central. 2013-03-26 20:55:40 +01:00
Jan de Mooij
78245a3e52 Merge from mozilla-central. 2013-03-26 10:57:26 +01:00
Nicholas Nethercote
5088024fa5 Bug 854763 - Add a memory reporter for asm.js array buffers. r=luke.
--HG--
extra : rebase_source : 7710041552c96677344c85849cb6a7409a95edd2
2013-03-25 20:39:28 -07:00
Jan de Mooij
c99782e8ff Merge from mozilla-inbound.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEOffsetElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEOffsetElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpotLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpotLightElement.h
2013-03-25 10:27:13 +01:00
Jan de Mooij
39b2173b9d Merge from mozilla-central. 2013-03-22 10:39:40 +01:00
Jan de Mooij
76d5e1151c Merge from mozilla-central.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEGaussianBlurElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEGaussianBlurElement.h
2013-03-21 11:23:12 +01:00
Bobby Holley
ad352a027b Bug 854480 - Remove SCRIPT_ACCESS_ONLY. r=mrbkap 2013-04-01 15:17:51 -07:00
Bobby Holley
134ea8f647 Bug 854480 - Remove old-style unwrapping infrastructure. r=mrbkap 2013-04-01 15:17:51 -07:00
Bobby Holley
cea58b1ded Bug 854480 - Remove old-style unwrapping from GetNativeOfWrapper. r=mrbkap 2013-04-01 15:17:50 -07:00
Bobby Holley
472b87a74d Bug 854480 - Remove old-style unwrapping from XPCWrappedJSClass. r=mrbkap
I don't claim to really understand why we can end up with a security wrapper
here, but this change should be equivalent.
2013-04-01 15:17:50 -07:00
Bobby Holley
aaaea0d21f Bug 854480 - Remove old-style unwrapping from QuickStubs. r=mrbkap 2013-04-01 15:17:50 -07:00
Phil Ringnalda
fd8c2d8349 Back out 8e59146e161e:29acf1494fed (bug 790732) for failing in exactly the same way it failed on the tryserver
CLOSED TREE
2013-03-26 23:40:45 -07:00
Nicholas Nethercote
f229655d31 Bug 831588 - Don't measure decommitted GC arenas in the "explicit" tree. r=terrence,jlebar.
--HG--
extra : rebase_source : a35d978b8884e25169cca8ffc93f96e532e82320
2013-03-26 15:07:33 -07:00
Bobby Holley
0cd79bb341 Bug 790732 - Components shim tests. r=mrbkap 2013-03-26 22:18:56 -07:00
Bobby Holley
f82a54b6e8 Bug 790732 - Omit Components object for content scopes. r=mrbkap 2013-03-26 22:18:56 -07:00
Bobby Holley
15b3bbb91a Bug 790732 - Make Components console warning test pref-aware. r=mrbkap 2013-03-26 22:18:55 -07:00
Bobby Holley
8382dff7f8 Bug 790732 - Stop attaching Components in InitClasses. r=mrbkap
This method is larely deprecated. The only two consumers are JSD and the setup
for the safe JSContext, neither of which use system principal and thus neither
of which should have |Components|.
2013-03-26 22:18:55 -07:00
Bobby Holley
2c6c57cde8 Bug 790732 - Remove the aTarget parameter from AttachComponentsObject. r=mrbkap
I added this when I thought we'd be defining Components on an object on the XBL
scope chain. At this point, it's not necessary anymore.
2013-03-26 22:18:55 -07:00
Bobby Holley
8d8ebf2720 Bug 854604 - Null-check funobj. r=mrbkap
I've audited all the places where we instantiate an XPCCallContext with more
than just (cx, {NATIVE,JS}_CALLER), and the toString hook is the only place
where we don't check IsValid() or something that depends on it.
2013-03-26 22:08:10 -07:00
Jan de Mooij
a9086aedc6 Merge from mozilla-central.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEColorMatrixElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEColorMatrixElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFECompositeElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFECompositeElement.h
2013-03-20 12:54:47 +01:00
Nathan Froyd
fac24ec822 Bug 855302 - don't use PR_FALSE in dictionary_helper_gen.py; r=smaug 2013-03-27 11:00:44 -04:00
Jan de Mooij
18dfd23998 Merge from mozilla-inbound. 2013-03-19 10:31:21 +01:00
Bobby Holley
2d898008d8 Bug 851987 - QI to nsPIDOMWindow instead of nsIDOMWindow in XPCWrappedJS. r=bz 2013-03-18 14:30:23 -07:00
Jan de Mooij
6317f934e9 Merge from mozilla-central.
--HG--
rename : content/svg/content/src/SVGFEPointLightElement.cpp => content/svg/content/src/SVGFEComponentTransferElement.cpp
rename : content/svg/content/src/SVGFEPointLightElement.cpp => content/svg/content/src/SVGFEComponentTransferElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDistantLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDistantLightElement.h
2013-03-18 16:53:57 +01:00
Bobby Holley
55fed95d17 Bug 855922 - Check XBL scopes per-compartment in the SOW isSafeToUnwrap hook. r=bz 2013-03-28 18:38:07 -07:00
Bobby Holley
964d540d50 Bug 848538 - Push a cx before calling into ctypes callbacks. r=jorendorff 2013-03-18 11:04:07 -07:00
Ms2ger
2ef57946b1 Merge m-c to m-i. 2013-03-17 13:22:37 +01:00
Ms2ger
0fcece12d8 Backout bug 658909 for Marionette bustage. 2013-03-17 10:44:33 +01:00
Ms2ger
7bcafadd47 Bug 824986 - Move DOMRequest and subclasses to Paris bindings; r=khuey 2013-03-17 09:51:36 +01:00
Ms2ger
ded9d214d0 Bug 850817 - Move ClientRect to Paris bindings; r=bz
--HG--
rename : dom/interfaces/base/nsIDOMClientRect.idl => dom/webidl/ClientRect.webidl
2013-03-17 08:55:17 +01:00
Ms2ger
a2173990cc Bug 845374 - Part l: Stop including nsIDocument.h in nsContentUtils.h and fix two nits; r=khuey 2013-03-17 08:55:15 +01:00
Bobby Holley
b3729e720f Bug 658909 - Tests. r=mrbkap 2013-03-16 22:58:17 -07:00
Bobby Holley
7fbc4f2469 Bug 658909 - Port tearoff-handling guts of GWNOJO to XPCCallContext and remove GWNOJO. r=mrbkap 2013-03-16 22:58:17 -07:00
Bobby Holley
55e5322189 Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
2261f1ce91 Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
2491e8030a Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
621e6b8496 Bug 658909 - Remove GWNOJO from XPCVariant. r=mrbkap
The old code seems to be deciding whether we have a double-wrapped object by
checking _either_ the rv of GWNOJO _or_ the potential slim wrapper. This is
nonsensical, because double-wrapped objects are never slim wrappers.
Furthermore, that variable here is named 'proto', which further suggests
that this code is nonsensical. So let's just check for WNs.

Also, it seems pretty wack to be innerizing here before storing the jsval,
but I'm going to leave that for now.
2013-03-16 22:58:16 -07:00
Bobby Holley
9066876a33 Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
9c4d015129 Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
0d540a32dd Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
8a60c09a1f Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
5fbd59201c Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
ffb73d345d Bug 658909 - Add a new, much simpler API for getting WNs from JS objects. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
8160c96d4e Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
5b8d755b22 Bug 658909 - Add a hack to support calling nohelper XPCWN methods without the proper |this|. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
b458ef37b2 Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
721351e660 Bug 658909 - Set args at XPCCallContext construct time in XPC_WN_GetterSetter. r=mrbkap
It's not clear to me why it's done this way, but it confuses our ability to
determine during wrapper lookup whether we're doing a set or a get. This aligns
the behavior with XPC_WN_CallMethod, including passing JSID_VOID for the name
(which is safe because XPCCallContext explicitly special-cases JSID_VOID and
doesn't call SetName in that case).
2013-03-16 22:58:13 -07:00
Bobby Holley
e04912b20e Bug 658909 - Initialize the same fields in both XPCCallContext constructors. r=mrbkap
This is a huge footgun. XPCCallContext is hot, but it's not too hot to be safe
here. Garbage XPCWN and JSObject pointers are bad.
2013-03-16 22:58:13 -07:00
Bobby Holley
a22cc9ffed Bug 658909 - Remove unnecessary ccx param. r=mrbkap 2013-03-16 22:58:13 -07:00
Bobby Holley
11ee47784a Bug 658909 - Make isSafeToUnwrap pseudo-dynamic for SOWs. r=mrbkap
This can go away as soon as XBL scopes are no longer behind a pref.
2013-03-16 22:58:13 -07:00
Bobby Holley
b3038807d1 Bug 658909 - Force |this| computation in SandboxCallableProxyHandler::call when using Xrays. r=bz
Comment says it all.
2013-03-16 22:58:12 -07:00
Bill McCloskey
a3cea08b3a Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Benoit Girard
fc10a7cfe4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Jan de Mooij
ce7520efef Merge from mozilla-inbound.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEPointLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEPointLightElement.h
2013-03-14 10:50:28 +01:00
Jan de Mooij
feab4ed7e8 Merge from mozilla-central. 2013-03-13 11:38:41 +01:00
Jan de Mooij
c164527574 Merge from mozilla-central.
--HG--
rename : content/html/content/src/nsMediaFragmentURIParser.cpp => netwerk/base/src/nsMediaFragmentURIParser.cpp
rename : content/html/content/src/nsMediaFragmentURIParser.h => netwerk/base/src/nsMediaFragmentURIParser.h
2013-03-12 10:09:17 +01:00