mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 01:56:38 +00:00
LibWeb+WebContent: Do not include DOM HTML in text test expectations
For example, in the following abbreviated test HTML: <span>some text</span> <script>println("whf")</script> We would have to craft the expectation file to include the "some text" segment, usually with some leading whitespace. This is a bit annoying, and makes it difficult to manually craft expectation files. So instead of comparing the expectation against the entire DOM inner text, we now send the inner text of just the <pre> element containing the test output when we invoke `internals.signalTextTestIsDone`.
This commit is contained in:
parent
f3f7f77dbc
commit
bf668696de
Notes:
github-actions[bot]
2024-10-03 11:08:22 +00:00
Author: https://github.com/trflynn89
Commit: bf668696de
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1603
Reviewed-by: https://github.com/awesomekling ✅
Reviewed-by: https://github.com/circl-lastname
Reviewed-by: https://github.com/kalenikaliaksandr ✅
319 changed files with 333 additions and 333 deletions
|
@ -1 +1 @@
|
|||
PASS
|
||||
PASS
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
hashchange oldURL.hash= newURL.hash=#test
|
||||
hashchange oldURL.hash= newURL.hash=#test
|
||||
hashchange oldURL.hash=#test newURL.hash=#done
|
||||
|
|
|
@ -1 +1 @@
|
|||
popstate event from iframe new_path=iframe-popstate-event.html
|
||||
popstate event from iframe new_path=iframe-popstate-event.html
|
||||
|
|
|
@ -1 +1 @@
|
|||
history object length has changed by 1
|
||||
history object length has changed by 1
|
||||
|
|
|
@ -1 +1 @@
|
|||
Hello from iframe navigated using javascript url
|
||||
Hello from iframe navigated using javascript url
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
message from test iframe (1)
|
||||
message from test iframe (1)
|
||||
message from test iframe (2)
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Well
|
||||
Well
|
||||
Hello friends!
|
||||
|
|
|
@ -1 +1 @@
|
|||
Test passes if it is possible to navigate away without crashing.
|
||||
Test passes if it is possible to navigate away without crashing.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Initial history length is 1
|
||||
Initial history length is 1
|
||||
NavigateEvent for Push navigation-navigate-iframe.html#1 (Same document? true) with info: 42
|
||||
currententrychange for change to navigation-navigate-iframe.html#1 of type Push from navigation-navigate-iframe.html
|
||||
Committed to navigation to navigation-navigate-iframe.html#1
|
||||
|
|
|
@ -1 +1 @@
|
|||
PASS (didn't crash)
|
||||
PASS (didn't crash)
|
||||
|
|
|
@ -1 +1 @@
|
|||
message from test iframe
|
||||
message from test iframe
|
||||
|
|
|
@ -1 +1 @@
|
|||
message from test iframe
|
||||
message from test iframe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue