LibWeb: Add a test-only API to spoof the current URL and origin

This is not that easy to use for test developers, as forgetting to set
the url back to its original state after testing your specific API will
cause future navigations to fail in inexplicable ways.
This commit is contained in:
Andrew Kaster
2024-09-14 21:16:46 -06:00
committed by Tim Ledbetter
parent f0270b92f1
commit acd604c5e1
5 changed files with 38 additions and 3 deletions

View File

@@ -383,12 +383,14 @@ XMLHttpRequest
XMLHttpRequestEventTarget
XMLHttpRequestUpload
XMLSerializer
__finishTest
__preventMultipleTestFunctions
animationFrame
asyncTest
printElement
println
promiseTest
spoofCurrentURL
test
timeout
webkitURL