1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00
serenity/Userland/Libraries
Luke be47a94876 LibWeb: Only prepare scripts on insertion if they're not parser inserted
Also updates the "inserted_into" function as per the previous commit.

Changes the FIXME, as according to the spec there is no notification
system to be notified of things such as the node becoming connected.

Instead, "becomes connected" means when the insertion steps are run,
the element is now connected when it previously wasn't.

https://html.spec.whatwg.org/multipage/infrastructure.html#becomes-connected

This is done in this PR because the insertion steps are run when the
start tag is inserted. This made it try to prepare the script too early
for inline scripts.

The order of operations in the HTML document parser ensures that
the parser document is set before the insertion steps are run.
2021-04-06 21:42:00 +02:00
..
LibArchive LibArchive: Bounds check header offsets in Zip Parser 2021-03-27 19:44:16 +01:00
LibAudio Everywhere: rename 'Sample' type to 'Frame' 2021-03-27 10:20:55 +01:00
LibC LibC: Added strtoimax() and strtoumax() 2021-04-04 16:14:23 +02:00
LibChess Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
LibCompress LibCompress: Convert GzipDecompressor from recursive to iterative 2021-03-21 15:46:35 +01:00
LibCore Kernel+LibCore: Note whether a process is kernel mode in /proc/all 2021-04-06 17:55:47 +02:00
LibCoreDump LibCoreDump+CrashDaemon: Compress coredumps 2021-03-28 20:42:33 +02:00
LibCpp HackStudio+LanguageServers/Cpp: Show scope of symbols in Locator 2021-03-23 18:32:39 +01:00
LibCrypt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
LibCrypto LibCrypto: Avoid overly big allocs in intermediate ModularPower results 2021-04-03 11:22:01 +02:00
LibDebug Everywhere: Remove pessimizing and redundant move() 2021-03-17 16:30:15 +01:00
LibDesktop Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibDiff Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibELF LibElf+readelf: Parse ELFs with no program headers correctly 2021-03-29 19:57:19 +02:00
LibGemini Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibGfx LibGfx: Move underline closer to text in draw_ui_text() 2021-04-05 23:15:43 +02:00
LibGUI LibGUI: Tweak order of common location buttons in FilePicker 2021-04-06 21:07:04 +02:00
LibHTTP LibHTTP: Add support for the deflate content encoding 2021-03-22 12:45:34 +01:00
LibImageDecoderClient Everywhere: Remove pessimizing and redundant move() 2021-03-17 16:30:15 +01:00
LibIPC Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibJS LibJS: Let Object::get_own_properties() return both strings and symbols 2021-04-05 19:30:30 +02:00
LibKeyboard LibKeyboard: Mark CharacterMap::get_char as const 2021-04-03 11:57:23 +02:00
LibLine LibLine: Make the DSR response parser a bit more robust 2021-03-16 21:51:49 +01:00
LibM LibM: Implement fmin/fmax 2021-03-15 22:02:38 +01:00
LibMarkdown LibMarkdown: Remove unused Paragraph::add_line() declaration 2021-03-26 22:58:36 +01:00
LibPCIDB Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibProtocol Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibPthread Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibRegex LibRegex: Make sure there are as many group matches as actual matches 2021-04-05 09:02:06 +02:00
LibSymbolClient SymbolServer+LibSymbolClient: Just do one symbol per IPC message 2021-02-04 23:35:10 +01:00
LibSyntax Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibSystem CMake: Make libc.a self-contained 2021-03-19 22:55:53 +01:00
LibTest LibTest: Add Test::Counts 2021-03-24 20:38:20 +01:00
LibTextCodec LibTextCodec: Make UTF16BEDecoder read only up to an even offset 2021-03-15 16:08:12 +01:00
LibThread Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LibTLS LibTLS: Make the TLS connection options user-configurable 2021-04-03 11:22:01 +02:00
LibTTF LibGfx: Rename 32-bit BitmapFormats to BGRA8888 and BGRx888x 2021-03-16 11:50:03 +01:00
LibVT Everywhere: Rename "logo" key to "super" key 2021-03-11 18:55:16 +01:00
LibWeb LibWeb: Only prepare scripts on insertion if they're not parser inserted 2021-04-06 21:42:00 +02:00
LibX86 LibX86: Don't use "if (foo) [[unlikely]] { }" for now (to please clang) 2021-03-09 17:47:28 +01:00
CMakeLists.txt Libraries: Rename LibTar to LibArchive 2021-03-23 16:09:36 +01:00