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

Remove pop-up test for unscopable popup attr #36545

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Oct 19, 2022

There was a previous web compat issue with event handler attributes
calling functions called "popup()". As a result, we made the popup
attribute unscopable, so this would not break the web. However,
with the change of name to popUp for the IDL attribute, this
compat issue likely doesn't exist, for the same reasons that this
rename fixed the general compat issue [1].

This CL removes the test for unscopable. The [2] CL actually made
the attribute scopable.

[1] openui/open-ui#546
[2] https://chromium-review.googlesource.com/c/chromium/src/+/3954386

Bug: 1307772
Change-Id: I603e75338e1ccb925e6f145870fa6fecc68c61fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3963911
Reviewed-by: Joey Arhar <[email protected]>
Commit-Queue: Mason Freed <[email protected]>
Auto-Submit: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1062228}

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.

There was a previous web compat issue with event handler attributes
calling functions called "popup()". As a result, we made the `popup`
attribute unscopable, so this would not break the web. However,
with the change of name to `popUp` for the IDL attribute, this
compat issue likely doesn't exist, for the same reasons that this
rename fixed the general compat issue [1].

This CL removes the test for unscopable. The [2] CL actually made
the attribute scopable.

[1] openui/open-ui#546
[2] https://chromium-review.googlesource.com/c/chromium/src/+/3954386

Bug: 1307772
Change-Id: I603e75338e1ccb925e6f145870fa6fecc68c61fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3963911
Reviewed-by: Joey Arhar <[email protected]>
Commit-Queue: Mason Freed <[email protected]>
Auto-Submit: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1062228}
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.

4 participants