Граф коммитов

2331 Коммитов

Автор SHA1 Сообщение Дата
Peter Van der Beken ff7b3636c3 Bug 993047 - Support outerizing and addProperty hooks on globals with WebIDL bindings. r=bz.
--HG--
extra : rebase_source : cc8f013525dca74a4d7926f3cbb301ac42aab406
2014-02-15 22:12:33 +01:00
Peter Van der Beken c5601a6449 Bug 993688 - Mark Window.document StoreInSlot. r=bz.
--HG--
extra : rebase_source : 016a4cfc9945dd83b6f14d9ce6cc12e2cb5d6fe0
2014-02-05 22:09:19 +01:00
Peter Van der Beken 65e4bfa394 Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz.
--HG--
extra : rebase_source : 4a4f368ba4f84e6e5104522181eb3043efd7ed38
2014-02-15 22:12:33 +01:00
Peter Van der Beken 9bbd30a4ac Bug 990158 - Make inner windows use their wrapper cache. r=bz.
--HG--
extra : rebase_source : bc040c75280bb45ae7ab0ed302130ff5d7178153
2013-11-09 11:20:22 +01:00
xKhorasan c23a5a9e44 Bug 859095 - URL property of document returned by XMLHttpRequest does not follow the spec. r=smaug 2013-09-25 06:56:52 +09:00
Jason Orendorff a6f8b84822 Bug 986492, part 1 - Add fill() convenience function to Codegen.py. r=peterv. 2014-04-04 17:03:11 -05:00
Eric Faust edf5e61761 Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm) 2014-04-04 16:58:08 -07:00
Boris Zbarsky 1da745b30f Bug 985536. Go back to allowing optional any with no default value in WebIDL, but treat it as having a default value of undefined. r=khuey 2014-04-03 23:32:11 -04:00
Olli Pettay c30f51eb9e Bug 991074 - Fix for "Assertion failure: JS_IsExceptionPending(cx), at ./EventListenerBinding.cpp:24". r=bz 2014-04-02 13:25:00 +02:00
Masayuki Nakano d42c98a423 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
Masayuki Nakano abcc0ccd99 Bug 989214 Rename nsPaintRequest to mozilla::dom::PaintRequest r=smaug
--HG--
rename : dom/events/nsPaintRequest.cpp => dom/events/PaintRequest.cpp
rename : dom/events/nsPaintRequest.h => dom/events/PaintRequest.h
2014-04-03 13:18:37 +09:00
Mike Hommey cb1a0d7337 Bug 989522 - Remove LIBXUL_LIBRARY from the moz.build sandbox. r=mshal 2014-04-02 11:52:04 +09:00
Jason Orendorff def2eb96a3 Bug 984883 - Make Codegen.py easier to read. r=bz. 2014-04-01 11:11:44 -05:00
Masayuki Nakano 930436ef24 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Boris Zbarsky 2fe70bbcc4 Bug 958540 part 3. Switch the assignment operator on WebIDL unions to use SetAs*, not RawSetAs*, so you can use it to change the type of a union. r=dzbarsky 2014-04-01 01:58:27 -04:00
Boris Zbarsky e6a9ef1012 Bug 958540 part 2. Rename the existing SetAs* methods on unions to RawSetAs* and add new SetAs* methods that ensure the right type for the union. r=dzbarsky 2014-04-01 01:58:27 -04:00
Boris Zbarsky 9701c614d0 Bug 958540 part 1. Factor out the uninit behavior of union structs into a separate method. r=dzbarsky 2014-04-01 01:58:27 -04:00
Peter Van der Beken 4ceac82e81 Bug 988363 - Outerize when wrapping nsGlobalWindow. r=bz.
--HG--
extra : rebase_source : 68b2816295a8f37fa544d8c79317794e945f2f7e
2014-02-15 22:10:25 +01:00
Boris Zbarsky 6b002b786e Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley 2014-03-29 01:45:10 -04:00
Ed Morley 89dbe7f84e Backed out changeset 8059895497c1 (bug 988363) 2014-03-28 17:14:53 +00:00
Peter Van der Beken 753879f62c Bug 988363 - Outerize when wrapping nsGlobalWindow. r=bz. 2014-02-15 22:10:25 +01:00
Neil Rashbrook cf9b85f5a7 Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
Ehsan Akhgari b344638c9b Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00
John Shih 697caff053 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
Nathan Froyd 9d5430fc7b Bug 987457 - rename ProtoAndIfaceArray to ProtoAndIfaceCache; r=bz 2014-03-22 13:04:09 -04:00
Nathan Froyd a9b5bcd756 Bug 948445 - use different caching schemes for ProtoAndIfaceArray depending on the global kind; r=bz 2013-12-10 16:04:55 -05:00
Bobby Holley 2ca3777187 Bug 958326 - Remove same-compartment security wrapper machinery. r=mrbkap 2014-03-26 10:59:20 -03:00
Boris Zbarsky dfbb146c5c Bug 987110. Disallow dictionary members that would shadow Object.prototype properties. r=bholley 2014-03-25 22:48:46 -04:00
Ms2ger d7c5e3051b Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv 2014-03-24 16:10:27 +01:00
Anvas 40e7bcc3c6 Bug 946897 - Report a more helpful error message when there is a name collision between an IDLExternalInterface and some other named IDL object. r=khuey 2014-03-22 00:25:40 -04:00
Jeff Walden 85e409d130 Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
--HG--
extra : rebase_source : 9e4bd270925efb155dacb91470b617f169526824
2014-03-20 23:24:21 -07:00
Boris Zbarsky 25b6f9a6ac Bug 983300 part 4. Convert exceptions in static methods returning promises into rejected promises. r=khuey,efaust 2014-03-21 12:18:24 -04:00
Boris Zbarsky 0421d9d17b Bug 983300 part 3. Convert exceptions in specialized methods returning promises into rejected promises. r=khuey, efaust 2014-03-21 12:18:24 -04:00
Boris Zbarsky a4309c8b4e Bug 983300 part 2. Introduce a GenericPromiseReturningBindingMethod for methods that return Promise return value. r=khuey,bholley
This method effectively catches exceptions from GenericBindingMethod and converts them into rejected promises.  This handles calls to Promise-returning APIs from everything except Ion fast paths.
2014-03-21 12:18:24 -04:00
Boris Zbarsky f40021934e Bug 983300 part 1. Disallow Promise as a return type for legacy callers and enforce all overloads for a method either returning promises or not returning promises. r=khuey 2014-03-21 12:18:24 -04:00
Boris Zbarsky 7627aed509 Bug 983261. Improve example codegen for non-leaf and non-root interfaces. r=khuey 2014-03-20 23:19:43 -04:00
Boris Zbarsky 20d2acf564 Bug 976305. Use the callee, not the irrelevant this value, to figure out the GlobalObject for a static WebIDL method. r=bholley 2014-03-20 23:19:43 -04:00
Robert O'Callahan 67b726752b Bug 917755. Part 4: Add DOMQuad implementation. r=jst
--HG--
extra : rebase_source : e74d516f27c004ecf5deea40fb397c2a8f5acfae
2013-09-20 22:21:04 +12:00
Robert O'Callahan 416a4278f9 Bug 917755. Part 3: Implement DOMRect per spec. r=jst
--HG--
extra : rebase_source : 46ef3a90763ceaea5bb43652e5c97e16667a9e7f
2013-09-20 22:21:03 +12:00
Robert O'Callahan 7adeaa75fa Bug 917755. Part 2: Implement DOMPoint. r=jst
DOMPointReadOnly is not currently used by anything but it's in the spec so we
might as well support it. It would be useful for adding "topLeft"-style APIs
to DOMRect.

