David Zbarsky
7657bfd423
Bug 833446: Remove nsIDOMSVGPatternElement r=bz
2013-02-02 15:23:17 -05:00
David Zbarsky
d335c23042
Bug 833446: Remove nsIDOMSVGPathElement r=peterv
2013-02-02 15:23:17 -05:00
David Zbarsky
aa0585f8fc
Bug 833446: Remove nsIDOMSVGMPathElement r=peterv
2013-02-02 15:23:17 -05:00
David Zbarsky
2007c53f0c
Bug 833446: Remove nsIDOMSVGMetadataElement r=peterv
2013-02-02 15:23:16 -05:00
David Zbarsky
331297ab15
Bug 833446: Remove nsIDOMSVGLineElement r=peterv
2013-02-02 15:23:16 -05:00
David Zbarsky
6a81cc23cf
Bug 833446: Remove nsIDOMSVGGradientElement and subclasses r=peterv
2013-02-02 15:23:16 -05:00
David Zbarsky
d6b1dc070b
Bug 833446: Remove nsIDOMSVGGElement r=peterv
2013-02-02 15:23:15 -05:00
David Zbarsky
fbf881b2e2
Bug 833446: Remove nsIDOMSVGForeignObjectElement r=peterv
2013-02-02 15:23:15 -05:00
David Zbarsky
3d3133ee1e
Bug 833446: Remove nsIDOMSVGEllipseElement r=peterv
2013-02-02 15:23:15 -05:00
David Zbarsky
a57cd5b152
Bug 833446: Remove nsIDOMSVGDescElement r=peterv
2013-02-02 15:23:15 -05:00
David Zbarsky
2ecb707f1d
Bug 833446: Remove nsIDOMSVGDefsElement r=peterv
2013-02-02 15:23:14 -05:00
David Zbarsky
fdfb2eb1eb
Bug 833446: Remove nsIDOMSVGCircleElement r=peterv
2013-02-02 15:23:14 -05:00
David Zbarsky
0a767db57e
Bug 833446: Remove nsIDOMSVGAnimationElement r=peterv
2013-02-02 15:23:11 -05:00
David Zbarsky
bb3ea53193
Bug 833446: Remove nsIDOMSVGSetElement r=peterv
2013-02-02 15:22:37 -05:00
David Zbarsky
11c9add022
Bug 833446: Remove nsIDOMSVGAnimateTransformElement r=peterv
2013-02-02 15:22:36 -05:00
David Zbarsky
cdcdb43c4f
Bug 833446: Remove nsIDOMSVGAnimateMotionElement r=peterv
2013-02-02 15:22:36 -05:00
David Zbarsky
6919134b66
Bug 833446: Remove nsIDOMSVGAnimateElement r=peterv
2013-02-02 15:22:36 -05:00
David Zbarsky
7712172acf
Bug 833446: Remove nsIDOMSVGAltGlyphElement r=peterv
2013-02-02 15:22:36 -05:00
Masayuki Nakano
0346e5b84e
Bug 835280 nsIMEStateManager::OnChangeFocus() for DOM document should be called only when designMode document gets focus r=enndeakin
2013-02-02 03:02:17 +09:00
Nicholas Nethercote
0bda4fcd31
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
2d79942fa4
Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
...
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
46ba51002e
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Ehsan Akhgari
5adccf8c6d
Merge mozilla-cental into mozilla-inbound
2013-01-31 11:10:40 -05:00
Olli Pettay
8f0a34d9d4
Bug 836457 - Don't start forgetSkippable/GC timer before first GC, r=mccr8
2013-01-31 00:46:37 +02:00
Reuben Morais
a619e9fe6d
Bug 836513 - Support multiple object stores in IndexedDBHelper.jsm. r=gwagner
2013-01-30 18:03:46 -08:00
Gregor Wagner
2208694e4f
Bug 836157 - Contacts API: Remove unused indexes. r=bent
2013-01-30 17:17:07 -08:00
Boris Zbarsky
e53ffbf3f0
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Boris Zbarsky
e15be64167
Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression
2013-01-29 17:18:06 -05:00
David Zbarsky
9807cc3a4c
Bug 835195: Remove nsIDOMSVGFitToViewBox r=bz
2013-01-29 17:11:45 -05:00
David Zbarsky
1b2502bb46
Bug 835195: Remove nsIDOMSVGTests r=bz
2013-01-29 17:11:45 -05:00
Boris Zbarsky
24d3443115
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Ryan VanderMeulen
eab06717bc
Merge m-c to inbound.
2013-01-29 10:50:01 -05:00
Ryan VanderMeulen
2ac757469c
Merge the last PGO-green inbound changeset to m-c.
2013-01-29 09:36:20 -05:00
Boris Zbarsky
f9bc81a8be
Bug 829252 part 2. Make nsGlobalWindow inherit from dom::EventTarget and ensure that all the things that inherit from it correctly QI to it. r=peterv
2013-01-29 08:44:01 -05:00
Boris Zbarsky
625b086463
Bug 829252 part 1. Change nsGlobalWindow to use nsIDOMEventTarget as the canonical isupports instead of nsIScriptGlobalObject. We'll need this to be able to cast to it properly in binding code. r=peterv
2013-01-29 08:44:01 -05:00
Boris Zbarsky
126e2f75e3
Bug 834785. Make sure to not ask the JS engine for return values in toplevel scripts, so it'll be able to ion-compile them as needed. r=bholley
2013-01-29 08:44:00 -05:00
Olli Pettay
b2ee14044a
Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8
2013-01-29 12:45:38 +02:00
Robert O'Callahan
5794556cad
Backing out 306003528e10, 335160d7855a, dfc9d5651175, 0559d630dd89, 03c3ae8323bd: bug 835195, bug 832154, bug 831561 ... in a CLOSED TREE
...
--HG--
rename : content/svg/content/src/SVGMarkerElement.cpp => content/svg/content/src/nsSVGMarkerElement.cpp
rename : content/svg/content/src/SVGMarkerElement.h => content/svg/content/src/nsSVGMarkerElement.h
2013-01-29 22:45:50 +13:00
David Zbarsky
615ad95018
Bug 835195: Remove nsIDOMSVGFitToViewBox r=bz
2013-01-29 03:50:57 -05:00
David Zbarsky
dfdd7e4eb1
Bug 835195: Remove nsIDOMSVGTests r=bz
2013-01-29 03:50:56 -05:00
Gina Yeh
f1698ce19d
Bug 811569 - Patch 1: Remove unused files in bluetooth, r=echou
2013-01-29 14:52:30 +08:00
Peter Van der Beken
bfc9de7860
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 5668d9e01bff0fe7831d98018428856e5940a620
2012-12-03 17:07:49 +01:00
Ed Morley
19dd19ed37
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
70a2f7c413
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 68e5630591f6209e2af9c5cd2321fed8edd3de24
2012-12-03 17:07:49 +01:00
Kyle Machulis
8a6e862a23
Bug 777271 - Re-implement nsIDOMCallEvent using event implementation codegen. r=bent,vicamo,hsinyi
2013-01-28 15:39:50 +08:00
Bill McCloskey
fb226611b8
Bug 751618 - Zone renaming part 7 (r=jonco)
2013-01-27 13:51:41 -08:00
Bill McCloskey
fbf07135dc
Bug 751618 - Zone renaming part 2 (r=jonco)
2013-01-27 13:51:35 -08:00
Bill McCloskey
0b41061a2c
Bug 751618 - Add js/GCAPI.h (r=terrence)
2013-01-27 12:35:12 -08:00
Doug Turner
73eb8b13ef
Bug 834595 - Factor stat() such that there are 3 independent methods. r=sicking
...
--HG--
rename : dom/devicestorage/test/test_stat.html => dom/devicestorage/test/test_freeSpace.html
rename : dom/devicestorage/test/test_stat.html => dom/devicestorage/test/test_usedSpace.html
2013-01-25 11:05:24 -08:00
Jose Antonio Olivera Ortega
28fdf7755d
Bug 827280 - Part 2: DOMEvent. r=philikon a=tef+
2013-01-25 19:45:16 +01:00
Bobby Holley
29dd20ec7d
Bug 833856 - Handle errors better in EvaluateString. r=bz
...
This bug happens when we take the !useSandbox path. Basically, when the code
throws, we can end up with garbage in *aRetValue while still returning true
from EvaluateString. It looks like the convention is for these kind of eval
functions to return success even for invalid code, so lets just make sure we
check things a bit better.
This crashtest is kind of half-baked in the sense that it doesn't actually
crash without the rest of the patch. But the testcase here involves a lot of
undefined behavior (what ends up getting left in *aRetValue) during a call
to window.open (which spins the event loop, etc). I already sunk about half
an hour into trying to make it crash, so I'm just going to go with this for
now.
2013-01-25 11:17:40 +01:00
Boris Zbarsky
505b2f34e8
Bug 832899. Make sure our canonical isupports matches what various consumers expect. r=smaug
2013-01-24 21:27:55 -05:00
Bobby Holley
ca53b9e294
Bug 833412 - Remove AddBinding/RemoveBinding and remove dead code. r=bz
2013-01-24 18:45:50 +01:00
Cervantes Yu
0d7ae8387b
Bug 833606: Null check mProxy in mozilla::dom::ContentPermissionRequestParent::ActorDestroy(). r=bent a=blocking-b2g
2013-01-23 21:42:09 -08:00
Avi Halachmi
c3ea912316
Bug 826383: cyclic array for frames recording to support concurrent users. r=jmuizelaar,khuey
2013-01-23 20:47:44 +02:00
Bobby Holley
5de758ce91
Bug 832041 - Remove nsJSContext::CompileEventHandler and move consumers to nsJSUtils::CompileFunction. r=bz
2013-01-23 07:12:50 +01:00
Kartikaya Gupta
74224b0ffa
Bug 828126 - Enable ifdef'd code on Fennec now that dependent bugs have been fixed. r=avih
2013-01-23 00:52:19 -05:00
Ryan VanderMeulen
736ce65b82
Merge m-c to inbound.
2013-01-23 18:30:46 -05:00
Olli Pettay
e5d7c86f9b
Bug 822849 - Don't run CC/GC timers during shutdown, r=mccr8
...
--HG--
extra : rebase_source : 173e02106457b6867db8c4cf734a93366f4b31dd
2013-01-22 21:17:48 +02:00
Bobby Holley
ff3e20df9d
Bug 832435 - Fix compartment handling for EvaluteString and javascript: uris. r=bz
2013-01-21 12:56:28 +01:00
Boris Zbarsky
8681fe6286
Bug 828787. Stop allowing indexed expandos on windows. r=peterv
2013-01-22 15:29:53 -05:00
Andrew McCreight
e33fde633d
Bug 830595 - Add JSAutoCompartment to nsJSContext::ExecuteScript. r=bz
2013-01-22 11:48:46 -08:00
Steve Fink
d3f194fbfb
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
2012-12-31 12:40:21 -08:00
Phil Ringnalda
d564033cc7
Back out 7dbbb6e3d240 (bug 832435) for assertion failures
2013-01-18 21:29:05 -08:00
Bobby Holley
2f946c4f2d
Bug 832435 - Fix compartment handling for EvaluteString and javascript: uris. r=bzbarsky
2013-01-18 23:33:26 -05:00
Steve Fink
cb8aecdd2a
Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!)
2013-01-18 13:20:21 -08:00
Steve Fink
fa3e8f224b
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
...
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Nicholas Nethercote
3dca3123e6
Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz.
...
--HG--
extra : rebase_source : 543f0e367ce73477d62eca544137a101108a97be
2013-01-17 21:21:43 -08:00
Andrew McCreight
d49d03aef4
Bug 826471. Add JSAutoCompartment in nsWindowSH::NewResolve. r=bholley
2013-01-17 16:30:41 -08:00
Boris Zbarsky
2837c731e6
Bug 823228 part 2. Move indexed property access on windows from nsWindowSH::GetProperty to the outer window proxy. r=bholley
2013-01-17 12:30:37 -05:00
Bobby Holley
981f7eda15
Bug 824864 - Fix Ms2ger nits. r=me
2013-01-16 18:50:27 -08:00
Bobby Holley
cecccc3751
Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz
2013-01-16 18:50:27 -08:00
Bobby Holley
2af1ceaef4
Bug 824864 - Move responsibility for checking for JSVERSION_UNKNOWN to the one caller of EvaluateString that might pass it. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
ab3bdab46b
Bug 824864 - Use an nsCxPusher in EvaluateString, and pull the principal off the target object. r=bz
...
This simplifies a lot of code, and makes the function scope-agnostic.
2013-01-16 18:50:26 -08:00
Bobby Holley
cbd37c2417
Bug 824864 - Rename EvaluateStringWithValue to EvaluateString. r=bz
...
Now that there's only one of them, we can get rid of the silly suffix. \o/
2013-01-16 18:50:26 -08:00
Bobby Holley
1c16565b99
Bug 824864 - Remove unused optional arguments from nsIScriptContext::ExecuteScript. r=bz
...
This lets us get rid of a bunch of junk.
2013-01-16 18:50:26 -08:00
Bobby Holley
be2e42c870
Bug 824864 - Remove nsIScriptContext::EvaluateString. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
8f80755c52
Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
9ae831b5d4
Bug 824864 - Improve the API for EvaluateStringWithValue. r=bz
...
There are a few changes we make here:
1 - Having callers pass JS::CompileOptions directly.
2 - Removing aUndefined, which makes no sense and is unused by consumers.
3 - Making aScopeObject and aRetValue non-optional, via references.
3 - Adding an argument to optionally coerce the return value to a string.
Coercing jsvals to strings is the reason we currently have two nearly-identical
functions, EvaluateString and EvaluateStringWithValue, since the coercion can
trigger arbitrary script and thus needs to be bracketed by all the junk that
nsJSContext does. However, if callers can be guaranteed that the return value
will be a bonafide string, then they can easily extract the string themselves
if they so desire. This will allow us to combine the two functions.
2013-01-16 18:50:26 -08:00
Bobby Holley
a7a75b2cec
Bug 824864 - Move consumers of CompileFunction to the nsJSUtils version, and kill the nsJSContext version. r=bz
...
Note that the three consumers were all XBL, and were all passing aShared = true,
which had the effect of passing null for the target object. So we actually want
to pass JS::NullPtr() (the HandleObject version of nullptr) instead of
aClassObject in order to maintain the old behavior (whatever that is).
2013-01-16 18:50:25 -08:00
Bobby Holley
652eb13ea3
Bug 824864 - Hoist the guts of CompileFunction into nsJSUtils. r=bz
2013-01-16 18:50:25 -08:00
Trevor Saunders
b98e34aed0
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Gary Kwong
5121706d6d
Bug 831472 - Add another null check to nsGlobalWindow::GetInnerScreenRect(). r=smaug
2013-01-16 13:44:26 -08:00
David Zbarsky
a9dc213100
Bug 827174 - Remove nsIDOMSVGLocatable and nsIDOMSVGTransformable r=bz
2013-01-16 15:51:00 -05:00
David Zbarsky
d0e90dff8c
Bug 827172 - Convert SVGPathElement to WebIDL r=bz
2013-01-16 15:50:59 -05:00
Ed Morley
9cb170a652
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2013-01-16 20:22:54 +00:00
Olli Pettay
1cbfc3426f
Bug 830858 - Implement a generic way to dispatch events to chrome only, r=jst
2013-01-16 11:27:06 +02:00
Panos Astithas
b157673742
Merge m-c to fx-team
2013-01-16 10:13:29 +02:00
Olli Pettay
93c9bddde7
Bug 830948, null check mDocshell before using it, r=bz
...
--HG--
extra : rebase_source : ea20dabe0ec39b3b98fab07e72b0f1f51f9d32a8
2013-01-16 01:12:14 +02:00
Mihai Sucan
63c0ed5ccd
Bug 787985 - Console API messages are not consistent; r=past
2013-01-15 16:02:25 +02:00
Trevor Saunders
4f48cd4e2c
bug 830396 - add back nsIDOMCSSValueList r=bz
2013-01-14 12:29:27 -05:00
Phil Ringnalda
d9967d6bd1
Back out ecac2ce4eada (bug 828126) for busting b2g's arm
2013-01-13 17:48:33 -08:00
Kartikaya Gupta
4d6ef1543a
Bug 828126 - Remove ANDROID special-casing now that dependent bugs have been fixed. r=avih
2013-01-13 19:19:03 -05:00
David Zbarsky
81464d1163
Bug 827724 - Remove nsIDOMSVGAnimatedPoints r=bz
2013-01-12 17:21:53 -05:00
Ryan VanderMeulen
a5c523c0cc
Merge m-c to inbound.
2013-01-15 19:44:40 -05:00
Boris Zbarsky
82f2d2db36
Bug 830553. Make the asserts in nsWrapperCache.h fatal. r=mccr8
2013-01-15 14:04:24 -05:00
Trevor Saunders
14a806d47d
no bug - remove a bunch of extra ';'s to make -pedantic happy
2013-01-11 05:14:04 -05:00
Trevor Saunders
e400fe7845
bug 828138 - GetCurrentSelection() should return Selection* r=smaug
2012-12-19 17:55:44 -05:00
Ehsan Akhgari
8ffeafeacf
Merge mozilla-central into mozilla-inbound
2013-01-15 09:10:19 -05:00
Olli Pettay
18534b4fb8
Bug 825544: backout Bug 825544, Bug 825544, Bug 765192 and Bug 808035 to bring back the old .location=val behavior, r=bz
2013-01-15 13:46:35 +02:00