Commit Graph

211447 Commits

Author SHA1 Message Date
Boris Zbarsky
9c0d3a322f Bug 1019191 part 15. Remove now-dead DOMCI_DATA bits. r=peterv 2014-10-22 11:40:49 -04:00
Boris Zbarsky
83451dc476 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
b2ed72eff9 Bug 1019191 part 13. Remove the now-unused castNativeArgFromWrapper and castNativeFromWrapper functions. r=peterv 2014-10-22 11:40:49 -04:00
Boris Zbarsky
09d73c6f20 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
e9c11e7178 Bug 1019191 part 11. Get rid of the now-unused xpc_qsUnwrapArg. r=peterv 2014-10-22 11:40:48 -04:00
Boris Zbarsky
fc4e8e90db Bug 1019191 part 10. Stop using xpc_qsUnwrapArg directly in BindingUtils. r=peterv 2014-10-22 11:40:48 -04:00
Boris Zbarsky
b55229401e 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
1affd5601e Bug 1019191 part 8. Stop using xpc_qsACString in XPConnect. r=bholley 2014-10-22 11:40:48 -04:00
Boris Zbarsky
4df031b0f0 Bug 1019191 part 7. Remove various dead-code throwing functions. r=peterv 2014-10-22 11:40:47 -04:00
Boris Zbarsky
74f4a8f073 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
47a2510c1b 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
4bdb625f02 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
09afc7853c 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
c151a4ed40 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
49585cec43 Bug 1019191 part 1. Remove the dead finishInitForWrappedGlobal method. r=bholley 2014-10-22 11:40:46 -04:00
Jonathan Watt
2045888cd3 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
2cbbad75fb Backed out changeset da0bf52f00c6 (bug 1042795) for introducing new intermittent failures. 2014-10-22 11:33:59 -04:00
Romain Gauthier
5216f81454 Bug 1084499: fix about:webrtc for hello calls r=drno 2014-10-20 18:47:43 +02:00
Brian Hackett
46ee821c7e Bug 1072564 - Incrementalize sweeping of type information, r=billm. 2014-10-22 07:57:33 -07:00
Malini Das
27cbf2587c Bug 1075487 - find b2g pid based on string splitting, r=jgriffin 2014-10-22 10:38:31 -04:00
Johannes Schulte
269f77a507 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
5e5e836aba 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
bdefce5754 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
253a3938cf 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
1d09fc8964 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
7878f8e9ca Backed out changeset f353f95ad293 (bug 1084157) for ASAN Test Bustage on a CLOSED TREE 2014-10-22 15:52:03 +02:00
Simon Montagu
bc1a34e4b3 Bug 1083748. Pass inline-size, not width, to ComputeSize. r=jfkthame 2014-10-22 06:34:44 -07:00
Simon Montagu
9d4c08e621 Tests for bug 1083748 (not run in a default build). r=jfkthame 2014-10-22 06:34:41 -07:00
Jan de Mooij
2060d6bc4e 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
a8ad646f8b 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
282844d494 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
Bobby Holley
178200e263 Bug 1086996 - Tests. r=me 2014-10-22 15:13:15 +02:00
Bobby Holley
95861609ac Bug 1086996 - Stop wrapping XBL handlers into the content compartment. r=bz 2014-10-22 15:13:15 +02:00
Aryeh Gregor
ce72a9e2b9 Bug 858918 part 2 - Don't insert block content outside of inline editing hosts; r=ehsan 2014-10-22 15:45:30 +03:00
Aryeh Gregor
705da1b60b Bug 858918 part 1 - Don't try to split non-editable nodes; r=ehsan 2014-10-22 15:45:30 +03:00
Aryeh Gregor
3cce7e3e0d Bug 1055722 - Remove spammy warning; r=smaug 2014-10-22 15:45:30 +03:00
Aryeh Gregor
c10438fb50 Bug 1058576 - Return a pointer from nsWSRunObject::Get*WSNode*; r=ehsan 2014-10-22 15:45:30 +03:00
Tim Chien
c62399233a Bug 1087038 - Properly check for found element(s) in marionette ElementManager.p.find, r=dburns 2014-10-22 05:02:00 +02:00
Ehsan Akhgari
f3e56c6385 Bug 1084157 - Make --enable-address-sanitizer pass the correct -fsanitize arguments to the toolchain; r=glandium 2014-10-22 08:30:05 -04:00
Ehsan Akhgari
999661b627 Bug 1083572 - Enable passing external LDFLAGS to the NSS build system for Windows ASAN builds; r=glandium 2014-10-22 08:28:56 -04:00
Ehsan Akhgari
b964a4eee4 Bug 1084369 - Build dom/cellbroadcast in unified mode; r=gps 2014-10-22 08:28:26 -04:00
Carsten "Tomcat" Book
5c128a4e2a Backed out changeset 04a18f29f774 (bug 1087038) for marionette test failures 2014-10-22 14:17:32 +02:00
Simon Montagu
4c9064021f Bug 1082844: when converting between logical and physical coordinates in nsLineLayout, use the width of the containing block as container-width for the root span, and the width of the root span for child spans. r=jfkthame 2014-10-22 05:14:41 -07:00
Simon Montagu
3931080007 Tests for bug 1082844 (not run in a default build). r=jfkthame 2014-10-22 05:14:39 -07:00
Jonathan Watt
d7b3c4e0e0 Bug 1087224 - Allow compareSnapshots and assertSnapshots to be passed fuzz values. r=smontagu 2014-10-22 12:29:06 +01:00
Jonathan Watt
734b9f31a9 Bug 1086610 - Get color working for ::-moz-tree-progressmeter again. r=mattwoodrow 2014-10-22 12:29:06 +01:00
Jonathan Watt
d266467576 Bug 1086708 - Rename the snapping variant of NSRectToRect to NSRectToSnappedRect. r=mattwoodrow 2014-10-22 12:29:06 +01:00
Jonathan Watt
2a309ca31b Bug 1074161 - Avoid creating a Moz2D Path object to draw SVG <rect>, <image> and <line> elements. r=mattwoodrow 2014-10-22 12:29:05 +01:00
Sushant Dinesh
f7a1b85cdf Bug 1059187 - Set Undefined/Null in else branch of filtering. r=h4writer. 2014-10-14 02:19:00 +02:00
peter chang
ff819b0901 Bug 1068461 - Locate the text frames from viewport frame to select word, r=roc 2014-10-15 10:43:29 +08:00