Andrew McCreight
1d6e61e2f0
Bug 965920, part 3 - Smart pointerize newVariant. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
8631f11807
Bug 965920, part 2 - Smart pointerize gSharedScriptableHelperForJSIID. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
9996680e03
Bug 965920, part 1 - Smart pointerize getters in XPConnect. r=bholley
2014-02-04 19:29:57 -08:00
Bobby Holley
2e734e191d
Bug 959013 - Create storage for declarative class bootstrapping information on js::Class. r=luke
2014-02-04 07:51:54 -08:00
Jon Coppeard
cd6056507e
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Carsten "Tomcat" Book
3ff2c54041
Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE
2014-01-31 12:11:23 +01:00
Jon Coppeard
4d31f15db2
Bug 965904 - Fix some rooting hazards in the browser r=terrence
2014-01-31 09:56:40 +00:00
Jon Coppeard
b65a90b42b
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Chris Peterson
cf2bfd13b3
Bug 965693 - Remove annoying "Printing XUL documents is not supported" error dialog. r=roc
2014-01-29 20:40:34 -08:00
Eric Faust
3d2ff44197
Bug 924720 - Followup: Add better comments to window convert stub change.(r=bholley over IRC)
...
DONTBUILD because comment-only.
2014-01-30 12:36:37 -08:00
Andrew McCreight
a692fa79af
Bug 963192, part 4 - Smart pointerize nsXPConnect::mDefaultSecurityManager. r=bholley
2014-01-30 11:20:42 -08:00
Andrew McCreight
1b17cf647c
Bug 963192, part 3 - Smart pointerize XPCContext::mException. r=bholley
2014-01-30 11:20:42 -08:00
Andrew McCreight
7e5a396274
Bug 963192, part 2 - Smart pointerize IID2ThisTranslatorMap. r=bholley
2014-01-30 11:20:42 -08:00
Andrew McCreight
35b27a81d3
Bug 963192, part 1 - Smart pointerize XPCWrappedJSClass::mInfo. r=bholley
2014-01-30 11:20:41 -08:00
Bobby Holley
23bfb75afe
Bug 872273 - Remove non-cx variant of ErrorFromException, and make it take a HandleObject. r=Waldo
...
We're going to need to start doing more work in js_ErrorFromException, which
will require a |cx| and may GC.
2014-01-30 09:30:29 -08:00
Bobby Holley
c65c23ddf9
Bug 959012 - Clean up and separate the semantics of js_{Get,Find}Class{Prototype,Object}. r=jorendorff
2014-01-30 07:45:16 -08:00
Bobby Holley
d3fddee6a0
Bug 959012 - Remove unused cx parameter from JS_IdentifyClassPrototype. r=jorendorff
2014-01-30 07:45:16 -08:00
Andrea Marchesini
86ea0191fb
Bug 964293 - Implement Cu.cloneInto() method, r=bholley
2014-01-30 04:45:48 -08:00
Boris Zbarsky
fffb30ddd3
Bug 965144. Make the Window-specific bits of XrayWrapper work with WebIDL windows. r=bholley
2014-01-29 22:34:25 -08:00
Boris Zbarsky
30b2700eab
Bug 963895. Add threadsafe versions of AutoJSContext/AutoSafeJSContext. r=bholley
2014-01-29 22:33:03 -08:00
Eric Faust
bb4653d814
Bug 924720 - Part 5: Allow callers of NewProxyObject() to specify a Proxy JSClass. (r=jwalden)
2014-01-29 17:20:16 -08:00
Eric Faust
33263c0776
Bug 924720 - Part 2: Make OuterWindowProxy use the proxy HasInstance and Convert stubs. (r=bholley)
2014-01-29 17:20:15 -08:00
Bobby Holley
b1b797c867
Bug 965082 - Tests. r=mrbkap,r=gabor
2014-01-29 13:07:13 -08:00
Bobby Holley
8e3433fd5d
Bug 965082 - Only run the {get,set}PrototypeOf override for non-SecurityWrappers. r=mrbkap,r=gabor
2014-01-29 13:07:13 -08:00
Bobby Holley
6932dd8917
Bug 965082 - Unify duplicate bits of state of proxies. r=mrbkap,r=gabor
...
Conceptually, these all boil down to "is this a security wrapper?"
2014-01-29 13:07:13 -08:00
Ed Morley
dd1432c15c
Merge mozilla-central and inbound
2014-01-29 10:39:41 +00:00
Jon Coppeard
73e01da607
Bug 959787 - Handlify some JS friend APIs r=sfink
2014-01-29 10:01:33 +00:00
Jon Coppeard
b5a2f0569c
Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug
2014-01-29 10:00:40 +00:00
Henry Chang
7c4cd52214
Bug 811635 - Part 2: Implementation of WebIDLs/IDLs for WifiP2pManager and WifiP2pStatusChangeEvent. r=vchang
2014-01-27 15:48:10 +08:00
Chris Peterson
28f3584391
Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke
2014-01-24 20:14:56 -08:00
Andrew McCreight
0df713733d
Bug 963665 - Make nsIXPConnect noscript. r=bholley
2014-01-27 07:16:38 -08:00
Peiyong Lin
07cf02302b
Bug 961041 - Replace infallible allocation in DOMStorage::BroadcastChangeNotification with fallible allocation. r=smaug
2014-01-27 08:25:19 -05:00
Andrew McCreight
3ca5e94a9f
Bug 963312 - Get JS engine telemetry values from Components.utils, not nsIXPConnect. r=bholley,taras
2014-01-26 07:57:00 -08:00
Zack Weinberg
098b7dc5c7
Bug 933885 part 1: make xpcshell dump() and print() handle non-ASCII characters correctly. r=bz
2014-01-25 23:27:11 -05:00
Jon Coppeard
7d118df1ce
Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz
2014-01-25 09:31:17 +00:00
Jon Coppeard
57edf84676
Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz
2014-01-25 09:29:12 +00:00
Boris Zbarsky
ef6c1819b3
Bug 962605 part 2. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Bobby Holley
3b985cf9d7
Bug 957688 - Remove nsIXPCSecurityManager::CanAccess and nsScriptSecurityManager::CheckPropertyAccessImpl. r=mrbkap
...
\o/
2014-01-24 16:08:26 -08:00
Bobby Holley
03fb99d54e
Bug 957688 - Kill off checkAccess. r=mrbkap
2014-01-24 16:08:26 -08:00
Bobby Holley
f99748dd9f
Bug 957688 - Remove checkAccess nsIXPCScriptable hook. r=mrbkap
2014-01-24 16:08:25 -08:00
Terrence Cole
4a61834330
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 7; r=sfink
2014-01-21 17:03:20 -08:00
Terrence Cole
f62e0d6505
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 6; r=jonco
2014-01-17 10:10:17 -08:00
Jon Coppeard
e04fe7ce7c
Bug 959787 - Handlify JS_Lookup* APIs r=sfink r=bz
2014-01-24 14:03:56 +00:00
Nicholas Nethercote
dd904d4ef9
Bug 961883 (part 3) - Measure and report the Nursery. r=terrence.
...
--HG--
extra : rebase_source : 6f12d47ca8cedc96b0dd0477ca4f71de08e47181
2014-01-21 17:17:08 -08:00
Nicholas Nethercote
286bcca0cc
Bug 961883 (part 2) - Measure and report the StoreBuffer. r=terrence.
...
--HG--
extra : rebase_source : f298f0373b7fee99eee7a62060f882d628f97eb2
2014-01-21 17:17:02 -08:00
Nicholas Nethercote
674e5b03a5
Bug 961883 (part 1) - Measure and report the SourceDataCache. r=benjamin.
...
--HG--
extra : rebase_source : b599e19fb681e972b1f6e184c44f5a726a61009f
2014-01-20 19:52:57 -08:00
Ryan VanderMeulen
9b696217ac
Backed out changeset 26984019ff59 (bug 962605) for suspicion of causing OSX 10.8 debug mochitest-other crashes.
...
CLOSED TREE
2014-01-23 12:45:43 -05:00
Boris Zbarsky
eb3ea30e19
Bug 962605. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Wes Kocher
1df0d11b3e
Backed out changeset c75f13d4f160 (bug 962605)
2014-01-22 16:16:07 -08:00
Boris Zbarsky
3f2c45354d
Bug 962605. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Tom Schuster
4fe0ac9e85
Bug 958119 - Some cleanup for XPConnect. r=gabor
2014-01-22 18:50:32 +01:00
Carsten "Tomcat" Book
9067c9a2da
Merge mozilla-central to mozilla-inbound
2014-01-22 14:37:23 +01:00
Carsten "Tomcat" Book
4fc7f2f24a
merge b2g-inbound to mozilla-central
2014-01-22 13:59:54 +01:00
Gina Yeh
5f54a70b3a
Bug 952907 - Patch 1: Use WebIDL codegen to implement Bluetooth events, r=smaug
2014-01-22 14:26:29 +08:00
Nathan Froyd
480bc7e4bc
Bug 962241 - don't spam error messages about ContractIDToCID failing; r=bholley
2014-01-21 16:14:22 -05:00
Jon Coppeard
e58c03168c
Bug 959787 - Handlify has property APIs r=terrence r=bz
2014-01-22 11:28:06 +00:00
Andrew McCreight
f94fdcd656
Bug 961551, part 9 - Split scope of |wrapper|, plus other cleanup. r=bholley
2014-01-21 17:56:16 -08:00
Andrew McCreight
0fe088b81d
Bug 961551, part 8 - Use the code at the end of XPCWJS::GetNewOrUsed to build a new root wrapper. r=bholley
...
The code at the end of nsXPCWrappedJS::GetNewOrUsed will now correctly
construct a root wrapper when |root == nullptr|, so we can consolidate
the two places that construct |wrapper|.
2014-01-21 17:56:16 -08:00
Andrew McCreight
a065e0f69c
Bug 961551, part 7 - Smart pointerize rootClasp. r=bholley
...
Also, move the declaration of |clasp| down to where it is used.
2014-01-21 17:56:16 -08:00
Andrew McCreight
d7fc298807
Bug 961551, part 6 - Smart pointerize wrapper. r=bholley
2014-01-21 17:56:15 -08:00
Andrew McCreight
e616bf8d69
Bug 961551, part 5 - Smart pointerize root. r=bholley
2014-01-21 17:56:15 -08:00
Andrew McCreight
5f32fbd5bb
Bug 961551, part 4 - Remove release_root from XPCWJS::GetNewOrUsed. r=bholley
...
GetNewOrUsed now always releases |root| when |root| is non-null, so
release_root can be eliminated.
2014-01-21 17:56:15 -08:00
Andrew McCreight
6648abe1d6
Bug 961551, part 3 - Hold a strong ref to the root that is the result of Find in XPCWJS::GNOU. r=bholley
...
This is trickier than it looks, because this change causes additional
refcount traffic on |root| in the case where FindOrFindInherited
succeeds. This is potentially bad because if a WJS has a refcount of 1,
and no weak references to it, then if it goes to a refcount of 2 then
back to 1 it will be deleted. A WJS can get in this state if it
is a root with a refcount of 2, and has a weak reference, then
its refcount drops to 1, then later the weak reference goes away.
However, in this case, there can be no other WJS in the chain,
or the refcount would be greater than 1, so FindOrFindInherited
must end up returning |root|, so |wrapper == root|, and the
assignment to |wrapper| will make root go to a refcount of 3,
so the release of |root| on exit will only cause the refcount to
go to 2, so |root| won't be deleted.
2014-01-21 17:56:15 -08:00
Andrew McCreight
1042fc8b9b
Bug 961551, part 2 - Move addref out of XPCWrappedJS ctor. r=bholley
...
This paves the way for smart pointerization.
2014-01-21 17:56:15 -08:00
Andrew McCreight
dd44ea589f
Bug 961551, part 1 - Add root wrappers to the map in XPCWrappedJS ctor. r=bholley
2014-01-21 17:56:15 -08:00
Bobby Holley
f6e4a6123b
Bug 958324 - Remove SOW-transplant-related fixup. r=peterv
...
This became obsolete with bug 922009.
2014-01-21 08:26:41 -08:00
Bobby Holley
50f9d2007f
Bug 958324 - Remove same-compartment security wrappers for WNs. r=peterv,r=mrbkap
...
We've fixed Components, and SOWs are new-binding only. Youpie!
2014-01-21 08:26:40 -08:00
Bobby Holley
e5620c7a5e
Bug 961054 - Don't invoke SetLastResult until the completion of an XPCWN method call. r=mrbkap
2014-01-21 08:25:29 -08:00
Jon Coppeard
2bbbec43e9
Bug 961095 - Improve generic callbacks with better typing, and by only adding storebuffer entries when the key is in the nursery r=terrence
2014-01-21 10:44:39 +00:00
Andrea Marchesini
c06ff4f6c3
Bug 958816 - UUIDs updated to make strings in nsIStackFrame API sane CLOSED TREE
2014-01-20 18:47:35 +01:00
Andrea Marchesini
982b9946ab
Bug 958816 - Make strings in nsIStackFrame API sane, r=bz
2014-01-20 17:51:41 +01:00
Ms2ger
6123115217
Bug 956553 - Remove js::IdToJsval in favour of js::IdToValue; r=luke
2014-01-20 08:58:27 +01:00
Ms2ger
cac07e2f81
Bug 937952 - Replace JS_ROTATE_LEFT32 with mozilla::RotateLeft; r=Waldo
2014-01-20 08:58:26 +01:00
Ms2ger
b10214ac53
Bug 953425 - Part b: Move DOMFileMetadataParameters to WebIDL; r=janv
2014-01-20 08:58:24 +01:00
Terrence Cole
20431f8abe
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
...
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Ryan VanderMeulen
530a6b72eb
Backed out changeset 965cf4cbedc8 (bug 958816) for mochitest crashes.
...
CLOSED TREE
2014-01-17 10:20:05 -05:00
Andrea Marchesini
2cdda17e77
Bug 958816 - Make strings in nsIStackFrame API sane, r=bz
2014-01-17 15:24:03 +01:00
Andrew McCreight
bd108c6676
Bug 960715, part 2 - Remove nsXPConnect::FindMainThread(). r=bholley
2014-01-17 05:57:35 -08:00
Andrew McCreight
72f32deed1
Bug 960715, part 1 - Remove XPCWrappedNativeProto::ClassIsMainThreadOnly. r=bholley
2014-01-17 05:57:34 -08:00
Andrew McCreight
7f99b57883
Bug 959485, part 5 - Remove success from nsJSCID::NewID. r=gabor
2014-01-17 05:57:34 -08:00
Bobby Holley
3666b3a25a
Bug 794943 - Followup bustage fix. r=me CLOSED TREE
2014-01-16 16:11:25 -08:00
Bobby Holley
fbe7c83197
Bug 794943 - Make window.controllers [ChromeOnly], and remove nsISecurityCheckedComponent from nsXULControllers. r=bz
2014-01-16 15:45:40 -08:00
Bobby Holley
dcfb0e530e
Bug 794943 - Remove custom support for nsISecurityCheckedComponent in nsXPCWrappedJS. r=mrbkap
2014-01-16 15:45:39 -08:00
Bobby Holley
cbd56d3257
Bug 794943 - Remove nsISecurityCheckedComponent IID push from Components.interfaces{,ById}. r=mrbkap
...
This should have been in bug 951948 bug I missed it.
2014-01-16 15:45:39 -08:00
Terrence Cole
3e141bbf5e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
...
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Terrence Cole
f6bee6364e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 2; r=sfink
...
--HG--
extra : rebase_source : e36c89af9c362e781d9ca9aceee42779258328b5
2014-01-14 17:19:07 -08:00
Andrew McCreight
30e936a9af
Back out a669a3d25d38 for breaking everything on this CLOSED TREE
2014-01-16 10:07:17 -08:00
Andrew McCreight
5ba4048bd4
Bug 959484 - de-THREADSAFE XPConnect. r=bholley
2014-01-16 08:49:26 -08:00
Andrew McCreight
e0af35a9a7
Bug 959485, part 5 - Remove success from nsJSCID::NewID. r=gabor
2014-01-16 08:49:26 -08:00
Andrew McCreight
11854a344e
Bug 959485, part 4 - Cleanup nsJSCID::NewID. r=gabor
2014-01-16 08:49:26 -08:00
Andrew McCreight
d838f188d4
Bug 959485, part 3 - Cleanup nsJSIID::NewID. r=gabor
2014-01-16 08:49:26 -08:00
Andrew McCreight
b2ddc3d078
Bug 959485, part 2 - Cleanup nsJSID::NewID. r=gabor
...
note that nsJSID::NewID(const char* str) isn't used
2014-01-16 08:49:25 -08:00
Andrew McCreight
5bc6d8c6a0
Bug 959485, part 1 - Remove null checks of the result of new nsJS*ID. r=gabor
2014-01-16 08:49:25 -08:00
Andrew McCreight
3af23dc67b
Bug 959413, part 4 - Get rid of a pointless null check in nsXPCComponents_Constructor. r=bholley
2014-01-16 08:49:25 -08:00
Andrew McCreight
2279c0f9a2
Bug 959413, part 3 - Smart pointerize nsXPCConstructor. r=bholley
2014-01-16 08:49:25 -08:00
Andrew McCreight
79e7734a48
Bug 959413, part 2 - Smart pointerize nsXPCComponents. r=bholley
2014-01-16 08:49:25 -08:00
Andrew McCreight
0678a568fe
Bug 959413, part 1 - Remove null checks of new return values in XPC_IMPL_GET_OBJ_METHOD. r=bholley
2014-01-16 08:49:24 -08:00
Tom Schuster
5e3191afd2
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Robert O'Callahan
eacbf18e37
Bug 946065. Part 5: Move content/events to dom/ and flatten away 'src' directory. r=Ms2ger
...
--HG--
rename : content/events/src/DOMWheelEvent.cpp => dom/events/DOMWheelEvent.cpp
rename : content/events/src/DOMWheelEvent.h => dom/events/DOMWheelEvent.h
rename : content/events/src/EventTarget.cpp => dom/events/EventTarget.cpp
rename : content/events/public/EventTarget.h => dom/events/EventTarget.h
rename : content/events/public/MutationEvent.h => dom/events/MutationEvent.h
rename : content/events/src/PointerEvent.cpp => dom/events/PointerEvent.cpp
rename : content/events/src/PointerEvent.h => dom/events/PointerEvent.h
rename : content/events/src/SpeechRecognitionError.cpp => dom/events/SpeechRecognitionError.cpp
rename : content/events/src/SpeechRecognitionError.h => dom/events/SpeechRecognitionError.h
rename : content/events/src/TextComposition.cpp => dom/events/TextComposition.cpp
rename : content/events/src/TextComposition.h => dom/events/TextComposition.h
rename : content/events/src/Touch.cpp => dom/events/Touch.cpp
rename : content/events/src/Touch.h => dom/events/Touch.h
rename : content/events/crashtests/104310-1.html => dom/events/crashtests/104310-1.html
rename : content/events/crashtests/116206-1.html => dom/events/crashtests/116206-1.html
rename : content/events/crashtests/135345-1.html => dom/events/crashtests/135345-1.html
rename : content/events/crashtests/422009-1.xhtml => dom/events/crashtests/422009-1.xhtml
rename : content/events/crashtests/457776-1.html => dom/events/crashtests/457776-1.html
rename : content/events/crashtests/496308-1.html => dom/events/crashtests/496308-1.html
rename : content/events/crashtests/682637-1.html => dom/events/crashtests/682637-1.html
rename : content/events/crashtests/crashtests.list => dom/events/crashtests/crashtests.list
rename : content/events/crashtests/eventctor-nulldictionary.html => dom/events/crashtests/eventctor-nulldictionary.html
rename : content/events/crashtests/eventctor-nullstorage.html => dom/events/crashtests/eventctor-nullstorage.html
rename : content/events/crashtests/recursive-DOMNodeInserted.html => dom/events/crashtests/recursive-DOMNodeInserted.html
rename : content/events/crashtests/recursive-onload.html => dom/events/crashtests/recursive-onload.html
rename : content/events/src/moz.build => dom/events/moz.build
rename : content/events/src/nsAsyncDOMEvent.cpp => dom/events/nsAsyncDOMEvent.cpp
rename : content/events/public/nsAsyncDOMEvent.h => dom/events/nsAsyncDOMEvent.h
rename : content/events/src/nsContentEventHandler.cpp => dom/events/nsContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => dom/events/nsContentEventHandler.h
rename : content/events/src/nsDOMAnimationEvent.cpp => dom/events/nsDOMAnimationEvent.cpp
rename : content/events/src/nsDOMAnimationEvent.h => dom/events/nsDOMAnimationEvent.h
rename : content/events/src/nsDOMBeforeUnloadEvent.cpp => dom/events/nsDOMBeforeUnloadEvent.cpp
rename : content/events/src/nsDOMBeforeUnloadEvent.h => dom/events/nsDOMBeforeUnloadEvent.h
rename : content/events/src/nsDOMClipboardEvent.cpp => dom/events/nsDOMClipboardEvent.cpp
rename : content/events/src/nsDOMClipboardEvent.h => dom/events/nsDOMClipboardEvent.h
rename : content/events/src/nsDOMCommandEvent.cpp => dom/events/nsDOMCommandEvent.cpp
rename : content/events/src/nsDOMCommandEvent.h => dom/events/nsDOMCommandEvent.h
rename : content/events/src/nsDOMCompositionEvent.cpp => dom/events/nsDOMCompositionEvent.cpp
rename : content/events/src/nsDOMCompositionEvent.h => dom/events/nsDOMCompositionEvent.h
rename : content/events/src/nsDOMDataContainerEvent.cpp => dom/events/nsDOMDataContainerEvent.cpp
rename : content/events/src/nsDOMDataContainerEvent.h => dom/events/nsDOMDataContainerEvent.h
rename : content/events/src/nsDOMDataTransfer.cpp => dom/events/nsDOMDataTransfer.cpp
rename : content/events/src/nsDOMDataTransfer.h => dom/events/nsDOMDataTransfer.h
rename : content/events/src/nsDOMDeviceMotionEvent.cpp => dom/events/nsDOMDeviceMotionEvent.cpp
rename : content/events/src/nsDOMDeviceMotionEvent.h => dom/events/nsDOMDeviceMotionEvent.h
rename : content/events/src/nsDOMDragEvent.cpp => dom/events/nsDOMDragEvent.cpp
rename : content/events/src/nsDOMDragEvent.h => dom/events/nsDOMDragEvent.h
rename : content/events/src/nsDOMEvent.cpp => dom/events/nsDOMEvent.cpp
rename : content/events/src/nsDOMEvent.h => dom/events/nsDOMEvent.h
rename : content/events/src/nsDOMEventTargetHelper.cpp => dom/events/nsDOMEventTargetHelper.cpp
rename : content/events/src/nsDOMEventTargetHelper.h => dom/events/nsDOMEventTargetHelper.h
rename : content/events/src/nsDOMFocusEvent.cpp => dom/events/nsDOMFocusEvent.cpp
rename : content/events/src/nsDOMFocusEvent.h => dom/events/nsDOMFocusEvent.h
rename : content/events/public/nsDOMKeyNameList.h => dom/events/nsDOMKeyNameList.h
rename : content/events/src/nsDOMKeyboardEvent.cpp => dom/events/nsDOMKeyboardEvent.cpp
rename : content/events/src/nsDOMKeyboardEvent.h => dom/events/nsDOMKeyboardEvent.h
rename : content/events/src/nsDOMMessageEvent.cpp => dom/events/nsDOMMessageEvent.cpp
rename : content/events/src/nsDOMMessageEvent.h => dom/events/nsDOMMessageEvent.h
rename : content/events/src/nsDOMMouseEvent.cpp => dom/events/nsDOMMouseEvent.cpp
rename : content/events/src/nsDOMMouseEvent.h => dom/events/nsDOMMouseEvent.h
rename : content/events/src/nsDOMMouseScrollEvent.cpp => dom/events/nsDOMMouseScrollEvent.cpp
rename : content/events/src/nsDOMMouseScrollEvent.h => dom/events/nsDOMMouseScrollEvent.h
rename : content/events/src/nsDOMMutationEvent.cpp => dom/events/nsDOMMutationEvent.cpp
rename : content/events/src/nsDOMMutationEvent.h => dom/events/nsDOMMutationEvent.h
rename : content/events/src/nsDOMNotifyAudioAvailableEvent.cpp => dom/events/nsDOMNotifyAudioAvailableEvent.cpp
rename : content/events/src/nsDOMNotifyAudioAvailableEvent.h => dom/events/nsDOMNotifyAudioAvailableEvent.h
rename : content/events/src/nsDOMNotifyPaintEvent.cpp => dom/events/nsDOMNotifyPaintEvent.cpp
rename : content/events/src/nsDOMNotifyPaintEvent.h => dom/events/nsDOMNotifyPaintEvent.h
rename : content/events/src/nsDOMScrollAreaEvent.cpp => dom/events/nsDOMScrollAreaEvent.cpp
rename : content/events/src/nsDOMScrollAreaEvent.h => dom/events/nsDOMScrollAreaEvent.h
rename : content/events/src/nsDOMSimpleGestureEvent.cpp => dom/events/nsDOMSimpleGestureEvent.cpp
rename : content/events/src/nsDOMSimpleGestureEvent.h => dom/events/nsDOMSimpleGestureEvent.h
rename : content/events/src/nsDOMTextEvent.cpp => dom/events/nsDOMTextEvent.cpp
rename : content/events/src/nsDOMTextEvent.h => dom/events/nsDOMTextEvent.h
rename : content/events/src/nsDOMTouchEvent.cpp => dom/events/nsDOMTouchEvent.cpp
rename : content/events/src/nsDOMTouchEvent.h => dom/events/nsDOMTouchEvent.h
rename : content/events/src/nsDOMTransitionEvent.cpp => dom/events/nsDOMTransitionEvent.cpp
rename : content/events/src/nsDOMTransitionEvent.h => dom/events/nsDOMTransitionEvent.h
rename : content/events/src/nsDOMUIEvent.cpp => dom/events/nsDOMUIEvent.cpp
rename : content/events/src/nsDOMUIEvent.h => dom/events/nsDOMUIEvent.h
rename : content/events/src/nsDOMXULCommandEvent.cpp => dom/events/nsDOMXULCommandEvent.cpp
rename : content/events/src/nsDOMXULCommandEvent.h => dom/events/nsDOMXULCommandEvent.h
rename : content/events/src/nsEventDispatcher.cpp => dom/events/nsEventDispatcher.cpp
rename : content/events/public/nsEventDispatcher.h => dom/events/nsEventDispatcher.h
rename : content/events/src/nsEventListenerManager.cpp => dom/events/nsEventListenerManager.cpp
rename : content/events/src/nsEventListenerManager.h => dom/events/nsEventListenerManager.h
rename : content/events/src/nsEventListenerService.cpp => dom/events/nsEventListenerService.cpp
rename : content/events/src/nsEventListenerService.h => dom/events/nsEventListenerService.h
rename : content/events/public/nsEventNameList.h => dom/events/nsEventNameList.h
rename : content/events/src/nsEventStateManager.cpp => dom/events/nsEventStateManager.cpp
rename : content/events/src/nsEventStateManager.h => dom/events/nsEventStateManager.h
rename : content/events/public/nsEventStates.h => dom/events/nsEventStates.h
rename : content/events/public/nsIEventListenerService.idl => dom/events/nsIEventListenerService.idl
rename : dom/base/nsIJSEventListener.h => dom/events/nsIJSEventListener.h
rename : content/events/src/nsIMEStateManager.cpp => dom/events/nsIMEStateManager.cpp
rename : content/events/src/nsIMEStateManager.h => dom/events/nsIMEStateManager.h
rename : content/events/public/nsIPrivateTextEvent.h => dom/events/nsIPrivateTextEvent.h
rename : content/events/public/nsIPrivateTextRange.h => dom/events/nsIPrivateTextRange.h
rename : dom/src/events/nsJSEventListener.cpp => dom/events/nsJSEventListener.cpp
rename : dom/src/events/nsJSEventListener.h => dom/events/nsJSEventListener.h
rename : content/events/src/nsPaintRequest.cpp => dom/events/nsPaintRequest.cpp
rename : content/events/src/nsPaintRequest.h => dom/events/nsPaintRequest.h
rename : content/events/src/nsPrivateTextRange.cpp => dom/events/nsPrivateTextRange.cpp
rename : content/events/src/nsPrivateTextRange.h => dom/events/nsPrivateTextRange.h
rename : content/events/public/nsVKList.h => dom/events/nsVKList.h
rename : content/events/test/bug226361_iframe.xhtml => dom/events/test/bug226361_iframe.xhtml
rename : content/events/test/bug299673.js => dom/events/test/bug299673.js
rename : content/events/test/bug322588-popup.html => dom/events/test/bug322588-popup.html
rename : content/events/test/bug415498-doc1.html => dom/events/test/bug415498-doc1.html
rename : content/events/test/bug415498-doc2.html => dom/events/test/bug415498-doc2.html
rename : content/events/test/bug426082.html => dom/events/test/bug426082.html
rename : content/events/test/bug457672.html => dom/events/test/bug457672.html
rename : content/events/test/bug591249_iframe.xul => dom/events/test/bug591249_iframe.xul
rename : content/events/test/bug602962.xul => dom/events/test/bug602962.xul
rename : content/events/test/bug656379-1.html => dom/events/test/bug656379-1.html
rename : content/events/test/chrome.ini => dom/events/test/chrome.ini
rename : content/events/test/empty.js => dom/events/test/empty.js
rename : content/events/test/file_bug679494.html => dom/events/test/file_bug679494.html
rename : content/events/test/mochitest.ini => dom/events/test/mochitest.ini
rename : content/events/test/test_addEventListenerExtraArg.html => dom/events/test/test_addEventListenerExtraArg.html
rename : content/events/test/test_all_synthetic_events.html => dom/events/test/test_all_synthetic_events.html
rename : content/events/test/test_bug226361.xhtml => dom/events/test/test_bug226361.xhtml
rename : content/events/test/test_bug238987.html => dom/events/test/test_bug238987.html
rename : content/events/test/test_bug288392.html => dom/events/test/test_bug288392.html
rename : content/events/test/test_bug299673-1.html => dom/events/test/test_bug299673-1.html
rename : content/events/test/test_bug299673-2.html => dom/events/test/test_bug299673-2.html
rename : content/events/test/test_bug322588.html => dom/events/test/test_bug322588.html
rename : content/events/test/test_bug328885.html => dom/events/test/test_bug328885.html
rename : content/events/test/test_bug336682.js => dom/events/test/test_bug336682.js
rename : content/events/test/test_bug336682_1.html => dom/events/test/test_bug336682_1.html
rename : content/events/test/test_bug336682_2.xul => dom/events/test/test_bug336682_2.xul
rename : content/events/test/test_bug367781.html => dom/events/test/test_bug367781.html
rename : content/events/test/test_bug368835.html => dom/events/test/test_bug368835.html
rename : content/events/test/test_bug379120.html => dom/events/test/test_bug379120.html
rename : content/events/test/test_bug391568.xhtml => dom/events/test/test_bug391568.xhtml
rename : content/events/test/test_bug402089.html => dom/events/test/test_bug402089.html
rename : content/events/test/test_bug405632.html => dom/events/test/test_bug405632.html
rename : content/events/test/test_bug409604.html => dom/events/test/test_bug409604.html
rename : content/events/test/test_bug412567.html => dom/events/test/test_bug412567.html
rename : content/events/test/test_bug415498.xul => dom/events/test/test_bug415498.xul
rename : content/events/test/test_bug422132.html => dom/events/test/test_bug422132.html
rename : content/events/test/test_bug426082.html => dom/events/test/test_bug426082.html
rename : content/events/test/test_bug427537.html => dom/events/test/test_bug427537.html
rename : content/events/test/test_bug428988.html => dom/events/test/test_bug428988.html
rename : content/events/test/test_bug432698.html => dom/events/test/test_bug432698.html
rename : content/events/test/test_bug443985.html => dom/events/test/test_bug443985.html
rename : content/events/test/test_bug447736.html => dom/events/test/test_bug447736.html
rename : content/events/test/test_bug448602.html => dom/events/test/test_bug448602.html
rename : content/events/test/test_bug450876.html => dom/events/test/test_bug450876.html
rename : content/events/test/test_bug456273.html => dom/events/test/test_bug456273.html
rename : content/events/test/test_bug457672.html => dom/events/test/test_bug457672.html
rename : content/events/test/test_bug489671.html => dom/events/test/test_bug489671.html
rename : content/events/test/test_bug493251.html => dom/events/test/test_bug493251.html
rename : content/events/test/test_bug502818.html => dom/events/test/test_bug502818.html
rename : content/events/test/test_bug508479.html => dom/events/test/test_bug508479.html
rename : content/events/test/test_bug517851.html => dom/events/test/test_bug517851.html
rename : content/events/test/test_bug534833.html => dom/events/test/test_bug534833.html
rename : content/events/test/test_bug545268.html => dom/events/test/test_bug545268.html
rename : content/events/test/test_bug547996-1.html => dom/events/test/test_bug547996-1.html
rename : content/events/test/test_bug547996-2.xhtml => dom/events/test/test_bug547996-2.xhtml
rename : content/events/test/test_bug556493.html => dom/events/test/test_bug556493.html
rename : content/events/test/test_bug563329.html => dom/events/test/test_bug563329.html
rename : content/events/test/test_bug574663.html => dom/events/test/test_bug574663.html
rename : content/events/test/test_bug586961.xul => dom/events/test/test_bug586961.xul
rename : content/events/test/test_bug591249.xul => dom/events/test/test_bug591249.xul
rename : content/events/test/test_bug591815.html => dom/events/test/test_bug591815.html
rename : content/events/test/test_bug593959.html => dom/events/test/test_bug593959.html
rename : content/events/test/test_bug602962.xul => dom/events/test/test_bug602962.xul
rename : content/events/test/test_bug603008.html => dom/events/test/test_bug603008.html
rename : content/events/test/test_bug605242.html => dom/events/test/test_bug605242.html
rename : content/events/test/test_bug607464.html => dom/events/test/test_bug607464.html
rename : content/events/test/test_bug613634.html => dom/events/test/test_bug613634.html
rename : content/events/test/test_bug615597.html => dom/events/test/test_bug615597.html
rename : content/events/test/test_bug617528.xul => dom/events/test/test_bug617528.xul
rename : content/events/test/test_bug624127.html => dom/events/test/test_bug624127.html
rename : content/events/test/test_bug635465.html => dom/events/test/test_bug635465.html
rename : content/events/test/test_bug641477.html => dom/events/test/test_bug641477.html
rename : content/events/test/test_bug648573.html => dom/events/test/test_bug648573.html
rename : content/events/test/test_bug650493.html => dom/events/test/test_bug650493.html
rename : content/events/test/test_bug656379-1.html => dom/events/test/test_bug656379-1.html
rename : content/events/test/test_bug656379-2.html => dom/events/test/test_bug656379-2.html
rename : content/events/test/test_bug656954.html => dom/events/test/test_bug656954.html
rename : content/events/test/test_bug659071.html => dom/events/test/test_bug659071.html
rename : content/events/test/test_bug659350.html => dom/events/test/test_bug659350.html
rename : content/events/test/test_bug662678.html => dom/events/test/test_bug662678.html
rename : content/events/test/test_bug667612.html => dom/events/test/test_bug667612.html
rename : content/events/test/test_bug667919-1.html => dom/events/test/test_bug667919-1.html
rename : content/events/test/test_bug679494.xul => dom/events/test/test_bug679494.xul
rename : content/events/test/test_bug689564.html => dom/events/test/test_bug689564.html
rename : content/events/test/test_bug698929.html => dom/events/test/test_bug698929.html
rename : content/events/test/test_bug741666.html => dom/events/test/test_bug741666.html
rename : content/events/test/test_bug742376.html => dom/events/test/test_bug742376.html
rename : content/events/test/test_bug812744.html => dom/events/test/test_bug812744.html
rename : content/events/test/test_bug822898.html => dom/events/test/test_bug822898.html
rename : content/events/test/test_bug847597.html => dom/events/test/test_bug847597.html
rename : content/events/test/test_bug855741.html => dom/events/test/test_bug855741.html
rename : content/events/test/test_bug864040.html => dom/events/test/test_bug864040.html
rename : content/events/test/test_bug930374-chrome.html => dom/events/test/test_bug930374-chrome.html
rename : content/events/test/test_bug930374-content.html => dom/events/test/test_bug930374-content.html
rename : content/events/test/test_bug944011.html => dom/events/test/test_bug944011.html
rename : content/events/test/test_bug944847.html => dom/events/test/test_bug944847.html
rename : content/events/test/test_bug946632.html => dom/events/test/test_bug946632.html
rename : content/events/test/test_clickevent_on_input.html => dom/events/test/test_clickevent_on_input.html
rename : content/events/test/test_continuous_wheel_events.html => dom/events/test/test_continuous_wheel_events.html
rename : content/events/test/test_dblclick_explicit_original_target.html => dom/events/test/test_dblclick_explicit_original_target.html
rename : content/events/test/test_dom_keyboard_event.html => dom/events/test/test_dom_keyboard_event.html
rename : content/events/test/test_dom_mouse_event.html => dom/events/test/test_dom_mouse_event.html
rename : content/events/test/test_dom_wheel_event.html => dom/events/test/test_dom_wheel_event.html
rename : content/events/test/test_draggableprop.html => dom/events/test/test_draggableprop.html
rename : content/events/test/test_dragstart.html => dom/events/test/test_dragstart.html
rename : content/events/test/test_eventctors.html => dom/events/test/test_eventctors.html
rename : content/events/test/test_eventctors.xul => dom/events/test/test_eventctors.xul
rename : content/events/test/test_focus_disabled.html => dom/events/test/test_focus_disabled.html
rename : content/events/test/test_messageEvent.html => dom/events/test/test_messageEvent.html
rename : content/events/test/test_moz_mouse_pixel_scroll_event.html => dom/events/test/test_moz_mouse_pixel_scroll_event.html
rename : content/events/test/test_wheel_default_action.html => dom/events/test/test_wheel_default_action.html
rename : content/events/test/window_bug493251.html => dom/events/test/window_bug493251.html
rename : content/events/test/window_bug617528.xul => dom/events/test/window_bug617528.xul
rename : content/events/test/window_bug659071.html => dom/events/test/window_bug659071.html
rename : content/events/test/window_wheel_default_action.html => dom/events/test/window_wheel_default_action.html
extra : rebase_source : 5eb1db8f1791b8842ddc683e3c0ea13e4e3a933b
2014-01-10 16:03:25 +13:00
Boris Zbarsky
f1a348da85
Bug 959705. Fix unsafe reference hazards in xpconnect code. r=bholley
2014-01-14 21:46:44 -05:00
Boris Zbarsky
f4a5d99834
Bug 959695 part 3. Make ReportIsNotFunction take a Handle. r=terrence
2014-01-14 21:46:44 -05:00
Bobby Holley
57517a7c7d
Bug 951948 - Remove Components wrappers. r=mrbkap
...
We fix up the tests here to test the new behavior, and fix some bugs in the test
while we're at it.
2014-01-14 18:49:30 -08:00
Bobby Holley
07ca9896c1
Bug 951948 - Use nsXPCComponentsBase for everything but system-principaled scopes. r=mrbkap
2014-01-14 18:49:29 -08:00
Bobby Holley
027454492b
Bug 951948 - Add a way for automation to force the creation of a privileged Components object for an unprivileged scope. r=ted,r=mrbkap
2014-01-14 18:49:29 -08:00
Bobby Holley
676bd050a4
Bug 951948 - Store nsXPCComponentsBase on XPCWrappedNativeScope, so that we can have either. r=mrbkap
2014-01-14 18:49:29 -08:00
Bobby Holley
8850e08477
Bug 951948 - Separate out the unprivileged parts of nsXPCComponents into a separate interface and class. r=mrbkap
2014-01-14 18:49:29 -08:00
Bobby Holley
8cb0cd6465
Bug 951948 - Get rid of manual nsIClassInfo and nsIXPCScriptable implementations for nsXPCComponents. r=mrbkap
...
The macro-driven ClassInfo stuff doesn't do getClassDescription, so we need to
change that test.
2014-01-14 18:49:29 -08:00
Bobby Holley
fa94e86947
Bug 951948 - Make AttachComponentsObject a non-static method on XPCWrappedNativeScope. r=mrbkap
2014-01-14 18:49:29 -08:00
Bobby Holley
e26c977c28
Bug 951948 - Remove nsISecurityCheckedComponents stuff from Components. r=mrbkap
...
This thing is only created in non-content scopes for XBL scopes, and during
automation (with Cu.getComponentsForScope).
At present, we currently have the same-compartment Components wrapper which
should do the right thing in those situations. Next, we'll focus on replacing
that.
2014-01-14 18:49:28 -08:00
Bobby Holley
c333d1b0ee
Bug 951948 - Remove most nsIXPCScriptable junk on nsXPCComponents. r=mrbkap
2014-01-14 18:49:28 -08:00
Bobby Holley
ffdb4858f9
Bug 951948 - Stop using nsISecurityCheckedComponent for nsJSID. r=mrbkap
2014-01-14 18:49:28 -08:00
Bobby Holley
9d237d333f
Bug 951948 - Make nsJSID.initialize [noscript]. r=mrbkap
...
This lets us remove the usage of nsISecurityCheckedComponent. See the next patch.
2014-01-14 18:49:28 -08:00
Robert Strong
1d9c53e674
Bug 921148 - Remove XRE_UPDATE_ROOT_DIR dir provider along with MOZ_APP_NAME, MOZ_APP_PROFILE, MOZ_APP_VENDOR, and MOZ_APP_BASENAME from xpcshell. r=bbondy
2014-01-12 13:47:44 -08:00
Ryan VanderMeulen
f4de297d84
Backed out 6 changesets (bug 939294) for B2G bustage on a CLOSED TREE.
...
Backed out changeset 8c3aa9973da0 (bug 939294)
Backed out changeset 37098c13e59e (bug 939294)
Backed out changeset 7c9ade6c871c (bug 939294)
Backed out changeset fed59539afc1 (bug 939294)
Backed out changeset 89e9d3fa16fc (bug 939294)
Backed out changeset c97e58ebc5f4 (bug 939294)
2014-01-09 14:17:39 -05:00
Tom Schuster
f2eab1cc4d
Bug 939294 - Handlify XPConnect. r=gabor
2014-01-09 18:39:36 +01:00
Tom Schuster
9ca1e74a06
Bug 939294 - Change xpidl header generation code to use JS handles. r=bsmedberg
2014-01-09 18:39:36 +01:00
Gabor Krizsanits
e43c830de6
Bug 952192 - getObjectPrincipal should be script callable. r=bholley
2014-01-09 15:28:46 +01:00
Carsten "Tomcat" Book
c87090db07
Backed out changeset 18eeafedd180 (bug 952192) XPC Shell Bustage on a CLOSED TREE
2014-01-09 12:53:22 +01:00
Gabor Krizsanits
e49d78a446
Bug 952192 - getObjectPrincipal should be script callable. r=bholley
2014-01-09 11:31:33 +01:00
Neil Rashbrook
811e1e96dd
Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley
2014-01-08 20:51:38 +00:00
Nicholas Nethercote
9f40ea3ce8
Bug 957021 - Fix messed-up memory reporter paths. r=khuey.
...
--HG--
extra : rebase_source : 2bd46a9442c54ffba04279a405aeb270ce7bbb23
2014-01-07 17:02:23 -08:00
Luke Wagner
a5bfd61573
Bug 944821 - Support more than 1 cached asm.js module per origin (r=janv)
...
--HG--
rename : js/xpconnect/tests/mochitest/file_asmjs.js => dom/asmjscache/test/file_slow.js
rename : js/xpconnect/tests/mochitest/test_asmjs2.html => dom/asmjscache/test/test_cachingBasic.html
rename : js/xpconnect/tests/mochitest/test_asmjs.html => dom/asmjscache/test/test_slow.html
rename : js/xpconnect/tests/mochitest/test_asmjs3.html => dom/asmjscache/test/test_workers.html
extra : rebase_source : 14efc458193762f5be99dfff78d353a63f3fc45a
2013-12-04 22:32:52 -06:00
Carsten "Tomcat" Book
1922cefe01
Backed out changeset 99eb8a370b21 (bug 952840) for permament B2G ICS Emulator Opt test failure
2014-01-07 13:46:20 +01:00
Andrew McCreight
1c6fc90359
Bug 952840 - Remove scope from XPCWN::FindTearOff. r=bholley
2014-01-06 17:35:54 -08:00
Andrew McCreight
40f1430124
Bug 952840, part 2 - Get rid of one goto in XPCNativeSet::GetNewOrUsed. r=bholley
...
arr.get() only returns null if the second argument to its constructor is null,
but here it is being infallibly allocated.
2014-01-06 17:32:25 -08:00
Andrew McCreight
60d5f25b53
Bug 952840, part 1 - Eliminate goto in XPCWrappedNative::FindTearOff. r=bholley
2014-01-06 17:32:24 -08:00
Andrew McCreight
63edb97f7a
Bug 956455, part 3 - Remove the holder argument to nsXPConnect::WrapNativeToJSVal. r=gabor
2014-01-06 11:54:43 -08:00
Andrew McCreight
bd11c4fff8
Bug 956455, part 1 - WrapNative's holder argument is unnecessary. r=smaug
2014-01-06 11:54:43 -08:00
Edgar Chen
0c346992a8
Bug 956240 - WebMobileConnection: Use webidl event generator for the event that is dispatched by mozMobileConnection. r=smaug
2014-01-03 13:55:27 +08:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote
ed423fbdef
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Andrew McCreight
eca95c1840
Bug 952660, part 9 - rename clazz to clasp in nsXPCWrappedJS::GetNewOrUsed. r=bholley
2014-01-02 11:33:42 -08:00
Andrew McCreight
0ac48b918c
Bug 952660, part 8 - Insert non-root wrappers into the list in the constructor for nsXPCWrappedJS. r=bholley
...
A non-root wrapper has to be inserted into the list. There's only one place this is needed, but I
think it makes more sense like this.
2014-01-02 11:33:42 -08:00
Andrew McCreight
13bc621ff8
Bug 952660, part 7 - Replace if with else in nsXPCWrappedJS::GetNewOrUsed. r=bholley
...
We check for root, then don't change root and check for !root, so this can just be
an else.
2014-01-02 11:33:42 -08:00
Andrew McCreight
22e04d22b1
Bug 952660, part 6 - Add and use nsXPCWrappedJS::FindOrFindInherited. r=bholley
...
FindInherited is only ever used after running Find, and the way the checks
are chained is a little weird.
2014-01-02 11:33:42 -08:00
Andrew McCreight
29b47e833d
Bug 952660, part 5 - The null check at the end of nsXPCWrappedJS::GetNewOrUsed will always fail. r=bholley
2014-01-02 11:33:41 -08:00
Andrew McCreight
2e31c3711b
Bug 952660, part 4 - Eliminate now-unnecessary null check in nsXPCWrappedJS::GetNewOrUsed. r=bholley
2014-01-02 11:33:41 -08:00
Andrew McCreight
2c95dc4ab5
Bug 952660, part 3 - Eliminate goto return_wrapper. r=bholley
...
Substitute in the tail of the function for each goto, then eliminate
the resulting branches where possible.
2014-01-02 11:33:41 -08:00
Andrew McCreight
3f5eda09cd
Bug 952660, part 2 - Take advantage of new being infallible in nsXPCWrappedJS::GetNewOrUsed. r=bholley
2014-01-02 11:33:41 -08:00
Andrew McCreight
a68b28690e
Bug 952660, part 1 - Use smart pointer for clazz in nsXPCWrappedJS::GetNewOrUsed. r=bholley
...
The trickiest thing the goto in GetNewOrUsed does is release clazz in some cases,
so using a smart pointer will simplify things.
2014-01-02 11:33:41 -08:00
Andrew McCreight
12ab686961
Bug 947336, part 3 - Add comment about ownership of nsXPCWrappedJS::mRoot. r=bholley
2014-01-02 11:33:41 -08:00
Andrew McCreight
1d5a828eca
Bug 947336, part 2 - Make nsXPCWrappedJS::mClass a smart pointer. r=bholley
2014-01-02 11:33:41 -08:00
Andrew McCreight
d9c65a6e80
Bug 947336, part 1 - Make nsXPCWrappedJS::mOuter into a smart pointer. r=bholley
2014-01-02 11:33:40 -08:00
Bobby Holley
7afb0b01b5
Bug 951847 - Stop pushing a cx in the XPCCallContext constructor. r=gabor
2014-01-01 19:23:56 -08:00
Bobby Holley
c301532969
Bug 951847 - Make the |cx| param to XPCCallContext mandatory. r=gabor
2014-01-01 19:23:55 -08:00
Bobby Holley
43c64baa57
Bug 951847 - Don't construct an XPCCallContext just to find a JSContext. r=gabor
2014-01-01 19:23:55 -08:00
Ms2ger
6c7c16c6b2
Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal
2013-12-31 10:06:11 +01:00
Carsten "Tomcat" Book
2f349d4ce4
Merge mozilla-central to b2g-inbound
2013-12-20 11:44:27 +01:00
Ms2ger
3f3cc744ed
Merge backout.
2013-12-20 11:36:27 +01:00
Ms2ger
2900763f15
Backout bug 942104 (changesets 4e5746a65a5e:62e32a84a9fb) for missing review.
2013-12-20 11:33:37 +01:00
Carsten "Tomcat" Book
1ef754e94b
merge fx-team to mozilla-central
2013-12-20 10:22:29 +01:00
Wes Kocher
9a7416c000
Merge m-c to inbound
2013-12-19 19:51:23 -08:00
Bill McCloskey
de3f6efa40
Bug 952183 - reuseGlobal doesn't account for scripts being recycled (r=mrbkap,khuey)
2013-12-19 12:49:52 -08:00
Jan de Mooij
af0c1097a4
Bug 951666 - Rename IonCode to JitCode. r=njn
2013-12-18 23:01:51 +01:00
Wes Kocher
85e0ab5708
Merge m-c to fx-team
2013-12-19 19:53:30 -08:00
Andrew McCreight
c815051008
Bug 937818, part 1 - Add objects to the purple buffer on AddRef. r=smaug
...
ICC uses this to track objects that have been AddRef'd during ICC graph building.
For those objects, we may not have the proper information for them, so treat them
as live.
2013-12-17 19:29:57 -08:00
Eric Chou
f1a9b94f89
Bug 942104 - Add nsIDOMBluetoothDiscoveryStateChangedEvent, r=gyeh
2013-11-30 20:20:17 +08:00
Ms2ger
cf53814bbc
Merge mozilla-inbound to mozilla-central.
2013-11-29 09:54:12 +01:00
Ms2ger
ea0c468f56
Bug 939271 - Part f: move mochitests to manifests in js/xpconnect; r=bholley
2013-11-28 15:03:17 +01:00
Mike Hommey
fdd3247a81
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2f727b6d62
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Till Schneidereit
0e08d6fadd
Bug 911400 - Create OpaqueWrappers when wrapping objects for use in the self-hosting global and OpaqueWrapperWithCalls when wrapping self-hosted function for use in other compartments. r=bholley
2013-11-26 13:45:54 +00:00
Carsten "Tomcat" Book
9893f955b9
Backed out changeset 261091719842 (bug 937818) for static rooting hazard analysis bustage on a CLOSED TREE
2013-12-17 09:20:51 +01:00
Andrew McCreight
e495d831e0
Bug 937818, part 1 - Add objects to the purple buffer on AddRef. r=smaug
...
ICC uses this to track objects that have been AddRef'd during ICC graph building.
For those objects, we may not have the proper information for them, so treat them
as live.
2013-12-16 21:30:53 -08:00
Wes Kocher
34a2e0d974
Backed out changeset ef0eeaec74a8 (bug 949183) on the theory that it somehow broke every single b2g test on a CLOSED TREE
2013-12-16 18:27:43 -08:00
Bobby Holley
75db31a8d0
Bug 950909 - Tests. r=smaug
2013-12-19 18:08:07 -08:00
Bobby Holley
997fe3e13e
Bug 950909 - Forward native aggregation to the root XPCWrappedJS. r=mccr8,sr=smaug
2013-12-19 18:08:07 -08:00
Nicholas Nethercote
c82c609ac3
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Mike Hommey
b038245b8d
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Ehsan Akhgari
6220f98ec6
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
74e6ffe050
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Sean Stangl
d081b211ae
Bug 949183 - Fix jsid static constructor explosion. r=Waldo
2013-12-16 14:40:05 -08:00
J. Ryan Stinnett
57962dec10
Bug 946813 - Part 1: Expose invisibleToDebugger as a sandbox flag. r=bholley
...
--HG--
extra : rebase_source : 7d4963efc10423bb3e451da0eb1f6a03d7531831
2013-12-19 17:31:05 -06:00
Tom Schuster
4429c0e19f
Bug 939302 - Use DOMTimestamp for timestamps in MMS. r=bz,gen
2013-11-30 19:14:41 +08:00
Tom Schuster
60ba784ee8
Bug 939302 - JS::Value in dictionary_helper_gen.py is obsolete. r=bz
2013-12-13 11:37:53 +01:00
Masatoshi Kimura
4a17459ba7
Bug 949292 - Stop exposing LoadStatus on the global object. r=bz
2013-12-14 16:31:10 +09:00
Bobby Holley
c919bbd7bf
Bug 913734 - Stop storing security policies on XPCWrappedNativeProtos. r=mrbkap
...
This is just a cache, so we can safely remove it without impacting correctness.
The rest of this mechanism goes away in subsequent patches.
2013-12-13 19:15:43 -08:00
Eric Faust
0f5f80e1bb
Bug 926012 - Part 3: Convert wrappers to using dynamic prototype hooks. (r=bholley)
2013-12-13 12:01:30 -08:00
Brian Hackett
6844e7e5ca
Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm, r=jandem
2013-12-12 13:10:54 -08:00
Andrew McCreight
1ae8e495d2
Bug 944492, part 2 - Make XPCWrappedJS a proper skippable class. r=smaug
2013-12-12 19:38:50 -08:00
Andrew McCreight
1fa99f5a29
Bug 944492, part 1 - Make XPCWrappedJS use the purple buffer. r=smaug
2013-12-12 19:38:49 -08:00
Bobby Holley
4cb1f20d1c
Bug 937317 - Tests. r=bz
2013-12-11 17:51:59 -08:00
Ryan VanderMeulen
f076280148
Backed out changeset b93e7a83b308 (bug 932982) for Linux mochitest-bc leaks.
...
CLOSED TREE
2013-12-11 17:07:48 -05:00
Ryan VanderMeulen
1a13081f93
Merge m-c to inbound.
2013-12-11 13:38:14 -05:00
Ryan VanderMeulen
ba670be0c6
Merge b2g-inbound to m-c.
2013-12-11 13:24:26 -05:00
Brian Hackett
e76e72614e
Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem.
2013-12-11 10:12:33 -08:00
Wes Kocher
7b1ededbc4
Merge m-c to b2g-inbound
2013-12-10 17:14:14 -08:00
Mike Hommey
86adfade5d
Bug 944935 - Cleanup some useless AC_CHECK_FUNCS tests in configure.in. r=gps
...
- HAVE_RANDOM is not checked at all.
- HAVE_STRERROR is not checked in code built using the defines from the main
configure.
- HAVE_LCHOWN is only checked in nsinstall.c, which means the test is also wrong
since it's checking for the target instead of the host. Also, lchown is only
used of the -o and -g options of nsinstall, which, as far as I know, we don't
use (and if we were, that would fail with nsinstall.py, which explicitly rejects
them).
- HAVE_FCHMOD is only checked in nsinstall.c, so same as above about the
correctness of the check. If it's not available, nsinstall.c falls back to
chmod, which is fine enough for our use.
- HAVE_SNPRINTF is not checked.
- HAVE_MEMMOVE is checked in parser/expat/lib/xmlparse.c, but it's also
unconditionally defined in expat_config.h which is included from that file.
- HAVE_SETBUF is checked in a couple files, but setbuf is C89 and C99, I think
it's safe to assume all compilers we support are C89 and C99. Interestingly,
windows does have it, but since we skip this check on windows, we don't use it.
- HAVE_ISATTY, same as HAVE_SETBUF, except it's POSIX instead of C89/C99.
- HAVE_FLOCKFILE is not checked at all.
- HAVE_STRTOK_R is not checked.
- HAVE_FT_SELECT_SIZE is not checked.
- HAVE_DLADDR is not checked under js/src.
- HAVE_GETPAGESIZE is not checked under js/src (it is in libffi, but ffi uses
its own configure)
- HAVE_LSTAT64, HAVE_STAT64, HAVE_STATVFS, HAVE_STATVFS64, HAVE_TRUNCATE64 are
not checked under js/src.
- HAVE_SBRK is not checked under js/src. Moreover,
js/src/assembler/wtf/Platform.h defines it depending on the platform.
- HAVE_SNPRINTF is not checked under js/src.
- HAVE_HYPOT is not checked under js/src.
- HAVE__UNWIND_BACKTRACE is not checked under js/src.
2013-12-11 10:57:53 +09:00
Nathan Froyd
d647846100
Bug 946781 - part 5 - measure the proto and iface cache from within xpconnect; r=bholley,njn
2013-12-06 13:08:45 -05:00
Nathan Froyd
98d7e01c12
Bug 946781 - part 3 - prepare for measuring multiple things from XPCWrappedNativeScope; r=bholley,njn
2013-12-06 13:04:12 -05:00
Nathan Froyd
782884a55d
Bug 946781 - part 2 - add memory used by mozJSComponentLoader to about:memory; r=bholley,njn
2013-12-05 16:54:30 -05:00
Nathan Froyd
5c216f13b3
Bug 946781 - part 1 - split explicit/jsconnect into its constituent parts; r=bholley,njn
2013-12-10 10:04:06 -05:00
Andrew McCreight
168f96fd5d
Bug 943373, part 1 - Use MOZ_THIS_IN_INITIALIZER_LIST in XPConnect. r=bholley
2013-12-10 08:07:20 -08:00
Andrew McCreight
5170af7644
Bug 946837 - XPCWrappedJS.cpp doesn't need to include nsProxyRelease.h or nsTextFormatter.h. r=bholley
2013-12-10 08:07:20 -08:00
Andrew McCreight
0aeb884580
Bug 947448 - Define and use nsXPCWrappedJS::IsRootWrapper. r=bholley
2013-12-10 08:07:20 -08:00
Gabor Krizsanits
eac54db205
Bug 943357 - Name argument of exportFunction should be optional. r=bholley
2013-12-10 09:56:19 +01:00
Tom Schuster
ac84baff89
Bug 697343 - Introduce a slice hook to allow optimizing Array.prototype.slice for Proxies etc. r=jandem,bz
2013-12-05 20:07:24 +01:00
Tom Schuster
aa96007c5a
Bug 697343 - Remove getElementIfPresent. r=Waldo
2013-12-05 20:07:24 +01:00
Nicholas Nethercote
e02408b49d
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
67495eb7f8
Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
...
--HG--
extra : rebase_source : ec09d4c31264c15befb020375bf001a1ad1df6b8
2013-12-07 21:38:32 -08:00