Commit graph

7163 commits

Author SHA1 Message Date
Josh Matthews
666ea2060c
Reenable test that should work now. 2018-07-26 10:23:26 -04:00
Josh Matthews
ad1c546973 Allow webgl tests using unit test harness to run to completion. 2018-07-25 17:36:24 -04:00
bors-servo
53382f5a0f
Auto merge of #21232 - servo:jdm-patch-22, r=asajeffrey
Enable MutationObserver by default.

All of the WebIDL APIs are implemented, so we might as well have it enabled by default now. I've filed https://github.com/servo/servo/issues/21233 for the remaining test failures.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21232)
<!-- Reviewable:end -->
2018-07-25 15:32:43 -04:00
Josh Matthews
5d943c6dbd Enable MutationObserver by default. 2018-07-25 12:28:59 -04:00
Josh Matthews
30f964e489
Fix pyflakes warning. 2018-07-24 18:06:30 -04:00
Josh Matthews
2dff49174c
Adjust import path for WPT tests to accommodate upstream. 2018-07-24 18:00:39 -04:00
bors-servo
65df9cb73a
Auto merge of #21240 - servo:webgl, r=jdm
Properly check for GL object ownership (fixes #21133)

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21240)
<!-- Reviewable:end -->
2018-07-24 11:02:57 -04:00
Anthony Ramine
3179ed59c5 Properly check for GL object ownership (fixes #21133) 2018-07-24 15:05:35 +02:00
Emilio Cobos Álvarez
e1855b3b3b
style: Fix unit tests. 2018-07-24 12:59:55 +02:00
bors-servo
41f9f85040
Auto merge of #21236 - emilio:mutation-observer, r=jdm
script: A couple mutation observer fixes.

I felt like doing Servo stuff while trying to catch Gecko intermittents :)

This fixes most of #21233. I haven't dug into the other test.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21236)
<!-- Reviewable:end -->
2018-07-23 13:33:45 -04:00
Emilio Cobos Álvarez
39e647de06
script: Fix the logic for mutation observer attributes. 2018-07-23 19:28:29 +02:00
Emilio Cobos Álvarez
e4f978e215
script: Queue a mutation record from CharacterData::append_data. 2018-07-23 19:06:22 +02:00
bors-servo
e80dfd616d
Auto merge of #21230 - servo-wpt-sync:wpt_update_22-07-2018, r=jdm
Sync WPT with upstream (22-07-2018)

Automated downstream sync of changes from upstream as of 22-07-2018.
[no-wpt-sync]

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21230)
<!-- Reviewable:end -->
2018-07-23 09:00:24 -04:00
WPT Sync Bot
a5af9a106a Update web-platform-tests to revision 3f9178031eec5374c9a7d5709a7e11ba4a1955ed 2018-07-22 22:39:46 -04:00
ergunsh
ae20469636 merge run_wpt.py into run.py 2018-07-22 22:59:59 +03:00
Josh Matthews
c650e6814a Update sync commit. 2018-07-22 12:10:43 -04:00
bors-servo
a97d8b99ef
Auto merge of #21048 - cbrewster:hash_change_history, r=asajeffrey
Track hash changes in session history

<!-- Please describe your changes on the following line: -->
Adds tracking of hash changes in the session history.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #14970 fix #13437 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21048)
<!-- Reviewable:end -->
2018-07-21 14:39:25 -04:00
Connor Brewster
61442cce4b Track hash changes in session history
Notify history changed on pushState and scroll to frag
2018-07-21 12:38:51 -06:00
bors-servo
37a73d3bc0
Auto merge of #21213 - servo:android-wpt, r=nox+jgraham
Add some support for WPT tests in an Android emulator through WebDriver

This succeeds on my machine:

`./mach test-wpt --product servodriver --binary etc/run_in_headless_android_emulator.py --binary-arg servo-x86 --binary-arg target/i686-linux-android/release/servo.apk /_mozilla/mozilla/DOMParser.html`

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21213)
<!-- Reviewable:end -->
2018-07-20 18:53:23 -04:00
Simon Sapin
2b5bba6f12 servodriver: increase browser’s init_timeout 2018-07-20 18:13:59 +02:00
bors-servo
1a9943d736
Auto merge of #21216 - Eijebong:parking_lot, r=emilio
Update parking_lot to 0.6

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21216)
<!-- Reviewable:end -->
2018-07-20 10:34:57 -04:00
Simon Sapin
230a6da5ff servodriver: fix setting preferences
This makes `/_mozilla/mozilla/webgl/context_creation_error.html` pass,
for example.

