Commit Graph

23 Commits

Author SHA1 Message Date
Boris Zbarsky
46964f231f Bug 1330699 part 9. Rename "MozMap" to "record" in our IDL parser and IDL files. r=qdot
The key type is unused so far.

--HG--
rename : dom/bindings/parser/tests/test_mozmap.py => dom/bindings/parser/tests/test_record.py
2017-02-15 00:00:17 -05:00
Boris Zbarsky
054c6d2088 Bug 1323721 part 2. Remove the no longer used PromiseInit callback type. r=till 2016-12-19 15:38:42 -08:00
Boris Zbarsky
89016f2d0c Bug 1186696. Event handlers on JS-implemented webidl interfaces should have the same behavior as other event handlers: accept all values, convert non-objects to null. r=smaug 2015-07-28 12:35:39 -04:00
Boris Zbarsky
bdea574c3c Bug 1174954 part 1. Stop throwing DOMErrors from JS-implemented webidl, since we can now throw content-side Errors instead. r=bholley 2015-06-16 16:44:10 -04:00
Boris Zbarsky
90031d3619 Bug 1173593. Make it possible to throw TypeError (or, in fact, any other Error from the content compartment) from js-implemented webidl. r=bholley 2015-06-15 20:09:36 -04:00
Boris Zbarsky
6a93d5c443 Bug 1107953 part 5. Add tests for promise rejections with content-side DOMExceptions, and fix the promise code so those tests actually pass. r=bholley 2015-01-15 17:39:02 -05:00
Boris Zbarsky
24431c3a52 Bug 1107953 part 3. Make Promise pass in their object compartment when calling their various callbacks. r=bholley
--HG--
rename : dom/bindings/test/test_exception_options_from_jsimplemented.html => dom/bindings/test/test_promise_rejections_from_jsimplemented.html
2015-01-15 17:39:02 -05:00
Boris Zbarsky
8fd98d4057 Bug 1107592 part 2. Allow chrome JS to directly throw content DOMExceptions that will propagate out to the web script. r=peterv 2015-01-02 17:08:33 -05:00
Andrea Marchesini
9d30f59efd Bug 1077393 - Rename ScalarValueString to USVString. r=smaug
--HG--
rename : dom/bindings/parser/tests/test_scalarvaluestring.py => dom/bindings/parser/tests/test_usvstring.py
rename : dom/bindings/test/test_scalarvaluestring.html => dom/bindings/test/test_usvstring.html
2014-11-20 12:58:00 +01:00
Boris Zbarsky
9804f71306 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
Andrew McCreight
91d1b64fd1 Bug 963382, part 2 - Add chrome JS function for clearing cache. r=bz 2014-08-21 13:56:11 -07:00
Bobby Holley
b54ea00f0b 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
Andrew McCreight
e2153edd1d Bug 1048659 - Return the union we construct in a JS callback. r=peterv 2014-08-19 08:41:26 -07:00
Ben Kelly
8866034d70 Bug 1025183 P5 Add tests for ScalarValueString. r=bz 2014-08-01 16:23:48 -04:00
Ben Kelly
93f746a2f6 Revert bug 1025183 (revs 69373df15281, dd6d84edf08e, 728a5d18bcd9, 71babe0bc84b, c60f9054acf6) for bustage. r=me 2014-08-01 14:10:40 -04:00
Ben Kelly
a38c3c73df Bug 1025183 P5 Add tests for ScalarValueString. r=bz 2014-08-01 13:57:00 -04:00
Boris Zbarsky
84ac67522d Bug 985536 followup: mark argument that should be optional as optional. r=orange 2014-04-04 00:21:24 -04: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
Bobby Holley
4de0b7d455 Bug 968335 - Tests. 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
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
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