Commit graph

21881 commits

Author SHA1 Message Date
Josh Matthews
50f09f028b Disable build_009_to_016.html 2016-09-09 15:20:57 -04:00
bors-servo
14529148ce Auto merge of #13210 - servo:wpt-20160909, r=Ms2ger
Update web-platform-tests to revision dc5cbf088edcdb266541d4e5a76149a2c6e716a0

<!-- 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/13210)
<!-- Reviewable:end -->
2016-09-09 09:30:17 -05:00
Ms2ger
079092dfea Update web-platform-tests to revision dc5cbf088edcdb266541d4e5a76149a2c6e716a0 2016-09-09 16:17:14 +02:00
bors-servo
ca7cfdc89a Auto merge of #13216 - servo:jdm-patch-1, r=Ms2ger
Disable build_001_to_008.html

It's too frequent and therefore killing our velocity.

@bors-servo: r=100

<!-- 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/13216)
<!-- Reviewable:end -->
2016-09-09 08:33:10 -05:00
Josh Matthews
c68186b994 Disable build_001_to_008.html 2016-09-09 08:57:25 -04:00
Guillaume Gomez
94379bf715 Put back video metadata 2016-09-09 14:03:03 +02:00
Ms2ger
8ffa577df4 Use extend() rather than extend_from_slice() in constellation. 2016-09-09 11:43:57 +02:00
Shing Lyu
fc8731990c Create separate layout trace file for each reflow 2016-09-09 17:38:19 +08:00
bors-servo
1d40075f03 Auto merge of #13193 - servo:error-workers, r=nox
Implement error reporting for workers.

<!-- 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/13193)
<!-- Reviewable:end -->
2016-09-09 03:54:19 -05:00
Manish Goregaokar
3fe13a29f4
Handle None_ => None enum changes 2016-09-09 16:34:15 +08:00
Ms2ger
3147005547 Remove unused derivations from FrameState. 2016-09-09 10:09:29 +02:00
Ms2ger
3978359b43 Note the lacking support for muted errors. 2016-09-09 09:03:12 +02:00
Ms2ger
60142f87e2 Implement error reporting for workers.
Fixes #3311.
Fixes #13158.
2016-09-09 09:03:09 +02:00
Ms2ger
59cf735f85 Allow uncaught exceptions in worker runtime error tests. 2016-09-09 09:01:56 +02:00
bors-servo
957893bdc2 Auto merge of #13200 - Manishearth:resync, r=bholley
Resync bindings

StyleClear and StyleDisplay are now enums, updating bindings for them.

r? @bholley

<!-- 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/13200)
<!-- Reviewable:end -->
2016-09-09 02:00:13 -05:00
Manish Goregaokar
603c9439bb
Fix some warnings 2016-09-09 13:27:33 +08:00
Manish Goregaokar
0cf927801e Resync bindings 2016-09-09 12:25:54 +08:00
bors-servo
2d13178d29 Auto merge of #13192 - notriddle:master, r=pcwalton
Account for percentages in fixed table layout

Don't just use the minimum length all the time.

---

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #13166 (github issue number if applicable).
- [X] There are tests for these changes

<!-- 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/13192)
<!-- Reviewable:end -->
2016-09-08 23:17:06 -05:00
bors-servo
3117787fd2 Auto merge of #13205 - UK992:tidy-sort, r=Wafflespeanut
Tidy: Fix ordering use statements with braces

This hack fixes https://github.com/servo/servo/issues/7412 and matches behavior with rustfmt.

<!-- 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/13205)
<!-- Reviewable:end -->
2016-09-08 22:19:19 -05:00
UK992
93a103ba73 Reorder use statements 2016-09-09 04:55:19 +02:00
UK992
875981ece5 Fix ordering use statements with braces 2016-09-09 04:42:30 +02:00
bors-servo
5a5a76cc5d Auto merge of #13058 - malisas:malisa-responseAPI, r=Manishearth,jdm
Response API

