Skip to content

fix: avoid infinite loops for empty attribute selector tokens - #48

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
SkyZeroZx:fix/selector-infinite-loop
Sep 21, 2026
Merged

alan-agius4 merged 1 commit into
angular:mainfrom
SkyZeroZx:fix/selector-infinite-loop

Conversation

@SkyZeroZx

@SkyZeroZx SkyZeroZx commented Sep 15, 2026

Copy link
Copy Markdown

Return false for empty ~= values before searching attribute text, matching CSS selector semantics without changing nonempty token handling.

Add timeout-isolated regression coverage to the existing Domino suite for query APIs, matching, fragments, selector composition, and legitimate attribute lookups.

Fixes angular/angular#70726

More context : https://issuetracker.google.com/issues/559405108

Return false for empty ~= values before searching attribute text, matching CSS selector semantics without changing nonempty
token handling.

Add timeout-isolated regression coverage to the existing Domino suite for query APIs, matching, fragments, selector composition, and legitimate attribute lookups.

Fixes angular/angular#70726
@alan-agius4
alan-agius4 merged commit eaa1927 into angular:main Sep 21, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Angular SSR can hang when Domino evaluates an empty ~= selector

2 participants