Commit Graph

2784 Commits

Author SHA1 Message Date
Tom Schuster
254ca6db88 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
b9202204d9 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
7e5a9a1af5 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
a23c16f28d 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
219b1067d3 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
2c80b8acba Bug 1081280 - Rename BaseProxyHandler::keys -> getOwnEnumerablePropertyKeys. r=efaust.
--HG--
extra : rebase_source : 009323b607d53066b77191f9254918b61ea4d594
2014-10-08 22:01:55 -05:00
Jason Orendorff
2999d4406e 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
d0c78e97d1 Bug 1039846 - Response implementation. r=baku
--HG--
extra : rebase_source : 0da394758a5ccf6c1fe87d1a51ed0c4c27d9350e
2014-09-26 16:41:15 -07:00
Ryan VanderMeulen
84d09e73ca Backed out changeset 8d198ef0b559 (bug 1082583) for test_headers.html failures.
CLOSED TREE
2014-10-15 13:17:06 -04:00
Carsten "Tomcat" Book
8b3a6338e5 Backed out changeset 6f411275b7ec (bug 1068740) for bustage on a CLOSED TREE 2014-10-15 16:50:45 +02:00
Peter Van der Beken
65e7e5726c 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
0e69c201af 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
0f167a14a3 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
1d962eb79e 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
0db58380c0 Bug 1069694 - Remove OldDebugAPI from the browser. r=shu 2014-10-12 19:37:41 +02:00
Andrea Marchesini
5b8997d791 Bug 504553 - patch 3 - WebSockes in Workers: Workers supported, r=smaug 2014-10-10 17:58:05 +01:00
Jason Orendorff
5c875d9952 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
1b1e8341d4 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
0178acffdb 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
b41205df20 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
0d44be178c 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
c5a4f86a26 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
d4638bc6db 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
907735d0c8 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
b2769f4dd7 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
2f672ff2db 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
cc23d6dced Bug 1047483 - patch 2 - Renaming nsDOMFileList to FileList, r=ehsan 2014-10-08 17:15:23 +01:00
Andrea Marchesini
2ca496756f Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-08 17:15:22 +01:00
Ryan VanderMeulen
671d1a817e Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)

CLOSED TREE

--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
e4f682ba94 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-07 15:20:55 +01:00
Andrea Marchesini
81645883f6 Bug 1047483 - patch 2 - Renaming nsDOMFileList to FileList, r=ehsan 2014-10-07 15:20:53 +01:00
Andrea Marchesini
0e29ce2ea6 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-07 15:20:52 +01:00
Peter Van der Beken
9254096129 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Nikhil Marathe
84ebb25bb7 Bug 1039846 - Request implementation. r=baku
--HG--
extra : transplant_source : %E6%A1%EB%5C3%95%8A%B4%3F%5C%D8%28%B2%98%5E%A1%C2%E5%1C%EE
2014-09-23 22:03:20 -07:00
Edgar Chen
6b28ee6382 Bug 994461 - Part 1: Move IccInfo to WebIDL. r=smaug,vicamo
--HG--
rename : dom/icc/interfaces/nsIDOMIccInfo.idl => dom/icc/interfaces/nsIIccInfo.idl
2014-09-19 15:53:05 +08:00
Nikhil Marathe
6c147824d5 Bug 1017613 - Part 2 - Response IDL and stubs. r=baku
--HG--
extra : transplant_source : %AEc%0E%00%0D%92%AB.f%B5%EB%87%F7%C9%5DgX%93%AC%0A
2014-07-24 17:50:32 -07:00
Nikhil Marathe
6c1bb51200 Bug 1017613 - Part 1 - Fetch Body and Request. r=baku
--HG--
extra : transplant_source : R%AF%84%A2%29W%B8%86%D2o%DB%D4G%B2%D8%87%25i%0D%BE
2014-07-24 17:53:03 -07:00
Phil Ringnalda
2d3efb0d76 Back out 3 changesets (bug 1017613) for build bustage
CLOSED TREE

