Commit Graph
3945 Commits
Author SHA1 Message Date
ldm0 5f71874b22 fix: refresh automatic direction and preserve Markdown bidi semantics 2026-11-23 15:50:41 +08:00
Dr. Mohammed Lubbad 570a7d5de2 style(html2md): run rustfmt on output_semantics test
Signed-off-by: Dr. Mohammed Lubbad <engmlubbad@gmail.com>
2026-11-23 15:50:41 +08:00
Dr. Mohammed Lubbad 08b8982806 fix(selector,html2md): resolve dir=auto/<bdi> directionality and preserve BiDi isolates in Markdown
Signed-off-by: Dr. Mohammed Lubbad <engmlubbad@gmail.com>
2026-11-23 15:50:41 +08:00
ldm0 4df4f8de48 perf(dom): skip registry preservation scans for ordinary removals
Extracted from wpt-misc-fix commit ebb1cf24a9f9b52198e883884dbcd0af0511d935.
2026-11-23 04:38:01 +08:00
ldm0 c26d4ffd42 fix(csp): report each violated policy during Worker module loads
Extracted from wpt-misc-fix commit b56a62bb00d85dce3ca6943ab69b4c5c32f6a580.
2026-11-23 04:16:15 +08:00
ldm0 751bece923 fix(print): skip background-only image requests when backgrounds are disabled
Apply capture background policy before dispatching newly discovered CSS images. Preserve any mask use of the same URL.
2026-11-23 04:12:58 +08:00
ldm0 be459a6f88 test(serve): preserve the full browser runtime configuration
Port the independent ProtocolServer and AppState configuration assertions from #1753.
2026-11-23 04:11:10 +08:00
ldm0 5b552e11e2 refactor(forms): compile input patterns within the current handle scope
Drop the page-level LRU and use a local RegExp handle for each validation. Reuse the anchored expression across the email list and run matches in the isolate-owned native context with the existing backtracking limit.
2026-11-23 04:02:57 +08:00
ldm0 1117e67929 fix(forms): preserve non-ASCII whitespace in email validation
Use the sanitized email value for pattern matching and apply HTML ASCII whitespace rules in the shared type check. Verify native RegExp context cleanup at isolate teardown.
2026-11-23 04:02:57 +08:00
ldm0 35d240c97c refactor(forms): share compiled patterns across input controls
Key the bounded cache by the pattern source and remove DOM mutation invalidation. Release the cache borrow before V8 compilation and matching, and verify backtracking exhaustion and handle cleanup.
2026-11-23 04:02:57 +08:00
ldm0 14047b088f perf(forms): cache compiled input patterns
Reuse each input’s validated RegExp across constraint validation calls and cache invalid syntax. Invalidate on pattern edits and bound persistent V8 handles for retained native DOM nodes.
2026-11-23 04:02:57 +08:00
ldm0 3946a7aa59 fix(forms): isolate native input pattern matching
Extracted from wpt-misc-fix commit 1701cd65d1c45280d25f66e55c071cb885360f0f.
2026-11-23 04:02:57 +08:00
ldm0 28632bb4b1 fix(fonts): validate WOFF1 table lengths before decoding
Extract the WOFF1 table-length validation from print font preparation in 95012a2d4d (#1753) to the shared web font decoder. Reject inconsistent stored and reconstructed lengths with the usual decode error.
2026-11-23 02:49:13 +08:00
ldm0 b0c702db06 perf(layout): allocate inline formatting state only for owners
Extract the pass-local storage part of f44a31ff42 from #1753. Allocate an inline formatting context only when a box owns one.

The native release benchmark matched geometry across 135 pairs. CPU time fell in 14 of 15 scenarios, including 8.14% for 4,096 text-free block elements.
2026-11-23 02:26:18 +08:00
ldm0 799a8224b3 fix(history): restore same-document scroll after popstate
Extracted from wpt-misc-fix commit f8d5486b8a.
2026-11-23 02:20:34 +08:00
ldm0 8fd8046513 fix(modules): report synchronous evaluation errors in the child Window
Extracted from wpt-misc-fix commit 703eedbe2ad148f5f9fa7d978bafb9c83d13408b.
2026-11-23 02:06:44 +08:00
ldm0 86222c0c6c fix(csp): use the script element directive for classic worker imports
Extracted from wpt-misc-fix commit d9b610593bf05698ff34af412d09ad14ca4e65f2.
2026-11-23 02:03:22 +08:00
ldm0 c90275e2f4 fix(navigation): use the native URL throughout precommit redirects
Extracted from wpt-misc-fix commit acc0c5bf27fa63415140fc89a40aeab5aa2277b1.
2026-11-23 02:03:00 +08:00
ldm0 1cc62c6c08 test(input): cover realtime pointer capture during relayout
Carry the input assertions from 1bda3ec5fd onto the public Realtime path. Exercise native capture and release across scrolling, geometry changes, and target replacement.
2026-11-23 01:53:13 +08:00
ldm0 5cec4d38f9 test(print): cover font reuse and nested frame limits
Carry the print assertions from 3422c5b73a and 6122232901 into the existing print entry points. Verify cached font embedding and bounded frame coverage without publishing screen state.
2026-11-23 01:53:02 +08:00
ldm0 c1c5ae82c5 fix(trusted-types): check TrustedHTML before document.write and writeln
Extracted from wpt-misc-fix commit 8d937f1017.
2026-11-23 00:30:00 +08:00
ldm0 1dc68f0bb9 fix(trusted-types): apply TrustedHTML conversion to the iframe srcdoc setter
Extracted from wpt-misc-fix commit 9816c6cde55382462ba02b804986227b0f538735.
2026-11-23 00:28:10 +08:00
ldm0 9e5a752aaa fix(cdp): report committed Document MIME types in frame snapshots
Extracted from wpt-misc-fix commit cadb514514d0bf9486929ad48439353d8039dd05.
2026-11-23 00:23:55 +08:00
ldm0 da3c89c5d9 fix(css): invalidate cached styles that depend on mutated attributes
Extracted from wpt-misc-fix commit c0dbd20fb0c3d6f42a1a2281221a7523686597cd.
2026-11-23 00:22:25 +08:00
ldm0 a890611161 fix(layout): project ResizeObserver padding and device pixels 2026-11-23 00:12:56 +08:00
ldm0 b8f269655d docs: restore release-compatible layout instructions
Reverse the README updates from #3351 so the setup examples match published Moli releases.
2026-11-22 23:57:18 +08:00
ldm0 999ed265d3 refactor(preload): centralize CORS checks in the resource client
Use the browser Request to check response headers before collecting a preload body and to validate shared script cache hits. Put redirect-chain validation in moli-fetch so resource consumers share the same CORS rules.
2026-11-22 23:34:46 +08:00
ldm0 8ff9ff8479 fix(layout): reuse loaded CSS-connected font sources across declarations 2026-11-22 23:28:20 +08:00
ldm0 dd4ebef355 test(renderer): cover Realtime reads from shared adopted stylesheets 2026-11-22 23:26:11 +08:00
ldm0 e1da2765ba refactor(layout): share authored cell inline constraints
Use one first-row slice and parse cell width inputs in one place.
Resolve width limits before borrowing the world for intrinsic layout.
2026-11-22 23:00:39 +08:00
ldm0 de2fad4a0f refactor(layout): place cells by contiguous row group
Derive absolute row positions and the span limit from the same row
groups used for collapsed borders.
2026-11-22 23:00:39 +08:00
ldm0 d49e3affa6 perf(layout): share contiguous column group ranges
Walk each run of column tracks for collapsed borders and geometry.
Project span-only groups once while preserving their authored widths.
2026-11-22 23:00:39 +08:00
ldm0 76eac8bcbe perf(layout): share table structure within each layout pass
Collect cell placement, spans and visual section order once for
collapsed borders, fixed sizing and numerical layout. Keep styles and
measured geometry local to each caller.
2026-11-22 23:00:39 +08:00
ldm0 585b475f00 perf(layout): build anonymous table wrappers in batches
Collect contiguous runs under each anonymous table wrapper and attach
them once. Normalize the contents of an anonymous cell together so
consecutive inline content shares its formatting context.
2026-11-22 23:00:39 +08:00
ldm0 786eecbe32 perf(layout): build numeric table edges directly
Keep the CSS box hierarchy and route table parts to the numerical
owner during layout graph construction. Preserve the adapter's
ordering and run fixed and collapsed preparation only when needed.
2026-11-22 23:00:39 +08:00
ldm0 0605c1b8f4 fix(preload): honor crossorigin across ordinary preload destinations
Extracted from wpt-misc-fix commit 3bd0128d56.
2026-11-22 22:16:26 +08:00
ldm0 311faf3f6c fix(svg): reflect SVGMarkerElement.orient as a native DOMString
Extracted from wpt-misc-fix commit 3bf8c15433338dc6556183e19288022f2c369fb9.
2026-11-22 21:23:41 +08:00
ldm0 cb06dd0d0f test: stabilize main Nextest preload and CLI checks 2026-11-22 21:18:03 +08:00
ldm0 aa67df0311 fix(preload): validate integrity before reporting successful link loads
Extracted from wpt-misc-fix commit b802fcac67.
2026-11-22 17:06:29 +08:00
ldm0 70ce9c74f1 test(renderer): cover realtime lifecycle without capture 2026-11-22 06:29:19 +08:00
ldm0 757994e2b2 test(renderer): cover native state and Realm behavior in Realtime 2026-11-22 06:28:52 +08:00
ldm0 803191ceca fix(events): apply the native Window receiver policy to popup handlers
Extracted from wpt-misc-fix commit b8abf8e71c.
2026-11-22 06:28:40 +08:00
ldm0 d542b41975 feat(input): complete Realtime wheel events without batching 2026-11-22 06:12:08 +08:00
ldm0 6f4b776ba9 chore(layout): trace pass-local numeric cache allocations 2026-11-22 06:10:45 +08:00
ldm0 f6559f6e8f fix(events): share native cancellation for child Window handler returns
Extracted from wpt-misc-fix commit 5b09407154.
2026-11-22 06:09:01 +08:00
ldm0 3dd695594f test(cdp): cover realtime screenshot after a blocked iframe 2026-11-22 05:41:19 +08:00
ldm0 38eae4c567 fix(network): retain the initial request across cached redirects
Use the first saved snapshot to announce the initial request even when the first transport observation follows a cached hop. Let Fetch announcement tracking suppress duplicate starts and keep the initiator recorded by the resource continuation.
2026-11-22 05:39:52 +08:00
ldm0 3fb412531b fix(network): complete intercepted resource announcements
Publish observed redirect response ExtraInfo at Fetch pauses for all subresources with wire observations. Announce a request when its first transport observation arrives before any pause-side Network start.
2026-11-22 05:39:52 +08:00
ldm0 527bb7506f fix(network): pair early ExtraInfo with redirect requests
Announce redirected subresource hops before projecting their observed headers so cancellation preserves request and cookie attribution. Report intercepted page XHR and fetch requests at send time using their existing Network IDs, preserving redirect response metadata and overridden request bodies.
2026-11-22 05:39:52 +08:00
ldm0andlanyue-llk 190b6bcc95 fix(network): publish subresource ExtraInfo at send time
Publish observed request headers and their cookie report per hop through the bound protocol output transport. Cover redirect hops and cancellation before the response.

Co-authored-by: lanyue-llk <270302213+lanyue-llk@users.noreply.github.com>
2026-11-22 05:39:52 +08:00