Commit graph

3774 commits

Author SHA1 Message Date
Yanir Seroussi
ad9accf8e7 Implement unspecified websocket close code (fixes issue #8158) 2015-11-30 11:20:41 +11:00
James Sanders
3659218c59 Use thread::sleep instead of deprecated sleep_ms
Similarly, change one instance of `thread::park_timeout_ms`.

Fixes #8694
2015-11-29 13:41:04 -07:00
Ms2ger
ae6585da88 Move overconstrained_block.html to wpt reftests. 2015-11-29 10:57:16 +01:00
Ms2ger
facee849c2 Move link_style_dynamic_addition.html to wpt reftests. 2015-11-29 10:57:15 +01:00
Ms2ger
27e3ca61ec Move linebreak_simple_a.html to wpt reftests. 2015-11-29 10:57:14 +01:00
Ms2ger
7641d5b1e3 Remove inline_border_a.html.
It compares to a screenshot that doesn't match.
2015-11-29 10:57:13 +01:00
Ms2ger
51af73d872 Fix the metadata file for size_attributes_vertical_writing_mode.html. 2015-11-29 10:57:12 +01:00
bors-servo
dbff1ab336 Auto merge of #8692 - GuillaumeGomez:patch-1, r=Wafflespeanut
Ensure crate are alphabetically sorted

cc @nox

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8692)
<!-- Reviewable:end -->
2015-11-28 19:34:11 +05:30
Ms2ger
0eee538826 Remove an expectation file for a test that doesn't exist. 2015-11-28 10:43:54 +01:00
Guillaume Gomez
6e7de62b38 Add check up on extern crate order and sort extern crates alphabetically 2015-11-28 03:11:08 +01:00
bors-servo
99223656fb Auto merge of #8675 - GuillaumeGomez:master, r=nox
Add XMLDocument object

Fixes #8000

(Still working on it)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8675)
<!-- Reviewable:end -->
2015-11-27 19:29:04 +05:30
Guillaume Gomez
adf8b359bb Add XMLDocument object 2015-11-27 14:55:41 +01:00
Keith Yeung
14ce62478d Remove failing expectation 2015-11-27 01:46:56 -08:00
Manish Goregaokar
dc0e467945 Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)
… and libc 0.2 and many other dependencies
2015-11-27 00:15:29 -05:00
bors-servo
243bc8b6dd Auto merge of #8687 - Ms2ger:ref-21, r=jdm
Remove the css21 tests from test-ref.

These are already running and passing in test-css.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8687)
<!-- Reviewable:end -->
2015-11-27 07:19:16 +05:30
bors-servo
4e8c9c9811 Auto merge of #8686 - Ms2ger:test-ref, r=frewsxcv
Use wptrunner for some old-style reftests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8686)
<!-- Reviewable:end -->
2015-11-27 06:35:15 +05:30
bors-servo
f5ef2f4f75 Auto merge of #8682 - jdm:css-error-reporter, r=jdm
Defined new trait ParseErrorReporter and added error_reporter member …

…to ParserContext.

Rebase of #8210.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8682)
<!-- Reviewable:end -->
2015-11-27 03:56:08 +05:30
Josh Matthews
ca882762fc Disable canvas_over_area.html due to frequent timeouts, pending further investigation for #8311. 2015-11-26 13:23:38 -05:00
Ms2ger
b7dab2947f Move stacking_context_position_a.html to wpt reftests. 2015-11-26 16:08:54 +01:00
Ms2ger
fccd9465de Remove the css21 tests from test-ref.
These are already running and passing in test-css.
2015-11-26 09:37:46 +01:00
Ms2ger
300eb9e8dd Move stacking_context.html to wpt reftests. 2015-11-26 09:11:49 +01:00
Ms2ger
b0243d66a6 Move size_attributes_vertical_writing_mode.html to wpt reftests. 2015-11-26 09:08:11 +01:00
Ms2ger
e2c5143ec7 Move size_attributes.html to wpt reftests. 2015-11-26 09:01:18 +01:00
Ms2ger
3f99612e5d Move simple_inline_width_percentage.html to wpt reftests. 2015-11-26 09:01:17 +01:00
Ms2ger
9889fa2139 Move simple_inline_width_height.html to wpt reftests. 2015-11-26 09:01:16 +01:00
Ms2ger
86f2187e6a Move simple_inline_width.html to wpt reftests. 2015-11-26 09:01:15 +01:00
Ms2ger
1e868aab6f Move simple_inline_min.html to wpt reftests. 2015-11-26 09:01:14 +01:00
Ms2ger
bffde87f78 Move simple_inline_max.html to wpt reftests. 2015-11-26 09:01:13 +01:00
Ms2ger
dbc79eea96 Move simple_inline_height.html to wpt reftests. 2015-11-26 09:01:11 +01:00
GauriGNaik
996e9e06b2 Defined new trait ParseErrorReporter and added error_reporter member to ParserContext 2015-11-25 18:28:30 -05:00
Alan Jeffrey
3dec6edd10 Update string_cache to 0.2.
Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock.
Removed references to string_cache_plugin.
Import atom! and ns! from string_cache.
Replaced ns!("") by ns!().
Replaced ns!(XML) and co by ns!(xml) and co.
Replaced atom!(foo) by atom!("foo").
Replaced Atom::from_slice by Atom::from.
Replaced atom.as_slice() by &*atom.
2015-11-25 10:13:21 -06:00
bors-servo
e7b1924948 Auto merge of #6826 - dzbarsky:deletecontents, r=jdm
Implement Range#deleteContents

