Commit Graph

388992 Commits

Author SHA1 Message Date
Nicolas B. Pierron
5225ef8c26 Bug 1083866 - Mark bailout frames. r=jandem 2014-10-22 18:37:35 +02:00
Nicolas B. Pierron
252da901b5 Bug 1083866 - Only remove instructions from the JitActivation after the bailout. r=jandem 2014-10-22 18:37:35 +02:00
Nicolas B. Pierron
febdcf5646 Bug 1083866 - Add test case to check for GC during bailouts. r=nbp 2014-10-22 18:37:34 +02:00
Olli Pettay
63a24cde86 Bug 935846, nsJSEnvironment should get a shutdown notification also in child processes, r=romaxa
--HG--
extra : rebase_source : 782bc88e47ecb750b4220fe01e3f74ebcfa05493
2014-10-22 18:57:32 +03:00
Olli Pettay
d791610ba4 Bug 1084502, <template>'s document should inherit mHasHadScriptHandlingObject from the OwnerDoc(), r=bholley
--HG--
extra : rebase_source : 6991665b5d8a494285d632a3b96b10aed43a7b1c
2014-10-22 17:25:56 +03:00
Terrence Cole
b1a59b2c15 Bug 1013001 - Make it simpler to deal with nursery pointers in the compiler; r=jandem
--HG--
extra : rebase_source : 63bbd781bbf091052af44544c3a8569f778635e3
2014-10-15 14:26:52 -07:00
Benoit Girard
03e4a59d59 Bug 737967 - Add simple platform GPU Profiling based on GL_TIME_ELAPSED_EXT. r=ehsan,jgilbert 2014-05-24 16:14:14 +00:00
Jan de Mooij
78ccf3bab4 Bug 1084959 - Don't abort syntax parser for (a) = ...; r=bhackett 2014-10-22 18:11:55 +02:00
Jan de Mooij
da7c451ced Bug 1087232 - Don't atomize eval strings for the eval cache. r=luke 2014-10-22 18:11:53 +02:00
Luke Wagner
5b7b13cafd Bug 1084985 - Remove more 'using namespace JS;' to avoid sporadic bustage in unified builds (r=lth) 2014-10-22 11:03:41 -05:00
Boris Zbarsky
983798c067 Bug 1019191 part 24. Remove the XPCCallContext stuff from xpc_qsUnwrapArgImpl. r=peterv 2014-10-22 11:40:51 -04:00
Boris Zbarsky
0929eae5cc Bug 1019191 part 23. Eliminate the ppArgRef argument of xpc_qsUnwrapArgImpl and UnwrapArg, since we're now always handing out a ref in ppArg. r=peterv 2014-10-22 11:40:51 -04:00
Boris Zbarsky
a688f3fefc Bug 1019191 part 22. Eliminate the effectively unused vp argument of xpc_qsUnwrapArgImpl. r=peterv 2014-10-22 11:40:51 -04:00
Boris Zbarsky
b87343d102 Bug 1019191 part 21. Change xpc_qsUnwrapArgImpl and UnwrapArg to take a HandleObject, not a HandleValue. r=peterv 2014-10-22 11:40:50 -04:00
Boris Zbarsky
b5aebba0c1 Bug 1019191 part 20. Replace the getWrapper/castNative stuff in XPCQuickStubs with what I believe is a single function call that's equivalent to it, since the tearoff bit was dead code anyway due to never resetting clasp. r=peterv,bholley 2014-10-22 11:40:50 -04:00
Boris Zbarsky
e4db1a7e1e Bug 1019191 part 19. Change GlobalObject::GetAsSupports to not rely on UnwrapArg producing an nsISupports for non-reflectors. r=peterv 2014-10-22 11:40:50 -04:00
Boris Zbarsky
f407d435ee Bug 1019191 part 18. Remove the unused tearoff bits in quickstub unwrapping. r=peterv 2014-10-22 11:40:50 -04:00
Boris Zbarsky
c26753b139 Bug 1019191 part 17. Make some of the remaining quickstub unwrap methods static. r=peterv
Note that we know that we always call UnwrapArg with an object, so
xpc_qsUnwrapArgImpl knows v is always an object.
2014-10-22 11:40:50 -04:00
Boris Zbarsky
6c525b5027 Bug 1019191 part 16. Remove nsDOMQS.h. r=peterv 2014-10-22 11:40:49 -04:00
Boris Zbarsky
5b759b528b Bug 1019191 part 15. Remove now-dead DOMCI_DATA bits. r=peterv 2014-10-22 11:40:49 -04:00
Boris Zbarsky
170752efc2 Bug 1019191 part 14. Remove the now-unused HasBitInInterfacesBitmap and all the interfaces bitmap machinery that ends up unused as a result. r=peterv 2014-10-22 11:40:49 -04:00
Boris Zbarsky
db949c14df Bug 1019191 part 13. Remove the now-unused castNativeArgFromWrapper and castNativeFromWrapper functions. r=peterv 2014-10-22 11:40:49 -04:00
Boris Zbarsky
66f049ef9f Bug 1019191 part 12. Eliminate some unused UnwrapArg specializations. r=peterv
The following command:

  grep -Ir "UnwrapArg<" $srcdir/* $objdir/dom/bindings/ | sed 's/^[^<]*<//' | sed 's/>.*//' | sort -u