--HG--
extra : rebase_source : 8df6b51b3305e91c7c7693128e70e3e928d44b27
2014-03-12 09:11:37 +08:00
Jeff Walden 6bb4464a03 Back out bug 985687, likely cause of js1_8_5/extensions/recursion.js cantankering. r=CLOSED TREE 2014-03-20 16:39:30 -07:00
Jeff Walden b44fa4bf74 Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
--HG--
extra : rebase_source : 4a9d1d783e658648c4ff210760b38f8353631458
2014-03-11 12:03:56 -07:00
Ryan VanderMeulen 069bec6611 Backed out 8 changesets (bug 917755) for bustage making inbound a CLOSED TREE.
Backed out changeset 98e31d225a5a (bug 917755)
Backed out changeset 43bceca43fb6 (bug 917755)
Backed out changeset 5117e3f594e7 (bug 917755)
Backed out changeset ada41f2f74b8 (bug 917755)
Backed out changeset 5272cfbd63f3 (bug 917755)
Backed out changeset f3bbd98021f7 (bug 917755)
Backed out changeset b049571a7cce (bug 917755)
Backed out changeset 472cb7738e14 (bug 917755)
2014-03-20 16:34:25 -04:00
Robert O'Callahan 9d59ab279c Bug 917755. Part 4: Add DOMQuad implementation. r=jst 2013-09-20 22:21:04 +12:00
Robert O'Callahan 13590066d3 Bug 917755. Part 3: Implement DOMRect per spec. r=jst 2013-09-20 22:21:03 +12:00
Robert O'Callahan df8181c63e Bug 917755. Part 2: Implement DOMPoint. r=jst
DOMPointReadOnly is not currently used by anything but it's in the spec so we
might as well support it. It would be useful for adding "topLeft"-style APIs
to DOMRect.
2014-03-12 09:11:37 +08:00
Birunthan Mohanathas 9a136a0702 Bug 984112 - Part 2: Use JS::CallArgs functions instead of JS_CALLEE in Codegen.py. r=bz 2014-03-19 13:05:04 -04:00
Birunthan Mohanathas e5a1edbddc Bug 984112 - Part 1: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...}, `argc` in dom/. r=bz 2014-03-19 13:05:04 -04:00
Gregory Szorc dceae7622f Bug 983185 - Ensure adding a WebIDL file incurs code generation. r=glandium 2014-03-17 12:41:42 -07:00
Bobby Holley fbb9b62de8 Bug 825392 - Remove SOWs. r=bz 2014-03-19 13:35:45 -03:00
Bobby Holley 82090508be Bug 825392 - Generate anonymous content reflectors in the XBL scope. r=bz 2014-03-19 13:35:45 -03:00
Ehsan Akhgari 2566204ca3 Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky 2014-03-18 00:38:36 -04:00
Carsten "Tomcat" Book d583b802a8 Backed out changeset 92e5d79ec57f (bug 917755) 2014-03-19 09:46:12 +01:00
Carsten "Tomcat" Book cf62801d4f Backed out changeset 3b41ab878fcd (bug 917755) 2014-03-19 09:46:09 +01:00
Carsten "Tomcat" Book 394bd4d67d Backed out changeset 8ad57cf09e75 (bug 917755) 2014-03-19 09:46:07 +01:00
Robert O'Callahan dce81f25da Bug 917755. Part 4: Add DOMQuad implementation. r=jst 2013-09-20 22:21:04 +12:00
Robert O'Callahan b94dc453d2 Bug 917755. Part 3: Implement DOMRect per spec. r=jst 2013-09-20 22:21:03 +12:00
Robert O'Callahan 7a5cc37fd9 Bug 917755. Part 2: Implement DOMPoint. r=jst
DOMPointReadOnly is not currently used by anything but it's in the spec so we
might as well support it. It would be useful for adding "topLeft"-style APIs
to DOMRect.
2014-03-12 09:11:37 +08:00
Ehsan Akhgari 6c58674421 Backed out changeset c0e333b0f7dc (bug 866528) on the suspicion that it has broken gaia unit tests again 2014-03-18 21:12:03 -04:00
Ehsan Akhgari a1a1f54752 Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky 2014-03-18 00:38:36 -04:00
Rik Cabanier b97e98037d Bug 830734 - Implement Path primitives. r=roc 2014-03-18 08:03:06 -04:00
Phil Ringnalda 8b868c6da7 Back out a2e5b6d2f31a (bug 866528) for gaia-unit bustage 2014-03-17 22:53:54 -07:00
Ehsan Akhgari a373411a76 Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky 2014-03-18 00:38:36 -04:00
Jonathan Watt aef65fd574 Bug 984278, part 1 - Rename SVGMatrix::Matrix and SVGTransform::Matrix to SVGMatrix::GetMatrix and SVGTransform::GetMatrix, respectively. r=dholbert 2014-03-18 10:41:35 +08:00
Peter Van der Beken f0dc19c509 Backout 8aca83520a91 (bug 983619) to fix orange/red on a CLOSED TREE. 2014-03-17 20:27:53 +01:00
Peter Van der Beken 9950668d75 Bug 983620 - Remove the unused aScope argument from WrapGlobalObject. r=bz. 2014-02-05 22:09:18 +01:00
Peter Van der Beken 0d26c9750b Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz. 2014-02-15 22:12:33 +01:00
Jon Coppeard bafb7ba32f Bug 959787 - Handlify some friend and debug APIs r=sfink r=bholley 2014-03-17 16:17:58 +00:00
Jan Varga 46850236f7 Bug 980275 - Merge DOMFileRequest and FileRequest. r=bent 2014-03-16 17:53:44 +01:00
Boris Zbarsky f64c8624be Bug 983228. Add a sequence tracer for sequences of unions. r=baku 2014-03-14 14:51:22 -04:00
Boris Zbarsky 54faddbaf7 Bug 983264. Include callback headers in UnionTypes.h when a callback is used in a union. r=mccr8 2014-03-14 14:51:06 -04:00
Boris Zbarsky 0b309b77ef Bug 983029. Make sure to observe stack discipline for Rooted when initializing a WebIDL union containing the 'object' type. r=khuey 2014-03-14 14:50:39 -04:00
Rick Eyre 0f67bb4ee3 Bug 978163 - Part 1: Remove VTTRegionList and VTTRegion TextTrack extensions. r=rillian, r=bz
- These two parts of the spec were recently removed as they
were seen as unecessary or bad design, in the case of the
VTTRegion TextTrack extensions. See the spec bug at:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380
2014-03-10 11:33:06 -04:00
Benoit Jacob 0bacffad36 Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Peter Chang a96dd5a386 backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804 2014-03-12 15:16:20 +08:00
Boris Zbarsky 7a8df8647d Bug 981036 followup. Actually add the comment that was asked for. DONTBUILD 2014-03-10 21:38:04 -04:00
Jeff Gilbert 7e236f76f8 Bug 943190 - Implement WEBGL_compressed_texture_et1. - r=kamidphish 2014-03-10 15:42:58 -07:00
Boris Zbarsky b5d04164e0 Bug 981036. Disallow calling DOM constructors as functions in non-release builds. r=bholley 2014-03-10 17:38:31 -04:00
Richard Barnes 6de821884f Bug 978435 - Add ArgumentToJSVal overload for typed arrays. r=bz 2014-03-10 08:55:46 -04:00
Jeff Gilbert 77c841f7fd Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish 2014-03-07 13:26:17 -08:00
Ryan VanderMeulen e3a295895e Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Benoit Jacob c4922650de Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Gregory Szorc 16abb7de9c Bug 979665 - Properly detect WebIDL type changes; r=froydnj
This patch fixes a bug in WebIDL code generation that could be triggered
if an input file changed locations but the original file remained on
disk. When computing the set of source .webidl files to perform code
generation on, we failed to prune files that were no longer part of the
active set of input files. References to files in old locations would
get pulled in to the regeneration set, leading to a cryptic KeyError
during code generation.

