aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/html/webappapis
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash when setting custom property on Location (#36494)Josh Matthews9 days1-3/+0
| | | | | | | | | | | | | | | | | The JS engine uses types like `Handle<Maybe<PropertyDescriptor>>` in various places and our automated bindings are not able to handle the Maybe type. We have hand-written bindings that use outparams to indicate a PropertyDescriptor value is actually the Nothing type, but that data was getting lost when we passed the property descriptor to SetPropertyIgnoringNamedGetter, which assumed that the property descriptor was always valid. Depends on https://github.com/servo/mozjs/pull/579. Testing: Manual testing on testcase from https://github.com/servo/servo/issues/34709, and new crashtest added. Fixes: #34709 Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Transfer ReadableStream (#36181)Gregory Terzian10 days1-6/+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: Track "removed" event listener status (#36163)Andrei Volykhin2025-03-281-3/+0
| | | | | | | | | | | | | | | | | The DOM event listener "removed" status should be supported to track the following situations (with immediate effect of listener removal): - Removing a later event listener while an earlier listener for the same event is running - Nested usage (recursively dispatch another event) of "once" listeners https://dom.spec.whatwg.org/#event-listener-removed During event dispatching requires to clone event listeners list on "invoke" step https://dom.spec.whatwg.org/#concept-event-listener-invoke and the lowercase "event listener" concept in Servo is EventListenerEntry https://dom.spec.whatwg.org/#concept-event-listener Bug: #25479, #25090 Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
* Implement declarative shadow dom (#34964)batu_hoang2025-03-174-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement declarative shadow dom Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Set allowDeclarativeShadowRoots false for innerHTML Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Enable allowDeclarativeShadowRoots for Document Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Expose HTMLTemplateElement to js Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Implemenet setHTMLUnsafe and add more test cases Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Declarative shadow dom: minor updates and expected test result update Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Shadow-dom: add more test cases Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Update comments according to the spec Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Bump html5ever version Signed-off-by: batu_hoang <longvatrong111@gmail.com> --------- Signed-off-by: batu_hoang <longvatrong111@gmail.com>
* Fix animation frame callback cancellation (#35849)Xiaocheng Hu2025-03-101-3/+0
| | | Signed-off-by: Xiaocheng Hu <xiaochengh.work@gmail.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-03-024-0/+36
| | | | | b'fc557e215e11221c91de4f283539725ef2f35928' (#35741) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* libservo: Clean up interfaces for alert()/confirm()/prompt() (#35579)Delan Azabani2025-02-272-8/+0
| | | Signed-off-by: Delan Azabani <dazabani@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-02-091-0/+18
| | | | | b'1a5b13545ae58e468ed11e4c21912a3faf3355ea' (#35384) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Implement HTMLCanvasElement.toBlob (#34938)webbeef2025-01-101-7/+0
| | | | | | | This refactors some of the code that is shared with toDataURL, and updates the webidl definition to match the current spec (using a default value for the mime type). Signed-off-by: webbeef <me@webbeef.org>
* Sync WPT with upstream (29-12-2024) (#34789)Servo WPT Sync2024-12-293-0/+9
| | | | | | | | | | | | | | | | | | | * Update web-platform-tests to revision b'8fcb1f1e9519117f68699b8257c6b79d0f6e70e8' Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> * Update iframe-nosrc.html.ini Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> * Update api-and-duplicate-headers.any.js.ini Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-12-221-3/+0
| | | | | b'979291d49c1a8e3d811df117d9e6b5d399a6deb2' (#34733) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-12-081-0/+3
| | | | | b'7b6f075f0ec3c52d92c61fb9f35ce0ec927b17b2' (#34525) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Make traverse_preorder follow shadow roots (#34503)Josh Matthews2024-12-071-3/+0
| | | | | | | | | | | | | | | | | * script: Ensure shadow-inclusve preorder traversals follow hosted shadow roots. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Handle unregistering element id/name values inside of a shadow root. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Merge shadow root tree iteration logic. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-12-052-0/+35
| | | | | b'bf49dde84c5f05613115d6146d109f0ec3900694' (#34483) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-11-241-0/+6
| | | | | b'6d461cc41e1a9951e1991a94f651e389b0ca24ba' (#34360) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-11-172-6/+0
| | | | | b'6cf69a4f431581e9438681abc776029308ee8a8c' (#34265) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-11-102-0/+6
| | | | | b'8686b7a6d288d3b2c22b5ddb5a21773619b22b85' (#34202) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Enable more DOM preferences for unofficial WPT test runs (#34116)Josh Matthews2024-11-033-9/+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>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-10-271-0/+3
| | | | | b'73d6bd0d61f0ad5341d0c2303a7638e3aa12a594' (#34029) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* update test expectations for update-rendering (#33846)Gregory Terzian2024-10-181-3/+0
| | | Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
* Sync WPT with upstream (06-10-2024) (#33668)Servo WPT Sync2024-10-061-3/+0
| | | | | | | | | | | | | | | * Update web-platform-tests to revision b'9448ab31f11e671a8b069e3407b4f6279bea698e' Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> * Remove intermittent failure. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> Signed-off-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
* Sync WPT with upstream (29-09-2024) (#33580)Servo WPT Sync2024-09-291-0/+3
| | | | | | | | | | | | | | | * Update web-platform-tests to revision b'16d17064d2122cfa83b22f8bab32c96e6514c034' Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> * Update big5-decode-csbig5.html.ini Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-09-224-0/+222
| | | | | b'8e164c249d2b93a4234a2710a5e2cc5a16fab499' (#33515) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Raf delivery: run rafs for all pipeline if tick received for any. (#33395)Gregory Terzian2024-09-111-3/+0
| | | | | | | | | | | | | * update the rendering: run rafs for all pipeline, if tick received for any Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * prioritize only one updating of the rendering per event-loop wake-up Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> --------- Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-09-082-3/+3
| | | | | b'ec9b870fec350e59e9db48ae2858e914a07f38d6' (#33359) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-09-011-0/+3
| | | | | b'5d8ec746ed021738e7ee0cee92ad1a1814ba00fe' (#33274) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-08-251-3/+0
| | | | | b'd988aeeb33edc4d452899921799b8bed69fff65d' (#33178) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-08-111-0/+3
| | | | | b'3b3beee1bf2469013583bafe702f2d4821d76c1f' (#33000) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Fix ordering of documents (#32574)Taym Haddadi2024-08-091-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix ordering of documents Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * order pipeline ids, get document later, avoid use of document_from_node on iframe because it returns the owner doc Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * Fix build issue Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Use iter::once to avoid allocation Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * scope batches of rendering opportunities by pipeline Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> --------- Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> Co-authored-by: gterzian <2792687+gterzian@users.noreply.github.com>
* Initial structuredClone implementation (#32960)Taym Haddadi2024-08-082-794/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* enhance: Add support for `unsafe-eval` and `wasm-unsafe-eval` (#32893)Chocolate Pie2024-08-014-27/+0
| | | Signed-off-by: Chocolate Pie <106949016+chocolate-pie@users.noreply.github.com>
* implement basic infra for ResizeObserver (#31108)Gregory Terzian2024-06-171-0/+1
|
* Update web-platform-tests to revision ↵Servo WPT Sync2024-06-161-3/+0
| | | | | b'ed9e9309618bdf76de06ff85757edbc8e1d7da82' (#32512) Signed-off-by: WPT Sync Bot <josh+wptsync@joshmatthews.net>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-06-091-0/+3
| | | | b'68f7e630c2646830a3ee274e21a3efcb001fbd65' (#32464)
* Update web-platform-tests to revision ↵Servo WPT Sync2024-05-191-0/+4
| | | | b'cb53e377321267af4f5a1f05b3b851aab6fa8ede' (#32313)
* Update web-platform-tests to revision ↵Servo WPT Sync2024-04-211-3/+0
| | | | b'015f19c5b653f51f2e38ebe97ec0ff62523f57de' (#32121)
* Update web-platform-tests to revision ↵Servo WPT Sync2024-04-141-0/+3
| | | | b'daa07cf3c47652ed67e637f2a39bbc34f91cfe10' (#32071)
* Update web-platform-tests to revision ↵Servo WPT Sync2024-04-071-1/+0
| | | | b'b73a0a32890ff293961eb55bb90ba57a5a711f48' (#32010)
* Update web-platform-tests to revision ↵Servo WPT Sync2024-03-312-16/+7
| | | | b'16f18d8135a80e89f2e910ca7548999fa2f7937e' (#31951)
* Sync WPT with upstream (17-03-2024) (#31715)Servo WPT Sync2024-03-171-3/+2
| | | | | | | | | | | * Update raw lags path for WPT import I forgot to do this in #31616 * Update web-platform-tests to revision b'298d1599dbf6255aea63506daaa1702ff0c4fdc5' --------- Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-03-104-2/+51
| | | | b'd9a5cc25fc5f520bde022cee67e9e6a6f0b588f9' (#31599)
* Update web-platform-tests to revision ↵Servo WPT Sync2024-02-182-3/+2
| | | | b'504dbb9401e985461bdc3fb534cb26fd5bb9d9ad' (#31372)
* Sync WPT with upstream (11-02-2024) (#31309)Servo WPT Sync2024-02-112-1/+5
| | | | | | | | | * Update web-platform-tests to revision b'33d11f1db34802fda00e64ddeb0b7ef040cf65be' * Update expectations --------- Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Sync WPT with upstream (04-02-2024) (#31256)Servo WPT Sync2024-02-052-6/+2
| | | | | | | | | * Update web-platform-tests to revision b'faa6d42ce21d126155dee771786ad7c74efbcba5' * Update test expectation --------- Co-authored-by: cybai <cyb.ai.815@gmail.com>
* Sync WPT with upstream (28-01-2024) (#31204)Servo WPT Sync2024-01-281-2/+3
| | | | | | | | | * 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-0/+3
| | | | b'a10b8c0164b4c4521040898ee9394738aca488b0' (#31144)
* Update web-platform-tests to revision ↵Servo WPT Sync2024-01-145-6/+48
| | | | b'5049a31d2a7eebd7bca08317e56664021a8bd36c' (#31085)
* Sync WPT with upstream (07-01-2024) (#31018)Servo WPT Sync2024-01-083-3/+8
| | | | | | | | | | | | | * 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-012-5/+3
| | | | | | | | | * 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-0616-13/+28
| | | | | | | | | * Update web-platform-tests to revision b'dd47ca67f55ac9df45235b2335200fb885dd1357' * Update test expectations --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>