(with $srcdir and $objdir replaced by the relevant paths) produces this list:

${type}
_clazz
_interface
imgINotificationObserver
imgIRequest
mozilla::dom::EventTarget
mozilla::dom::IndirectlyImplementedInterface
mozilla::dom::TestExternalInterface
nsGenericHTMLElement
nsIBrowserDOMWindow
nsIChannel
nsIDOMCSSRule
nsIDOMDataChannel
nsIDOMMozMmsMessage
nsIDOMMozSmsMessage
nsIDOMMozWakeLockListener
nsIDOMWindow
nsIDOMXPathNSResolver
nsIFile
nsIFrameRequestCallback
nsIInputStream
nsIInputStreamCallback
nsIJSID
nsIMenuBuilder
nsIObserver
nsIOutputStream
nsIPrincipal
nsISelectionListener
nsISupports
nsITreeView
nsIURI

The ${type} bit is part of codegen.  The _clazz and _interface bits are the
macros in js/xpconnect/src/nsDOMQS.h that are defining UnwrapArg methods.  The
nsGenericHTMLElement is only used in xpc_qsUnwrapArg_HTMLElement.

Inspection of the above list indicates that none of the classes used with
DEFINE_UNWRAP_CAST_HTML are in it, so all those specializations of UnwrapArg,
and the xpc_qsUnwrapArg_HTMLElement method they call, are dead code.

