Commit Graph

1145 Commits

Author SHA1 Message Date
Bobby Holley
03f7f4b219 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-26 11:04:09 -08:00
Bobby Holley
481e815158 Bug 812693 - Remove GetJSObjectOfWrapper. r=mrbkap 2013-02-26 08:15:44 -08:00
Peter Van der Beken
3f112891fb Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Boris Zbarsky
516de3340f Bug 842726. Kill off GetterShim and the classinfo support for chrome-only stuff on Document now that we can do that via WebIDL. r=peterv 2013-02-22 09:56:29 -05:00
Ryan VanderMeulen
b30facb288 Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Boris Zbarsky
b033377f9c Bug 842726. Kill off GetterShim and the classinfo support for chrome-only stuff on Document now that we can do that via WebIDL. r=peterv 2013-02-22 09:56:29 -05:00
Peter Van der Beken
b17c86c836 Fix for bug 825628 (Implement NamedConstructor) - add codegen support for NamedConstructor. r=bz.
--HG--
extra : rebase_source : 8393995dca6f65cb49512874c1916ee745436638
2013-01-22 11:51:15 +01:00
David Zbarsky
dcb508719c Bug 833446: Remove nsIDOMSVGMarkerElement r=peterv 2013-02-18 17:48:54 -05:00
David Zbarsky
b20e5c9d55 Bug 833446: Remove nsIDOMSVGImageElement r=peterv 2013-02-18 17:48:54 -05:00
David Zbarsky
5887985676 Bug 833446: Remove nsIDOMSVGMaskElement r=peterv 2013-02-18 17:48:54 -05:00
David Zbarsky
f4ab3aeb02 Bug 833446: Remove nsIDOMSVGAElement r=peterv 2013-02-18 17:48:53 -05:00
David Zbarsky
8ee2b253b4 Bug 833446: Remove nsIDOMSVGTitleElement r=peterv 2013-02-18 17:48:53 -05:00
David Zbarsky
af06207909 Bug 837044 - Convert SVGFilterElement to WebIDL r=bz 2013-02-17 21:14:02 -05:00
David Dahl
cd4de3d8d1 Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - revert nsIWindowCrypto patch - r=jst 2013-02-16 22:43:19 -06:00
David Dahl
e04136004d Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch - r=jst
--HG--
rename : dom/interfaces/base/nsIDOMCrypto.idl => dom/interfaces/base/nsIDOMCryptoLegacy.idl
2013-02-16 22:43:16 -06:00
Phil Ringnalda
c71c586441 Back out 236ba87c0a9f (bug 440046) and d3b7606d94a6:895a7efc978d (bug 683262) for b2g mochitest failures 2013-02-15 23:33:45 -08:00
David Dahl
52c440b803 Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - revert nsIWindowCrypto patch r=jst 2013-02-15 23:34:18 -06:00
David Dahl
a29fc61d9f Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch r=jst
--HG--
rename : dom/interfaces/base/nsIDOMCrypto.idl => dom/interfaces/base/nsIDOMCryptoLegacy.idl
2013-02-15 23:34:15 -06:00
Boris Zbarsky
0880803e2f Bug 822674. Give RTCPeerConnection a sane classinfo. r=jst,jesup. r=peterv pending 2013-02-15 22:41:31 -05:00
Andrea Marchesini
bb88c5ee0d Bug 838532 - Rename nsHTMLLegendElement to HTMLLegendElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLLegendElement.cpp => content/html/content/src/HTMLLegendElement.cpp
rename : content/html/content/src/nsHTMLLegendElement.h => content/html/content/src/HTMLLegendElement.h
2013-02-15 11:55:53 -05:00
Robert O'Callahan
2c25988734 Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 483fca748444db20ed0d35cb586485f277e1808c
2013-02-15 21:04:11 +13:00
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
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
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
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
Olli Pettay
cd8c72e7b9 Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir 2013-02-11 21:37:20 +02: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
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
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
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
David Zbarsky
0c1e8d7ef6 Bug 833446: Remove nsIDOMSVGStyleElement r=peterv 2013-02-02 15:23:19 -05:00