Backed out changeset 77b599edbab4 (bug 1017613)
Backed out changeset f048600cf938 (bug 1017613)
Backed out changeset 083a2fb884ed (bug 1017613)
2014-10-02 22:20:04 -07:00
Nikhil Marathe
a66c56397e Bug 1017613 - Part 2 - Response IDL and stubs. r=baku
--HG--
extra : rebase_source : f2f55775ed2e9fc92af829d3ce6f7ca3553b97db
2014-07-24 17:50:32 -07:00
Nikhil Marathe
b4042bc9df Bug 1017613 - Part 1 - Fetch Body and Request. r=baku
--HG--
extra : rebase_source : 2c8b82650e3669f84ff177a32a9d9b0f845e673a
2014-07-24 17:53:03 -07:00
Bobby Holley
b94b1a89df Bug 987794 - Don't unwrap XrayWrappers in HasPropertyOnPrototype. r=bz 2014-10-02 18:34:16 +02:00
Neil Rashbrook
220d256414 Bug 1074114 Propagate error thrown when constructing the JS implementation r=bz 2014-10-02 01:37:50 +01:00
Ms2ger
bd7f9a08ed No bug - Add documentation about the JSPROXYSLOT_EXPANDO slot; r=bz over IRC a=KWierso to land with DONTBUILD on a CLOSED TREE. 2014-10-01 23:05:54 +02:00
Boris Zbarsky
050c3853f5 Bug 1066432 followup. Remove bogus alerts from the test. 2014-09-30 22:14:27 -04:00
Boris Zbarsky
cfdd7ee0c0 Bug 1066432. Update ForOfIterator to the changes in Web IDL's handling of sequences as iterables. We now commit to an iterable if we get a non-undefined value for the Symbol.iterator property, not just if we get a callable value. r=jorendorff 2014-09-30 21:26:28 -04:00
Ryan VanderMeulen
b8afeaae1d Merge b2g-inbound to m-c. a=merge 2014-09-29 15:55:33 -04:00
Peter Van der Beken
6fc93bb811 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, add tests. r=bholley.
--HG--
extra : rebase_source : cab515c373bd87a0cfbf05041be246c112c224e2
2014-09-26 16:29:31 +02:00
Peter Van der Beken
82ea691e0a Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make Xrays walk the prototype chain when resolving DOM properties. r=bholley.
* * *
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, remove obsolete code. r=bholley.

