Commit Graph

2711 Commits

Author SHA1 Message Date
Boris Zbarsky
3ae16c0a46 Bug 1087404. Get rid of XPCQuickStubs.h/cpp. r=bholley 2014-10-23 15:21:46 -04:00
Bobby Holley
abb8cb9dbf Bug 857138 - Remove CheckedUnwrap in binding code. r=bz 2014-10-23 19:53:31 +02:00
Bobby Holley
91eb339586 Bug 857138 - Add some cx parameters. r=bz 2014-10-23 19:53:31 +02:00
Jeff Walden
7fe2db452e Bug 1052139 - Reorder the preventExtensions trap just after the [[Prototype]]-access traps. r=code-motion
--HG--
extra : rebase_source : ea85bf1daa26ec7a32caf2656ebf99c6e2757cfa
2014-10-21 11:40:04 -07:00
Jeff Walden
596d5bed96 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
5a8d80e033 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
d73c01f2df 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
5d219a5529 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
9d93de20f3 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
149330c39c Bug 1019191 part 16. Remove nsDOMQS.h. r=peterv 2014-10-22 11:40:49 -04:00
Boris Zbarsky
fc4e8e90db Bug 1019191 part 10. Stop using xpc_qsUnwrapArg directly in BindingUtils. r=peterv 2014-10-22 11:40:48 -04:00
Boris Zbarsky
b55229401e 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
08297c6dad 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
e8691d00e8 Backed out changeset 9e900e87b4bb (bug 1085566) 2014-10-22 08:59:09 +02:00
Carsten "Tomcat" Book
1e8fd96b5d Backed out changeset 4eee647a5bd4 (bug 1052139) 2014-10-22 08:59:05 +02:00
Jeff Walden
091f0481ea 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
6fc5cbbb7c 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
7ced30305e 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
1f90ca9c73 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
62a1aab1e3 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
95de8d240f 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
be0f05f0b6 Bug 1084439. Remove ResolveWorkerClasses in favor of [Exposed=System] annotations. r=bholley 2014-10-19 22:25:49 -04:00
Olli Pettay
6efa464486 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
29cb253129 Bug 1082839 - WebIDL for WindowRoot, r=peterv
--HG--
extra : rebase_source : 035e2752e12f31b78accae45eb1534c4dc31b690
2014-10-18 02:05:16 +03:00
Brian Hackett
8c26523358 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
40ea5978c5 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
39675f64bf 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
d82efb0553 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
3f28130f89 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
c365e5fdc8 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
2950e9caff 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
f07de76ea5 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
fef77c908b Bug 1081280 - Rename BaseProxyHandler::keys -> getOwnEnumerablePropertyKeys. r=efaust.
--HG--
extra : rebase_source : 009323b607d53066b77191f9254918b61ea4d594
2014-10-08 22:01:55 -05:00
Jason Orendorff
7c710f0964 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
65750f3bb9 Bug 1039846 - Response implementation. r=baku
--HG--
extra : rebase_source : 0da394758a5ccf6c1fe87d1a51ed0c4c27d9350e
2014-09-26 16:41:15 -07:00
Ryan VanderMeulen
25eb24858e Backed out changeset 8d198ef0b559 (bug 1082583) for test_headers.html failures.
CLOSED TREE
2014-10-15 13:17:06 -04:00
Carsten "Tomcat" Book
ae2a8cfd8d Backed out changeset 6f411275b7ec (bug 1068740) for bustage on a CLOSED TREE 2014-10-15 16:50:45 +02:00
Peter Van der Beken
6fc8e58fd6 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
a1d493df5c 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
c559dd1ab0 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
d577ad7e3b 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
2c3047badc Bug 1069694 - Remove OldDebugAPI from the browser. r=shu 2014-10-12 19:37:41 +02:00
Andrea Marchesini
11fb9c6ca7 Bug 504553 - patch 3 - WebSockes in Workers: Workers supported, r=smaug 2014-10-10 17:58:05 +01:00
Jason Orendorff
29c89e051b 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
e5d11af5ac 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
3d3046ef01 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
7b80880b2e 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
359d1d6374 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
d261d716df 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
1a7f3ac4ca 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