serenity/Meta
sin-ack 23e49f2835 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.

(cherry picked from commit d5948709cd499ef0e7bfa3c24e8c03befed115fe)
2024-11-14 17:46:06 -05:00
..
CMake Meta: Add the PrekernelPEImageGenerator tool 2024-11-11 09:06:40 -05:00
gn Meta: Add new WebGL source files to GN build as well 2024-11-13 19:32:27 -05:00
HeaderCheck
Lagom BindingsGenerator: Handle global interfaces without named properties 2024-11-14 17:46:06 -05:00
Screenshots
ShellCompletions/zsh
Websites/man.serenityos.org Meta: Move SerenityOS.org website to separate repository 2024-11-02 02:02:57 +01:00
analyze-qemu-coverage.sh
build-image-extlinux.sh
build-image-grub.sh
build-image-limine.sh
build-image-qemu.sh
build-manpages-website.sh
build-native-partition.sh
build-root-filesystem.sh
check-ak-test-files.sh
check-debug-flags.sh Meta: Make check-debug-flags.sh runnable in Bash 3.2 2024-11-05 06:05:19 -05:00
check-emoji.py
check-idl-files.py Meta: Add script for checking WebIDL files 2024-11-10 21:19:33 -05:00
check-markdown.sh
check-newlines-at-eof.py
check-png-sizes.sh
check-style.py
convert-markdown-links.lua
debug-kernel.sh
embed_as_string_view.py
emoji-file-list.txt Base: Add 3 emojis 2024-10-09 19:55:11 -04:00
export-argsparser-manpages.sh
extlinux.conf
find_compiler.sh
generate-embedded-resource-assembly.sh
generate-libwasm-spec-test.py
generate-libwasm-spec-test.sh
grub-ebr.cfg
grub-gpt.cfg
grub-mbr.cfg
install-ports-tree.sh
jbig2_to_pdf.py
label-pull-requests.js
lb-cherry-picks.py Meta: Add more commits and PRs to lb-cherry-picks.py 2024-11-13 09:58:46 -05:00
limine.cfg
lint-ci.sh Meta: Add script for checking WebIDL files 2024-11-10 21:19:33 -05:00
lint-clang-format.sh
lint-commit.sh
lint-executable-resources.sh
lint-gml-format.sh
lint-gn.sh
lint-keymaps.py
lint-ports.py Meta: Fix Ports table linter when there's only one space after the link 2024-10-04 10:46:42 -04:00
lint-prettier.sh Meta: Enforce Prettier formatting of Markdown files 2024-10-04 10:46:42 -04:00
lint-python.sh
lint-shell-scripts.sh Userland: Move Shell code to be in a library directory 2024-10-04 10:56:27 +02:00
new-project.sh
refresh-serenity-qtcreator.sh
run.py Meta: Add a virtio-serial device to the RISC-V machine 2024-11-07 07:57:01 -05:00
run.sh
serenity.sh Meta: Allow ensure_jakt to fail 2024-10-04 12:42:11 +02:00
serenity_gdb.py
shell_include.sh
test_pdf.py
toot-commits.js
tweet-commits.js