Reuben Morais
e1c1f6ec07
Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
2013-02-08 12:25:37 -08:00
Phil Ringnalda
bd5839db74
Back out 8db40a38aeb1 (bug 837917) for test_interfaces.html failures
...
CLOSED TREE
2013-02-14 21:37:37 -08:00
Reuben Morais
e5e32cdece
Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
...
--HG--
extra : rebase_source : 8ccb520402c53950d1c0149a0f5a3188fe838667
2013-02-08 12:25:37 -08:00
Bobby Holley
424b997531
Bug 819158 - Introduce stopAtOuter for UnwrapObjectChecked. r=mrbkap
...
We need to simultaneously stop marking outers as unsafe to unwrap, otherwise
we'll end up with paradoxical behavior whereby stopAtOuter=true returns null
but stopAtOuter=false returns an object. This is fine, because we're now
handling outer explicitly.
2013-02-14 01:11:32 +01:00
Ryan VanderMeulen
141f9389ce
Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE.
2013-02-12 20:54:48 -05:00
Bobby Holley
fd44dad2a6
Bug 834732 - Improve pushing in nsJSEnvironment. r=mrbkap
2013-02-13 00:22:27 +01:00
Bobby Holley
c503246203
Bug 834732 - Push a cx in nsWindowSH::NewResolve. r=mrbkap
2013-02-13 00:22:27 +01:00
Bobby Holley
00465dba63
Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
...
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley
8a446dd113
Bug 834732 - Remove PushBehavior. r=mrbkap
...
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley
383f32fa9f
Bug 834732 - Move cx pushing into nsPluginProtoChainInstallRunner. r=mrbkap
...
This gets rid of the last use of REQUIRE_SCRIPT_CONTEXT. \o/
2013-02-13 00:22:26 +01:00
Bobby Holley
20b71396d7
Bug 834732 - Make nsDocShell::AddState push the JSContext if it grabs one, and remove push in nsStructuredCloneContainer. r=mrbkap
...
This gets rid of one of the last consumers of REQUIRE_SCRIPT_CONTEXT.
2013-02-13 00:22:26 +01:00
Bobby Holley
fbadb5c010
Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
...
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Ryan VanderMeulen
25195103db
Backed out changesets 45f20f94da76 and 47c4a7768ed9 (bug 841436) for Windows bustage on a CLOSED TREE.
2013-02-14 16:52:54 -05:00
Trevor Saunders
a02716ba7a
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Robert Strong
bbc574349b
Back out Bug 678392
2013-02-08 16:52:12 -08:00
Stephen Pohl
6f6c60460f
Main patch (original patch by mstange) - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud r=felipc
2013-02-08 13:56:50 -08:00
David Zbarsky
5de506372b
Bug 833446: Remove nsIDOMSVGClipPathElement r=peterv
2013-02-08 14:55:52 -05:00
David Zbarsky
0cf58650c2
Bug 833446: Remove nsIDOMSVGViewElement r=peterv
2013-02-08 14:55:51 -05:00
David Zbarsky
9c8bb30ad0
Bug 833446: Remove nsIDOMSVGUseElement r=peterv
2013-02-08 14:55:51 -05:00
David Zbarsky
a2b0303c3a
Bug 833446: Remove nsIDOMSVGTextPositioningElement and related interfaces r=peterv
2013-02-08 14:55:49 -05:00
David Zbarsky
8b08a59c84
Bug 833446: Remove nsIDOMSVGSymbolElement r=peterv
2013-02-08 14:55:08 -05:00
David Zbarsky
0301006823
Bug 833446: Remove nsIDOMSVGSwitchElement r=peterv
2013-02-08 14:55:08 -05:00
David Zbarsky
63fa89c316
Bug 833446: Remove nsIDOMSVGSVGElement r=peterv
2013-02-08 14:55:07 -05:00
Andrea Marchesini
3bfe2368d9
Bug 838172 - Convert AudioChannelManager to WebIDL. r=peterv
2013-02-08 11:34:47 -05:00
Bobby Holley
65c0eb0358
Bug 812669 - Remove XPConnect equality hooks. r=mrbkap
2013-02-08 10:39:01 +00:00
Randell Jesup
d5dc1a93b2
Bug 837874: Check ObserverService before adding observers in MediaManager r=derf
2013-02-07 22:14:21 -05:00
Gregor Wagner
792423680f
Bug 837953 - B2G crash @ nsContentPermissionRequestProxy::GetElement while launching Camera for perf tests. r=dougt
2013-02-07 17:46:58 -08:00
Nicholas Nethercote
6e79cac55c
Bug 836949 (part 1) - Clean up the versions/options code. r=jorendorff.
...
--HG--
rename : content/html/content/test/test_meta_attributes_reflection.html => content/html/content/test/test_ol_attributes_reflection.html
extra : rebase_source : 970d8a542bb631ce3f18da26ece69667af29d0a9
2013-02-06 21:35:16 -08:00
Ryan VanderMeulen
a9be9c1983
Merge the last PGO green inbound changeset to m-c.
2013-02-07 09:55:08 -05:00
Vicamo Yang
ff216055f0
Bug 834193: Implement USSDReceivedEvent, DataErrorEvent and CFStateChangeEvent using codegenerator. r=smaug
2013-02-07 19:02:12 +08:00
Vicamo Yang
0ef4a47ec4
Bug 835148: Implement SmsEvent using event generator. r=smaug
...
--HG--
rename : dom/sms/interfaces/nsIDOMSmsEvent.idl => dom/sms/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMSmsMessage.idl => dom/sms/interfaces/nsIDOMMozSmsMessage.idl
2013-02-07 18:43:22 +08:00
Ms2ger
97185321af
Bug 838182 - Part b: Remove dead code handling outer windows in nsDOMClassInfo::PreCreate; r=mrbkap
2013-02-07 09:08:57 +01:00
Ms2ger
aa376cde8e
Bug 838182 - Part a: Remove nsWindowSH::SecurityCheckOnAddDelProp and nsWindowSH::SecurityCheckOnSetProp; r=mrbkap
2013-02-07 09:08:57 +01:00
Josh Aas
74249f548e
Bug 647216: Allow mouse event handling in the title bar on OS X. A number of contributors to this patch, including Markus Stange, Paul O'Shannessy, Mike Conley, Stephen Pohl, and myself (Josh Aas). r=mstange,dao,enndeakin
2013-02-05 15:40:34 -06:00
Andrea Marchesini
d2702a1f80
Bug 838124 - Convert BatteryManager to WebIDL. r=peterv
2013-02-05 07:54:49 -05:00
Vicamo Yang
0817867fa4
Bug 833278 - Part 2/2: Implement MozVoicemailEvent using codegenerator. r=gwagner,smaug
2013-02-05 17:02:18 +08:00
Vicamo Yang
f749d57c57
Bug 833278 - Part 1/2: move voicemail sources to dom/voicemail. r=mounir
...
--HG--
rename : dom/telephony/Makefile.in => dom/voicemail/Makefile.in
rename : dom/telephony/Voicemail.cpp => dom/voicemail/Voicemail.cpp
rename : dom/telephony/Voicemail.h => dom/voicemail/Voicemail.h
rename : dom/telephony/VoicemailEvent.cpp => dom/voicemail/VoicemailEvent.cpp
rename : dom/telephony/VoicemailEvent.h => dom/voicemail/VoicemailEvent.h
rename : dom/telephony/nsIDOMVoicemail.idl => dom/voicemail/nsIDOMMozVoicemail.idl
rename : dom/telephony/nsIDOMVoicemailEvent.idl => dom/voicemail/nsIDOMMozVoicemailEvent.idl
rename : dom/telephony/nsIDOMVoicemailStatus.idl => dom/voicemail/nsIDOMMozVoicemailStatus.idl
rename : dom/telephony/nsIDOMNavigatorTelephony.idl => dom/voicemail/nsINavigatorVoicemail.idl
rename : dom/telephony/test/marionette/pdu_builder.js => dom/voicemail/test/marionette/pdu_builder.js
rename : dom/telephony/test/marionette/test_voicemail_number.js => dom/voicemail/test/marionette/test_voicemail_number.js
rename : dom/telephony/test/marionette/test_voicemail_statuschanged.js => dom/voicemail/test/marionette/test_voicemail_statuschanged.js
rename : dom/telephony/test/marionette/test_voicemail_statuschanged.py => dom/voicemail/test/marionette/test_voicemail_statuschanged.py
2013-02-05 17:02:15 +08:00
Josh Aas
1bd545cb01
Back out fix for bug 647216 due to test failures. CLOSED TREE
2013-02-04 10:05:06 -06:00
Bobby Holley
3c1bba8bca
Bug 831076 - Add assertSameCompartment to JS_ObjectToOuterObject, and clean up classinfo hook. r=mrbkap
2013-02-04 15:13:14 +00:00
Josh Aas
41e8b6b37d
Bug 647216: Allow mouse event handling in the title bar on OS X. A number of contributors to this patch, including Markus Stange, Paul O'Shannessy, Mike Conley, Stephen Pohl, and myself (Josh Aas). r=mstange,dao,enndeakin
2013-02-04 09:00:42 -06:00
David Zbarsky
0c1e8d7ef6
Bug 833446: Remove nsIDOMSVGStyleElement r=peterv
2013-02-02 15:23:19 -05:00
David Zbarsky
a9a7aac680
Bug 833446: Remove nsIDOMSVGStopElement r=peterv
2013-02-02 15:23:18 -05:00
David Zbarsky
e1ecd02323
Bug 833446: Remove nsIDOMSVGScriptElement r=peterv
2013-02-02 15:23:18 -05:00
David Zbarsky
866cb6df5e
Bug 833446: Remove nsIDOMSVGRectElement r=peterv
2013-02-02 15:23:18 -05:00
David Zbarsky
4914157510
Bug 833446: Remove nsIDOMSVGPolylineElement r=peterv
2013-02-02 15:23:18 -05:00
David Zbarsky
23bc3145f3
Bug 833446: Remove nsIDOMSVGPolygonElement r=peterv
2013-02-02 15:23:17 -05:00
David Zbarsky
5788f2a0a5
Bug 833446: Remove nsIDOMSVGPatternElement r=bz
2013-02-02 15:23:17 -05:00
David Zbarsky
2b74734bac
Bug 833446: Remove nsIDOMSVGPathElement r=peterv
2013-02-02 15:23:17 -05:00
David Zbarsky
536375ddf7
Bug 833446: Remove nsIDOMSVGMPathElement r=peterv
2013-02-02 15:23:17 -05:00
David Zbarsky
64099f7809
Bug 833446: Remove nsIDOMSVGMetadataElement r=peterv
2013-02-02 15:23:16 -05:00
David Zbarsky
b34c1415ef
Bug 833446: Remove nsIDOMSVGLineElement r=peterv
2013-02-02 15:23:16 -05:00
David Zbarsky
e46ee1bca2
Bug 833446: Remove nsIDOMSVGGradientElement and subclasses r=peterv
2013-02-02 15:23:16 -05:00
David Zbarsky
789b05db43
Bug 833446: Remove nsIDOMSVGGElement r=peterv
2013-02-02 15:23:15 -05:00
David Zbarsky
ccd995fec8
Bug 833446: Remove nsIDOMSVGForeignObjectElement r=peterv
2013-02-02 15:23:15 -05:00
David Zbarsky
1e25a54c2f
Bug 833446: Remove nsIDOMSVGEllipseElement r=peterv
2013-02-02 15:23:15 -05:00
David Zbarsky
08a5a13ddd
Bug 833446: Remove nsIDOMSVGDescElement r=peterv
2013-02-02 15:23:15 -05:00
David Zbarsky
573a670bb8
Bug 833446: Remove nsIDOMSVGDefsElement r=peterv
2013-02-02 15:23:14 -05:00
David Zbarsky
1a76b6259b
Bug 833446: Remove nsIDOMSVGCircleElement r=peterv
2013-02-02 15:23:14 -05:00
David Zbarsky
48e6da7ce8
Bug 833446: Remove nsIDOMSVGAnimationElement r=peterv
2013-02-02 15:23:11 -05:00
David Zbarsky
af6d742311
Bug 833446: Remove nsIDOMSVGSetElement r=peterv
2013-02-02 15:22:37 -05:00
David Zbarsky
1578ebcd03
Bug 833446: Remove nsIDOMSVGAnimateTransformElement r=peterv
2013-02-02 15:22:36 -05:00
David Zbarsky
c33518f27e
Bug 833446: Remove nsIDOMSVGAnimateMotionElement r=peterv
2013-02-02 15:22:36 -05:00
David Zbarsky
37e485b47b
Bug 833446: Remove nsIDOMSVGAnimateElement r=peterv
2013-02-02 15:22:36 -05:00
David Zbarsky
353c1d24c5
Bug 833446: Remove nsIDOMSVGAltGlyphElement r=peterv
2013-02-02 15:22:36 -05:00
Masayuki Nakano
549153acd2
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
d9f49c3dc8
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
15ecedac46
Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
...
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
e4944dd40a
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
395197733f
Merge mozilla-cental into mozilla-inbound
2013-01-31 11:10:40 -05:00
Olli Pettay
801e8d6b46
Bug 836457 - Don't start forgetSkippable/GC timer before first GC, r=mccr8
2013-01-31 00:46:37 +02:00
Reuben Morais
24db28157f
Bug 836513 - Support multiple object stores in IndexedDBHelper.jsm. r=gwagner
2013-01-30 18:03:46 -08:00
Gregor Wagner
f75904f210
Bug 836157 - Contacts API: Remove unused indexes. r=bent
2013-01-30 17:17:07 -08:00
Boris Zbarsky
9b45ffdc77
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
f17cd371b2
Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression
2013-01-29 17:18:06 -05:00
David Zbarsky
57fe33546c
Bug 835195: Remove nsIDOMSVGFitToViewBox r=bz
2013-01-29 17:11:45 -05:00
David Zbarsky
9480d80714
Bug 835195: Remove nsIDOMSVGTests r=bz
2013-01-29 17:11:45 -05:00
Boris Zbarsky
1d5a36a375
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
d47f9bc40a
Merge m-c to inbound.
2013-01-29 10:50:01 -05:00
Ryan VanderMeulen
69a47a12a9
Merge the last PGO-green inbound changeset to m-c.
2013-01-29 09:36:20 -05:00
Boris Zbarsky
27b4736d69
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
94a48e89d4
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
e5d317697d
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
33258062d0
Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8
2013-01-29 12:45:38 +02:00
Robert O'Callahan
4b6c8d2400
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
85d1fd3baf
Bug 835195: Remove nsIDOMSVGFitToViewBox r=bz
2013-01-29 03:50:57 -05:00
David Zbarsky
eb9afe3706
Bug 835195: Remove nsIDOMSVGTests r=bz
2013-01-29 03:50:56 -05:00
Gina Yeh
c65148f7ec
Bug 811569 - Patch 1: Remove unused files in bluetooth, r=echou
2013-01-29 14:52:30 +08:00
Peter Van der Beken
c553f8a73e
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
9474e07ea6
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
6b094e2955
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
f5a63e01fb
Bug 777271 - Re-implement nsIDOMCallEvent using event implementation codegen. r=bent,vicamo,hsinyi
2013-01-28 15:39:50 +08:00
Bill McCloskey
5d9651e480
Bug 751618 - Zone renaming part 7 (r=jonco)
2013-01-27 13:51:41 -08:00
Bill McCloskey
33528b5634
Bug 751618 - Zone renaming part 2 (r=jonco)
2013-01-27 13:51:35 -08:00
Bill McCloskey
f192791e29
Bug 751618 - Add js/GCAPI.h (r=terrence)
2013-01-27 12:35:12 -08:00
Doug Turner
3e86f60063
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
ad0f35e96b
Bug 827280 - Part 2: DOMEvent. r=philikon a=tef+
2013-01-25 19:45:16 +01:00
Bobby Holley
559be5f874
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
eb9ded16bd
Bug 832899. Make sure our canonical isupports matches what various consumers expect. r=smaug
2013-01-24 21:27:55 -05:00
Bobby Holley
c865dc3ca6
Bug 833412 - Remove AddBinding/RemoveBinding and remove dead code. r=bz
2013-01-24 18:45:50 +01:00
Cervantes Yu
c00d2078d9
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
e0f25c9274
Bug 826383: cyclic array for frames recording to support concurrent users. r=jmuizelaar,khuey
2013-01-23 20:47:44 +02:00
Bobby Holley
d0c7862f5e
Bug 832041 - Remove nsJSContext::CompileEventHandler and move consumers to nsJSUtils::CompileFunction. r=bz
2013-01-23 07:12:50 +01:00
Kartikaya Gupta
8c0cc0fece
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
15f6602a90
Merge m-c to inbound.
2013-01-23 18:30:46 -05:00
Olli Pettay
9d51d0bb41
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
74699797c9
Bug 832435 - Fix compartment handling for EvaluteString and javascript: uris. r=bz
2013-01-21 12:56:28 +01:00
Boris Zbarsky
cc38c59fa3
Bug 828787. Stop allowing indexed expandos on windows. r=peterv
2013-01-22 15:29:53 -05:00
Andrew McCreight
761f71fca4
Bug 830595 - Add JSAutoCompartment to nsJSContext::ExecuteScript. r=bz
2013-01-22 11:48:46 -08:00
Steve Fink
9effec722d
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
c5ea080c1a
Back out 7dbbb6e3d240 (bug 832435) for assertion failures
2013-01-18 21:29:05 -08:00
Bobby Holley
bd138ef664
Bug 832435 - Fix compartment handling for EvaluteString and javascript: uris. r=bzbarsky
2013-01-18 23:33:26 -05:00
Steve Fink
d8da3e7b9a
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
0dee2fb42d
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
23f321407b
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
8e97e8e581
Bug 826471. Add JSAutoCompartment in nsWindowSH::NewResolve. r=bholley
2013-01-17 16:30:41 -08:00
Boris Zbarsky
06072bf404
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
6e038d2b99
Bug 824864 - Fix Ms2ger nits. r=me
2013-01-16 18:50:27 -08:00
Bobby Holley
9fce3b092f
Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz
2013-01-16 18:50:27 -08:00
Bobby Holley
2659d8fc54
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
a26c078c60
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
5515799556
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
746d5bebee
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
d3d15aa3fe
Bug 824864 - Remove nsIScriptContext::EvaluateString. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
1f2a4747c6
Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
a14609b21a
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
5a19a07bef
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
baf74b5ce0
Bug 824864 - Hoist the guts of CompileFunction into nsJSUtils. r=bz
2013-01-16 18:50:25 -08:00
Trevor Saunders
83bcbe0d6b
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Gary Kwong
521929f375
Bug 831472 - Add another null check to nsGlobalWindow::GetInnerScreenRect(). r=smaug
2013-01-16 13:44:26 -08:00
David Zbarsky
8826c06ce1
Bug 827174 - Remove nsIDOMSVGLocatable and nsIDOMSVGTransformable r=bz
2013-01-16 15:51:00 -05:00
David Zbarsky
e10b65b185
Bug 827172 - Convert SVGPathElement to WebIDL r=bz
2013-01-16 15:50:59 -05:00
Ed Morley
84b7b29fbf
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2013-01-16 20:22:54 +00:00
Olli Pettay
fef0029520
Bug 830858 - Implement a generic way to dispatch events to chrome only, r=jst
2013-01-16 11:27:06 +02:00
Panos Astithas
ee55ec9122
Merge m-c to fx-team
2013-01-16 10:13:29 +02:00
Olli Pettay
b70de8d5a7
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
259732578f
Bug 787985 - Console API messages are not consistent; r=past
2013-01-15 16:02:25 +02:00
Trevor Saunders
84fd122dde
bug 830396 - add back nsIDOMCSSValueList r=bz
2013-01-14 12:29:27 -05:00
Phil Ringnalda
dfaf3bab2c
Back out ecac2ce4eada (bug 828126) for busting b2g's arm
2013-01-13 17:48:33 -08:00
Kartikaya Gupta
3a5e8a2d07
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
5d03b3664d
Bug 827724 - Remove nsIDOMSVGAnimatedPoints r=bz
2013-01-12 17:21:53 -05:00
Ryan VanderMeulen
d5134b0105
Merge m-c to inbound.
2013-01-15 19:44:40 -05:00
Boris Zbarsky
3a50cb6afb
Bug 830553. Make the asserts in nsWrapperCache.h fatal. r=mccr8
2013-01-15 14:04:24 -05:00
Trevor Saunders
138e996dfc
no bug - remove a bunch of extra ';'s to make -pedantic happy
2013-01-11 05:14:04 -05:00
Trevor Saunders
0e12472abd
bug 828138 - GetCurrentSelection() should return Selection* r=smaug
2012-12-19 17:55:44 -05:00
Ehsan Akhgari
b9c1d100b9
Merge mozilla-central into mozilla-inbound
2013-01-15 09:10:19 -05:00
Olli Pettay
1defaa48e6
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
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
David Zbarsky
de74b8ded9
Bug 830231 - Remove nsIDOMDOM(Settable)TokenList r=bz
2013-01-15 03:35:59 -05:00
Nicholas Nethercote
e7d64e972a
Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
...
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
Andrew McCreight
336d6d78cf
Bug 827541 - Traverse/Unlink nsGlobalWindow::mAudioContexts. r=ehsan
2013-01-14 15:22:00 -08:00