aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/html/webappapis/dynamic-markup-insertion
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash when setting custom property on Location (#36494)Josh Matthews8 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>
* 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>
* 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>
* 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-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-031-3/+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>
* 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-081-3/+0
| | | | | 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-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-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-02-181-2/+1
| | | | b'504dbb9401e985461bdc3fb534cb26fd5bb9d9ad' (#31372)
* Sync WPT with upstream (11-02-2024) (#31309)Servo WPT Sync2024-02-111-1/+2
| | | | | | | | | * Update web-platform-tests to revision b'33d11f1db34802fda00e64ddeb0b7ef040cf65be' * Update expectations --------- Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-01-141-3/+0
| | | | b'5049a31d2a7eebd7bca08317e56664021a8bd36c' (#31085)
* Sync WPT with upstream (07-01-2024) (#31018)Servo WPT Sync2024-01-081-0/+3
| | | | | | | | | | | | | * 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 (03-12-2023) (#30814)Servo WPT Sync2023-12-0615-13/+25
| | | | | | | | | * Update web-platform-tests to revision b'dd47ca67f55ac9df45235b2335200fb885dd1357' * Update test expectations --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Sync WPT with upstream (12-11-2023) (#30724)Servo WPT Sync2023-11-151-3/+0
| | | | | | | | | | | | * Update web-platform-tests to revision b'46476776fdbf0a62522621002ba8af68e4d478b6' * wpt import: update expectation 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 (29-10-2023) (#30641)Servo WPT Sync2023-10-311-0/+3
| | | | | | | | | | * Update web-platform-tests to revision b'9f24a7061dc47c00ffe3f0f6dda5822a9b15c2a5' * Update expectations --------- Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Sync WPT with upstream (24-10-2023) (#30607)Servo WPT Sync2023-10-2510-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Sync WPT with upstream (04-10-2023) (#30493)Servo WPT Sync2023-10-061-0/+3
| | | | | | | | | | | | | | | * Update web-platform-tests to revision b'dfda99176a5d552fb1129fa353b7e4c69f6ed92c' * fix linter errors after WPT import Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * Update expectations --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Sync WPT with upstream (20-08-2023) (#30143)Servo WPT Sync2023-08-223-9/+0
| | | | | | | | | | | | | * Update web-platform-tests to revision b'50e91f3cfd1140cafc188516488f2dca289239af' * Delete flaky result for css2/linebox/vertical-align-baseline-002 * Delete flaky result for html/rendering/bindings/the-textarea-element-0/cols-default.html.ini * Delete flaky result for CSS2/lists/list-style-applies-to-001.xht.ini --------- Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Run same tests for layout-2020 and layout-2013 (#30092)Oriol Brufau2023-08-1519-11/+147
| | | | | | | | | | 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.
* Rename metadata directoriesMartin Robinson2023-06-229-0/+66
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`