Commit graph

16155 commits

Author SHA1 Message Date
James Sanders
0bffffd8f5 Make WebSocket constructor take (DOMString or sequence<DOMString>) 2016-01-17 21:33:04 -07:00
bors-servo
6b81a72228 Auto merge of #9339 - frewsxcv:bump-glutin, r=SimonSapin
Upgrade servo-glutin to latest published version (0.4.7)

servo/glutin@servo-v0.4.5...servo-v0.4.7

The primary reason I'm updating servo-glutin is to indirectly pick up
these changes:

vberger/wayland-kbd#9

Daggerbot/x11-rs#32

...which results in two fewer libc 0.1.x dependency

servo#8608

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9339)
<!-- Reviewable:end -->
2016-01-18 09:03:12 +05:30
bors-servo
eb7b9309dd Auto merge of #9351 - fstr:9343-unused-imports, r=nox
Removed unused imports from devtools crate

Patch for #9343

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9351)
<!-- Reviewable:end -->
2016-01-18 07:48:03 +05:30
bors-servo
55d8228ed6 Auto merge of #9354 - stspyder:master, r=KiChjang
Update XMLHTTPRequest FetchBodyInit and related Impl (#9291)

Fixes #9291.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9354)
<!-- Reviewable:end -->
2016-01-18 04:19:59 +05:30
St.Spyder
763b99258f Update XHR BodyInit, update extract method impl 2016-01-18 02:26:13 +05:30
bors-servo
380541bd48 Auto merge of #9352 - mattkuo:cleanup-private-types, r=nox
Convert private types to public

fixes #9347

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9352)
<!-- Reviewable:end -->
2016-01-18 01:58:01 +05:30
bors-servo
7f16b4e47b Auto merge of #9348 - therealkbhat:script-cleanup, r=Wafflespeanut
Remove unused imports in script

Fixes #9345.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9348)
<!-- Reviewable:end -->
2016-01-18 00:36:34 +05:30
bors-servo
2ad562042b Auto merge of #9349 - therealkbhat:layout-cleanup, r=SimonSapin
Remove unused imports in layout

Fixes #9346.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9349)
<!-- Reviewable:end -->
2016-01-17 23:14:37 +05:30
bors-servo
41a3961ba5 Auto merge of #9344 - nerith:gfx, r=Wafflespeanut
Remove multiple unused imports in gfx

Fixes #9342.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9344)
<!-- Reviewable:end -->
2016-01-17 20:26:45 +05:30
bors-servo
7ae16c7ea3 Auto merge of #9294 - KiChjang:xhr-usvstring, r=nox
Change all DOMStrings to USV strings for XHR

This is in compliance with the new spec [here](https://xhr.spec.whatwg.org/#xmlhttprequest).

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9294)
<!-- Reviewable:end -->
2016-01-17 19:40:46 +05:30
bors-servo
557d79bb87 Auto merge of #9194 - nerith:info, r=nox
Remove the w3c link for the Event interface

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9194)
<!-- Reviewable:end -->
2016-01-17 18:58:42 +05:30
Matthew Kuo
8ecc120211 changed gfx private types to public 2016-01-17 04:48:32 -08:00
bors-servo
a4e805d909 Auto merge of #9337 - fmmartins:urlsearchparams-getall, r=nox
Implement URLSearchParams::getAll

Fixes #5439.

Please tell me if anything is wrong or needs some change!

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9337)
<!-- Reviewable:end -->
2016-01-17 18:13:17 +05:30
Florian Strübe
6502820ab3 Removed unused imports from devtools crate 2016-01-17 13:18:15 +01:00
Matthew Kuo
64f5818428 changed devtools private types to public 2016-01-17 04:13:33 -08:00
Matthew Kuo
58174448de changed compositor private types to public 2016-01-17 04:11:58 -08:00
bors-servo
2f0daa1d47 Auto merge of #9304 - ecoal95:sequence-in-unions, r=nox
webidl: Implement sequences in unions

Unblocks #9053

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9304)
<!-- Reviewable:end -->
2016-01-17 17:19:49 +05:30
Kishor Bhat
4c5eeb1f58 Remove unused imports in layout 2016-01-17 13:17:23 +05:30
Kishor Bhat
1ca2073979 Remove unused imports in script 2016-01-17 12:41:28 +05:30
Corey Farwell
f5c6c607c2 Upgrade servo-glutin to latest published version (0.4.7)
https://github.com/servo/glutin/compare/servo-v0.4.5...servo-v0.4.7

The primary reason I'm updating servo-glutin is to indirectly pick up
these changes:

https://github.com/vberger/wayland-kbd/pull/9

https://github.com/Daggerbot/x11-rs/pull/32

...which results in two fewer libc 0.1.x dependency

https://github.com/servo/servo/issues/8608
2016-01-16 16:04:54 -05:00
Brandon Fairchild
dce7c7bb69 Remove multiple unused imports in gfx
Fixes #9342.
2016-01-16 14:16:03 -05:00
bors-servo
5a954d2492 Auto merge of #9334 - MonsieurLanza:DomContentLoadedBubbles, r=KiChjang
DOMContentLoaded event should be trusted

Hopefully resolves #9332.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9334)
<!-- Reviewable:end -->
2016-01-16 22:14:38 +05:30
bors-servo
9118b64b4b Auto merge of #9263 - DarinM223:move_mousebutton, r=KiChjang
Moved MouseButton from msg to script_traits

Fixes #9250

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9263)
<!-- Reviewable:end -->
2016-01-16 19:34:51 +05:30
Keith Yeung
a64f832e57 Change all DOMStrings to USV strings for XHR 2016-01-16 08:51:34 -05:00
Lanza
27b78f3b84 Use fire_event instead of DispatchEvent to make DOMContentLoaded trusted
Removed unused import.

