ladybird/Tests/LibWeb
sin-ack d5948709cd BindingsGenerator: Handle global interfaces without named properties
DedicatedWorkerGlobalScope is an object with a Global extended
attribute, but does not define any named property getters. This needs to
be handled by setting the prototype chain to:

    DedicatedWorkerGlobalScope
    ^ DedicatedWorkerGlobalScopePrototype
    ^ WorkerGlobalScopePrototype

(This is different from something like Window, where there is an
intermediate WindowProperties object for named properties.)

Previously, we treated the GlobalMixin object as if it was a simple
prototype object, accidentally setting DedicatedWorkerGlobalScope's
prototype to WorkerGlobalScopePrototype. This caused the expression

    self instanceof DedicatedWorkerGlobalScope

to return false inside workers.

This makes us pass many more of the "/xhr/idlharness.any.worker" WPT
tests than before, rather than failing early.
2024-10-12 19:21:59 +02:00
..
Assets LibWeb: Bring back the test video for LibWeb tests 2024-10-10 17:52:58 -04:00
Layout LibWeb: Improve grid area calculation for abspos items in GFC 2024-10-11 09:08:46 +02:00
Ref LibWeb: Clear grapheme segmenter when invalidating TextNode text 2024-10-09 23:07:13 +02:00
Screenshot LibWeb: Don't allow SVG boxes to create a stacking context 2024-10-09 18:42:20 +02:00
Text BindingsGenerator: Handle global interfaces without named properties 2024-10-12 19:21:59 +02:00
add_libweb_test.py Tests/LibWeb: Add a script to create a new test, starting with Text 2024-04-10 17:17:40 -06:00
CMakeLists.txt LibWeb/CSS: Bring TokenStream in line with spec 2024-10-09 17:29:29 +01:00
TestConfig.ini LibWeb: Don't discard PostedMessage tasks when closing a worker 2024-10-08 06:51:04 +02:00
TestCSSIDSpeed.cpp LibWeb: Rename "identifier" and "ValueID" to "Keyword" where correct 2024-08-15 13:58:38 +01:00
TestCSSPixels.cpp
TestCSSTokenStream.cpp LibWeb/CSS: Bring TokenStream in line with spec 2024-10-09 17:29:29 +01:00
TestFetchInfrastructure.cpp LibWeb: Remove OOM propagation from Fetch::Infrastructure::HTTP 2024-04-27 07:08:14 +02:00
TestFetchURL.cpp LibWeb/Fetch: Use MimeType in DataURL 2024-06-02 19:55:53 +02:00
TestHTMLTokenizer.cpp Everywhere: Remove Serenity specific code from tests 2024-07-05 07:29:51 +02:00
TestHTMLTokenizerSwift.swift LibWeb: Add more HTML tokenization states to Swift implementation 2024-10-02 09:44:38 +02:00
TestLibWebSwiftBindings.swift Tests: Run swift-format on TestLibWebSwiftBindings 2024-10-01 13:33:05 -06:00
TestMicrosyntax.cpp
TestMimeSniff.cpp LibWeb/MimeSniff: Update the MIME type sniffing algo to meet specs 2024-10-02 16:15:23 -04:00
TestNumbers.cpp LibWeb: Add “valid floating-point number” for HTMLInputElement.value 2024-08-28 07:49:17 -04:00
tokenizer-test.html