aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/html/infrastructure
Commit message (Collapse)AuthorAgeFilesLines
* Make DOMException serializable (#36535)Kingsley Yung8 days1-6/+0
| | | | | | | | | | | Follow the implementation of making DOMPoint and DOMPointReadOnly serializable in PR #35989 Testing: Passed a test previously expected to fail. Fixes: #36463 --------- Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
* Transfer ReadableStream (#36181)Gregory Terzian8 days2-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | <!-- Please describe your changes on the following line: --> Add transfer support to ReadableStream. Part of https://github.com/servo/servo/issues/34676 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (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. --> --------- Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
* dom: should change media element's currentSrc to children source element's ↵TIN TUN AUNG12 days2-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | src in resource selection algorithm. (#36408) Set the `htmlmediaelement`'s `currenSrc` in resource-selection-algorithm. Change the `htmlsourceelement`'s src and srcset to USVString type. According to [Spec](https://html.spec.whatwg.org/multipage/media.html#concept-media-load-algorithm), Step 9.3 for mode is children, should set the `currentSrc` to `src` of children `htmlsourceelement`. Also, In the `htmlsourceelement` [interface definition](https://html.spec.whatwg.org/multipage/embedded-content.html#the-source-element), the `src` and `srcset` attribute should be type `USVString`. Testing: More WPT tests related to resource selection algorithm are passing. Fix: Some spec fix [Try](https://github.com/rayguo17/servo/actions/runs/14347535616) cc @xiaochengh Signed-off-by: rayguo17 <rayguo17@gmail.com>
* Fix null realm assertion when activating a service worker (#36256)Josh Matthews2025-04-011-1/+0
| | | | | | | | | | | Ensure there is an active realm when dispatching the `activation` DOM event to the ServiceWorker global. Testing: Existing WPT coverage. Fixes: #36114 Fixes: #36235 Fixes: #36231 Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Enable service worker WPT tests. (#36221)Josh Matthews2025-03-311-0/+1
| | | Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-03-281-12/+0
| | | | | b'9d20f3ae600d00673a27a69f69e13d4cd8eca443' (#36195) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* script: implement HTMLHyperlinkElementUtils for HTMLAreaElement (#35482)shanehandley2025-02-162-6/+0
| | | | | | This makes some common functionality in HTMLAreaElement and HTMLAnchorElement shared code. Signed-off-by: Shane Handley <shanehandley@fastmail.com>
* Enable more DOM preferences for unofficial WPT test runs (#34116)Josh Matthews2024-11-031-6/+0
| | | | | | | | | | | | | * Enable some DOM prefs for all WPT tests. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Update expected results. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Implement HTMLQuoteElement "cite" attribute (#33307)Simon Wülker2024-09-042-12/+0
| | | Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-08-111-1/+0
| | | | | b'3b3beee1bf2469013583bafe702f2d4821d76c1f' (#33000) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Initial structuredClone implementation (#32960)Taym Haddadi2024-08-081-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * Initial structuredClone implementation Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Rename PostMessageOptions to StructuredSerializeOptions Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Update wpt test 2020 layout result Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Remove dublicated StructuredClone implementation Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Remove comment from StructuredSerializeOptions webidl Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com> --------- Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-08-071-0/+1
| | | | | b'3634d5a63f2fa3969616396d95537c91c3348fe5' (#32959) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update mozjs (SpiderMonkey) to 128.0 (#32769)Samson2024-07-293-93/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update mozjs Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Fix changed readTransfer callback https://bugzilla.mozilla.org/show_bug.cgi?id=1842713 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Use NewExternalArrayBuffer from glue https://github.com/servo/mozjs/pull/474/commits/d33454be74ec5b8d8faf51fab3ed477b8913898b Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Fix columnorigin and filename being in latin1 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * fixup newexternalarray Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Float16 (this might require more work for codegen support) https://bugzilla.mozilla.org/show_bug.cgi?id=1833647 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * js.strict is removed https://bugzilla.mozilla.org/show_bug.cgi?id=1621603 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * asm options are now somewhere else https://hg.mozilla.org/mozilla-central/rev/26045c88e3972957087d535e7f259e08857bd2a2 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Comment out offthread compilation Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Set NDK to 26 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Fix 1-origin handling Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Expect `FinalizationRegistry` interface Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Good expectations Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * more expectations Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Add `WeakRef` to interfaces expectation Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * mozjs upgrade: fixes for Android Android NDK's layout has changed in r26 and 'lib64' no longer exists under `toolchain/llvm/prebuilt/linux-x86_64`. The libraries that used to be it are now present in `lib` folder itself. This patch updates the build configuration to use the `lib` folder instead when configuring the LIBCLANG_PATH environment variable. This patch also updates to a newer mozjs version that includes fixes for linker errors faced on Android (see #32769). Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * Patch libz-sys & update mozjs Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * update NDK version in README Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * Use servo/mozjs Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Update mozjs again Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-07-071-18/+0
| | | | | b'4e3b5de2eb8218cf18a1674618994efeb96e2cc0' (#32717) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-05-261-1/+0
| | | | b'f2cdcb7e9550e74d07ed6cf17bbcb9643aeedb99' (#32381)
* Update web-platform-tests to revision ↵Servo WPT Sync2024-05-121-0/+1
| | | | b'8f48f40aab7f7f8a8118dc1a46972d070622be52' (#32271)
* Update web-platform-tests to revision ↵Samson2024-05-011-1/+0
| | | | | b'86de4ffa4e439098e05f05de7d8cae1c24ff84fb' (#32200) Co-authored-by: Servo WPT Sync <josh+wptsync@joshmatthews.net>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-04-211-0/+1
| | | | b'015f19c5b653f51f2e38ebe97ec0ff62523f57de' (#32121)
* Update web-platform-tests to revision ↵Servo WPT Sync2024-03-311-1/+0
| | | | b'16f18d8135a80e89f2e910ca7548999fa2f7937e' (#31951)
* Update web-platform-tests to revision ↵Servo WPT Sync2024-03-101-0/+1
| | | | b'd9a5cc25fc5f520bde022cee67e9e6a6f0b588f9' (#31599)
* Sync WPT with upstream (11-02-2024) (#31309)Servo WPT Sync2024-02-111-1/+0
| | | | | | | | | * Update web-platform-tests to revision b'33d11f1db34802fda00e64ddeb0b7ef040cf65be' * Update expectations --------- Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Sync WPT with upstream (28-01-2024) (#31204)Servo WPT Sync2024-01-281-0/+1
| | | | | | | | | * Update web-platform-tests to revision b'bdd3b533e8c995e416630422ad64f4c70086b42f' * Update expectations --------- Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-01-211-1/+0
| | | | b'a10b8c0164b4c4521040898ee9394738aca488b0' (#31144)
* Sync WPT with upstream (07-01-2024) (#31018)Servo WPT Sync2024-01-081-0/+1
| | | | | | | | | | | | | * Update web-platform-tests to revision b'ecbab417501c89bca2265314e35719a950b07e02' * update expectation for service-worker-registration.https.html.ini The expectation of CRASH was added during the import seemingly due to an intermittent crash in CI. The test is no longer crashing. --------- Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Sync WPT with upstream (01-01-2024) (#30962)Servo WPT Sync2024-01-011-1/+0
| | | | | | | | | * Update web-platform-tests to revision b'2a639a9fe4cdefd4ecd124a3f30caf631150eea5' * Update expectations --------- Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Sync WPT with upstream (03-12-2023) (#30814)Servo WPT Sync2023-12-061-1/+2
| | | | | | | | | * Update web-platform-tests to revision b'dd47ca67f55ac9df45235b2335200fb885dd1357' * Update test expectations --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Sync WPT with upstream (24-10-2023) (#30607)Servo WPT Sync2023-10-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * wpt sync: adapt code for new TestRoot class Fixes #30558 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * temp change to allow wpt sync build to pass Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * Update web-platform-tests to revision b'0d5028f200c8651b17bb224657d6e1065adcff37' * Revert "temp change to allow wpt sync build to pass" This reverts commit bad72c7f87c0df16085763ee15ebe63a53462ab3. * revert metadata update for intermittent timeouts Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Sync WPT with upstream (08-10-2023) (#30516)Servo WPT Sync2023-10-081-3/+0
| | | | | | | | | | | | * Update web-platform-tests to revision b'3d46548c5fbeb3c1b5f6bc5ae0854e0a1a0462ff' * Revert expectation for column-count-crash.https.html Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Run same tests for layout-2020 and layout-2013 (#30092)Oriol Brufau2023-08-1515-0/+264
| | | | | | | | | | 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.
* Sync WPT with upstream (18-07-2023) (#30006)Servo WPT Sync2023-07-191-9/+0
| | | | | | | | | * Update web-platform-tests to revision b'e16853520ae70ba309108ccff87a7816f74be4dd' * Remove new spurious result --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Rename metadata directoriesMartin Robinson2023-06-2212-0/+384
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`