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

Add Element::hasAttribute fast path #28321

Conversation

@Constellation Constellation self-assigned this May 9, 2024
@Constellation Constellation added the DOM For bugs specific to XML/HTML DOM elements (including parsing). label May 9, 2024
@Constellation Constellation added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label May 9, 2024
https://bugs.webkit.org/show_bug.cgi?id=273922
rdar://problem/127788707

Reviewed by Chris Dumez.

Let's cherry-pick [1]. We should avoid creating QualifiedName again in hasAttributeNS.

[1]: https://chromium-review.googlesource.com/c/chromium/src/+/5490227

* Source/WebCore/dom/Element.cpp:
(WebCore::Element::hasAttribute const):

Canonical link: https://commits.webkit.org/278571@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/Add-ElementhasAttribute-fast-path branch from d71c736 to 0d5648d Compare May 9, 2024 17:17
@webkit-commit-queue
Copy link
Collaborator

Committed 278571@main (0d5648d): https://commits.webkit.org/278571@main

Reviewed commits have been landed. Closing PR #28321 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 0d5648d into WebKit:main May 9, 2024
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DOM For bugs specific to XML/HTML DOM elements (including parsing).
Projects
None yet
4 participants