Sadly calling ExtractContents and discarding the result doesn't do the right thing.
It may be worth having a CutContents method that takes an `Option<DocumentFragment>` and switch the behavior based on it, to share the code between DeleteContents and ExtractContents, like what Gecko does.  Maybe a followup.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6826)
<!-- Reviewable:end -->
2015-11-25 19:55:02 +05:30
bors-servo
6684804846 Auto merge of #8648 - Ms2ger:test-ref, r=frewsxcv
Use wptrunner for some old-style reftests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8648)
<!-- Reviewable:end -->
2015-11-25 15:30:12 +05:30
David Zbarsky
25b7c9523c Implement Range#deleteContents 2015-11-25 00:02:25 -08:00
bors-servo
13a96fcaf7 Auto merge of #8660 - pcwalton:ipc-channel-errors, r=larsbergstrom
Update `ipc-channel` to pick up the improved error reporting.

Intended to help diagnose intermittent failures.

r? @jdm or @larsbergstrom (or whoever)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8660)
<!-- Reviewable:end -->
2015-11-25 07:31:15 +05:30
Simon Sapin
45ec900745 Remove dependency on regex_macros
This reduces the amount of code using unstable features that we depend on.
The hand-written IP address parser is probably just as fast.
2015-11-24 22:07:14 +01:00
Simon Sapin
0dfdc94cb2 Remove IPv6 subnet parsing in host files like ::1/64
The host replacement code doesn’t do anything useful with it.
(It only compares strings.)
2015-11-24 22:07:06 +01:00
Ms2ger
473b12683d Enable background-root-102 and background-root-103. 2015-11-24 15:34:54 +01:00
Ms2ger
3a79c9b53f Update web-platform-tests to revision ee40b886c701ffa25a673240cabdedd59ee3ace4 2015-11-24 13:35:04 +01:00
Ms2ger
a00f2d6310 Update CSS tests to revision e102a993c37a2e0ebd549bc7d5548b006458ab34 2015-11-24 12:27:39 +01:00
bors-servo
037cac7353 Auto merge of #8651 - eefriedman:metadata-cleanup, r=jdm
Remove a couple dead ini files.

The directories in question no longer exist.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8651)
<!-- Reviewable:end -->
2015-11-24 12:13:50 +05:30
Eli Friedman
930b4bb7b7 Remove a couple of dead .ini files.
The directories in question no longer exist.
2015-11-23 19:32:36 -08:00
bors-servo
a8ba880e17 Auto merge of #8659 - frewsxcv:fix-travis, r=eefriedman
Fix travis by making manifest_changed.sh pass

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8659)
<!-- Reviewable:end -->
2015-11-24 06:30:13 +05:30
Patrick Walton
2843000810 Update ipc-channel to pick up the improved error reporting.
Intended to help diagnose intermittent failures.
2015-11-23 16:38:39 -08:00
bors-servo
0905088e83 Auto merge of #8655 - jdm:domain, r=jdm
Implement document.domain getter

Rebased from #6840 + test fixes.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8655)
<!-- Reviewable:end -->
2015-11-24 06:01:13 +05:30
Corey Farwell
768226230d Fix travis by making manifest_changed.sh pass 2015-11-23 17:39:27 -05:00
Tom Schuster
0e0e051f3f Implement document.domain getter 2015-11-23 15:45:02 -05:00
bors-servo
6ef6d664aa Auto merge of #8656 - servo:canvas-currentcolor, r=SimonSapin
Implement currentColor for Canvas colors

Fixes #7120.

This is #7120 by @dzbarsky, with one tidy error fixed.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8656)
<!-- Reviewable:end -->
2015-11-23 23:09:57 +05:30
bors-servo
f6591a3d9e Auto merge of #8649 - Wafflespeanut:I_TRIED, r=SimonSapin
Moving Servo's cry message!

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8649)
<!-- Reviewable:end -->
2015-11-23 03:21:57 +05:30
Ravi Shankar
eb85d58ee4 Moving Servo's cry message! 2015-11-23 02:52:38 +05:30