<!-- Please describe your changes on the following line: -->
This PR adds the [dom::Response](https://fetch.spec.whatwg.org/#response-class) implementation and addresses #11896.

The relevant passing tests` expectations have been updated.

In order to allow non-UTF-8-encoded status messages, `net_traits::response::Response`'s `raw_status` field has been changed from type [`Option<RawStatus>`](https://doc.servo.org/hyper/http/struct.RawStatus.html) to type `Option<(u16, Vec<u8>)>`. As a result, a few other files which rely on the `raw_status` field were affected and updated.

TODOs:
- The `body` and `trailer` methods. Relies on implementation of `ReadableStream` and `Promise`s.
- Similarly, replace the dummy constructor `_body: Option<USVString>` argument with `body: ResponseBodyInit`.
- Currently, whenever `r's response's header list` or `r's Headers object` are mentioned, I always modify the `headers_reflector` field (of type dom::Headers, or `r's Headers object`) and not the corresponding hyper::Headers list in the net_traits::Response field. A completely accurate interpretation of the spec might consider making both of these lists the same thing via a reference. [Discussion](https://github.com/whatwg/fetch/issues/358) was [had](https://github.com/servo/servo/pull/12884).

---
<!-- 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
- [ ] These changes fix #__ (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. -->

<!-- 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/13058)
<!-- Reviewable:end -->
2016-09-08 18:58:05 -05:00
bors-servo
aa011ea275 Auto merge of #13175 - shinglyu:block-margin-patch, r=notriddle
Move collapse through margin to the top of block flow

<!-- Please describe your changes on the following line: -->
Based on the spec, a collapse through box should be put on the top edge of the flow. This fixed ~110 reftests

---
<!-- 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 #12824  (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. -->

<!-- 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/13175)
<!-- Reviewable:end -->
2016-09-08 17:43:50 -05:00
bors-servo
d99d29e94a Auto merge of #13190 - servo:cssparser-up, r=Manishearth
Update cssparser

<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] 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. -->

<!-- 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/13190)
<!-- Reviewable:end -->
2016-09-08 15:50:12 -05:00
bors-servo
0daf71d58b Auto merge of #13198 - glennw:wr-update-vtf, r=ConnorGBrewster
Update WR/shaders (more AA, VTF mac fix, reftest fixes).

<!-- 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/13198)
<!-- Reviewable:end -->
2016-09-08 14:53:06 -05:00
bors-servo
daa30e60f1 Auto merge of #12916 - UK992:msvc-dependencies, r=larsbergstrom,wafflespeanut
Create `mach bootstrap` based on Mozilla's mozboot bootstrapper

Fixes https://github.com/servo/servo/issues/12914
I've made this few weeks ago, its an example how could everything looks like.
It downloads and setup all needed dependencies for MSVC.
It's has version in case if some dependencies need to be updated.
Zip files and folder in zip need to be named ``<dep>-<version>``.
Also if cmake already exist in PATH, it won't download it again.

I want opinion on that, if this is right approaches and how to improve it.

cc @vvuk

<!-- 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/12916)
<!-- Reviewable:end -->
2016-09-08 13:57:23 -05:00
Michael Howell
102ea5a7ae Change test expectation: floats-149 = PASS 2016-09-08 09:16:13 -07:00
bors-servo
b7eb277601 Auto merge of #13203 - servo:hide_layers, r=nox
Disable hide_layers2.html.

<!-- 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/13203)
<!-- Reviewable:end -->
2016-09-08 10:20:11 -05:00
Ms2ger
33da9e581f Disable hide_layers2.html. 2016-09-08 11:16:35 +02:00
Anthony Ramine
0b689a8a31 Implement WebIDL namespaces 2016-09-08 11:01:34 +02:00
Simon Sapin
45af168a5c Handle @namespace rules when parsing them rather than afterwards.
This will avoid dealing with DOMRefCell when we add it around NamespaceRule.
2016-09-08 10:21:03 +02:00
Keith Yeung
3976d974fc Properly generate typedef identities in unions 2016-09-07 21:48:46 -07:00
UK992
eff91be736 Update appveyor.yml 2016-09-07 22:45:08 +02:00
UK992
fc3555556c Create mach bootstrap based on Mozilla's mozboot bootstrapper 2016-09-07 22:45:05 +02:00
Glenn Watson
5a7004744a Update WR/shaders (more AA, VTF mac fix, reftest fixes). 2016-09-08 06:07:57 +10:00
bors-servo
5b0a1990d5 Auto merge of #13186 - andreastt:webdriver-0.14, r=SimonSapin,larsberg
Update webdriver-rust library to 0.14

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

This updates the _webdriver-rust_ library to 0.14 and makes the necessary API changes to make it compile with Servo.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it is a library upgrade

<!-- 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/13186)
<!-- Reviewable:end -->
2016-09-07 12:57:24 -05:00
Michael Howell
516adfa6c9 Add reftest for #13166 2016-09-07 09:44:42 -07:00
Michael Howell
070bb7ff58 Account for percentages in fixed table layout
Fixes #13166
2016-09-07 09:43:30 -07:00
Anthony Ramine
8ba0cf30a1 Fix descriptor argument in CGCallGenerator.__init__
It's a descriptor, not a descriptor provider.
2016-09-07 15:48:22 +02:00
Anthony Ramine
7a942b1742 Store Console timers in globals 2016-09-07 15:48:22 +02:00
Anthony Ramine
20b131af17 Implement Borrow<str> for DOMString
Useful to use DOMString as a HashMap key type.
2016-09-07 15:47:36 +02:00
Andreas Tolfsen
8a4a90a424 webdriver_server: fix api calls to webdriver-rust 2016-09-07 12:59:07 +01:00
Andreas Tolfsen
8a4abdad2d webdriver_server: update webdriver-rust library to 0.14 2016-09-07 12:59:06 +01:00
Nazım Can Altınova
5ee93b28cb Move decompose and recompose functions to impl and implement interpolations 2016-09-07 14:32:23 +03:00
bors-servo
dd33be4548 Auto merge of #13194 - servo:mutreflectable, r=Ms2ger
Extract mutability out of Reflectable trait.

<!-- 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/13194)
<!-- Reviewable:end -->
2016-09-07 04:17:36 -05:00
Josh Matthews
61fcc72d35 Implement Reflectable for GlobalRef. 2016-09-07 10:52:44 +02:00
Sam Wood
b6f2a4f159 Working implementation of dblclick.
Signed-off-by: Sam Wood <sam@sam.uk.net>

Fix mach test tidy

Signed-off-by: Sam Wood <sam@sam.uk.net>

Fix import newline

Signed-off-by: Sam Wood <sam@sam.uk.net>
2016-09-07 09:51:48 +01:00
Josh Matthews
8653450b6e Extract mutability out of Reflectable trait. 2016-09-07 10:40:13 +02:00
Rahul Sharma
9dcb7348a2 store senders instead of buffering messages 2016-09-07 12:07:36 +05:30
Rahul Sharma
0996b38ade Make service workers talk to their serviceworkerglobalscopes 2016-09-07 12:07:36 +05:30