ladybird/Userland/Libraries/LibWeb
Andreas Kling aae191aa33
Some checks are pending
CI / Lagom (true, NO_FUZZ, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (false, FUZZ, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, macos-14, macOS, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, ubuntu-24.04, Linux, GNU) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (macos-14, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (ubuntu-24.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Push notes / build (push) Waiting to run
LibWeb: Bail from various navigable operations when no active window
If we end up in a situation where the navigable no longer has an active
window, we can't perform navigation or many other navigable operations.

These are all ad-hoc, since the navigables spec is basically all written
as if there's always an active window. Unfortunately, the active window
comes from the active document's browsing context, which is a nullable
concept even in the spec, so we do need to deal with null here.

This removes all the locally reproducible crashes when running WPT over
the legacy Japanese encoding directory on my computer.

Yes, this is a bit of a monkey patch, but it should be harmless since
we're (as I understand it) dealing with navigables that are still
hanging around with related tasks queued on them. Once all these tasks
have been completed, the navigables will go away anyway.
2024-10-05 16:24:10 +02:00
..
Animations LibWeb: Move updating the rendering into HTML task 2024-10-04 07:07:01 +02:00
ARIA Everywhere: Convert from_string_view -> from_string_literal where static 2024-09-11 10:59:04 +01:00
Bindings Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Clipboard LibWeb: Implement the ClipboardEvent IDL interface 2024-08-22 14:21:13 +02:00
Cookie LibWeb+LibWebView: Set the default path for invalid cookie Path values 2024-09-19 00:01:56 +01:00
Crypto Everywhere: Convert from_string_view -> from_string_literal where static 2024-09-11 10:59:04 +01:00
CSS LibWeb: Fail CSS color parse for "rgba(123, 123, 123, " 2024-10-04 20:01:22 +02:00
DOM LibURL: Define Origin methods depending on URL::Parser out of line 2024-10-05 10:46:30 +02:00
DOMParsing LibWeb: Refactor DOM parsing APIs 2024-06-26 05:41:00 +02:00
DOMURL LibWeb+LibURL: Consolidate Origin parsing and serialization into LibURL 2024-10-05 10:46:30 +02:00
Encoding LibTextCodec: Fix ISO-8859-1 vs. windows-1252 handling in web contexts 2024-06-04 10:21:07 +02:00
EntriesAPI LibWeb/EntriesAPI: Implement FileSystemEntry 2024-08-24 14:53:11 +02:00
Fetch LibWeb+LibURL: Consolidate Origin parsing and serialization into LibURL 2024-10-05 10:46:30 +02:00
FileAPI LibWeb+LibURL: Move HTML::Origin to URL::Origin 2024-10-05 10:46:30 +02:00
Geometry Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
HighResolutionTime Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
HTML LibWeb: Bail from various navigable operations when no active window 2024-10-05 16:24:10 +02:00
IndexedDB LibWeb: Implement IDBRequest.onerror 2024-06-22 14:57:47 +02:00
Infra AK+LibWeb: Replace our home-grown base64 encoder/decoders with simdutf 2024-07-16 10:27:39 +02:00
Internals LibWeb+LibURL: Consolidate Origin parsing and serialization into LibURL 2024-10-05 10:46:30 +02:00
IntersectionObserver LibWeb: Remove uses of obsolete PlatformObject::global_object() 2024-09-07 11:37:49 +02:00
Layout Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Loader Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
MathML LibWeb: MathMLElement includes ElementCSSInlineStyle 2024-09-07 19:44:56 +02:00
MediaCapabilitiesAPI LibWeb: Stub MediaCapabilities IDL interface 2024-09-05 14:52:26 +01:00
MimeSniff LibWeb: Iterate over utf8 codepoints when checking validity 2024-10-04 20:03:49 +02:00
MixedContent HTML: BrowsingContext: Remove m_parent and fix is_ancestor_of 2024-08-20 09:36:11 +02:00
NavigationTiming Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Page Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Painting Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
PerformanceTimeline LibJS+LibWeb: Use new Cell::Visitor helpers to avoid manual iteration 2024-04-16 07:40:01 +02:00
PermissionsPolicy LibWeb+LibURL: Consolidate Origin parsing and serialization into LibURL 2024-10-05 10:46:30 +02:00
Platform Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ReferrerPolicy LibWeb+LibURL: Consolidate Origin parsing and serialization into LibURL 2024-10-05 10:46:30 +02:00
RequestIdleCallback Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ResizeObserver Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
SecureContexts LibWeb+LibURL: Consolidate Origin parsing and serialization into LibURL 2024-10-05 10:46:30 +02:00
Selection Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ServiceWorker LibWeb: Add ServiceWorker job registration and execution 2024-10-04 07:08:08 +02:00
SRI LibWeb: Implement integrity-metadata part of fetch algorithm 2023-04-21 20:44:47 +01:00
StorageAPI LibWeb+LibURL: Consolidate Origin parsing and serialization into LibURL 2024-10-05 10:46:30 +02:00
Streams LibWeb: Normalize all WebIDL definition lines to four leading spaces 2024-09-10 21:16:53 +01:00
SVG LibWeb+LibURL: Move HTML::Origin to URL::Origin 2024-10-05 10:46:30 +02:00
UIEvents Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
UserTiming LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
WebAssembly LibWeb/WebAssembly: Use a debug flag for dbgln calls 2024-09-07 19:44:23 +02:00
WebAudio WebAudio: Stub remainder of AudioBufferSourceNode 2024-07-28 21:41:15 +02:00
WebDriver LibWeb+WebContent+WebDriver: Implement the Perform Actions endpoint 2024-10-01 11:02:27 +02:00
WebGL Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
WebIDL Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
WebSockets LibWeb+LibURL: Move HTML::Origin to URL::Origin 2024-10-05 10:46:30 +02:00
WebVTT LibWeb/WebVTT: Implement VTTCue idl interface 2024-09-24 23:48:56 +01:00
Worker LibWeb: Use proper enums in WorkerOptions dictionary 2024-09-20 22:41:24 +01:00
XHR LibWeb+LibURL: Move HTML::Origin to URL::Origin 2024-10-05 10:46:30 +02:00
XLink LibWeb: Add Web::XLink::AttributeNames 2023-11-05 11:16:16 +00:00
XML LibWeb: Execute the correct script in XMLDocumentBuilder::element_end() 2024-07-25 15:05:28 +02:00
CMakeLists.txt LibWeb+LibURL: Move HTML::Origin to URL::Origin 2024-10-05 10:46:30 +02:00
Dump.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Dump.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Forward.h LibWeb+LibURL: Move HTML::Origin to URL::Origin 2024-10-05 10:46:30 +02:00
idl_files.cmake LibWeb: Implement BeforeUnloadEvent 2024-10-05 09:17:34 +02:00
InvalidateDisplayList.h LibWeb: Invalidate the display list when calling set_needs_display() 2024-09-02 20:12:08 +02:00
Namespace.cpp LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
Namespace.h LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
PixelUnits.cpp LibWeb: Refactor int types in WebContentServer to DevicePixels 2023-12-15 17:01:16 +01:00
PixelUnits.h LibWeb: Don't crash when converting small CSS::Ratio to CSSPixelFraction 2024-08-22 13:49:41 +02:00
TraversalDecision.h LibWeb: Use TraversalDecision for multi level Node traversal methods 2024-05-07 16:45:28 -06:00
TraversalOrder.h LibWeb/CSS: Replace style-rule iteration methods with a generic one 2024-09-06 07:49:55 +02:00
TreeNode.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00