Commit graph

49 commits

Author SHA1 Message Date
bors-servo
76ae608290 Auto merge of #12662 - izgzhen:fileapi-idlharness, r=Ms2ger
Update FileAPI WPT idlharness

Updated to match the latest https://w3c.github.io/FileAPI/#idl-index

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12662)
<!-- Reviewable:end -->
2016-08-01 09:01:27 -05:00
Zhen Zhang
47a7d465fd Add FileReaderSync skeleton 2016-07-31 09:19:39 +02:00
Zhen Zhang
612e15f05b Update FileAPI WPT idlharness 2016-07-31 00:16:31 +02:00
Guillaume Gomez
cf9fd7eb46 Add DeleteRow method 2016-07-27 02:06:26 +02:00
bors-servo
0e887ca8d3 Auto merge of #12552 - ConnorGBrewster:history_interface, r=asajeffrey
History interface Go, Back, and Forward

<!-- Please describe your changes on the following line: -->
r? @asajeffrey

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #5670 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

implement go, forward, back

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12552)
<!-- Reviewable:end -->
2016-07-22 15:34:14 -05:00
Connor Brewster
8d7a0c2cda Add History interface
implement go, forward, back
2016-07-22 14:07:51 -06:00
bors-servo
9c0e7b1cf2 Auto merge of #12544 - izgzhen:patch-file-api, r=Manishearth
Patches of File API