--HG--
extra : rebase_source : 23f1b973133960cfa954d44b20175fc7a369169a
2014-03-05 23:21:02 -08:00
Bobby Holley 0b4592afe8 Bug 969441 - Check for recursion outside of the hairy transplant callsites. r=billm 2014-03-06 15:26:17 -08:00
Kyle Huey 8037c60c94 Bug 978602: Caching the global's nsISupports* off the main thread. r=bz 2014-03-06 13:05:11 -08:00
Vaibhav Agarwal 64e20261db Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Ryan VanderMeulen a05a9b8736 Backed out changesets d65a803d2b9a, 9456495d6121, and 73c710ddf3d8 (bug 977757) for Gaia UI test failures.
CLOSED TREE
2014-03-06 13:10:20 -05:00
Benoit Jacob 7cf243add5 Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-06 11:38:21 -05:00
Boris Zbarsky b5f192bb49 Bug 874788. Allow WebIDL HTMLAllCollection to emulate undefined. r=peterv 2014-03-05 22:48:04 -05:00
Boris Zbarsky 720591b1f5 Bug 874787. Add support for legacycaller on proxy bindings. r=efaust,peterv 2014-03-05 22:48:03 -05:00
Byron Campen [:bwc] b8e3447334 Bug 958221 - Part 3: New webidl for WebrtcGlobalInformation, c++ impl, and removing logging-related stuff from PeerConnectionImpl. r=jib 2014-02-20 09:35:35 -08:00
Boris Zbarsky 865b9215f3 Bug 978618. Fix error reporting for unintended XPConnect exceptions thrown by JS-implemented webidl to actually work correctly. r=bholley 2014-03-05 08:32:27 -05:00
Masayuki Nakano 08a11f7934 Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Bobby Holley dc243c34da Bug 916644 - Disable invoking WebIDL constructors without |new| unless you have the system principal. r=bz 2014-03-04 10:05:08 -08:00
Bobby Holley 46624f507a Bug 976938 - Add a way to identify the Xray parent (if any) of a given function. r=bz 2014-03-04 10:05:07 -08:00
Jeff Walden 4fb5f39899 Bug 972132 - Convert JS::EmptyValueArray to JS::HandleValueArray::empty(). r=terrence
--HG--
extra : rebase_source : 58b87df07373a7811136682b128aea67f04446cd
2014-02-12 23:38:36 -08:00
Bobby Holley c8041c17a7 Bug 975419 - Trace the Incumbent Global from a CallbackObject (but check it too, just to be safe). r=bz,mccr8 2014-03-03 08:53:42 -08:00
Ryan VanderMeulen 88addeaaa1 Backed out changeset 9024f38e3809 (bug 843666) for bustage. 2014-03-03 11:21:10 -05:00
Jeff Gilbert 933c8042ae Bug 843666 - Implement color-buffer-(half-)float for WebGL. r=kamidphish 2014-03-03 10:36:52 -05:00
Masayuki Nakano b05e88ca4d Bug 975688 part.27 Rename nsDOMTimeEvent to mozilla::dom::TimeEvent r=smaug
--HG--
rename : dom/smil/nsDOMTimeEvent.cpp => dom/smil/TimeEvent.cpp
rename : dom/smil/nsDOMTimeEvent.h => dom/smil/TimeEvent.h
2014-02-28 23:58:43 +09:00
Masayuki Nakano e4686896dc Bug 975688 part.26 Rename nsDOMUIEvent to mozilla::dom::UIEvent r=smaug
--HG--
rename : dom/events/nsDOMUIEvent.cpp => dom/events/UIEvent.cpp
rename : dom/events/nsDOMUIEvent.h => dom/events/UIEvent.h
2014-02-28 23:58:43 +09:00
Masayuki Nakano 3e1e0f7de6 Bug 975688 part.25 Rename nsDOMScrollAreaEvent to mozilla::dom::ScrollAreaEvent r=smaug
--HG--
rename : dom/events/nsDOMScrollAreaEvent.cpp => dom/events/ScrollAreaEvent.cpp
rename : dom/events/nsDOMScrollAreaEvent.h => dom/events/ScrollAreaEvent.h
2014-02-28 23:58:43 +09:00
Masayuki Nakano beb0ea2022 Bug 975688 part.24 Rename nsDOMNotifyPaintEvent to mozilla::dom::NotifyPaintEvent r=smaug
--HG--
rename : dom/events/nsDOMNotifyPaintEvent.cpp => dom/events/NotifyPaintEvent.cpp
rename : dom/events/nsDOMNotifyPaintEvent.h => dom/events/NotifyPaintEvent.h
2014-02-28 23:58:43 +09:00
Masayuki Nakano 1546c00e9d Bug 975688 part.23 Rename nsDOMXULCommandEvent to mozilla::dom::XULCommandEvent r=smaug
--HG--
rename : dom/events/nsDOMXULCommandEvent.cpp => dom/events/XULCommandEvent.cpp
rename : dom/events/nsDOMXULCommandEvent.h => dom/events/XULCommandEvent.h
2014-02-28 23:58:42 +09:00
Masayuki Nakano e98eef89a4 Bug 975688 part.22 Rename nsDOMTrasitionEvent to mozilla::dom::TrasitionEvent r=smaug
--HG--
rename : dom/events/nsDOMTransitionEvent.cpp => dom/events/TransitionEvent.cpp
rename : dom/events/nsDOMTransitionEvent.h => dom/events/TransitionEvent.h
2014-02-28 23:58:42 +09:00
Masayuki Nakano a735301202 Bug 975688 part.21 Rename nsDOMNotifyAudioAvailableEvent to mozilla::dom::NotifyAudioAvailableEvent r=smaug
--HG--
rename : dom/events/nsDOMNotifyAudioAvailableEvent.cpp => dom/events/NotifyAudioAvailableEvent.cpp
rename : dom/events/nsDOMNotifyAudioAvailableEvent.h => dom/events/NotifyAudioAvailableEvent.h
2014-02-28 23:58:42 +09:00
Masayuki Nakano 74a940f4ad Bug 975688 part.20 Rename nsDOMTouchEvent and nsDOMTouchList to mozilla::dom::TouchEvent and TouchList r=smaug
--HG--
rename : dom/events/nsDOMTouchEvent.cpp => dom/events/TouchEvent.cpp
rename : dom/events/nsDOMTouchEvent.h => dom/events/TouchEvent.h
2014-02-28 23:58:42 +09:00
Masayuki Nakano 91259ee9f2 Bug 975688 part.19 Remove unnecessary items in Bindings.conf r=smaug 2014-02-28 23:58:41 +09:00
Boris Zbarsky 6519b1495e Bug 952890 part 2. Remove the IsArrayLike method, since it no longer matches any spec concept. r=peterv 2014-02-14 10:46:09 -05:00
Boris Zbarsky 86168712ad Bug 952890 part 1. Make WebIDL sequence JS to C++ conversions use for-of iteration, not length/index gets. r=peterv 2014-02-14 10:46:09 -05:00
Andrea Marchesini f90b5edc71 Bug 965860 - patch 7 - Console API in workers, r=khuey 2014-02-27 23:39:30 +00:00
Andrea Marchesini 286e0c9290 Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00:00
Benjamin Bouvier 460c4df9b5 Bug 939843: Required changes in the rest of the tree; r=froydnj
--HG--
extra : rebase_source : 5757eb2b73755c8da08112b91b025a8fa860d7e8
2014-02-27 16:23:16 +01:00
Peter Van der Beken 04632f8c63 Bug 803106 part 2. Convert DOMStringList to WebIDL bindings - add WebIDL API and switch. r=bzbarsky 2013-07-09 13:54:21 -04:00
Boris Zbarsky b2f3c9e80a Bug 974284. Do a better job of commoning up identical cases in overload resolution for WebIDL methods. r=khuey 2014-02-27 07:54:33 -05:00
Masayuki Nakano 22b9dd0bd8 Bug 975688 part.18 Rename nsDOMMutationEvent to mozilla::dom::MutationEvent r=smaug
--HG--
rename : dom/events/nsDOMMutationEvent.cpp => dom/events/MutationEvent.cpp
rename : dom/events/nsDOMMutationEvent.h => dom/events/MutationEvent.h
2014-02-27 19:51:16 +09:00
Masayuki Nakano fbdfd0d71c Bug 975688 part.15 Rename nsDOMMouseEvent to mozilla::dom::MouseEvent r=smaug
--HG--
rename : dom/events/nsDOMMouseEvent.cpp => dom/events/MouseEvent.cpp
rename : dom/events/nsDOMMouseEvent.h => dom/events/MouseEvent.h
2014-02-27 19:51:15 +09:00
Masayuki Nakano 08b2065649 Bug 975688 part.14 Rename nsDOMSimpleGestureEvent to mozilla::dom::SimpleGestureEvent r=smaug
--HG--
rename : dom/events/nsDOMSimpleGestureEvent.cpp => dom/events/SimpleGestureEvent.cpp
rename : dom/events/nsDOMSimpleGestureEvent.h => dom/events/SimpleGestureEvent.h
2014-02-27 19:51:14 +09:00
Masayuki Nakano 37507c1447 Bug 975688 part.13 Rename nsDOMMouseScrollEvent to mozilla::dom::MouseScrollEvent r=smaug
--HG--
rename : dom/events/nsDOMMouseScrollEvent.cpp => dom/events/MouseScrollEvent.cpp
rename : dom/events/nsDOMMouseScrollEvent.h => dom/events/MouseScrollEvent.h
2014-02-27 19:51:14 +09:00
Masayuki Nakano 575dddd2a7 Bug 975688 part.12 Rename nsDOMMessageEvent to mozilla::dom::MessageEvent r=smaug
--HG--
rename : dom/events/nsDOMMessageEvent.cpp => dom/events/MessageEvent.cpp
rename : dom/events/nsDOMMessageEvent.h => dom/events/MessageEvent.h
2014-02-27 19:51:14 +09:00
Masayuki Nakano 995c887975 Bug 975688 part.11 Rename nsDOMKeyboardEvent to mozilla::dom::KeyboardEvent r=smaug
--HG--
rename : dom/events/nsDOMKeyboardEvent.cpp => dom/events/KeyboardEvent.cpp
rename : dom/events/nsDOMKeyboardEvent.h => dom/events/KeyboardEvent.h
2014-02-27 19:51:13 +09:00
Masayuki Nakano e78d71ae2e Bug 975688 part.10 Rename nsDOMFocusEvent to mozilla::dom::FocusEvent r=smaug
--HG--
rename : dom/events/nsDOMFocusEvent.cpp => dom/events/FocusEvent.cpp
rename : dom/events/nsDOMFocusEvent.h => dom/events/FocusEvent.h
2014-02-27 19:51:13 +09:00
Masayuki Nakano 02356668d7 Bug 975688 part.9 Rename nsDOMDragEvent to mozilla::dom::DragEvent r=smaug
--HG--
rename : dom/events/nsDOMDragEvent.cpp => dom/events/DragEvent.cpp
rename : dom/events/nsDOMDragEvent.h => dom/events/DragEvent.h
2014-02-27 19:51:13 +09:00
Masayuki Nakano e110ac2771 Bug 975688 part.8 Rename nsDOMDeviceMotionEvent, nsDOMDeviceAcceleration and nsDOMDeviceRotationRate to mozilla::dom::DeviceMotionEvent, DeviceAcceleration and DeviceRotationRate r=smaug
--HG--
rename : dom/events/nsDOMDeviceMotionEvent.cpp => dom/events/DeviceMotionEvent.cpp
rename : dom/events/nsDOMDeviceMotionEvent.h => dom/events/DeviceMotionEvent.h
2014-02-27 19:51:12 +09:00
Peter Van der Beken 9eec664955 Bug 923054 part 2 - Convert DataTransfer to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=smaug 2014-02-26 22:23:31 -05:00
L. David Baron 03ba2e465b Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Kyle Huey 27b2eadbc9 Bug 975052. r=smaug 2014-02-26 11:00:40 -08:00
Luke Wagner e3573fb7b1 Bug 976763 - Change DescribeStack not to return JSScripts or JSFunctions (r=bz)
--HG--
extra : rebase_source : d9a784df61c00421c9a1e360f92ffc763bf49858
2014-02-25 09:43:14 -06:00
Boris Zbarsky 693e95b137 Bug 962256 yet another part. Eliminate some unnecessary roots in HTMLDocumentBinding::DOMProxyHandler::get. r=bholley 2014-02-26 12:40:57 -05:00
Masayuki Nakano 5f6ada5fe1 Bug 975688 part.7 Rename nsDOMDataContainerEvent to mozilla::dom::DataContainerEvent r=smaug
--HG--
rename : dom/events/nsDOMDataContainerEvent.cpp => dom/events/DataContainerEvent.cpp
rename : dom/events/nsDOMDataContainerEvent.h => dom/events/DataContainerEvent.h
2014-02-26 14:23:57 +09:00
Masayuki Nakano 5408070eb3 Bug 975688 part.6 Rename nsDOMCompositionEvent to mozilla::dom::CompositionEvent r=smaug
--HG--
rename : dom/events/nsDOMCompositionEvent.cpp => dom/events/CompositionEvent.cpp
rename : dom/events/nsDOMCompositionEvent.h => dom/events/CompositionEvent.h
2014-02-26 14:23:57 +09:00
Masayuki Nakano 07efb07672 Bug 975688 part.5 Rename nsDOMCommandEvent to mozilla::dom::CommandEvent r=smaug
--HG--
rename : dom/events/nsDOMCommandEvent.cpp => dom/events/CommandEvent.cpp
rename : dom/events/nsDOMCommandEvent.h => dom/events/CommandEvent.h
2014-02-26 14:23:57 +09:00
Masayuki Nakano f243a4eec3 Bug 975688 part.4 Rename nsDOMClipboardEvent to mozilla::dom::ClipboardEvent r=smaug
--HG--
rename : dom/events/nsDOMClipboardEvent.cpp => dom/events/ClipboardEvent.cpp
rename : dom/events/nsDOMClipboardEvent.h => dom/events/ClipboardEvent.h
2014-02-26 14:23:56 +09:00
Masayuki Nakano 2be0e7595e Bug 975688 part.3 Rename nsDOMBeforeUnloadEvent to mozilla::dom::BeforeUnloadEvent r=smaug
--HG--
rename : dom/events/nsDOMBeforeUnloadEvent.cpp => dom/events/BeforeUnloadEvent.cpp
rename : dom/events/nsDOMBeforeUnloadEvent.h => dom/events/BeforeUnloadEvent.h
2014-02-26 14:23:56 +09:00
Masayuki Nakano 5f1f78c6aa Bug 975688 part.2 Rename nsDOMAnimationEvent to mozilla::dom::AnimationEvent r=smaug
--HG--
rename : dom/events/nsDOMAnimationEvent.cpp => dom/events/AnimationEvent.cpp
rename : dom/events/nsDOMAnimationEvent.h => dom/events/AnimationEvent.h
2014-02-26 14:23:56 +09:00
Masayuki Nakano 395849cf02 Bug 975688 part.1 Rename DOMWheelEvent to WheelEvent r=smaug
--HG--
rename : dom/events/DOMWheelEvent.cpp => dom/events/WheelEvent.cpp
rename : dom/events/DOMWheelEvent.h => dom/events/WheelEvent.h
2014-02-26 14:23:55 +09:00
Olli Pettay 8950709e0c Bug 976302 - MutationRecord should use mozilla::dom::DOMString, r=bz
--HG--
extra : rebase_source : 20188f6025d24c4ee109aefaa2642fb586147223
2014-02-26 02:45:08 +02:00
Boris Zbarsky 5d9538ac63 Back out revision c35458a437cc (bug 976305) for breaking DataStore tests. r=orange 2014-02-25 18:52:21 -05:00
Boris Zbarsky 64d168c67b Bug 976305. Use the callee, not the irrelevant this value, to figure out the GlobalObject for a static WebIDL method. r=bholley 2014-02-25 17:26:16 -05:00
Kyle Huey 006d532a8a Bug 974120: Add helpers for using Promse::MaybeResolve/MaybeReject from C++. r=bz
Using JSAPI is tedious and error-prone.  It's much better to handle that once in the Promise code and allow callers to pass C++ objects.
2014-02-25 13:34:55 -08:00
Boris Zbarsky ac935748b5 Bug 972312 part 1. Generate virtual As*Event functions on WebIDL events so that we can easily go from an nsDOMEvent to the relevant event subtype. r=smaug 2014-02-23 00:01:12 -05:00
Bobby Holley c3916e0699 Bug 973780 - Remove Xray expando slot from new-binding objects. r=bz 2014-02-21 11:35:49 -08:00
Luke Wagner b1325de739 Bug 797126 - Remove tinyid/shortid/userid (r=terrence)
--HG--
extra : rebase_source : d3cee5e71ca02708e91419b209b5914ce9fd2f9f
2014-02-21 10:24:26 -06:00
Phil Ringnalda 01ad150169 Back out 0f5f58d5d410:8db4d719f5f8 (bug 973780) for debug WinXP mochitest-3 assertions
CLOSED TREE
2014-02-20 20:46:50 -08:00
Bobby Holley 04c9e8266a Bug 973780 - Remove Xray expando slot from new-binding objects. r=bz 2014-02-20 18:24:10 -08:00
Boris Zbarsky 022c86a654 Bug 973905. setTimeout/setInterval with a string first arg but more than two arguments should still work (and ignore the extra arguments). r=smaug 2014-02-19 10:13:38 -05:00
Boris Zbarsky 7ee245a69d Bug 970764. Remove support for non-optional "any" arguments values, since "any" needs to be able to include undefined anyway. Have "any" arguments and dictionary entries default to undefined unless the IDL explicitly says "= null". r=khuey 2014-02-19 10:13:38 -05:00
Ehsan Akhgari 9df66916f4 Bug 973405 - Move some misc LOCAL_INCLUDES to moz.build; r=glandium 2014-02-18 08:49:12 -05:00
Phil Ringnalda 7d3085e511 Merge b-i to m-c 2014-02-15 10:01:36 -08:00
Bobby Holley 4de0b7d455 Bug 968335 - Tests. r=bz 2014-02-14 22:36:44 -08:00
Bobby Holley e5ad98ec72 Bug 968335 - Implement GetCallerPrincipalOverride. r=bz 2014-02-14 22:36:44 -08:00
Bobby Holley 5b2f9328e7 Bug 923904 - Tests. r=mccr8
We land these before actually landing bug 923904, because we want to build the
tests for bug 968335 on top of the same infrastructure.
2014-02-14 22:36:43 -08:00
Mike Habicher 557d8c2d5c Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
Phil Ringnalda 4d898ac6fc Back out 4fc776ee6852:6a0ebe4ddd01 (bug 968335) and e7d697004921 (bug 923904) for b2g emulator build bustage
CLOSED TREE
2014-02-14 18:35:30 -08:00
Bobby Holley 4ea924c950 Bug 968335 - Tests. r=bz 2014-02-14 16:13:38 -08:00
Bobby Holley c0fe9cb542 Bug 968335 - Implement GetCallerPrincipalOverride. r=bz 2014-02-14 16:13:38 -08:00
Bobby Holley 2ef77bb4c3 Bug 923904 - Tests. r=mccr8
We land these before actually landing bug 923904, because we want to build the
tests for bug 968335 on top of the same infrastructure.
2014-02-14 16:13:37 -08:00
Michael Shuen 0c14b1c010 Bug 934817 - Part 2.5: Remove 0-length string check in dom/bindings/BindingUtils.cpp. r=bz 2014-02-14 11:15:43 -05:00
Jeff Gilbert 6c7fc28cfd Bug 823454 - Implement EXT_frag_depth for WebGL. - r=kamidphish 2014-02-13 15:00:12 -08:00
Jon Coppeard 735137fc57 Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz 2014-02-13 15:33:04 +00:00
Jeff Gilbert 337c3608dc Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-13 09:53:53 -05:00
Boris Zbarsky 5aacab2d55 Back out bug 952890, since the dependencies aren't fixed yet. 2014-02-14 10:50:19 -05:00
Boris Zbarsky 80ea81c519 Bug 952890 part 2. Remove the IsArrayLike method, since it no longer matches any spec concept. r=peterv 2014-02-14 10:46:09 -05:00
Boris Zbarsky 4ea2d8e2d5 Bug 952890 part 1. Make WebIDL sequence JS to C++ conversions use for-of iteration, not length/index gets. r=peterv 2014-02-14 10:46:09 -05:00
Jon Coppeard d0e56d0b88 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Jeff Gilbert 2637bba125 Bug 968374 - Implement WEBGL_debug_shaders. r=bjacob 2014-02-11 17:37:06 -05:00
Nathan Froyd 2029b67932 Bug 970507 - mark generated DOMIfaceAndProtoJSClass instances as const; r=bz 2014-02-10 15:11:58 -05:00
Nathan Froyd 24631a473e Bug 957175 - reduce relocations required by NamesOfInterfacesWithProtos; r=bz 2014-02-10 10:24:38 -05:00
Jon Coppeard c3759c40ff Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug 2014-02-11 10:59:16 +00:00
Nathan Froyd 168d8c1c01 Bug 969022 - remove s*_ids static constructors by explicitly tracking id initialization state; r=bz 2014-02-06 15:05:30 -05:00
Boris Zbarsky 7abaa88b21 Bug 956806 part 2. Share generic getters/setters/methods across all bindings. r=peterv 2014-02-07 15:56:14 -05:00
Boris Zbarsky 0ff9131667 Bug 956806 part 1. Output a list of prototype names in PrototypeList.cpp. r=peterv 2014-02-07 15:50:23 -05:00
Ryan VanderMeulen 2b2cf89a68 Backed out changeset 8d885b139d7d (bug 912280) for bustage. 2014-02-07 10:38:27 -05:00
Jeff Gilbert 0db3af46b0 Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-07 10:21:49 -05:00
Boris Zbarsky c0e5c60b65 Bug 965927. [StoreInSlot] and [Cached] getters should use the reflector as the scope obj when wrapping the return value. r=peterv 2014-02-06 21:08:29 -05:00
Boris Zbarsky 933eab0317 Bug 968665. Get rid of MainThreadDictionaryBase and the dictionary bits in DummyBinding, since we now codegen a single version of dictionaries for both mainthread and workers. r=khuey 2014-02-06 21:08:28 -05:00
Ehsan Akhgari 4a415b8dd7 Bug 968643 - Part 2: Remove the [PrefControlled] WebIDL annotation; r=bzbarsky 2014-02-06 13:28:35 -05:00
Boris Zbarsky c15e175b05 Bug 964875 part 3. Define WebIDL quickstubs for ChromeWindow. r=peterv 2014-02-05 23:37:30 -05:00
Boris Zbarsky b58f2006a2 Bug 964875 part 1. Add a WebIDL ChromeWindow interface for use in instanceof once Window is on WebIDL bindings. r=peterv 2014-02-05 23:36:57 -05:00
Boris Zbarsky bb0bc45763 Bug 967694. Don't generate Xray resolveOwnProperty/enumerateOwnProperties hooks on WebIDL Xrays for plugin-loading elements, because those elements really only want to have the hook called when they're being touched by script from the same website. r=bholley 2014-02-05 13:38:18 -05:00
Boris Zbarsky 024de5ef38 Bug 965094. Reconcile the behavior of the JSObject* argument for Func on interfaces and on interface members. r=bholley 2014-02-05 13:38:18 -05:00
Boris Zbarsky a1296ea4d4 Bug 963380. Improve codegen for [Cached] and [StoreInSlot] attributes that have multiple wrapping paths to have less duplicated code. r=peterv 2014-02-05 13:38:17 -05:00
Boris Zbarsky 5f98263d40 Bug 958667 part 5. Hook up AvailableIn for interface members. r=peterv 2014-02-05 13:38:17 -05:00
Boris Zbarsky 4ecbf2387a Bug 958667 part 4. Hook up an AvailableIn extended attribute for interfaces. r=peterv 2014-02-05 13:38:17 -05:00
Boris Zbarsky f9ba8ad57a Bug 958667 part 3. Add helper methods for testing whether things should be exposed in privilegd or certified apps. r=peterv 2014-02-05 13:38:17 -05:00
Boris Zbarsky e4850f6e76 Bug 958667 part 1. Make it possible to use multiple methods of disabling the visibility of a constructor at once, disabling it if any of them says it should be disabled. r=peterv 2014-02-05 13:38:16 -05:00
Boris Zbarsky 4061bda4b1 Bug 963388. Add support for nullable dictionary return values in callbacks and js-implemented bindings. r=peterv 2014-02-05 13:38:16 -05:00
Boris Zbarsky d5d6e0f8f3 Bug 963321 part 2. Add codegen support for [Cached] dictionary attributes. r=khuey 2014-02-05 13:38:16 -05:00
Boris Zbarsky 5c995f6064 Bug 963321 part 1. Add WebIDL parser support for having [Cached] dictionary attributes. r=khuey
We don't know at handleExtendedAttribute time what the identifier will
map to, so have to do the check that [Frozen] is not being misused
later.
2014-02-05 13:38:15 -05:00
Bill McCloskey 55fab4d8d9 Bug 962604 - Add ActorDestroy handling to CPOWs (r=mrbkap) 2014-02-05 08:39:59 -08:00
Bobby Holley 8bf2c8aa3b Bug 959013 - Create storage for declarative class bootstrapping information on js::Class. r=luke 2014-02-04 07:51:54 -08:00
Boris Zbarsky 3c296f449e Bug 966665. Don't DCE DOM method calls and getters that can throw exceptions. r=jandem 2014-02-03 11:04:06 -05:00
Kyle Huey 1d5269baf5 Bug 958011: Fix worker object cycle collection to not rely on the JSObject being finalized, which is a bogus assumption. r=bent,mccr8 2014-02-02 10:08:50 -08:00
Kyle Huey b5074bbbd6 Bug 966466: Rename thisObj to thisObjPtr so people will know what to pass in. r=bz 2014-02-02 10:08:46 -08:00
Jon Coppeard 4df3aa4450 Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Eric Faust 225b0cbc1c Bug 924720 - Followup: Remove js::IsProxyClass(clasp), and use clasp->isProxy() instead. (r=jwalden) 2014-02-01 00:30:44 -08:00
Eric Faust 6635c05430 Bug 947487 - Part 2: Generate and use js::Class structs for DOM proxies. (r=bz) 2014-02-01 00:29:52 -08:00
Eric Faust 5bd518d6ef Bug 947487 - Part 1: Convert DOMJSClass::mBase from JSClass to js::Class. (r=bz) 2014-02-01 00:29:50 -08:00
Nathan Froyd 335177a2c3 Bug 965634 - move nsString construction out of mozilla::dom::Register for a codesize win; r=bz 2014-01-30 14:53:49 -05:00
Carsten "Tomcat" Book f4bc96a601 Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE 2014-01-31 12:11:23 +01:00