Commit Graph

115 Commits

Author SHA1 Message Date
Martin Robinson
9dff1fecfc wpt: Start running the WOFF2 tests (#31595)
This is the first step implementing WOFF2 font support in Servo.
2024-03-09 13:29:00 +00:00
Oriol Brufau
a483e2806c Enable accidentally skipped tests (#31507)
In #31469 I misunderstood how include.ini works (see #31502).
2024-03-05 23:07:42 +00:00
Mukilan Thiyagarajan
8f3e1bcabe Enable css-text explicitly in include.ini (#31502)
* Enable `css-text` explicitly in include.ini

The WPT test runner has some strange logic for determining
the key's value for a node like `[css]` or `[css-text]`.
In this logic, if the node doesn't have an explicit value for
a key (here `skip`), then the implicit root node's setting
(i.e key/value pair at the top of the file that is not nested
under a heading) is used as the default fallback value [1]. Only
when the implicit root node doesn't have an explicit value set
does the logic starts looking at the current node's parent [2].

In our case, in `include.ini` the default value for `skip`
is `true` as that is the first line in the file.
Since `[css-text]` doesn't have `skip` set explicitly, the
default value of `true` is used even though the parent's
value is `false`.

[1]: 2bafcf9f18/tests/wpt/tests/tools/wptrunner/wptrunner/wptmanifest/backends/conditional.py (L265)
[2]: 2bafcf9f18/tests/wpt/tests/tools/wptrunner/wptrunner/manifestinclude.py (L59)

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

* Update text expectations

---------

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-03-05 10:56:18 +00:00
Oriol Brufau
2b1d342102 Enable more css tests (#31469)
* Enable more css tests

In particular, these directories are no longer skipped:
 - CSS1 (has no tests)
 - css-box (except margin-trim)
 - css-cascade
 - css-display (except run-in)
 - css-easing
 - css-env
 - css-lists
 - css-namespaces
 - css-overflow
 - css-pseudo
 - css-sizing (except aspect-ratio and contain-intrinsic-size)
 - css-syntax
 - reference
 - support (has no tests)

* Sort list properly

* Explicitly list skipped directories

* Do not skip css tests by default

* Add expectations
2024-03-01 07:49:39 +00:00
Smitty
50c930866b Make console methods take any instead of string (#31241)
* Make console methods use `any` for the message

Match the Console spec by allowing any value to be passed to console
methods, instead of just values that can be converted to a string.

Signed-off-by: syvb <me@iter.ca>

* Add test for console logging a Symbol

Signed-off-by: syvb <me@iter.ca>

* Implement object stringification for logs

Signed-off-by: syvb <me@iter.ca>

* Address review comments

Signed-off-by: syvb <me@iter.ca>

* Make time/timeEnd accept DOMString to match spec

* Update WPT results for layout 2013

---------

Signed-off-by: syvb <me@iter.ca>
2024-02-05 14:30:53 +00:00
Martin Robinson
734eb46954 wpt: Unskip the `css-tables suite (#31131)
This will be useful for tracking improvements to table support.
2024-01-19 11:09:02 +00:00
Martin Robinson
97284ead14 Temporarily disable the webaudio tests (#31089)
After the recent GStreamer upgrade these tests are completely
unreliable. It seems that we need to make some changes to the CI
environment to ensure that these can run in a reliable manner and not
run into missing audio device errors.
2024-01-15 11:07:09 +00:00
Oriol Brufau
963104e5fc Run same tests for layout-2020 and layout-2013 (#30092)
Most tests were only being run for layout-2013, not for layout-2020.
This wasn't great since layout-2020 is now the default.

So this patch unifies the lists of included tests for both layouts.
For layout-2013 this implies adding css/css-content/, css/css-logical/
and css/css-masking/clip/.
For layout-2020 this implies adding several additional css tests, and
also tests like dom/, js/, html/, etc.
2023-08-15 00:28:32 +00:00
Martin Robinson
f4578afdfe Rename metadata directories
This renames:
 - `tests/wpt/metadata` → `tests/wpt/meta-legacy-layout`
 - `tests/wpt/metadata-layout-2020` → `tests/wpt/meta`
 - `tests/wpt/mozilla/meta` → `tests/wpt/mozilla/meta-legacy-layout`
 - `tests/wpt/mozilla/meta-layout-2020` → `tests/wpt/mozilla/meta`
2023-06-22 21:15:41 +02:00
Oriol Brufau
f6fb31a877 Don't skip css-borders and css-outline tests
This enables a total of 8 tests.
I have a patch that fixes 5 out of the 7 failures.
2023-05-05 14:57:13 +02:00
Martin Robinson
2770b4c9bb Enable CSS position tests and add results
This also removes imported position: sticky tests from the Mozilla
directory. These were only supposed to be temporary until the upstream
version from WPT were imported.
2023-04-07 11:09:28 +02:00
cybai
458dfbefca Mark more tests to a proper status 2022-01-17 21:50:41 +09:00
cybai
4cb2216b26 Fix renamed webidl name in ini config 2022-01-17 16:30:36 +09:00
Josh Matthews
9791ed96f7 Run CSS animations tests in 2013. 2020-09-28 11:49:01 -04:00
bors-servo
c0778ff3c5 Auto merge of #27313 - jdm:layer-idl, r=asajeffrey
Update XRWebGLLayer to match specification.

This unbreaks most of the webxr WPT tests.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #27312
- [x] There are tests for these changes
2020-07-21 01:38:08 -04:00
Josh Matthews
c34e587140 Update XRWebGLLayer to match specification. 2020-07-20 15:52:16 -04:00
Josh Matthews
1aef31bb2f checkpoint - dynamic load inside of a module and classic script works. 2020-07-18 00:43:34 +09:00
Josh Matthews
83578265b4 Don't pretend we support SharedArrayBuffer. 2020-06-16 14:39:20 -04:00
Gregory Terzian
bd5796c90b integrate readablestream with fetch and blob 2020-06-04 11:38:35 +08:00
CYBAI
6bc624001b Introduce import.meta hook for module script 2020-05-17 11:34:35 +09:00
Martin Robinson
3a74013abc Start having animations conform to the HTML spec
This is a small step toward fixing #19242. The main idea is that the
clock for animations should advance as the event loop ticks. We
accomplish this by moving the clock from layout and naming it the
"animation timeline" which is the spec language. This should fix
flakiness with animations and transitions tests where a reflow could
move animations forward while script was running.

This change also starts to break out transition and animation events
into their own data structure, because it's quite likely that the next
step in fixing #19242 is to no longer send these events through a
channel.
2020-05-05 20:08:44 +02:00
CYBAI
f74d3a5940 Remove 2dcontext and offscreen-canvas in include configuration 2020-04-30 18:22:38 -04:00
Martin Robinson
fb9c3527be Skip various CSS animation tests directories
These are all going to be flaky until we get further along with the
transition and animation improvements. The flakiness is due to the fact
that it is more likely that these tests pass now.
2020-04-29 18:57:33 +02:00
Josh Matthews
756ef4b5f6 Don't run directory of intermittently crashing tests. 2020-04-23 15:46:39 -04:00
Iulian Gabriel Radu
7293cf141d Update test results expectations for WebVTT 2020-03-09 23:31:45 +02:00
Patrick Shaughnessy
5ef3358951 Selection interface working for synthetic operations 2020-02-13 20:09:27 -05:00
pshaughn
8320d40f92 Enable cookies tests 2020-01-25 14:53:22 -05:00
CYBAI
86575bba1b Run module tests 2020-01-03 12:40:15 +09:00
Fernando Jiménez Moreno
ba48e542e4 Enable MediaSession WPT 2019-11-20 13:34:31 +01:00
Keith Yeung
c3b17c1201 begin messageport, transferable objects, impl
Accept transfer argument for StructuredCloneData::write

Allow structured clone reads to return a boolean

Add Transferable trait

Add basic skeletons to MessagePort

Implement transfer and transfer-receiving steps on MessagePort

Use transfer and transfer_receive in StructuredClone callbacks

Implement MessageChannel

Freeze the array object for the MessageEvent ports attribute

Implement transfer argument on window.postMessage

Use ReentrantMutex instead for MessagePortInternal

Accept origin as a parameter in dispatch_jsval

Fix BorrowMut crash with pending_port_message

Detach port on closure and check for detached during transfer

Enable webmessaging tests

fix webidl

fix
2019-10-19 14:12:22 +08:00
Josh Matthews
7fb11bdaac Skip unimplemented worker modules tests. 2019-09-15 11:32:49 -04:00
Josh Matthews
b7f378d37d Skip tests for unimplemented JSON module script. 2019-09-15 11:16:37 -04:00
Josh Matthews
f5ce68eca5 Skip tests for unimplemented http-equiv-refresh attribute. 2019-09-15 11:15:18 -04:00
Josh Matthews
09f987651e Skip tests for unimplemented Cross-Origin-Opener/Embedder-Policy. 2019-09-15 11:13:38 -04:00
Josh Matthews
39de335956 Skip unimplemented media track element URL fetching tests. 2019-09-15 11:10:27 -04:00
Josh Matthews
2ac5ef6bd9 Skip unimplemented srcdoc referrer-policy WPT tests. 2019-09-15 10:57:55 -04:00
Manish Goregaokar
5b960a7fdc Enable webxr wpt 2019-07-16 22:17:22 -07:00
Josh Matthews
6ebd8dd2e6 Run permissions tests in WPT. 2019-06-28 10:14:46 -04:00
George Roman
2e0556c503 Run wdspec tests in a different job 2019-06-14 23:30:33 +03:00
George Roman
c6dfc5a02d Enable cookies related wdspec tests 2019-06-11 23:46:04 +03:00
George Roman
8b93d1d673 Enable webdriver new_session tests 2019-06-06 00:07:59 +03:00
krk
4af50f96fa Add css-align tests with failure expectations. 2019-04-10 21:41:02 +02:00
George Roman
e6b363df5b Remove forked referrer policy tests 2019-02-01 18:08:45 +02:00
Maharsh
0f17273276 Initial Steps OffScreenCanvas API 2019-01-15 22:45:34 -05:00
Josh Matthews
aace5c36a4 Disable forked referrer-policy tests. 2019-01-09 11:33:54 -05:00
Josh Matthews
212ae3b94a Re-enable referrer-policy tests. 2019-01-07 11:54:00 -05:00
Josh Matthews
9ff7de6a44 Disable referrer-policy tests for frequent intermittent failures. 2018-12-13 15:44:56 -05:00
ddh
26007fddd3 refactored performance timing to align with updated spec
refactoring with ResourceFetchMetadata

implemented deprecated window.timing functionality

created ResourceTimingListener trait

fixed w3c links in navigation timing

updated include.ini to run resource timing tests on ci
2018-11-20 16:21:32 +00:00
Josh Matthews
c98e30516b Skip css-text i18n tests. 2018-10-09 15:07:15 -04:00
Josh Matthews
4482ccc52d Enable wasm tests. 2018-09-10 12:46:24 -04:00