mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
d5948709cd
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. |
||
---|---|---|
.. | ||
CMake | ||
gn | ||
Lagom | ||
check-debug-flags.sh | ||
check-idl-files.py | ||
check-markdown.sh | ||
check-newlines-at-eof.py | ||
check-png-sizes.sh | ||
check-style.py | ||
configure-clangd.sh | ||
debug.plist | ||
embed_as_string.py | ||
find_compiler.sh | ||
generate-libwasm-spec-test.py | ||
generate-libwasm-spec-test.sh | ||
generate_clang_module_map.py | ||
ladybird.sh | ||
lint-ci.sh | ||
lint-clang-format.sh | ||
lint-commit.sh | ||
lint-executable-resources.sh | ||
lint-gn.sh | ||
lint-prettier.sh | ||
lint-python.sh | ||
lint-shell-scripts.sh | ||
lint-swift.sh | ||
refresh-ladybird-qtcreator.sh | ||
shell_include.sh | ||
WPT.sh |