Jeff Walden
777c2ff26e
Bug 1085566 - Make the preventExtensions hook return succeeded/failed rather than always indicate failure by reporting an error. r=efaust
...
--HG--
extra : rebase_source : 487b569d23ce18f39fc53697e5f25cc789885803
2014-10-19 01:18:43 -07:00
Boris Zbarsky
0929eae5cc
Bug 1019191 part 23. Eliminate the ppArgRef argument of xpc_qsUnwrapArgImpl and UnwrapArg, since we're now always handing out a ref in ppArg. r=peterv
2014-10-22 11:40:51 -04:00
Boris Zbarsky
a688f3fefc
Bug 1019191 part 22. Eliminate the effectively unused vp argument of xpc_qsUnwrapArgImpl. r=peterv
2014-10-22 11:40:51 -04:00
Boris Zbarsky
b87343d102
Bug 1019191 part 21. Change xpc_qsUnwrapArgImpl and UnwrapArg to take a HandleObject, not a HandleValue. r=peterv
2014-10-22 11:40:50 -04:00
Boris Zbarsky
e4db1a7e1e
Bug 1019191 part 19. Change GlobalObject::GetAsSupports to not rely on UnwrapArg producing an nsISupports for non-reflectors. r=peterv
2014-10-22 11:40:50 -04:00
Boris Zbarsky
6c525b5027
Bug 1019191 part 16. Remove nsDOMQS.h. r=peterv
2014-10-22 11:40:49 -04:00
Boris Zbarsky
56c4d8609d
Bug 1019191 part 10. Stop using xpc_qsUnwrapArg directly in BindingUtils. r=peterv
2014-10-22 11:40:48 -04:00
Boris Zbarsky
0a3ff9a9b2
Bug 1019191 part 9. Remove now-dead JS-to-C++ quickstub conversion functions. r=peterv
2014-10-22 11:40:48 -04:00
Akshendra Pratap
dd64a73baf
Bug 1058651 - Added MOZ_UNLIKELY to Codegen.py argument number and exception checks; r=bz
2014-10-20 05:54:00 +02:00
Carsten "Tomcat" Book
fcc0eb1e30
Backed out changeset 9e900e87b4bb (bug 1085566)
2014-10-22 08:59:09 +02:00
Carsten "Tomcat" Book
aca347b75c
Backed out changeset 4eee647a5bd4 (bug 1052139)
2014-10-22 08:59:05 +02:00
Jeff Walden
b012538ad3
Bug 1052139 - Reorder the preventExtensions trap just after the [[Prototype]]-access traps. r=code-motion
...
--HG--
extra : rebase_source : 18f69552bad6922c1b602cbf81d6961883e4d5b8
2014-10-21 11:40:04 -07:00
Jeff Walden
1d2a7aa6cd
Bug 1085566 - Make the preventExtensions hook return succeeded/failed rather than always indicate failure by reporting an error. r=efaust
...
--HG--
extra : rebase_source : 3b61c22efe8b5b2b3135b11556b6b329479d3dcd
2014-10-19 01:18:43 -07:00
Peter Van der Beken
d76c717d3c
Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
...
--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085
2014-10-01 20:43:26 +02:00
Peter Van der Beken
d636dffdf7
Bug 1082583 - Avoid shadowing iter variable in DOM bindings generated code. r=bz.
...
--HG--
extra : rebase_source : dcf91cdcb4676ac37772756d4ac42126352f3675
2014-10-14 16:12:36 +02:00
Brian Birtles
311c41828e
Bug 1070745 part 2 - Update AnimationPlayer IDL to enable play() and pause(); r=bz
...
We map play()/pause() to PlayFromJS/PauseFromJS internally so that internal
users don't accidentally call Play()/Pause() which flush style.
2014-10-20 13:55:43 +09:00
Boris Zbarsky
c522210a60
Bug 1083591. Support stringifiers and jsonifiers on non-concrete Web IDL interfaces as well, since they make sense there. r=peterv
2014-10-19 22:26:20 -04:00
Boris Zbarsky
95886106af
Bug 1084439. Remove ResolveWorkerClasses in favor of [Exposed=System] annotations. r=bholley
2014-10-19 22:25:49 -04:00
Olli Pettay
3b8be5cd0d
Bug 1084421 - Only Events with a wrapper should trigger GC more likely, r=mccr8
...
--HG--
extra : rebase_source : 398e18dfc3d103ee139cc3c5d49710855c925e82
2014-10-18 02:16:58 +03:00
Olli Pettay
4066b17292
Bug 1082839 - WebIDL for WindowRoot, r=peterv
...
--HG--
extra : rebase_source : 035e2752e12f31b78accae45eb1534c4dc31b690
2014-10-18 02:05:16 +03:00
Brian Hackett
87281e9299
Bug 1073842 - Remove slots/elements from non-native objects, use a new layout for proxies and typed objects, r=luke,billm,efaust,bz,sfink,jandem.
2014-10-17 16:57:52 -07:00
Boris Zbarsky
a2710406db
Bug 1073124 part 2. Define Exposed=System things in BackstagePass::NewResolve as needed. r=bholley
2014-10-17 11:30:19 -04:00
Boris Zbarsky
ed12d1f80c
Bug 1073124 part 1. Hack the "System" global name into the Web IDL parser, since we have no actual Web IDL interface for system globals. r=khuey
2014-10-17 11:30:18 -04:00
Tom Schuster
a3ee1b5004
Bug 1081692 - Move TreeColumn to WebIDL. r=khuey
...
--HG--
rename : layout/xul/tree/nsITreeColumns.idl => dom/webidl/TreeColumn.webidl
2014-10-17 11:13:41 +02:00
Jason Orendorff
8ec9f238d9
Bug 1082672, part 4 - Change XrayWrapper code to be able to resolve symbol-keyed methods. r=bz, r=bholley.
...
--HG--
extra : rebase_source : f78cbb83f63dfffd648c6d3c280273f4a61c9fe8
extra : amend_source : f006a096174eee166125430753e65e9a31bd930b
2014-09-18 12:30:38 -05:00
Jason Orendorff
bf48f46a72
Bug 1082672, part 3 - Add some more symbol support for DOM bindings. r=bz.
...
--HG--
extra : rebase_source : 79b314cb464e9c77ac25bc19e91b6e13aa241aeb
2014-10-06 16:42:33 -05:00
Jason Orendorff
35b526eb20
Bug 1082672, part 2 - Change mozilla::dom::GetArrayIndexFromId to cope with symbols. r=bz.
...
--HG--
extra : rebase_source : f183b8c543e42664e2374954b627600a5de5a42d
2014-09-17 15:37:58 -05:00
Jason Orendorff
07d717f6df
Bug 1082672, part 1 - Add JSAPI macros JS_SYM_FN etc. to support defining functions with well-known symbol keys. r=Waldo.
...
--HG--
extra : rebase_source : 9791c940599844802c9a262fe8b1610a0de3ef40
2014-07-25 18:50:48 -05:00
Jason Orendorff
ea94038f6d
Bug 1081280 - Rename BaseProxyHandler::keys -> getOwnEnumerablePropertyKeys. r=efaust.
...
--HG--
extra : rebase_source : 009323b607d53066b77191f9254918b61ea4d594
2014-10-08 22:01:55 -05:00
Jason Orendorff
87d538f309
Bug 1081255 - Rewrite comments in jsproxy.h; reclassify the methods a bit. No change in behavior. r=efaust, r=bz, r=jwalden.
...
--HG--
extra : rebase_source : b3440548322d65b2bd01862fb863e6197eb263c6
2014-10-08 12:09:08 -05:00
Nikhil Marathe
7b2c55eff6
Bug 1039846 - Response implementation. r=baku
...
--HG--
extra : rebase_source : 0da394758a5ccf6c1fe87d1a51ed0c4c27d9350e
2014-09-26 16:41:15 -07:00
Ryan VanderMeulen
23f412b30d
Backed out changeset 8d198ef0b559 (bug 1082583) for test_headers.html failures.
...
CLOSED TREE
2014-10-15 13:17:06 -04:00
Carsten "Tomcat" Book
30b84bb311
Backed out changeset 6f411275b7ec (bug 1068740) for bustage on a CLOSED TREE
2014-10-15 16:50:45 +02:00
Peter Van der Beken
e1454b0fb2
Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
...
--HG--
extra : rebase_source : f2d78da408764170cb9f366d97960ca62245f113
2014-10-01 20:43:26 +02:00
Peter Van der Beken
00cc7fe83a
Bug 1082583 - Avoid shadowing iter variable in DOM bindings generated code. r=bz.
...
--HG--
extra : rebase_source : d8ea9739283813cbe2cb4b31c3a647b5b76b0595
2014-10-14 16:12:36 +02:00
Jon Morton
1700296f02
Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
...
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Ehsan Akhgari
9fe74dfec0
Bug 839838 - Implement DOMRequest.then; r=sicking,bzbarsky
...
This is implemented by creating a Promise object internally and
forwarding the .then() call to it. Any further callbacks passed to
future .then() calls will be added as callbacks on the same internal
promise object. We also take care of resolving or rejecting the promise
if the success/error event of the DOMRequest object has been fired
before .then() is called.
2014-10-11 09:46:01 -04:00
Tom Schuster
bf9324688d
Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
2014-10-12 19:37:41 +02:00
Andrea Marchesini
125dadca5d
Bug 504553 - patch 3 - WebSockes in Workers: Workers supported, r=smaug
2014-10-10 17:58:05 +01:00
Jason Orendorff
3b9169d831
Bug 1079640 - Fix some tests that fail when ES6 symbols are disabled. r=bz. DONTBUILD.
...
--HG--
extra : rebase_source : 7544ce2f0b8e2e59050ed87d7aea757e4702c834
extra : amend_source : 00f15dbe7b3f700fe3f6debede75c3b9a272e504
2014-10-08 11:12:11 -05:00
Tom Schuster
ced1cd1fbd
Bug 844457 - Move XSLTProcessor to WebIDL. r=peterv
...
--HG--
rename : dom/xslt/nsIXSLTProcessor.idl => dom/webidl/XSLTProcessor.webidl
rename : dom/xslt/xml/txXMLUtils.cpp => dom/xslt/base/txExpandedName.cpp
rename : dom/xslt/xml/txXMLUtils.h => dom/xslt/base/txExpandedName.h
2014-10-10 14:21:54 +02:00
Ryan VanderMeulen
2e4734fdf0
Backed out changeset 012853bd80b7 (bug 844457) for likely being the real cause of the mochitest-dt failures.
...
CLOSED TREE
2014-10-09 13:39:14 -04:00
Steve Fink
b640335cbc
Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey
2014-10-07 10:44:07 -07:00
Tom Schuster
ffe3f3710e
Bug 844457 - Move XSLTProcessor to WebIDL. r=peterv
...
--HG--
rename : dom/xslt/nsIXSLTProcessor.idl => dom/webidl/XSLTProcessor.webidl
rename : dom/xslt/xml/txXMLUtils.cpp => dom/xslt/base/txExpandedName.cpp
rename : dom/xslt/xml/txXMLUtils.h => dom/xslt/base/txExpandedName.h
2014-10-09 17:25:43 +02:00
Nathan Froyd
29e674ec77
Backout c41ceb365f00, 626abc356c25, and b756cab77bac (bug 839838) for non-unified build bustage on a CLOSED TREE
2014-10-08 20:43:33 -04:00
Ehsan Akhgari
7204218790
Bug 839838 - Implement DOMRequest.then; r=sicking,bzbarsky
...
This is implemented by creating a Promise object internally and
forwarding the .then() call to it. Any further callbacks passed to
future .then() calls will be added as callbacks on the same internal
promise object. We also take care of resolving or rejecting the promise
if the success/error event of the DOMRequest object has been fired
before .then() is called.
2014-10-08 17:36:48 -04:00
Jason Orendorff
41b9b13312
Bug 1026918, part 2 - Rename js::GetPropertyNames -> GetPropertyKeys. r=efaust.
...
--HG--
extra : rebase_source : 359dceadb4dfcfc9c724d2995c121a56af610c7d
2014-09-26 19:39:35 -05:00
Jason Orendorff
d35e6d1e8d
Bug 1026918, part 1 - Rename BaseProxyHandler::getOwnPropertyNames -> ownPropertyKeys to match the ES6 [[OwnPropertyKeys]] internal method. r=efaust, r=bz.
...
Also renamed in this patch:
ENUMERATE_IF_DEFINED -> ADD_KEYS_IF_DEFINED
XrayEnumerateAttributesOrMethods -> XrayAttributeOrMethodKeys
XrayEnumerateNativeProperties -> XrayOwnNativePropertyKeys
XrayEnumerateProperties -> XrayOwnPropertyKeys
WrapperOwner::getPropertyNames -> getPropertyKeys
These make sense because JSITER_* flags are involved; the functions in
question are not for finding enumerable properties only.
--HG--
extra : rebase_source : 35fb0fa3c8f3d7bc952409ea8c584e58f3c1d78f
2014-09-26 15:16:36 -05:00
Andrea Marchesini
8f8ec51372
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
...
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini
090b876c2a
Bug 1047483 - patch 2 - Renaming nsDOMFileList to FileList, r=ehsan
2014-10-08 17:15:23 +01:00