Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make changes to declarative Shadow DOM getInnerHTML API #28306

Closed
wants to merge 1 commit into from

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Mar 30, 2021

See [1] for more context, but this CL makes the following changes
to the declarative Shadow DOM getInnerHTML API:

  1. Rename getInnerHTML to getComposedInnerHTML
  2. Rename includeShadowRoots to includeOpenShadowRoots
  3. Rename closedRoots to shadowRoots
  4. Change behavior so that the options are more independent, and
    either can be used without the other.

Mostly, the above is a rename operation, with the exception of #4.
There, the logic change is relatively minor, mostly happening in
markup_accumulator.cc around line 564.

Note: this also fixes the MeasureAs vs. RuntimeCallStats.

[1] mfreed7/declarative-shadow-dom#9 (comment)

Bug: 1042130
Change-Id: Ie4a0b18a2ef28f17b97eca33c018f7479fc20de8
Cq-Do-Not-Cancel-Tryjobs: true
Reviewed-on: https://chromium-review.googlesource.com/2794737
WPT-Export-Revision: 8211796246035b28fa9786ada8e59cb3c708fd43

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

See [1] for more context, but this CL makes the following changes
to the declarative Shadow DOM getInnerHTML API:

1. Rename getInnerHTML to getComposedInnerHTML
2. Rename includeShadowRoots to includeOpenShadowRoots
3. Rename closedRoots to shadowRoots
4. Change behavior so that the options are more independent, and
   either can be used without the other.

Mostly, the above is a rename operation, with the exception of #4.
There, the logic change is relatively minor, mostly happening in
markup_accumulator.cc around line 564.

Note: this also fixes the MeasureAs vs. RuntimeCallStats.

[1] mfreed7/declarative-shadow-dom#9 (comment)

Bug: 1042130
Change-Id: Ie4a0b18a2ef28f17b97eca33c018f7479fc20de8
Cq-Do-Not-Cancel-Tryjobs: true
@chromium-wpt-export-bot
Copy link
Collaborator Author

Close this PR because the Chromium CL has been abandoned.

@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-2794737 branch May 5, 2023 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants