Commit graph

3774 commits

Author SHA1 Message Date
bors-servo
7b8bb0c248 Auto merge of #11096 - mbrubeck:profile-image-saving, r=metajack
Profile time spent saving the screenshot image

I did this to see if it was a significant factor in automated test runs.  (Spoiler: it isn't.)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11096)
<!-- Reviewable:end -->
2016-05-09 10:21:00 -07:00
Matt Brubeck
9b23cf537e Profile time spent saving the screenshot image 2016-05-09 09:43:13 -07:00
bors-servo
a76db9af54 Auto merge of #11051 - mrmiywj:closeevent-argument, r=Ms2ger
'closeevent' argument for Document::createEvent

Add "close event" argument for Document::createEvent
Fixes #10737

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11051)
<!-- Reviewable:end -->
2016-05-09 00:48:41 -07:00
bors-servo
47c2858647 Auto merge of #11078 - izgzhen:blob-test-fix, r=Ms2ger
Delete outdated test cases ini, addressing issue #11075

As discussed in issue #11075 , these two are no longer found in current `tests/wpt/web-platform-tests/FileAPI/blob/Blob-constructor.html`

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11078)
<!-- Reviewable:end -->
2016-05-08 08:29:41 -07:00
mrmiywj
dfaad2dab2 'closeevent' argument for Document::createEvent
fix alphabetical order

delete unused tests
2016-05-08 14:40:12 +08:00
Zhen Zhang
b93409bab0 delete outdated test cases, addressing issue #11075 2016-05-08 12:59:34 +08:00
Ms2ger
ebddcc2d7f Update web-platform-tests to revision fab2c513bffb2bd19600d23b495264d123df092f 2016-05-07 23:23:48 +02:00
bors-servo
508c3285d8 Auto merge of #11069 - mbrubeck:disable-incremental-trailing, r=mbrubeck
Disable /_mozilla/css/incremental_trailing_whitespace_a.html

CC #10473

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11069)
<!-- Reviewable:end -->
2016-05-07 09:37:16 -07:00
Matt Brubeck
915aab1b92 Disable /_mozilla/css/incremental_trailing_whitespace_a.html
CC #10473
2016-05-07 08:58:03 -07:00
bors-servo
a09b2374f9 Auto merge of #11052 - jdm:disable-svg, r=metajack
Disable SVG sizing tests until SVG is implemented.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11052)
<!-- Reviewable:end -->
2016-05-07 05:41:29 -07:00
bors-servo
76abd9d7c1 Auto merge of #11053 - yodalee:Use-onload-in-iframe-test, r=mbrubeck
use onload in iframe test

the iframe test is implemented using setTimeout function
Since the iframe already implement load event, replacing
timeout function with load event.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11053)
<!-- Reviewable:end -->
2016-05-07 01:23:31 -07:00
bors-servo
a153e20c55 Auto merge of #11028 - szeged:webbluetooth, r=jdm
Remove BluetoothDevice members

Five of the BluetoothDevice members has been deleted in the spec:
8d148ba3c3

These were the vendorID, vendorIDSource, deviceClass, productID, productVersion.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11028)
<!-- Reviewable:end -->
2016-05-06 17:07:55 -07:00
bors-servo
17ba9fb5da Auto merge of #10821 - askeing:fix_10782, r=jdm
Checking the browsing_context before change title

fix #10782

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10821)
<!-- Reviewable:end -->
2016-05-06 14:20:45 -07:00
yodalee
b8ccbc57f3 use onload in iframe test
the iframe test is implemented using setTimeout function
Since the iframe already implement load event, replacing
timeout function with load event.
2016-05-06 22:54:22 +08:00
Josh Matthews
0a091aee31 Disable SVG sizing tests until SVG is implemented. 2016-05-06 10:40:29 -04:00
Maciej Skrzypkowski
43b72537dc Update cssparser to fix CSS.escape test failures
Fixed failing tests #10685
2016-05-06 13:54:26 +02:00
Matt Brubeck
f7c82e639e Update libc, url, image, app_units 2016-05-05 11:12:24 -07:00
zakorgy
ed92f31ebc Remove BluetoothDevice members 2016-05-05 12:47:52 +02:00
askeing
3c56d41699 Checking the browsing_context before change title, and adding wpt test 2016-05-05 14:12:03 +08:00
bors-servo
35ba29355f Auto merge of #10691 - pcwalton:float-fixes, r=mbrubeck
layout: Fix float speculation with percentage inline sizes, rewrite vertical alignment, fix inline block ascent/descent computation, and fix absolute inline-block hypothetical boxes.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10691)
<!-- Reviewable:end -->
2016-05-04 13:49:23 -07:00
Patrick Walton
dacc482ee9 tests: Fix the input_buttons_margins_a.html reftest.
It depends on the vertical alignment of button text, which is a spec
bug.
2016-05-04 13:43:45 -07:00
Patrick Walton
4227a698d0 tests: Add a reftest to check that floats with percentage widths
properly push text down.
2016-05-04 13:43:44 -07:00
Patrick Walton
86314bd7a3 tests: Update test expectations. 2016-05-04 13:43:43 -07:00
Patrick Walton
9e1935c2ed layout: Make the hypothetical box for display: inline-block with
`position: absolute` inline per CSS 2.1 § 10.3.7.
2016-05-04 13:20:22 -07:00
bors-servo
20fc8b3c8d Auto merge of #10932 - jdm:401, r=SimonSapin
Add the requesting URL to the 401 prompt. Only show the 401 prompt wh…