Moreover, almost all the specializations set up by DEFINE_UNWRAP_CAST are dead
code as well; the only exception is the one for mozilla::dom::EventTarget.  But
since we no longer use Web IDL quickstubs for EventTarget, that one is only
used in a few places for method arguments, and none of those should have our
one remaining webidl event target passed to them.  So it's safe to remove that
specialization as well.
2014-10-22 11:40:48 -04:00
Boris Zbarsky
7e66ee840a Bug 1019191 part 11. Get rid of the now-unused xpc_qsUnwrapArg. r=peterv 2014-10-22 11:40:48 -04:00
Boris Zbarsky
56c4d8609d Bug 1019191 part 10. Stop using xpc_qsUnwrapArg directly in BindingUtils. r=peterv 2014-10-22 11:40:48 -04:00
Boris Zbarsky
0a3ff9a9b2 Bug 1019191 part 9. Remove now-dead JS-to-C++ quickstub conversion functions. r=peterv 2014-10-22 11:40:48 -04:00
Boris Zbarsky
af038ac558 Bug 1019191 part 8. Stop using xpc_qsACString in XPConnect. r=bholley 2014-10-22 11:40:48 -04:00
Boris Zbarsky
996c75274c Bug 1019191 part 7. Remove various dead-code throwing functions. r=peterv 2014-10-22 11:40:47 -04:00
Boris Zbarsky
b8f083b1ad Bug 1019191 part 6. Remove dead code for setting up quickstubs on a prototype from XPCQuickStubs.h/cpp. r=peterv 2014-10-22 11:40:47 -04:00
Boris Zbarsky
377effd23d Bug 1019191 part 5. Remove the one remaining quickstub we have and all quickstub codegen. r=peterv 2014-10-22 11:40:47 -04:00
Boris Zbarsky
5e1aca9748 Bug 1019191 part 4. Remove the now-dead xpc_qsThrowGetterSetterFailed and xpc_qsThrowBadSetterValue functions. r=peterv 2014-10-22 11:40:47 -04:00
Boris Zbarsky
6e2d2fcc76 Bug 1019191 part 3. Remove calls to the empty DOM_MarkInterfaces/DOM_ClearInterfaces/DOM_InitInterfaces functions and the functions themselves. r=peterv 2014-10-22 11:40:47 -04:00
Boris Zbarsky
37b3ae50c4 Bug 1019191 part 2. Remove WebIDL quickstubs for EventTarget, since the only remaining xpconnect EventTargets with classinfo are globals, and we never call PostCreatePrototype on globals. r=peterv 2014-10-22 11:40:46 -04:00
Boris Zbarsky
afbeda0759 Bug 1019191 part 1. Remove the dead finishInitForWrappedGlobal method. r=bholley 2014-10-22 11:40:46 -04:00
Jonathan Watt
a9f6a0c700 Bug 1074161 follow-up to fuzz non-scaling-stroke-01.svg for max-diff=1 on some stroke edge pixels. 2014-10-22 16:39:51 +01:00
Ryan VanderMeulen
93d254b744 Backed out changeset da0bf52f00c6 (bug 1042795) for introducing new intermittent failures. 2014-10-22 11:33:59 -04:00
Romain Gauthier
c07b243275 Bug 1084499: fix about:webrtc for hello calls r=drno 2014-10-20 18:47:43 +02:00
Brian Hackett
251b70b197 Bug 1072564 - Incrementalize sweeping of type information, r=billm. 2014-10-22 07:57:33 -07:00
Malini Das
5ed06f11d9 Bug 1075487 - find b2g pid based on string splitting, r=jgriffin 2014-10-22 10:38:31 -04:00
Johannes Schulte
e44b43d7a0 Bug 1063878 - Attach Baseline-Stubs for names on the global's proto. r=jandem
--HG--
extra : rebase_source : 526b96ea3880877715ff79819bf5c67bafe1e876
2014-10-09 21:46:16 +02:00
Irving Reid
94c56f0de8 Bug 1081702 - Check that callback parameters are defined before pushing onto result arrays. r=Mossop
--HG--
extra : rebase_source : a15c886d7f7d12e8092e74564a981670545c8ea6
2014-10-21 12:05:24 -04:00
Luke Wagner
20598cafcc Bug 1077175 - OdinMonkey: add type for double literals (r=bbouvier)
--HG--
extra : rebase_source : a2a3891087a11648fce087ac2f17d04a3cdd98e4
2014-10-21 13:15:45 -05:00
Alastor Wu
f80978be25 Bug 930444 - [MediaEncoder] Add Profile Label in Encoding path. r=roc
--HG--
extra : rebase_source : 65fad92cc22eddf42e447ef574fda6ec40d92b96
2014-10-20 16:17:26 +08:00
Jonathan Watt
1332c4fb22 Bug 1074161 follow-up to fuzz non-scaling-stroke-01.svg for max-diff=1 on some stroke edge pixels. 2014-10-22 14:59:24 +01:00
Carsten "Tomcat" Book
e8315632eb Backed out changeset f353f95ad293 (bug 1084157) for ASAN Test Bustage on a CLOSED TREE 2014-10-22 15:52:03 +02:00
Simon Montagu
054cfcfbaa Bug 1083748. Pass inline-size, not width, to ComputeSize. r=jfkthame 2014-10-22 06:34:44 -07:00
Simon Montagu
62a582a87b Tests for bug 1083748 (not run in a default build). r=jfkthame 2014-10-22 06:34:41 -07:00
Jan de Mooij
c064ded0b8 Bug 1085464 - Don't lookup .generator on |with| objects on the scope chain. r=wingo
--HG--
extra : rebase_source : 960bf902b774906d72e815b2a7b9852ca1f0e5bc
2014-10-22 15:17:09 +02:00
Ehsan Akhgari
8c183735cc Bug 1085199 - Part 2: Do not wrap the DOMRequest in a promise in dom/system/gonk tests; r=hsinyi
DOMRequest now has a .then() method compatible with Promise.
2014-10-22 09:20:34 -04:00
Ehsan Akhgari
fa8b8506e3 Bug 1085199 - Part 1: Do not wrap the DOMRequest in a promise in mobileconnection tests; r=hsinyi
DOMRequest now has a .then() method compatible with Promise.
2014-10-22 09:20:23 -04:00