r? @Manishearth

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12544)
<!-- Reviewable:end -->
2016-07-22 01:09:58 -05:00
Zhen Zhang
f598b5f7fd Patches of File API 2016-07-21 20:52:00 +02:00
Alan Jeffrey
c889900cff Removed panic channel, replaced by integrated logging and issue reporting. 2016-07-20 21:56:43 -05:00
Zhen Zhang
fdc3a8e3ac Put Blob URL online 2016-07-15 20:33:51 +08:00
Ms2ger
0edf0ececb Update web-platform-tests to revision 53f3408ffe1fd0e56a37aff4aaf1fa8441c41d6d 2016-07-12 10:52:41 +02:00
Zhen Zhang
6ca531fb8f Fix file-type input element 2016-06-30 14:18:11 +08:00
Connor Brewster
cdf56c886e
enable history interface tests 2016-06-18 20:18:44 -06:00
Zhen Zhang
4d3379392d Implement Blob URL's DOM interfaces 2016-06-17 20:06:37 +08:00
Ms2ger
bac22f1b57 Annotate some test failures in FileAPI tests. 2016-06-16 21:14:14 +01:00
Anthony Ramine
7a07421563 Update js to 3352139c1dedbdff5fe1078152f46522cd04b2f3
This pulls in https://github.com/servo/rust-mozjs/pull/264.
2016-05-19 11:27:10 +02:00
Emilio Cobos Álvarez
e50d4b7624
codegen: Throw on an invalid enum value when appropiate 2016-05-13 11:44:38 +02:00
Zhen Zhang
87fec3e026 Implement missing interfaces of File DOM object 2016-05-11 22:35:21 +08:00
Zhen Zhang
b93409bab0 delete outdated test cases, addressing issue #11075 2016-05-08 12:59:34 +08:00
Anthony Ramine
4c2ca7a8c9 Refactor the call hook on non-callback interface objects (fixes #10744)
It's now set through the intermediate InterfaceConstructorBehavior structure,
which lets us improve the abstraction around NonCallbackInterfaceObjectClass
a bit better.

When the interface's constructor is supposed to always throw, the error for
calling `Foo()` without new is "Illegal constructor.". when the interface
actually defines an interface, the error is instead
"This constructor needs to be called with `new`.".
2016-04-25 11:44:59 +02:00
Yoav Alon
711c23ae39 updated Blob constructor to use optional, fixes https://github.com/servo/servo/issues/10779 2016-04-22 01:28:35 +03:00
Ms2ger
abcd4b654f Update web-platform-tests to revision 0a518aaff73532a26e175789f7e75fa99593ac64 2016-04-21 12:30:36 +02:00
James Graham
78369e95cf Update web-platform-tests to 5582e4d2bfcfd1fa9f105406b143170ee2af7db1 2016-04-01 13:38:57 +02:00
St.Spyder
34726d8b9e Implementation of Blob Constructor with test changes 2016-03-17 23:47:12 +05:30
Ms2ger
a91433f0c8 Update web-platform-tests to revision 66c4613f823c4384c78ada77346eda17bb128947 2016-03-15 16:34:24 +01:00
Anthony Ramine
d13da7d9b3 Fix prototypes of interface objects (fixes #2665) 2016-01-12 17:15:44 +01:00
Ms2ger
9aa1b1e408 Update web-platform-tests to revision 5dbe45af3ad3a933c03187c72f1c12cbe2877703 2015-12-10 09:38:01 -05:00
Bogdan Cuza
8bc66f97f8 Implement the FileList interface. Fixes #6708 2015-08-01 19:31:20 +02:00
farodin91
20f99e92d8 Adding for support Blob.{close,isClose} #6723 2015-07-29 09:54:08 +02:00
Ms2ger
5b2ca4d132 Update web-platform-tests to revision 12d3e15e5ecae695e1216c358d613705fbff6b68 2015-07-27 16:31:27 +02:00
farodin91
27e760e28d Implement FileReader.{readAsText,readAsDataUrl}. Fixes #6172 2015-07-23 22:33:51 +02:00
Ms2ger
bfb96b9448 Update web-platform-tests to revision 5e3ea8f49fee68c327388bfd1dd1375a8ce12a0e. 2015-07-14 10:38:54 +02:00
Ms2ger
c66c6af0ba Update web-platform-tests to revision 4d96cccabc2feacd48e1dab9afc22b8af2225572 2015-06-28 22:52:24 +02:00
Michael Wu
675267b782 Upgrade to SM 39 2015-06-19 18:42:48 -04:00
Jinwoo Song
7781f331d3 WebSocket constructor should not panic
Make an early return when the WebSocket connection fails in the constructor.
Also let the WebSocket connection to be closed when the connection could
not be established.

Fixes #6082.
2015-06-16 09:45:42 +02:00
Ms2ger
230c4201f3 Revert "WebSocket constructor should not panic"
This reverts commit 877c369e0b.
2015-06-12 09:40:57 +02:00
Jinwoo Song
877c369e0b WebSocket constructor should not panic
Make an early return when the WebSocket connection fails in the constructor.
Also let the WebSockect connection to be closed when the connection could
not be established.

Fixes #6082.
2015-06-11 13:58:04 +02:00
Anthony Ramine
d9619853e2 Fix length value of interface methods 2015-05-14 19:11:10 +02:00
James Graham
a884237f9f Update web-platform-tests expected data to revision 41a7d8732d8e5c65728c153d29a34fe9d5192b29 2015-05-14 13:45:29 +01:00
James Graham
291ac06c01 Update web-platform-tests expected data to revision 2a9fd810bb18610b422dbc3998ab74aa1bffae95 2015-04-24 18:31:05 +01:00
Ms2ger
1ecfc9f582 Update web-platform-tests. 2015-03-29 14:19:05 +02:00
Ms2ger
a8553c3606 Update web-platform-tests. 2015-03-17 22:02:43 +01:00
Glenn Watson
f8ca60e74e Update WPT expectations for reftest-wait change. 2015-02-26 13:30:53 +10:00
Ms2ger
92a7fee296 Update web-platform-tests. 2015-02-16 19:57:47 +01:00
Ms2ger
727f5c5797 Update web-platform-tests. 2015-01-28 23:29:16 +01:00
Ms2ger
b6e5e823e6 Update web-platform-tests. 2015-01-19 13:06:43 +01:00
Ms2ger
29e250d4ac Update web-platform-tests and wptrunner. 2015-01-14 15:20:41 +01:00
Shing Lyu
6df9b7fd3a Bug #1820, add the optional "type" parameter to Blob 2015-01-01 16:23:21 +08:00
Ms2ger
341c485653 Run the File API tests. 2014-12-14 09:49:27 +01:00