…en the WWW-Authenticate header is present.

Fixes #10912.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10932)
<!-- Reviewable:end -->
2016-05-04 11:37:16 -07:00
bors-servo
b4f573db1a Auto merge of #10840 - ConnorGBrewster:window_alert, r=jdm
Implement alert dialogs

fix #10812

Implements alert dialogs using tinyfiledialogs

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10840)
<!-- Reviewable:end -->
2016-05-04 09:10:40 -07:00
bors-servo
944a8dc25a Auto merge of #10632 - szeged:bluetooth-ipc, r=jdm
WebBluetooth impementation

Update the current WebBluetooth implementation.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10632)
<!-- Reviewable:end -->
2016-05-04 08:06:06 -07:00
Connor Brewster
dc85be4be5 Implement alert dialogs
Fixed conflict

Fixed merge issue

Finished implementation

Disable tinyfiledialogs on Windows

addressed comments

Use ancestor's SubpageId
Move display alert from method to function
Add extra test for nested iframes

Addressed comments

Updated tinyfiledialogs
2016-05-03 22:09:35 -06:00
bors-servo
f9d9cd3aae Auto merge of #8454 - jdm:media, r=KiChjang
Implement basic <media> infrastructure

This gets us to the point where we can start playing with actually integrating rust-media to process the data received by the network request, as currently it's just ignored.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8454)
<!-- Reviewable:end -->
2016-05-03 16:42:46 -07:00
bors-servo
2c69278067 Auto merge of #10756 - servo:smup, r=Ms2ger
Update SpiderMonkey

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10756)
<!-- Reviewable:end -->
2016-05-03 15:46:40 -07:00
Josh Matthews
f78d88acbe Implement partial spec-recommended preload=none support. 2016-05-03 18:05:26 -04:00
Josh Matthews
ef10393ba6 Execute the failure steps for an empty src attribute. 2016-05-03 18:05:25 -04:00
Josh Matthews
c64d7578d1 Disable two tests that take a very long time to time out. 2016-05-03 18:05:23 -04:00
Josh Matthews
a80320e24e Add event handlers for media-related events. 2016-05-03 18:05:22 -04:00
Josh Matthews
d718da1c6a Pause media elements when they're removed from the document. 2016-05-03 18:05:21 -04:00
Josh Matthews
e3db11fd8b Implement play, pause, paused, and autoplay APIs. 2016-05-03 18:05:20 -04:00
Josh Matthews
5960fbe604 Implement load, canPlayType, and error APIs for media elements. 2016-05-03 18:05:18 -04:00
Josh Matthews
bd912401ca Disable mozbrowser_navigation.html pending further investigation. 2016-05-03 17:15:18 -04:00
Josh Matthews
eae27adc4a Implement basic media resource selection and fetching. 2016-05-03 16:25:24 -04:00
Josh Matthews
53f9307fb7 Add stubs for src and currentSrc for HTMLMediaElement. 2016-05-03 16:25:21 -04:00
Josh Matthews
cb63ad6c87 Add the requesting URL to the 401 prompt. Only show the 401 prompt when the WWW-Authenticate header is present. 2016-05-03 13:19:42 -04:00
Anthony Ramine
eb94f1a918 Update SpiderMonkey 2016-05-03 18:36:11 +02:00
zakorgyula
76d6685d7f Add html tests 2016-05-03 11:35:29 +02:00
bors-servo
3128a71ac7 Auto merge of #10971 - shssoichiro:remove-cacherequestdetails, r=KiChjang
Remove CacheRequestDetails

Fixes #10904

Note that the related web-platform-tests failed both before and after this commit

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10971)
<!-- Reviewable:end -->
2016-05-02 19:58:14 -07:00
Joshua Holmer
8bb740e95e Remove CacheRequestDetails
Fixes #10904
2016-05-02 22:08:16 -04:00
bors-servo
8255e74a61 Auto merge of #10081 - jdm:interfacepref, r=nox
Support controlling interface and member visibility via preferences

This was easier to throw together than per-attribute/method support, and it gets rid of some nonstandard properties from our globals.

Fixes #7626.

r? @Ms2ger

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10081)
<!-- Reviewable:end -->
2016-05-02 11:35:38 -07:00
Josh Matthews
2a9bf70f03 Move FocusEvent into the right list of exposed interfaces. 2016-05-02 14:32:59 -04:00
Josh Matthews
a03fc5e2fd Hide nonstandard interface members of standard interfaces behind appropriate prefs. 2016-05-02 14:32:58 -04:00
Josh Matthews
cb5bad63dc Implement hiding of interface members via Pref annotations. 2016-05-02 14:32:56 -04:00
Josh Matthews
91a78ed109 Disable nonstandard interfaces via prefs. 2016-05-02 14:32:52 -04:00