Peter Van der Beken
a348044a35
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
f703a01ee7
Bug 927735 - TypeError check for URL API. r=ehsan
2013-10-18 10:17:03 -04:00
Boris Zbarsky
e804f0ffca
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
fd990e273b
Bug 895758. Make the global scope polluter a proxy. r=bzbarsky
2013-07-09 10:45:13 -04:00
Andrea Marchesini
ebeb72d6f9
Bug 891944 - Move IDBCursor to WebIDL, r=janv
2013-08-01 00:28:13 +02:00
Boris Zbarsky
4cb7712ac9
Bug 883358 part 2. Use the new information in bindings error reporting. r=smaug
2013-06-17 16:31:13 -04:00
Ryan VanderMeulen
c8233b1b9b
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
f9c3279c5d
Bug 883358 part 2. Use the new information in bindings error reporting. r=smaug
2013-06-17 16:31:13 -04:00
Boris Zbarsky
fcce6063dd
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
01843e3dc6
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
cf49b7e92e
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
ce26c7ab39
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
a552fc6664
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
6d46bd7a62
Bug 796850 - Implement Code Generation for Bytestring in WebIDL bindings r=bz
2013-06-13 01:18:35 -04:00
Reuben Morais
0745f908eb
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
386bc8fd74
Bug 742206 part 3. Implement type conversions for Date in WebIDL. r=smaug
2013-05-02 14:38:20 -04:00
Jan Varga
e8149cfe6e
Bug 854323 - Move IDBFactory to Paris bindings. r=khuey
2013-03-31 10:18:30 +02:00
Boris Zbarsky
e50920c5e4
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
e0facaae90
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
aa251d934b
Bug 801487 - Implement ErrorResult::ThrowTypeError. r=bz
2012-11-06 18:23:14 -05:00
Trevor Saunders
6c294d1802
Bug 742191 - Part d: Throw TypeErrors for Paris binding exceptions; r=bz
2012-10-16 14:06:10 -04:00
Boris Zbarsky
9dc86ac76f
Bug 792137. [TreatNonCallableAsNull] lives on the callback type now. r=peterv
2012-10-10 15:53:02 -04:00
Ms2ger
c84831a407
Bug 763367 - Add support for [EnforceRange] and [Clamp]; r=bz
2012-09-06 09:25:03 +02:00
Peter Van der Beken
854457d901
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
b2e7e838fd
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
4eb11bee72
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
e8f42a2d03
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
8c560786c6
Bug 776685; throw TypeError exceptions from Azure canvas bindings. r=bz
2012-07-26 14:31:26 +12:00
Ms2ger
d900ce7ddd
Bug 765464 - Part c: Throw some TypeErrors; r=khuey
2012-07-18 12:36:08 +02:00