Skip to content

Conversation

@ntkme
Copy link
Contributor

@ntkme ntkme commented Apr 12, 2024

This PR adds a CanonicalizeContext class in dart which is able to track if containingUrl is accessed or not, it also changes the dart2js JSCanonicalizeContext class to be a wrapper, so that the containingUrl in JS would lazily access the dart containingUrl method instead of eagerly during construction. Finally for embedded host, this adds a containingUrlWithoutMarking method that allow the serialization of embedded protocol without marking, and we can mark it accordingly depends on the result from host.

sass/sass#3835
sass/embedded-host-node#285

@ntkme ntkme marked this pull request as ready for review April 12, 2024 04:35
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.

2 participants