Commit graph

14672 commits

Author SHA1 Message Date
Ms2ger
4e60412c6d Remove the unused arguments to hit_test and mouse_over.
I don't think this code is called when there is no document element, but I
added assertions to make sure we notice in case I was wrong.
2015-11-16 15:53:49 +01:00
Ms2ger
a2c08413dd Remove AutoJoinScriptTask.
I don't believe there is a case where it would make sense to drop the
ScriptReflow struct without joining the script thread. This approach should
be somewhat more robust, and avoids the code smell of a RAII guard in an
otherwise unused variable.
2015-11-16 12:41:25 +01:00
bors-servo
0293aa2e52 Auto merge of #8537 - eefriedman:webgl-metadata-test-type, r=jdm
Fix the metadata for webgl tests.

These are reftests, not tests using the test harness.

CC #8414.  (This fixes the immediate issue, but we should also fix the
error message.)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8537)
<!-- Reviewable:end -->
2015-11-16 09:10:56 +05:30
Michael Howell
987c9e63aa Ignore <meta name=viewport> if @viewport is.
Fixes #8373
2015-11-15 20:35:13 -07:00
Eli Friedman
f6a337772a Fix the metadata for webgl tests.
These are reftests, not tests using the test harness.

CC #8414.  (This fixes the immediate issue, but we should also fix the
error message.)
2015-11-15 13:08:00 -08:00
bors-servo
b542721ce9 Auto merge of #8532 - eefriedman:manifest-update, r=Ms2ger
Update test manifest.

This is just the result of running --manifest-update on master; not sure
how it got out of sync.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8532)
<!-- Reviewable:end -->
2015-11-16 01:20:20 +05:30
Eli Friedman
a9a1e343f9 Update test manifest.
This is just the result of running --manifest-update on master; not sure
how it got out of sync.

These tests currently timeout, so also add the expected result.
2015-11-15 11:47:59 -08:00
bors-servo
d11fe9ed21 Auto merge of #8513 - mrobinson:wpt-ui-summary, r=frewsxcv
Re-print test failures in non-interactive WPT UI

This will make it easier to spot the failures at the bottom of the test
output on the bots.

Fixes #8467.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8513)
<!-- Reviewable:end -->
2015-11-15 21:36:29 +05:30
bors-servo
b6f519cd0a Auto merge of #8533 - Ms2ger:legacy, r=nox
Remove the `legacy` module.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8533)
<!-- Reviewable:end -->
2015-11-15 19:13:13 +05:30
Ms2ger
f2be9eb735 Move the from_declaration to its only caller and remove the empty legacy module. 2015-11-15 13:57:22 +01:00
bors-servo
c722e0e6f4 Auto merge of #8527 - romankl:atom-slices, r=Ms2ger
Replace Atom::from_slice("sizes") with atom!("sizes")

This PR replaces all occurrences of Atom::from_slice("sizes") with atom!("sizes"). It also updates string_cache to v0.1.17 from 0.1.16.

Right now I've split the crate update and the replace in different commits - should I squash them?

Fixes #8488.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8527)
<!-- Reviewable:end -->
2015-11-15 18:26:33 +05:30
Ms2ger
1154cf51c8 Inline PresentationalHintSynthesis::synthesize_presentational_hints_for_legacy_attributes. 2015-11-15 13:46:55 +01:00
Ms2ger
9c1d678b1b Remove get_unsigned_integer_attribute. 2015-11-15 11:24:03 +01:00
Ms2ger
5417df6397 Introduce a get_colspan method on LayoutJS<Element>. 2015-11-15 11:16:17 +01:00
bors-servo
3ef0a9a79d Auto merge of #8526 - frewsxcv:parse-length, r=eefriedman
Fix parse_length 0 values, implement <hr> 'width'

Follow-up to https://github.com/servo/servo/issues/8424

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8526)
<!-- Reviewable:end -->
2015-11-15 03:30:46 +05:30
Corey Farwell
30ea772939 Make util::str::parse_length work with floats 2015-11-14 16:47:10 -05:00
Corey Farwell
02a8e8dd16 Implement <hr> element 'width' attribute 2015-11-14 16:46:59 -05:00
bors-servo
33c97b2ebb Auto merge of #8529 - Ms2ger:unused-lifetime, r=eefriedman
Remove unused lifetime parameters from LayoutTask methods.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8529)
<!-- Reviewable:end -->
2015-11-15 01:32:35 +05:30
Roman Klauke
0813ee7257 replace Atom::from_slice("sizes") with atom!(sizes")
Closes: #8488
2015-11-14 20:58:57 +01:00
Roman Klauke
b6f336595f update string_cache from 0.1.16 to 0.1.17 2015-11-14 19:41:02 +01:00
bors-servo
8f2a3a64f1 Auto merge of #8524 - notriddle:paint_task_deep, r=jdm
Draw layers that are under sub-displaylists.

Fixes #8325

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8524)
<!-- Reviewable:end -->
2015-11-14 22:26:22 +05:30
Michael Howell
24c35a2185 Draw layers that are under sub-displaylists.
Fixes #8325
2015-11-14 09:49:30 -07:00
rohan.prinja
337066063a fix impl of parse_length() 2015-11-14 10:02:26 -05:00
bors-servo
7f076c628b Auto merge of #8449 - paulrouget:favicon, r=jdm
mozbrowsericonchange event (Browser API)