Update expectations for EventTarget#dispatchEvent()
2016-01-16 14:12:38 +01:00
Fernando Martins
29b14d4b3d Implement URLSearchParams::getAll 2016-01-15 22:40:55 +00:00
bors-servo
dba1f27305 Auto merge of #9333 - servo:list-properties, r=larsbergstrom
Add a script to list all CSS properties parsed by Servo.

I’ve been asked for that list by two different people this week :)

r? @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9333)
<!-- Reviewable:end -->
2016-01-16 01:06:03 +05:30
Simon Sapin
2222f345c8 Make the properties list JSON and add some more info. 2016-01-15 18:13:12 +01:00
Simon Sapin
9d29c3d2f5 Add a script to list all CSS properties parsed by Servo. 2016-01-15 15:50:32 +01:00
bors-servo
4cb2c87982 Auto merge of #9093 - servo:rustup, r=KiChjang
Update to rustc 1.7.0-nightly (b4707ebca 2015-12-27)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9093)
<!-- Reviewable:end -->
2016-01-15 19:37:07 +05:30
Emilio Cobos Álvarez
950821989f webidl: Refactor isSequence in getJSToNativeConversionInfo
That way it does not depend on the return value for the same type.

This hopefully makes the code more clear, and avoids errors if something
changes in the future (for example, we could want to pass slices as
sequence arguments).
2016-01-15 14:30:38 +01:00
Emilio Cobos Álvarez
8859c617a8 webidl: Add test for interface and sequence in the same union 2016-01-15 14:20:23 +01:00
Emilio Cobos Álvarez
a76efa5eca webidl: Add test for interface sequences
Sequence interfaces return values worked before, but had no test.

Sequence interface arguments didn't work until the previous commit.
2016-01-15 14:20:22 +01:00
Lars Bergstrom
8a0175c041 Remove deny_unsafe, due to introduction of unsafe code in thread_local expansion 2016-01-15 07:18:01 -06:00
Lars Bergstrom
5bf2ae81a5 Workaround to land the rustup while we wait for rust-errno 2016-01-15 07:18:01 -06:00
Emilio Cobos Álvarez
3327f00bce script: Implement FromJSValConvertible for Root<T> 2016-01-15 13:51:05 +01:00
Emilio Cobos Álvarez
4ad1a8ddcc webidl: Implement sequences in unions
Unblocks #9053
2016-01-15 13:42:08 +01:00
bors-servo
c7e8641174 Auto merge of #9328 - frewsxcv:window-broken-link, r=jdm
Fix broken spec link on Window::Document

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9328)
<!-- Reviewable:end -->
2016-01-15 09:09:40 +05:30
bors-servo
0bc25369d1 Auto merge of #9318 - shssoichiro:rename-script-task-root, r=KiChjang
Rename SCRIPT_TASK_ROOT to SCRIPT_THREAD_ROOT

Resolves #9316

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9318)
<!-- Reviewable:end -->
2016-01-15 08:25:15 +05:30
Corey Farwell
f6dc6ad463 Fix broken spec link on Window::Document 2016-01-14 21:13:14 -05:00
bors-servo
0c500a9da5 Auto merge of #9317 - MonsieurLanza:DomContentLoadedBubbles, r=KiChjang
DOMContentLoaded should bubble.

DOMContentLoaded event is currently set as non bubbling event.
Test :
./tests/wpt/web-platform-tests/html/syntax/parsing/the-end.html

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9317)
<!-- Reviewable:end -->
2016-01-15 06:53:12 +05:30
Ms2ger
74f6c9b74f Update to rustc 1.7.0-nightly (b4707ebca 2015-12-27) 2016-01-14 14:56:18 -06:00
Joshua Holmer
4d7f304ef7 Rename SCRIPT_TASK_ROOT to SCRIPT_THREAD_ROOT
Resolves #9316
2016-01-14 12:01:11 -05:00
Lanza
eb018c0a04 DOMContentLoaded should bubble. 2016-01-14 17:11:30 +01:00
bors-servo
a28b5cb438 Auto merge of #9296 - apopiak:implement_as_class_9287, r=ecoal95
implement NonCallbackInterfaceObjectClass::as_jsclass()

close #9287

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9296)
<!-- Reviewable:end -->
2016-01-14 18:24:03 +05:30
apopiak
e2160cb3b9 implement NonCallbackInterfaceObjectClass::as_jsclass() 2016-01-14 12:51:16 +01:00
bors-servo
a76de4b0cc Auto merge of #9300 - antrik:assert_empty_fontgroup, r=Ms2ger
layout/text.rs: Add assertion for empty fontgroup

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9300)
<!-- Reviewable:end -->
2016-01-14 14:11:56 +05:30
Olaf Buddenhagen
422639fb60 layout/text.rs: Add assertion for empty fontgroup 2016-01-14 08:35:32 +01:00
bors-servo
396d411ac8 Auto merge of #9297 - KiChjang:document-new-elements, r=ecoal95
Add instructions to update create.rs when adding new DOM interfaces

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9297)
<!-- Reviewable:end -->
2016-01-14 11:10:10 +05:30
bors-servo
42372dbdf1 Auto merge of #9299 - antrik:update-ipc_channel, r=pcwalton
cargo-update ipc-channel to get important fixes

This pulls in https://github.com/servo/ipc-channel/pull/25 and
https://github.com/servo/ipc-channel/pull/27, thus fixing fallout from
the multiprocess split, and making Servo work on my system again.

(It also pulls in https://github.com/servo/ipc-channel/pull/12 -- I
guess that's fine?)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9299)
<!-- Reviewable:end -->
2016-01-14 10:27:52 +05:30