Boris Zbarsky
a623100bc3
Bug 1170760 part 9. Stop using Promise::Resolve in the bindings for PromiseDebugging. r=baku
2015-11-25 15:48:09 -05:00
Boris Zbarsky
df222dfc09
Bug 1170760 part 7. Add subclassing support to Promise::Race. r=baku,efaust
...
Note that the web platform tests don't actually have quite the behavior they're
expected to per the spec yet. They will get adjusted later on as we add
subclassing support to Promise.resolve and Promise.prototype.then.
2015-11-25 15:48:09 -05:00
Boris Zbarsky
aaff15aaaa
Bug 1170760 part 5. Implement NewPromiseCapability which can either return a PromiseCapability as in the spec, or one that has a native promise and maybe resolve/reject functions if the consumer asked for them. r=baku,efaust
2015-11-25 15:48:09 -05:00
Ben Kelly
a670404ca2
Bug 1217909 P3 Refactor service worker register()/update() to reject only with SecurityErr or TypeErr. r=catalinb
...
* * *
Bug 1217909 P3 interdiff 001 fix try build
2015-11-16 08:04:11 -08:00
Cameron McCormack
235db06383
Bug 1208951 - Part 9: Implement KeyframeEffectReadOnly constructor. r=bzbarsky r=birtles
2015-10-22 19:22:38 +11:00
Miko Mynttinen
155f3d3bc5
Bug 1187011 - Don't allow response body with null body status. r=bkelly
2015-09-30 21:50:10 +03:00
Andrew McCreight
c4da62d679
Bug 1195977, part 1 - Add JS_EXN_TYPE to comment in Errors.msg. r=peterv
2015-09-15 11:47:03 -07:00
Emilio Cobos Álvarez
aa45c6c3e7
Bug 1195820 - Request constructor should throw TypeError if URL has credentials or parse fails. r=bkelly
2015-08-24 22:54:52 +02:00
Nikhil Marathe
0d07229d06
Bug 1190703 - Relax scope resolution assertion in ServiceWorkerContainer::Register. r=bkelly
...
--HG--
extra : commitid : 2VyBa3KOyIV
extra : rebase_source : 81940c62d45ce34df1ce60f33ac90f762acee937
extra : amend_source : d0c955ca481b3a473d698176fea9aed407443ff4
2015-08-05 14:33:50 -07:00
Nikhil Marathe
b3f34da652
Bug 1114554 - Patch 2 - ServiceWorkerRegistration.showNotification(). r=wchen,baku
...
Refactor creation and show dispatch so Notification constructor and showNotification can use it.
Move persistence to ShowInternal.
NotificationStorage calls callback async even when fetching from cache, simply to have similar semantics.
Calls to Notification::Get() are performed async since persistence is now async after being moved to ShowInternal().
Both are in accordance with the spec where the "append to list of notifications" operation is performed in the "show steps" which are performed in parallel from API invocations.
--HG--
extra : rebase_source : 52d3864fb39aa892d2f70dc2b71f09fb0d2ba533
2015-06-25 18:50:24 -07:00
Ryan VanderMeulen
84d140a54b
Backed out 11 changesets (bug 916893, bug 1114554) for various mochitest and Gij failures.
...
Backed out changeset 247ca4bf258e (bug 1114554)
Backed out changeset 5578d5c280a6 (bug 1114554)
Backed out changeset 404830c1ecf7 (bug 1114554)
Backed out changeset 15bdf9c78e6e (bug 1114554)
Backed out changeset f92abe5ec784 (bug 1114554)
Backed out changeset 75324b6862a8 (bug 1114554)
Backed out changeset ce8a768782f2 (bug 1114554)
Backed out changeset 0d860fd12534 (bug 1114554)
Backed out changeset 7dc2448065a9 (bug 916893)
Backed out changeset c3b07f0d1a60 (bug 916893)
Backed out changeset 61c3f24cc908 (bug 916893)
CLOSED TREE
2015-06-25 19:52:40 -04:00
Nikhil Marathe
7df5ce7b58
Bug 1114554 - Patch 2 - ServiceWorkerRegistration.showNotification(). r=wchen,baku
...
Refactor creation and show dispatch so Notification constructor and showNotification can use it.
Move persistence to ShowInternal.
NotificationStorage calls callback async even when fetching from cache, simply to have similar semantics.
Calls to Notification::Get() are performed async since persistence is now async after being moved to ShowInternal().
Both are in accordance with the spec where the "append to list of notifications" operation is performed in the "show steps" which are performed in parallel from API invocations.
--HG--
extra : rebase_source : 1becb5055dc29166dc6445227bab4b9daed213cf
2015-05-06 13:52:41 -07:00
Tom Schuster
8b3a3efd8b
Bug 1135993 - Remove js::IsInNonStrictPropertySet. r=jorendorff
2015-06-02 23:27:39 +02:00
Ehsan Akhgari
bbbc7baec8
Bug 1149987 - Part 8: Do not store or match Response objects with a Vary:* header; r=bkelly
2015-04-15 15:55:51 -04:00
Ryan VanderMeulen
d8ade60200
Backed out 5 changesets (bug 1149987) for mochitest crashes.
...
Backed out changeset b62e371d6189 (bug 1149987)
Backed out changeset daa762fca8e6 (bug 1149987)
Backed out changeset bdb64d5befa5 (bug 1149987)
Backed out changeset 693901a4bcde (bug 1149987)
Backed out changeset e7c41c8653c4 (bug 1149987)
CLOSED TREE
2015-04-08 11:49:49 -04:00
Ehsan Akhgari
a68c1ffa1b
Bug 1149987 - Part 5: Do not store or match Response objects with a Vary:* header; r=bkelly
2015-04-08 10:27:40 -04:00
Nikhil Marathe
9b5f6b134f
Bug 1109751 - Consume FormData support in Fetch API. r=baku
...
--HG--
extra : __touch-noise__ : 2181078256
extra : transplant_source : %A4%7F%FF%9CV%9F%2C%F7%C1%A0%BBoc%CC%BB%0E%8E%F5%80%C1
2015-04-03 22:55:15 -07:00
Wes Kocher
e73d6e8c9e
Backed out 2 changesets (bug 1109751) for asan mochitest-3 failures
...
Backed out changeset 269ce19afa43 (bug 1109751)
Backed out changeset add6d1bd2e52 (bug 1109751)
2015-04-03 12:22:47 -07:00
Nikhil Marathe
dd5c91927a
Bug 1109751 - Consume FormData support in Fetch API. r=baku
...
--HG--
extra : transplant_source : %B0%0F%AB%E9%DBV%D1%86%980%28L%EC%CBI%0A%09%26%FDS
extra : histedit_source : 39fe8278cf135aa63a59ef4024432fab9ce5c7ee
2015-04-02 10:51:13 -07:00
Ben Kelly
f9064fc636
Bug 940273 - Part 4 - Initial implementation of Service Worker Cache. r=ehsan,baku,janv
2015-03-02 14:20:00 +01:00
Ben Kelly
e3f6f3f034
Bug 1073231 Implement Request and Response Clone() methods. r=nsm r=baku
2015-02-19 20:24:24 -05:00
Nikhil Marathe
302ff75d63
Bug 1126815 - Implement Response.finalURL. r=bkelly,baku
...
--HG--
extra : rebase_source : 5180d5657c60c7aec33e9f750d24cbee9a2890e2
2015-02-17 10:23:34 -08:00
Dhi Aurrahman
5b8f79fc23
Bug 1125766 - Throw proper error types for TextEncoder(), TextDecoder() and TextDecoder.decode(). r=bz
2015-02-04 18:46:26 +07:00
Nikhil Marathe
f3cc077f51
Bug 1122677 - Disallow request body when method is HEAD/GET.
...
Spec bug https://www.w3.org/Bugs/Public/show_bug.cgi?id=27846
and :annevk OKed putting the check in the constructor and throwing http://logs.glob.uno/?c=content#c259382
--HG--
extra : rebase_source : 224da5d5f19387ffd95fc42c38a99b0e25427551
2015-01-16 13:08:19 -08:00
Nikhil Marathe
1fe9e0929e
Bug 1121682 - fetch() should reject with TypeError
...
--HG--
extra : rebase_source : 9e8d5e193695b856280c769dccc128c4ce4797d3
2015-01-14 13:43:27 -08:00
Boris Zbarsky
7f78049fc1
Bug 1107443 part 6. Make attempts to define a non-configurable property via WindowProxy throw. r=peterv,jorendorff
2015-01-23 09:54:15 -05:00
Nikhil Marathe
7b2c55eff6
Bug 1039846 - Response implementation. r=baku
...
--HG--
extra : rebase_source : 0da394758a5ccf6c1fe87d1a51ed0c4c27d9350e
2014-09-26 16:41:15 -07:00
Nikhil Marathe
68bb3e1d0c
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
Boris Zbarsky
d14c26daf5
Bug 1057541 part 3. Change codegen to support required dictionary members. r=khuey
2014-09-05 14:28:43 -04:00
Bobby Holley
9b4a386a14
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
Ben Kelly
f4d186ed5b
Bug 1029620 P6 Implement Fetch Headers DOM object. r=ehsan r=jst
2014-07-28 15:28:20 -04:00
Ms2ger
d7c5e3051b
Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv
2014-03-24 16:10:27 +01:00
Boris Zbarsky
b5d04164e0
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
a4fe40c32e
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
7fae1b5078
Bug 927735 - TypeError check for URL API. r=ehsan
2013-10-18 10:17:03 -04:00
Boris Zbarsky
955c798f14
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
ac70c03afa
Bug 895758. Make the global scope polluter a proxy. r=bzbarsky
2013-07-09 10:45:13 -04:00
Andrea Marchesini
3c66a55593
Bug 891944 - Move IDBCursor to WebIDL, r=janv
2013-08-01 00:28:13 +02:00
Boris Zbarsky
c23542725a
Bug 883358 part 2. Use the new information in bindings error reporting. r=smaug
2013-06-17 16:31:13 -04:00
Ryan VanderMeulen
71c9853712
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
4fea0995d3
Bug 883358 part 2. Use the new information in bindings error reporting. r=smaug
2013-06-17 16:31:13 -04:00
Boris Zbarsky
2d7f4e5a2e
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
ad494b55cc
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
5b3cb06a12
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
9d92031480
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
f33f6d5496
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
b71cfc0ec2
Bug 796850 - Implement Code Generation for Bytestring in WebIDL bindings r=bz
2013-06-13 01:18:35 -04:00
Reuben Morais
99349e2738
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
6b5485ab22
Bug 742206 part 3. Implement type conversions for Date in WebIDL. r=smaug
2013-05-02 14:38:20 -04:00
Jan Varga
f6d1ba4c72
Bug 854323 - Move IDBFactory to Paris bindings. r=khuey
2013-03-31 10:18:30 +02:00
Boris Zbarsky
20d4a061d6
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
127a0152d5
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
5e13172aad
Bug 801487 - Implement ErrorResult::ThrowTypeError. r=bz
2012-11-06 18:23:14 -05:00
Trevor Saunders
85dfb659cf
Bug 742191 - Part d: Throw TypeErrors for Paris binding exceptions; r=bz
2012-10-16 14:06:10 -04:00
Boris Zbarsky
7f28e933c6
Bug 792137. [TreatNonCallableAsNull] lives on the callback type now. r=peterv
2012-10-10 15:53:02 -04:00
Ms2ger
797a567f66
Bug 763367 - Add support for [EnforceRange] and [Clamp]; r=bz
2012-09-06 09:25:03 +02:00
Peter Van der Beken
ee9eae3141
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
71696aa0f2
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
f4181983a1
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
86de6cd109
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
f642f5c9cd
Bug 776685; throw TypeError exceptions from Azure canvas bindings. r=bz
2012-07-26 14:31:26 +12:00
Ms2ger
23b178ab1f
Bug 765464 - Part c: Throw some TypeErrors; r=khuey
2012-07-18 12:36:08 +02:00