Ms2ger
593a960690
Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv
2014-03-24 16:10:27 +01:00
Boris Zbarsky
bd39425edd
Bug 981036. Disallow calling DOM constructors as functions in non-release builds. r=bholley
2014-03-10 17:38:31 -04:00
Peter Van der Beken
aa80a8b215
Bug 932315 - Throw a different error when this-unwrapping fails for security reasons. r=bz.
...
--HG--
extra : rebase_source : a92639be64d8d591ea4c97955bc04e6047e0d027
2013-10-16 18:11:25 +02:00
Andrea Marchesini
164582e714
Bug 927735 - TypeError check for URL API. r=ehsan
2013-10-18 10:17:03 -04:00
Boris Zbarsky
62979a5a64
Bug 910220 part 2. Use the new API in codegen to only throw when needed. r=peterv
2013-08-31 00:21:28 -04:00
Peter Van der Beken
3256529063
Bug 895758. Make the global scope polluter a proxy. r=bzbarsky
2013-07-09 10:45:13 -04:00
Andrea Marchesini
affecad19a
Bug 891944 - Move IDBCursor to WebIDL, r=janv
2013-08-01 00:28:13 +02:00
Boris Zbarsky
8a5f1751d4
Bug 883358 part 2. Use the new information in bindings error reporting. r=smaug
2013-06-17 16:31:13 -04:00
Ryan VanderMeulen
abc39cc023
Backed out 3 changesets (bug 883358) for Android mochitest-3 failures on a CLOSED TREE.
...
Backed out changeset 84b35dd1879d (bug 883358)
Backed out changeset b5e6522257cb (bug 883358)
Backed out changeset 757a3f2e5de6 (bug 883358)
2013-06-17 19:51:12 -04:00
Boris Zbarsky
2e6611eca0
Bug 883358 part 2. Use the new information in bindings error reporting. r=smaug
2013-06-17 16:31:13 -04:00
Boris Zbarsky
cfb1d312ce
Bug 882653 part 5. Improve WebIDL binding error reporting for overload resolution failures, unions, non-finite floats. r=smaug
2013-06-17 13:07:04 -04:00
Boris Zbarsky
8c0782e121
Bug 882653 part 4. Improve the WebIDL binding error reporting for the not-sequence, not-callable, not-dictionary, not-date, and invalid-enum-value cases. r=smaug
2013-06-17 13:07:03 -04:00
Boris Zbarsky
4728bf4f51
Bug 882653 part 3. Make the "does not implement interface" error reporting better in WebIDL bindings. r=smaug
2013-06-17 13:07:03 -04:00
Boris Zbarsky
fc06188f5d
Bug 882653 part 2. Make the "not an object" error reporting better in WebIDL bindings. r=smaug
...
This also adds infrastructure to generally indicate to the
js-to-native conversion exactly what is being converted.
2013-06-17 13:07:03 -04:00
Boris Zbarsky
c6981c480d
Bug 882653 part 1. Improve error reporting for bogus this objects in WebIDL bindings. r=smaug
2013-06-17 13:07:03 -04:00
James Kitchener
411a37e6e9
Bug 796850 - Implement Code Generation for Bytestring in WebIDL bindings r=bz
2013-06-13 01:18:35 -04:00
Reuben Morais
b4f0b9946a
Bug 873684 - Improve error reporting when a value can't be converted to the expected type. r=bz
...
--HG--
extra : rebase_source : 3385999de823c9df659103239e62df8ffca5f15a
2013-05-17 21:14:18 -07:00
Boris Zbarsky
89ac81bbf5
Bug 742206 part 3. Implement type conversions for Date in WebIDL. r=smaug
2013-05-02 14:38:20 -04:00
Jan Varga
c60929486c
Bug 854323 - Move IDBFactory to Paris bindings. r=khuey
2013-03-31 10:18:30 +02:00
Boris Zbarsky
d19479dcd6
Bug 820665 part 1. More WebIDL spec updates to changes in how dictionaries work. r=khuey
...
Specifically, the following changes:
1) A union that includes a dictionary and is the last non-optional
argument must actually be marked optional, just like a dictionary
argument.
2) Disallow a union from containing both a nullable type and a dictionary.
3) Now all non-Date and non-RegExp objects can be used as dictionaries,
including from overload resolution and union conversion.
We don't support dictionaries inside unions yet, or unions as
distinguishing args, so the spec changes to do with converting null to
dictionaries inside a union or picking the union overload if there is
a union containing a dictionary and null is the distinguishing arg
value are not relevant to us so far.
2013-01-03 14:03:00 -05:00
Boris Zbarsky
67bc51cf16
Bug 767933 part 4. Make 'float' and 'double' types throw on non-finite values. r=khuey,ehsan,bas
2012-11-27 15:32:05 -05:00
Masatoshi Kimura
32a0cfd0f7
Bug 801487 - Implement ErrorResult::ThrowTypeError. r=bz
2012-11-06 18:23:14 -05:00
Trevor Saunders
09edcbfe3e
Bug 742191 - Part d: Throw TypeErrors for Paris binding exceptions; r=bz
2012-10-16 14:06:10 -04:00
Boris Zbarsky
1ecbdb1149
Bug 792137. [TreatNonCallableAsNull] lives on the callback type now. r=peterv
2012-10-10 15:53:02 -04:00
Ms2ger
6b6c1230f5
Bug 763367 - Add support for [EnforceRange] and [Clamp]; r=bz
2012-09-06 09:25:03 +02:00
Peter Van der Beken
13f425b97c
Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
...
--HG--
extra : rebase_source : 651a0fac4c9a87ef1c0a9cd91588c6421fd050c4
2012-05-22 15:46:20 +02:00
Ms2ger
e1e44bb6f1
Bug 774705 - Part b: Throw a TypeError when trying to construct an interface without a constructor; r=bz
2012-08-04 09:44:00 +02:00
Ed Morley
bba173e66e
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
5363dc0480
Bug 774705 - Part b: Throw a TypeError when trying to construct an interface without a constructor; r=bz
2012-08-04 09:44:00 +02:00
Nicholas Cameron
27a424af1c
Bug 776685; throw TypeError exceptions from Azure canvas bindings. r=bz
2012-07-26 14:31:26 +12:00
Ms2ger
2be7de56d2
Bug 765464 - Part c: Throw some TypeErrors; r=khuey
2012-07-18 12:36:08 +02:00