--HG--
extra : rebase_source : 7a9aa81d3e9d74ed958374942020474147aa4f86
2014-09-15 16:51:40 +02:00
Peter Van der Beken
34ffd8ca34 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, add a named properties object type to DOMObjectType and how to get the parent prototype object in DOMIfaceAndProtoJSClass. r=bz, r=bholley.
--HG--
extra : rebase_source : fdd72f5027b365554ab0b986de685204c8030c58
2014-09-09 15:19:10 +02:00
Peter Van der Beken
165dc310ea Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, cache named properties objects. r=bz.
--HG--
extra : rebase_source : ed4b2cc3c095690b8d91bee3202e8316e4531f60
2014-09-15 16:51:33 +02:00
Peter Van der Beken
f5362987e1 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, create the named properties object from the binding code. r=bz.
--HG--
extra : rebase_source : 9147c989b0f6b5791d3e98041029e730036c3892
2014-09-05 22:36:36 +02:00
Peter Van der Beken
4e39df8970 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, calculate parent prototype names in one place. r=bz.
--HG--
extra : rebase_source : c3ffbba076fed4ef2157ca8bb430a0d9cbaedd61
2014-09-09 15:19:09 +02:00
Peter Van der Beken
367ae188db Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, annotate Window as having named properties. r=bz.
--HG--
extra : rebase_source : 7e4628edb7c49837e8675ca787db0c00ce70ff14
2014-09-05 22:36:32 +02:00
Bevis Tseng
7d338ea936 Bug 864484 - Part 3: Move MozCellBroadcastMessage to webidl implementation. r=vyang, r=smaug
--HG--
rename : dom/cellbroadcast/interfaces/nsIDOMMozCellBroadcastMessage.idl => dom/webidl/MozCellBroadcastMessage.webidl
extra : rebase_source : 1fe6072c1db53fc4751e9a931adadb31a246f247
2014-08-15 13:13:05 +08:00
Vicamo Yang
a0009588bf Bug 833229 - 3.c/4: implement MozVoicemailStatus in C++. r=smaug 2014-09-26 13:00:24 +08:00
Carsten "Tomcat" Book
3801c1183b Merge m-c to mozilla-inbound 2014-09-25 14:42:49 +02:00
Bobby Holley
54afe3012b Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm 2014-09-25 13:13:28 +02:00
Ryan VanderMeulen
4a5d317124 Merge m-c to b2g-inbound. a=merge 2014-09-24 17:12:21 -04:00
Mike Habicher
03a030b03e Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00
Eric Rahm
e16aa3e787 Bug 1069490 - Part 2: Add columnNumber to nsIStackFrame and set in JSStackFrame. r=bz 2014-09-22 11:28:31 -07:00
Boris Zbarsky
4de4a7b20e Bug 1030192 part 2. Codegen changes to handle cases when a sequence is actually overloaded with a dictionary. r=khuey 2014-09-24 09:11:30 -04:00
Boris Zbarsky
a6b5448916 Bug 1030192 part 1. Make sequences distinguishable from dictionaries and callbacks in the Web IDL parser. r=khuey 2014-09-24 09:11:30 -04:00
Boris Zbarsky
f86d27c82d Bug 1070764. Don't try to use the uninitialized temp value while default-constructing a dictionary with a required member. r=khuey 2014-09-24 09:11:30 -04:00
Boris Zbarsky
065e3c563e Bug 1071615. Make codegen fail when "A implements B" appears on a Web IDL file different from the file A is defined in. r=khuey 2014-09-24 09:11:29 -04:00
Bobby Holley
8dae0fc8ce Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Boris Zbarsky
0e72d84ed9 Bug 958887 part 4. Generate property accessors on the CSS2Properties interface for the dashed-named CSS properties and float that use their actual property names. r=peterv 2014-09-19 22:58:27 -04:00
Boris Zbarsky
53e2c94cad Bug 958887 part 3. Fix codegen support for IDL attribute names and methods with dashes in them. r=peterv 2014-09-19 22:58:27 -04:00
Boris Zbarsky
ef0bf63f0a Bug 958887 part 2. Pass the actual names of the CSS properties involved to GenerateCSS2PropertiesWebIDL.py. r=peterv 2014-09-19 22:58:26 -04:00
Boris Zbarsky
be56af5d99 Bug 958887 part 1. Add support for doing BinaryName annotations in IDL. r=peterv 2014-09-19 22:58:26 -04:00
Jon Coppeard
c8cbf89441 Bug 650161 - Use the object moved hook to update the wrapper cache r=terrence r=bz r=bholley
* * *
Add exception for objectMoved hook as we do for finalize hook
2014-09-17 15:35:11 +01:00
Boris Zbarsky
cf1632f7eb Bug 1066776. Make variadic dictionary arguments work. r=khuey 2014-09-19 00:02:33 -04:00
Boris Zbarsky
a64ed5d320 Bug 843272. Uncomment tests that should not be commented out. r=mccr8 2014-09-19 00:02:30 -04:00
Dan Glastonbury
cc3f09db06 Bug 1002302 - WebGL2 - Stub WebGL 2.0 WebIDL, WebGL 2.0 Objects, and functions in WebGL2Context.; r=jgilbert,bjacob,smaug
--HG--
extra : rebase_source : a7f9510b34a9f43afc0418c50b8821928c2a4262
extra : source : 89c2a61cd4c543c78b9bf0963f0227488fa27802
2014-09-18 08:08:41 +10:00
Ryan VanderMeulen
4ddd261546 Backed out changeset ed586ca080c0 (bug 1053966) for the same Mnw permafails it was backed out for previously. 2014-09-16 16:54:25 -04:00
Mike Habicher
a4981f12d6 Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00
Boris Zbarsky
0b98d765f7 Update some documentation to make it clearer. No bug, DONTBUILD 2014-09-15 11:00:25 -04:00
Yuan Xulei
2ae87a78b2 Bug 1035060 - Implement AbortablePromise. r=bz 2014-09-12 10:18:49 +08:00
Mathias De Maré
032a04660a Bug 909971: Remove MainThreadUtils.h include from BindingUtils.h - r=bjacob 2014-09-09 17:22:35 +02:00
Tom Schuster
67aaa52c6b Bug 1065574 - Remove UserDataHandler. r=smaug f=bz 2014-09-11 12:22:30 +02:00
Eric Faust
9b8255f0c4 Bug 966518 - Part 0: Make proxy callability into a trap, rather than a class check. (r=bholley, r=djvj, r=peterv) 2014-09-10 15:52:36 -07:00
Terrence Cole
29dc9aff5e Bug 914402 - Remove the defunct conservative stack scanner; r=sfink
--HG--
extra : rebase_source : c261ef7492694e9724c78edc7bc0dac7aa4357ba
2014-09-09 15:08:23 -07:00
Peter Van der Beken
a8288d3e91 Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, use overloaded functions and auto to select the right type to store return values. r=bz.
--HG--
extra : rebase_source : 50f86f20966fee33cfa039abc227ee2560640fd4
2014-08-28 00:43:56 +02:00
Peter Van der Beken
fc7a01c9c0 Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, statically assert that we keep a strong reference to return values of NewObject methods. r=bz.
--HG--
extra : rebase_source : b0d62c7a8ecf73de3e24a9ab31ec2cae64174c24
2014-08-28 00:43:56 +02:00
Peter Van der Beken
867461ad4e Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, use templatized class to hold strong or weak pointer depending on the return type. r=bz.
--HG--
extra : rebase_source : 243e9ea15e2f4c213aa8a17a97fbaf53520804ac
2014-08-28 00:43:56 +02:00
Peter Van der Beken
8c597602e7 Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, remove instances of non-refcounted sequence return type. r=bz.
--HG--
extra : rebase_source : 1388e0d6f971d52debb745a448a9a5524ceee25d
2014-08-28 00:43:55 +02:00
Ehsan Akhgari
2f2c34f333 Bug 1065025 - Make the generated WebIDL ToJSON method const; r=baku 2014-09-09 14:00:22 -04:00
Chris Peterson
b3b77faddd Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Boris Zbarsky
cb658776f3 Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey 2014-09-08 11:28:57 -04:00
Boris Zbarsky
45593d2f34 Back out bug 1063889 (rev 2f5df573f4a3) because windowsx.h defines GetFirstChild/GetNextSibling macros, so will make the world blow up if you include it anywhere near nsIDOMNode/nsINode. r=bustage 2014-09-08 12:25:17 -04:00
Boris Zbarsky
2335faf35a Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey 2014-09-08 11:28:57 -04:00
Boris Zbarsky
c6feece3a4 Bug 1017424 part 8. Remove the annotation of Window as having XPConnect impls in codegen. r=peterv 2014-09-05 14:28:45 -04:00
Boris Zbarsky
a55fbb463f Bug 1017424 part 1. Remove support for the dom.window_experimental_bindings preference. r=peterv 2014-09-05 14:28:44 -04:00
Boris Zbarsky
af0fdfdc6c Bug 1057541 part 3. Change codegen to support required dictionary members. r=khuey 2014-09-05 14:28:43 -04:00
Boris Zbarsky
c47ae2642e Bug 1057541 part 2. Add a way to ask an IDLArgument whether it guarantees that it will always have a value. r=khuey 2014-09-05 14:28:43 -04:00
Boris Zbarsky
a5c25c365b Bug 1057541 part 1. Change the IDL parser to allow an optional "required" on dictionary members. r=khuey 2014-09-05 14:28:42 -04:00
Peter Van der Beken
bd4cac5f0b Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, move some code around. r=bholley.
--HG--
extra : rebase_source : 713a35d4bc7ffa4a25561823dbb0301a22565cb5
2013-10-18 13:22:08 +02:00
Peter Van der Beken
ee873a6dce Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make CreateInterfaceObjects take a js::Class instead of a JSClass. r=bz.
--HG--
extra : rebase_source : 8b37d59b5f43215c5acef9f8219e631024ece207
2014-08-05 12:46:42 +02:00
Peter Van der Beken
412db14000 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make global properties own on Xrays. r=bholley.
--HG--
extra : rebase_source : dc238b6eeed8299adc3995c2b8647f68499efb58
2014-09-15 16:49:04 +02:00
Peter Van der Beken
f2cb312c65 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make GetNativePropertyHooks detect global objects. r=bz.
--HG--
extra : rebase_source : 15dc7787cc8456da79d9c62536f241fc3dc94dbd
2014-08-22 11:25:35 +02:00
Peter Van der Beken
5be6e129db Bug 1067501 - Make stringification of DOM Xrays use Object.prototype.toString. r=bholley.
--HG--
extra : rebase_source : 7ba38f2b2625d0ff5405eda2fda6bad9608efa34
2014-09-15 16:45:38 +02:00
Alfredo Yang
7baf102eaf Bug 916643 - ImageCapture webidl and implementation. r=roc, r=smaug 2013-09-16 10:50:24 +08:00
Ryan VanderMeulen
3164f3e5f7 Backed out 4 changesets (bug 982726) for the same serviceworker perma-fails it hit last time it landed.
Backed out changeset 9674f68df2e5 (bug 982726)
Backed out changeset 9d397edb8e9a (bug 982726)
Backed out changeset ebe7add5dd11 (bug 982726)
Backed out changeset 2771520aa1b9 (bug 982726)
2014-09-03 21:45:30 -04:00
Catalin Badea
27f6269f74 Bug 982726 - Patch 1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku
--HG--
extra : rebase_source : f8dd649fd30cfffb2a361aa24868e83413e7b54c
2014-08-27 10:24:09 -07:00
Mike Hommey
fc99c53ae5 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Peter Van der Beken
5cff30c81e Bug 1059134 - ResolvePrototypeOrConstructor should take bool&, not bool, for cacheOnHolder. r=bz.
--HG--
extra : rebase_source : 063b8cd96dc8e5a7d7f73f292554ce11520c313a
2014-09-02 14:17:43 +02:00
Wes Kocher
5580b0eaf5 Backed out 4 changesets (bug 982726) for mochitest-4 bustage
Backed out changeset 547076d4a357 (bug 982726)
Backed out changeset 095ca68e5d38 (bug 982726)
Backed out changeset 05acfcc7a341 (bug 982726)
Backed out changeset 9244a16c3258 (bug 982726)
2014-09-02 19:09:38 -07:00
Catalin Badea
70e37013d7 Bug 982726 - Patch 1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku
--HG--
extra : transplant_source : %06f%1C%BE%29%D4F%BAeN%0CI_%93y%8A%8FE%E5%BB
2014-08-27 10:24:09 -07:00
Ehsan Akhgari
bc7cc3893c Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Nathan Yee
667bcd280f Bug 1025173 - Nullable copy, move, and assignment should not transfer |mValue| if |mIsNull|. r=bz 2014-08-28 22:37:00 +02:00
Birunthan Mohanathas
c5d2ecf8af Bug 1058101 - Move dom/src/geolocation/ into dom/. r=mccr8
--HG--
rename : dom/src/geolocation/moz.build => dom/geolocation/moz.build
rename : dom/src/geolocation/nsGeoPosition.cpp => dom/geolocation/nsGeoPosition.cpp
rename : dom/src/geolocation/nsGeoPosition.h => dom/geolocation/nsGeoPosition.h
rename : dom/src/geolocation/nsGeoPositionIPCSerialiser.h => dom/geolocation/nsGeoPositionIPCSerialiser.h
rename : dom/src/geolocation/nsGeolocation.cpp => dom/geolocation/nsGeolocation.cpp
rename : dom/src/geolocation/nsGeolocation.h => dom/geolocation/nsGeolocation.h
2014-08-30 21:43:45 -07:00
Boris Zbarsky
1a59939ac3 Bug 908390 part 2. Implement performance.now() on workers. r=khuey
--HG--
rename : dom/workers/test/test_worker_interfaces.html => dom/workers/test/test_worker_performance_now.html
rename : dom/tests/mochitest/general/test_performance_now.html => dom/workers/test/test_worker_performance_now.js
2014-08-29 19:50:06 -04:00
Boris Zbarsky
d41f4dee11 Bug 908390 part 1. Make [Exposed] work correctly on jsonifiers and stringifiers and don't create an unforgeable toJSON just because we have a jsonifier. r=khuey 2014-08-29 19:50:05 -04:00
Boris Zbarsky
0a3a2fb401 Bug 921453. Don't allow conditional-exposure annotations on an interface that has no interface object, since they make no sense there. r=khuey 2014-08-29 19:50:04 -04:00
Nikhil Marathe
3c6cb94f8d Bug 1048699 - Patch 2 - Indentation and proper include. r=bz
--HG--
extra : transplant_source : %A3%EC%04%97%A4%FC%17%2B%816k%CF%03%BF%8A%7F%A4%19%87%C7
2014-08-28 13:33:39 -07:00
Eric Faust
dd4eb066b2 Bug 1027425 - Make all Proxy handler constructors use MOZ_CONSTEXPR. (r=bz, r=froydnj) 2014-08-28 13:47:16 -07:00
Nikhil Marathe
2b2588399a Bug 1048699 - Make Exposed=SpecificWorkerType work automatically. r=bz
--HG--
extra : rebase_source : 651bd062b015e2aa030b87a842bc7d63dccf349c
2014-08-27 10:17:36 -07:00
Carsten "Tomcat" Book
aef0b33b55 merge mozilla-inbound to mozilla-central a=merge 2014-08-28 13:07:10 +02:00
Vicamo Yang
2e60f5d9ec Bug 878533 - 1/3: move MozSmsFilter to webidl dictionary. r=smaug 2014-08-28 11:00:03 +08:00
Wes Kocher
d877a52960 Merge m-c to b2g-inbound a=merge 2014-08-25 17:26:44 -07:00
Mike Habicher
ee6b15600d Bug 1057560 - implement WrappedJSToDictionary, r=bz 2014-08-25 18:10:22 -04:00
Ryan VanderMeulen
f1e20fb689 Merge inbound to m-c. a=merge
CLOSED TREE
2014-08-25 11:49:37 -04:00
Andrea Marchesini
733f01834b Bug 1055467 - Rename MozNamedAttrMap to NamedNodeMap, r=smaug
--HG--
rename : dom/webidl/MozNamedAttrMap.webidl => dom/webidl/NamedNodeMap.webidl
2014-08-25 10:25:34 +01:00
Jamin Liu
6b579bb28e Bug 1032755 - Add NS_ERROR_MODULE_DOM_BLUETOOTH to nsError list and allow it to be used to create dom exception. r=smaug, f=dhylands, btian 2014-08-25 14:51:20 +08:00
Boris Zbarsky
30afe2abde Bug 929609 part 2. Fix passing of typed arrays to JS-implemented WebIDL to actually work. r=peterv 2014-08-25 15:07:45 -04:00
Eric Faust
96d6ad8f2d Bug 1027964 - Standardize proxy handler families. (r=jorendorff) 2014-08-27 17:09:06 -07:00
Andrew McCreight
8e2fe2ee76 Bug 963382 - Fix misaddressed review comment. 2014-08-21 14:31:44 -07:00
Andrew McCreight
cc9e344e0a Bug 1053920 - Define and use JSNativeArguments in Codegen.py. r=bz 2014-08-21 14:31:44 -07:00
Andrew McCreight
2947a1c2bf Bug 1056316 - Prune out obsolete cases from error message about combining Throws with other things. r=bz 2014-08-21 14:31:43 -07:00
Andrew McCreight
cd664822be Bug 963382, part 2 - Add chrome JS function for clearing cache. r=bz 2014-08-21 13:56:11 -07:00
Andrew McCreight
6507b9119d Bug 963382, part 1 - Split out MethodDefiner's JS implemented case into its own thing. r=bz 2014-08-21 13:56:11 -07:00
Nathan Froyd
631962a036 Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
Roshan Vidyashankar
0ca421fbf7 Bug 1038993 - Add UnsafeInPrerendering extended attribute to WebIDL. r=peterv 2014-08-20 16:32:19 -07:00
Bill McCloskey
d3390cb4aa Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley) 2014-08-20 18:14:56 -07:00
Wes Kocher
f1646bf5bb Backed out changeset 2a9cfbab0adc (bug 1053999) for Windows build bustage on a CLOSED TREE 2014-08-20 16:08:04 -07:00
Bill McCloskey
07fa0dbfeb Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley) 2014-08-20 15:16:07 -07:00
Ms2ger
2908280aa1 Bug 1056138 - Move checks for the PutForwards and Replaceable extended attributes into the WebIDL parser; r=bz
In fact, the WebIDL parser already checks for PutForwards, so the check in the
codegen was superfluous.
2014-08-20 17:31:39 +02:00
Bobby Holley
4b70ab69fd Bug 1036214 - Tests. r=bz
This whole test setup comes from bug 923904, so some of the things it's testing
need to be rejiggered (like the checkGlobal stuff).
2014-08-19 18:12:15 -07:00
Bobby Holley
12abd6ffbc Bug 1036214 - Do a subsumes check on object and any parameters (and things containing them) to JS-implemented WebIDL. r=bz 2014-08-19 18:12:15 -07:00
Ryan VanderMeulen
476e0aef44 Merge m-c to inbound. a=merge 2014-08-19 16:25:33 -04:00
Ryan VanderMeulen
455e48bbde Merge inbound to m-c. a=merge 2014-08-19 16:09:47 -04:00
Fabrice Desré
3c97fffc91 Bug 899322 - Convert the mozApps API to use webidl r=marco,bholley 2014-08-19 09:30:54 -07:00
Andrew McCreight
7d09c19d13 Bug 1048659 - Return the union we construct in a JS callback. r=peterv 2014-08-19 08:41:26 -07:00
Andrea Marchesini
bd3a7549ff Bug 1043004 - Update ServiceWorkerContainer API to spec. r=bkelly 2014-08-19 09:56:00 -04:00
Peter Van der Beken
b7dc0840cb Bug 1036186 - Reset Migration wizard no longer skips the first step to choose a browser. r=smaug.
--HG--
extra : rebase_source : 5fd0eed62b999eabf4a7a46300f4d74a6888b1f8
2014-08-08 15:03:29 +02:00
Bobby Holley
9bd29258b4 Bug 1056332 - Remove cross-global adopt telemetry. r=gabor 2014-08-23 09:01:50 +02:00
Peter Van der Beken
fc635bef9a Bug 1041731 - Unforgeable Xrayed methods aren't getting cached on the holder. r=bholley.
--HG--
extra : rebase_source : 9e86ba2d864e6894cc10722ddaf83ded41d88e42
2014-08-22 11:25:07 +02:00
Boris Zbarsky
3cddcf8ab1 Bug 929609 part 1. Rename "jsObjectsArePtr" to "typedArraysAreStructs" (and invert its meaning, of course), since that's what it's really used for nowadays. r=peterv 2013-09-30 10:30:06 -04:00
Boris Zbarsky
cf7e3a0cfe Bug 1047777. Disallow the [CheckPermissions] extended attributeon things that are exposed in workers, since its implementation does not work correctly on workers. r=peterv 2014-08-25 15:07:44 -04:00
Bobby Holley
0cb72d2e6c Bug 1052089 - Swap out the SafeJSContextGlobal for the new UnprivilegedJunkScope. r=billm 2014-08-18 10:57:30 -07:00
Nigel Babu
1333e406ef Backed out changeset 080926480632 (bug 878533) for build failure ON A CLOSED TREE 2014-08-18 08:59:01 +05:30