```
./ mach test-wpt --product servodriver \
  --binary etc/run_in_headless_android_emulator.py \
  --binary-arg servo-x86 \
  --binary-arg target/i686-linux-android/release/servo.apk \
  /_mozilla/mozilla/webgl/context_creation_error.html
```
2018-07-20 15:58:41 +02:00
WPT Sync Bot
158f7eec0e Update web-platform-tests to revision abd18b3e018d25ed668d179c905b7869dca5e239 2018-07-19 22:44:23 -04:00
Bastien Orivel
ba9cbd87fb Update parking_lot to 0.6 2018-07-20 00:44:08 +02:00
Simon Sapin
cdd64604cf Don’t reverse-forward port "None"
```
 0:27.48 pid:4157 Traceback (most recent call last):
 0:27.48 pid:4157   File "/home/simon/servo1/etc/run_in_headless_android_emulator.py", line 212, in <module>
 0:27.48 pid:4157     sys.exit(main(*sys.argv[1:]))
 0:27.48 pid:4157   File "/home/simon/servo1/etc/run_in_headless_android_emulator.py", line 72, in main
 0:27.48 pid:4157     forward_webdriver(adb, args)
 0:27.48 pid:4157   File "/home/simon/servo1/etc/run_in_headless_android_emulator.py", line 163, in forward_webdriver
 0:27.48 pid:4157     ports = [int(part) for part in split if part]
 0:27.48 pid:4157 ValueError: invalid literal for int() with base 10: 'None'
```
2018-07-19 20:50:42 +02:00
Simon Sapin
f10b47465a More Python fixes for servodriver
```
Traceback (most recent call last):
  File "/home/simon/servo1/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/testrunner.py", line 90, in run
    rv = commands[command](*args)
  File "/home/simon/servo1/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/testrunner.py", line 110, in wait
    self.executor.wait()
  File "/home/simon/servo1/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 209, in wait
    self.protocol.base.wait()
AttributeError: 'ServoWebDriverProtocol' object has no attribute 'base'
```
2018-07-19 20:50:28 +02:00
Simon Sapin
94d1acbcfd run_in_headless_android_emulator: add support for reverse port forwarding 2018-07-19 19:16:07 +02:00
Simon Sapin
33234affc9 run_in_headless_android_emulator: add port forwarding for webdriver 2018-07-19 18:52:17 +02:00
Simon Sapin
c05d30d116 Add --binary-arg support in ./mach test-wpt --product servodriver 2018-07-19 18:07:33 +02:00
Simon Sapin
9b80369efb Make servodriver wait until the server starts accepting TCP connections 2018-07-19 18:07:33 +02:00
Simon Sapin
780e21c970 Fix Python errors in servodriver 2018-07-19 17:38:53 +02:00
bors-servo
48db1ed65e
Auto merge of #21207 - servo:webgl, r=emilio
Some WebGL drive-by fixes

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21207)
<!-- Reviewable:end -->
2018-07-19 09:38:21 -04:00
bors-servo
e57187305f
Auto merge of #21181 - nupurbaghel:update_source_set, r=jdm
Implement update source set & select image source

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #11416 (github issue number if applicable).

- [x] These changes require tests but cannot be written until implementation of responsive images is complete

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21181)
<!-- Reviewable:end -->
2018-07-19 08:18:12 -04:00
Anthony Ramine
b64232d77b Invalidate all WebGLUniformLocation values on program relink 2018-07-19 11:34:04 +02:00
nupurbaghel
8d06da8afd implement update_source_set, select_image_source 2018-07-19 09:20:46 +05:30
bors-servo
aab335e543
Auto merge of #21204 - servo:wpt_update_18-07-2018, r=jdm
Update web-platform-tests

The automated sync process is really busted, so this is a manual run to get us back on track. Fixes #21145.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21204)
<!-- Reviewable:end -->
2018-07-18 19:41:55 -04:00
bors-servo
72e8d79add
Auto merge of #21203 - servo:jdm-patch-19, r=nox
Disable tests for unsupported JS modules

There's no point to running these since the all just time out.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21203)
<!-- Reviewable:end -->
2018-07-18 18:29:50 -04:00
WPT Sync Bot
775b784f79 Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d 2018-07-18 22:07:44 +00:00
Anthony Ramine
3e8c2d659a Implement gl.getUniform() 2018-07-18 21:37:41 +02:00
Josh Matthews
047fd485ac
Disable tests for unsupported JS modules 2018-07-18 13:04:32 -04:00
Anthony Ramine
6c7609c6f0 Update some obsolete expectation 2018-07-18 18:31:50 +02:00
Bastien Orivel
9e446971a8 Update euclid to 0.18 2018-07-18 09:27:24 +02:00
bors-servo
a69c117da2
Auto merge of #21187 - tigercosmos:fetch, r=jdm
Make fetch() API use same-origin credentials by default

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #21146 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21187)
<!-- Reviewable:end -->
2018-07-16 22:46:30 -04:00
tigercosmos
af3741ab26 Make fetch() API use same-origin credentials by default 2018-07-17 10:28:24 +08:00
bors-servo
3003e6f897
Auto merge of #21184 - servo:webgl, r=jdm
Use active uniforms data to implement gl.uniform* checks

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21184)
<!-- Reviewable:end -->
2018-07-16 19:46:05 -04:00
Anthony Ramine
476640c3ab Use active uniforms data to implement gl.uniform* checks 2018-07-17 01:26:44 +02:00
Emilio Cobos Álvarez
fde93a60fe
style: Fix build and unit tests. 2018-07-16 19:44:19 +02:00
bors-servo
3961e8d1eb
Auto merge of #19184 - bobthekingofegypt:fix/18706-abs-image-with-padding, r=mbrubeck
fix block size for absolute replaced element

Absolutely replaced elements with padding were incorrectly setting their
block size to include twice the padding values.  This attempts to stop
that extra padding for replaced elements but leave the working flow for
non replaced elements

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18706 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19184)
<!-- Reviewable:end -->
2018-07-13 20:18:27 -04:00
bors-servo
493bb05ed0
Auto merge of #21099 - servo-wpt-sync:wpt_update_28-06-2018, r=jdm
Sync WPT with upstream (28-06-2018)

Automated downstream sync of changes from upstream as of 28-06-2018.
[no-wpt-sync]

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21099)
<!-- Reviewable:end -->
2018-07-09 15:02:26 -04:00
Anthony Ramine
36b6b86ad4 Make some WebGL tests have a long timeout (fixes #20883) 2018-07-09 16:39:33 +02:00