fixes #8347

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8449)
<!-- Reviewable:end -->
2015-11-14 19:54:03 +05:30
David Raifaizen
5a75db1635 Adding cargo lock update 2015-11-14 09:23:23 -05:00
bors-servo
bda46179b6 Auto merge of #8523 - Wafflespeanut:redirects, r=jdm
Listen for cancellation message during loads and redirects...

fixes #8495

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8523)
<!-- Reviewable:end -->
2015-11-14 19:25:33 +05:30
Paul Rouget
5263a4c4c9 [Browser API] implement mozbrowsericonchange event 2015-11-14 09:59:50 +01:00
bors-servo
7de8b0a7ff Auto merge of #7242 - g-k:perf-timing-dom-props, r=jdm
Perf timing dom props

I think this is closer to what https://github.com/servo/servo/issues/7045 describes, but it panics trying to load a page (trace: https://gist.github.com/g-k/a9911467889cdb6fdbf9) and all reftests fail.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7242)
<!-- Reviewable:end -->
2015-11-14 11:26:23 +05:30
Ravi Shankar
afb9b0707b Testing cancellation during redirects 2015-11-14 10:04:32 +05:30
David Raifaizen
aa601be329 Adding method to detect if image formats should be supported by servo 2015-11-13 19:01:44 -05:00
Greg Guthe
e49d592fba Add DOM-related performance timing properties 2015-11-13 17:51:34 -05:00
bors-servo
27e104aa1a Auto merge of #8520 - servo:android-run, r=larsbergstrom
Very hackish support for `./mach run --android`

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8520)
<!-- Reviewable:end -->
2015-11-14 02:32:53 +05:30
Michael Howell
4aa26b682b Add test for #7780. 2015-11-13 13:53:04 -07:00
Simon Sapin
8051f2ff8c Very hackish support for ./mach run --android 2015-11-13 21:35:50 +01:00
bors-servo
8c3d223528 Auto merge of #8518 - servo:shhhhh-make, r=larsbergstrom
Silence the "Nothing to be done for 'all'." message

r? @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8518)
<!-- Reviewable:end -->
2015-11-14 01:52:04 +05:30
Simon Sapin
ba565d964e Silence the "Nothing to be done for 'all'." message 2015-11-13 20:51:26 +01:00
bors-servo
3f1b62d7d8 Auto merge of #8517 - rillian:rippy, r=larsbergstrom
Use the correct .png extension for the image placeholder.

This was changed to the mozilla broken image resource
without changing the filename, even though the file
type changed.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8517)
<!-- Reviewable:end -->
2015-11-14 01:18:08 +05:30
Ralph Giles
135bcacee4 Use the correct .png extension for the image placeholder.
This was changed to the mozilla broken image resource
without changing the filename, even though the file
type changed.
2015-11-13 11:45:09 -08:00
bors-servo
4f855dc63a Auto merge of #8515 - servo:usc, r=Manishearth
Update string_cache_shared.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8515)
<!-- Reviewable:end -->
2015-11-13 23:00:33 +05:30
bors-servo
9bcaedde82 Auto merge of #8514 - Ms2ger:test-ref, r=Manishearth
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/8514)
<!-- Reviewable:end -->
2015-11-13 22:31:18 +05:30
Ms2ger
d34ea70212 Update string_cache_shared. 2015-11-13 17:52:03 +01:00
Martin Robinson
20701e564a Re-print test failures in non-interactive WPT UI
This will make it easier to spot the failures at the bottom of the test
output on the bots.

Fixes #8467.
2015-11-13 08:32:07 -08:00
bors-servo
0735cec351 Auto merge of #6935 - jdm:sslverify, r=Manishearth
Make SSL cert verification errors work again. Add a horrible, no-good…

…, very bad regression test.

Here are the list of awful things this test exploits:
- Servo can't load HTTPS content in WPT tests (#6919)
- Our web workers don't report error events to the parent worker object after the initial network load completes
- Our worker resource load don't have a same-origin check

The good news is that this test should start failing if any of those "features" change, so this should not silently break on us.

Other attempts to test this included:
- iframes (didn't work because of #6672 and #3939)
- XMLHttpRequest (I was hit by CORS, I think; maybe I could have made it work if I returned the right headers)

r? @Ms2ger

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6935)
<!-- Reviewable:end -->
2015-11-13 22:00:57 +05:30
Josh Matthews
5e123df7a7 Make SSL cert verification errors work again. Add a horrible, no-good, very bad regression test. 2015-11-13 11:30:38 -05:00
bors-servo
ca85e3f2e7 Auto merge of #8280 - Manishearth:attrNode-tests, r=nox
Add tests for get/set/removeAttributeNode()

Fixes https://github.com/w3c/web-platform-tests/issues/2262

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8280)
<!-- Reviewable:end -->
2015-11-13 20:48:19 +05:30
Manish Goregaokar
c11b756973 Add tests for get/set/removeAttributeNode()
Fixes https://github.com/w3c/web-platform-tests/issues/2262
2015-11-13 20:21:33 +05:30
bors-servo
50be4bb09e Auto merge of #8510 - servo:mozjs, r=nox
Update mozjs.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8510)
<!-- Reviewable:end -->
2015-11-13 19:49:35 +05:30
Ms2ger
002a418fe8 Update mozjs. 2015-11-13 15:14:57 +01:00
Ms2ger
6ef1f559e0 Move linear_gradients_smoke_a.html to wpt reftests. 2015-11-13 14:52:46 +01:00
Ms2ger
d0b7f1628b Move linear_gradients_corners_a.html to wpt reftests. 2015-11-13 14:42:12 +01:00