Commit graph

3197 commits

Author SHA1 Message Date
Sam Gibson
419a26e619 Adds a test for set_content to ignore max_length 2015-12-03 14:00:53 +11:00
Sam Gibson
d26c555e2a Adds support for input element's maxlength attr
servo/servo#7320
servo/servo#7004
2015-12-03 14:00:51 +11:00
Jitendra Jain
af7c0837f4 Implement final_mime_type and final_charset helpers and use in text_response 2015-12-02 20:06:59 -05:00
Simon Martin
2b332a2138 Issue #8113: Support file, about and data schemes as form action. 2015-12-02 22:41:24 +01:00
Anthony Ramine
60976406cc Implement [Unforgeable]
This is mostly stolen from Gecko. As there, we define the unforgeable members
on an object stored in the slots of the prototype object. They are then copied
onto instance objects when they are instantiated. It should be noted that
proxy objects see their unforgeable memebers defined on their expando object.

Unforgeable attributes aren't properly inherited in codegen (in a similar
fashion as getters and setters as filed in #5875) and require to be redefined
in derived interfaces. Fortunately, there are currently no such interfaces.

No unforgeable members can be included into the TestBinding interfaces for good
measure because they are not compatible with setters.

Given the unforgeable holder object has the same prototype as actual instances
of the interface, the finalize hook needs to check its slot pointer for nullity
before dropping it.

The new failing test isn't related to Unforgeable attributes, but to the fact
that all Document instances currently have a Location, even if their window
isn't in a browsing context.
2015-12-02 22:15:11 +01:00
Simon Sapin
aa1eba4f5a Use skia and deps from crates.io.
Fix https://github.com/servo/skia/issues/70
2015-12-02 19:07:59 +01:00
Ms2ger
81a5948b23 Move vertical-lr-blocks.html to wpt reftests. 2015-12-02 16:07:20 +01:00
Ms2ger
d8fe60ccb1 Move text_decoration_propagation_a.html to wpt reftests. 2015-12-02 15:48:17 +01:00
Ms2ger
1ff3424a8b Move text_overflow_a.html to wpt reftests. 2015-12-02 15:34:10 +01:00
Ms2ger
03d5db9e12 Move position_fixed_static_y_a.html to wpt reftests. 2015-12-02 14:11:06 +01:00
Ms2ger
9b7864aa1a Move position_fixed_simple_a.html to wpt reftests. 2015-12-02 14:08:58 +01:00
Ms2ger
91d798cbd6 Move position_fixed_a.html to wpt reftests. 2015-12-02 14:05:20 +01:00
Ms2ger
2c4232b620 Move overflow_position_abs_inside_normal_a.html to wpt reftests. 2015-12-02 14:01:10 +01:00
Simon Martin
f79e1521b2 Issue #8462: Add support for BufferSubData, CompressedTexImage2D and
CompressedSubTexImage2D and re-enable individual webgl WPT tests.
2015-12-01 20:40:42 +01:00
bors-servo
65108348aa Auto merge of #8714 - frewsxcv:body-fgcolor, r=Ms2ger
Implement attribute 'fgColor' on 'document'

The 'text' attribute was implemented on `<body>` in #7841

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8714)
<!-- Reviewable:end -->
2015-12-01 21:40:58 +05:30
David Zbarsky
302f41d34b Reset canvas state when changing bitmap dimensions 2015-11-30 21:23:51 -08:00
Corey Farwell
320263199f Implement attribute 'fgColor' on 'document'
The 'text' attribute was implemented on '<body>' in #7841
2015-11-30 18:19:07 -05:00
Josh Matthews
c23cbd4163 Dispatch load events for cross origin iframes. Resolves #6672. 2015-11-30 17:37:16 -05:00
bors-servo
595bda478e Auto merge of #8752 - Manishearth:om-nom, r=metajack
Make `path_matches` match the spec (fixes cookies)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8752)
<!-- Reviewable:end -->
2015-11-30 23:18:39 +05:30
Manish Goregaokar
d332557d69 Add path_match tests 2015-11-30 22:56:13 +05:30
bors-servo
a27a15f94b Auto merge of #8736 - 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/8736)
<!-- Reviewable:end -->
2015-11-30 18:56:26 +05:30
Ms2ger
3bbee99cdb Update web-platform-tests to revision a3b0fadc7f5001bbe52c65e0a354c454981423a3 2015-11-30 13:44:18 +01:00
Ms2ger
6bb495338b Update CSS tests to revision 4e1aa4f3dcbff1abd654c63d0f677379c1e2775f 2015-11-30 12:21:03 +01:00
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