ladybird/Tests/LibWeb/Text/input
Shannon Booth cdb249e058 LibWeb/HTML: Set a fetch client for javascript URL navigations
There is an open spec issue for this, and I'm certainly not sure
what the client should be here, but using the source snapshot
from the global from reading the spec issue seems like a reasonable
enough client for now.

This can be reproduced by performing a javascript URL navigation
with any CSP policy set. For simplicity, simply edit an existing
testcase to add such a policy.

Fixes: #4853
2025-05-23 16:39:13 +02:00
..
base LibWeb: Make a elements honor base element's target 2025-02-16 09:21:52 +01:00
canvas Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Clipboard Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Compression Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
console Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Crypto Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
css Tests: Create a test for :dir() parsing/serialization 2025-05-17 00:30:44 +02:00
CSSOMView Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
DOM LibWeb: Limit usage of getElementById() cache to connected roots 2025-04-06 04:14:29 +02:00
Editing LibWeb: Add new whitespace-preserving editing command 2025-05-17 00:29:19 +02:00
Encoding Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Fetch Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
FileAPI Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
geometry Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
hit_testing LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
HTML LibWeb: Invalidate viewport's text blocks cache on layout update 2025-05-15 11:44:32 +01:00
Internals LibWeb: Add an Internals.headless attribute 2024-12-10 10:31:47 -08:00
IntersectionObserver LibWeb: Ignore boxes without layout node in intersection observer steps 2025-04-14 17:01:53 +02:00
layout-tree-update Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Messaging Tests: Rearrange log order in Messaging-post-channel-over-channel.html 2025-04-11 17:13:06 +02:00
MutationObserver Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
navigation LibWeb/HTML: Set a fetch client for javascript URL navigations 2025-05-23 16:39:13 +02:00
PerformanceObserver Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
popover LibWeb: Light dismiss popovers on click 2025-04-28 19:41:38 -06:00
regress Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
ResizeObserver
ServiceWorker
ShadowDOM Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Streams Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
SVG Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
UIEvents LibWeb: Don't double-dispatch click events on a label's child input 2025-04-15 12:34:24 +01:00
URL Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Wasm Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
WebAnimations LibJS: Emit ThrowIfTDZ for identifiers used in assignment expressions 2025-05-06 12:06:23 +02:00
WebAudio Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
WebSocket Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Worker Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
wpt-import Tests: Import a WPT test for @font-face format specifiers 2025-05-23 16:36:56 +02:00
XHR Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
XHTML
XML Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
abortsignal-abort.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
abortsignal-any.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
abortsignal-timeout.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
abspos-child-inside-abspos-table.html LibWeb: Accept TableWrapper as containing block for abspos items 2025-01-21 15:24:05 +01:00
alert.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
all-window-properties.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
anchor-element-with-javascript-url-href.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
append-child-must-update-layout-tree.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Attr-cloneNode.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
backdrop-receives-element-events.html LibWeb: Dispatch pointer events to ::backdrop originating element 2025-04-09 12:10:42 +01:00
background-position-xy.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
background-style-declaration-cssText-crash.html LibWeb: Parse background positions as shorthands 2024-12-30 11:07:53 +01:00
basic.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
body-background-color-red.css
border-radius-div-containing-iframe-with-border-radius-svg.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
canvas-changed-width-attribute.html LibWeb: Notify canvas context when width or height attribute is changed 2024-12-28 10:37:15 +01:00
checkbox-focus-lost-no-change-event.html LibWeb: Update checkbox focus lost test 2024-11-22 13:58:36 +00:00
clipboard.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
close-non-modal-dialog.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
CloseWatcher-abort-requestClose.html LibWeb: Handle abort signal in CloseWatcher 2024-12-07 12:06:53 +00:00
CloseWatcher-already-aborted.html LibWeb: Handle abort signal in CloseWatcher 2024-12-07 12:06:53 +00:00
CloseWatcher-fire-once.html LibWeb: Handle abort signal in CloseWatcher 2024-12-07 12:06:53 +00:00
collapse-selection-inside-shadow-root.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
contenteditable-should-insert-into-nested-node.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
cookie.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
createBitmap.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
css-shadow-host-selector-matching.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
css-transform-transition-to-none-invalidation.html LibWeb: Fix CSS transform invalidation when transitioning to none 2025-03-15 13:30:45 +01:00
CSSStyleDeclaration-custom-properties-3838.html LibWeb: Invalidate element with CSS custom props on attribute changes 2025-03-13 19:20:37 +01:00
custom-property-from-parent.html LibWeb/CSS: Check for matching custom properties on parent elements 2024-11-22 00:32:19 +01:00
dialog-light-dismiss.html LibWeb: Light dismiss dialogs on click 2025-04-28 19:41:38 -06:00
document-adopted-style-sheets.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
document-computed-mimetype.html LibWeb: Check charset UTF-16LE/BE separately for UTF-8 conversion 2025-02-24 14:51:41 +01:00
document-scrollingElement-quirks-mode.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
document-scrollingElement.html
DOMTokenList-supports.html
element-get-bounding-client-rect-css-transform.html
element-get-bounding-client-rect-of-sticky.html
element-get-bounding-client-rect-scroll-offset.html
element-get-client-rects.html
Element-offsetParent-of-iframe.html
element-scroll-event.html
element-scrollby-event.html
Element-scrollby-negative-scroll-offset-crash.html
Element-toggleAttribute-invalid-name.html
failed-img-should-not-delay-load-event-forever.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
favicon-in-inactive-document.html
fieldset-elements.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
focus-chain.html LibWeb: Don't compare the focus chain's GC::Root contents by reference 2025-01-30 19:30:44 +01:00
focus-contenteditable.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
focus-events.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
form-formEnctype-attribute.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
form-formMethod-attribute.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
form-method-attribute.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
form-method-dialog.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
form-requestSubmit.html
get-bounding-client-rect-display-none.html
get-bounding-client-rect.html
getComputedStyle-grid-template-rows-columns.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
global-performance-property.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
html-form-controls-collection.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
html-parser-duplicate-attributes.html
html-parser-text-in-table-hoisting.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
htmlcollection-property-set-existing.html LibWeb: PlatformObject::DefineOwnProperty fix 'has own property' check 2024-12-20 15:10:24 +01:00
HTMLInputElement-edit-value.html LibWeb: Allow keyboard input to alter email inputs 2024-12-30 11:04:16 +01:00
HTMLLinkElement-disabled.html
HTMLLinkElement-explicitly-enabled-alternative-stylesheets.html
http-non-ascii-content-type.html LibWeb: Avoid re-encoding response headers 2024-12-17 13:44:10 +01:00
http-reason-phrase-propagation.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
idl-handling-of-null-attribute.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
iframe-load-event-for-xml-src.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
iframe-removed-asyncronously.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
include.js LibWeb: Rename internals.signalTextTestIsDone() to signalTestIsDone() 2025-03-18 20:09:46 +01:00
input-blur.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
input-click-to-unfocus.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
input-commit-on-unfocus.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
input-commit.html LibWeb: Do not insert "return" key presses into input element values 2025-03-22 17:27:45 +01:00
input-date.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
input-element-file-value.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
input-file-accept.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
input-file.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
input-image.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
input-maxlength.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
input-number-float.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
input-number.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
input-readonly.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
input-value.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
internals.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
interpolation-longhand-properties.html
invalid-transform-interpolation-does-not-crash.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
invalidate-style-of-element-with-placeholder-shown-used-on-nested-element.html LibWeb: Add missing handler in affected_by_invalidation_property() 2025-01-26 00:52:38 +01:00
invlidate-properties-with-relative-units-in-inherited-style-update.html LibWeb: Recompute relative units in Element::recompute_inherited_style() 2025-01-26 23:10:58 +01:00
is-collapsed.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
iterating-over-storage.html
js-export-rename-helper.js
js-export-rename-module.js
js-export-rename.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
link-changed-rel.html LibWeb: Only reload link on rel change if it became a stylesheet 2025-01-20 18:21:20 +01:00
link-element-media-attribute.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
link-element-media-change-off.html
link-element-media-change.html
link-element-onload-attribute.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
link-element-rel-preload-load-event.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
link-element-search.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
link-re-enable-crash.html LibWeb: Implement more of the "script-blocking style sheet" mechanism 2025-04-20 14:54:21 +02:00
link_as.html
localStorage.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
math-with-inline-child.html
module-script-in-head.html LibWeb: Rename internals.signalTextTestIsDone() to signalTestIsDone() 2025-03-18 20:09:46 +01:00
namespace-object-prototype.html
namespace-objects-default-property-attributes.html LibWeb: Make namespace attributes writable and configurable by default 2025-02-07 15:36:02 +01:00
no-window-resize-on-load.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
non-html-mixed-case-element-name-selector-matching.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
object-with-unsupported-type-in-data-attribute.html LibWeb: Use Fetch to retrieve HTMLObjectElement data URLs 2024-12-10 10:37:01 -08:00
output-value.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
overflow-with-zero-sized-box.html
parse-document-from-string-in-fetch-callback.html
performance-navigation.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
performance-now.html LibWeb: Report performance based timestamps relative to ESO time origin 2025-01-27 14:53:33 +01:00
position-serialization.html LibWeb: Properly serialize position/edge style values 2024-12-13 11:35:38 +00:00
ProcessingInstruction-cloneNode.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
query-scroll-size-of-inline-node.html
quirks-mode-case-insensitive-class-selector.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
radio-button-focus-lost-no-change-event.html LibWeb: Stop radio buttons firing change events when losing focus 2024-11-22 13:58:36 +00:00
radio-node-list.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
request-animation-frame-order.html
reset-input-element.html
resize-scrollable-box.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
resolve-css-overflow-effective-value.html
sameobject-behavior-for-htmlcollection-properties.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
script-src-set-after-insertion.html
script-src-set-after-insertion.js
scripted-dom-insertion-during-html-parse.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
scroll-by-dispatching-wheel-event-on-overflow-scroll-without-scrollable-overflow.html LibWeb: Fix unnecessary wheel event consumption with overflow: scroll 2025-01-31 00:11:34 +01:00
scroll-during-page-load.html LibWeb: Respect scroll position set by script during page load 2025-03-10 17:14:13 +01:00
scroll-into-view-center.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
scroll-into-view-end.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
scroll-into-view-start.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
scroll-left-and-top-on-colgroup.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
scroll-to-fragment.html
scroll-window-using-wheel-event.html
scrollable-viewport-with-position-fixed.html LibWeb: Exclude fixed positioned boxes from scrollable overflow 2025-04-25 14:07:38 +02:00
select-options-limit.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
select-text.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
select.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
selection-collapseToEnd.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
selection-extend-across-siblings.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
selection-extend-backwards.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Selection-setBaseAndExtent-without-common-root.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
selectionchange-event.html LibWeb: Do not override whitespace handling for editable elements 2025-05-16 12:08:29 +01:00
selectionchange-on-textarea.html
set-selection-inside-shadow-root.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
set-timeout-with-no-active-script.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
setInterval.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
setTimeout.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
setting-display-none-should-nuke-subtree.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
shadow-root-adopted-style-sheets.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
shadow-root-style-sheets.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
show-non-modal-dialog.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
subtle-crypto-hkdf-salt-empty-or-none.html
synthetic-event-constructor-istrusted-check.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
table-cell-without-table-ancestor.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
test-http-test-server.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
text-insertData.html
textarea-maxlength.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
textarea-readonly.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
textarea-selection-start-selection-end.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
textarea-value.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
theme-color-crash.html LibWeb: Check for missing node or invalid query in obtain_theme_color 2025-01-12 19:47:01 +00:00
title-with-meta-title.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
title.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
unclosed-body-element.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
unclosed-html-element.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
usvstring-url-reflection.html LibWeb: Use [URL] extended attribute for HTMLInputElement.src 2024-11-26 23:20:20 +00:00
valid.css
video-canceled-load.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
video-failed-load.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
video-gc.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
wheel-events-consumed-by-scrollable-should-not-be-propagated-to-body-2.html
wheel-events-consumed-by-scrollable-should-not-be-propagated-to-body.html
window-event-property-setter.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
window-proxy-numeric-own-property.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
window-proxy-property-inline-cache.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
window-scroll-while-parsing.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
window-scrollTo.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00