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

Unreviewed, address post-landing review feedback from Darin for 262531@main #12346

Conversation

cdumez
Copy link
Contributor

@cdumez cdumez commented Apr 3, 2023

@cdumez cdumez requested a review from rniwa as a code owner April 3, 2023 23:44
@cdumez cdumez self-assigned this Apr 3, 2023
@cdumez cdumez added DOM For bugs specific to XML/HTML DOM elements (including parsing). merge-queue Applied to send a pull request to merge-queue labels Apr 3, 2023
cdumez referenced this pull request Apr 3, 2023
https://bugs.webkit.org/show_bug.cgi?id=254929

Reviewed by Ryosuke Niwa.

Simplify HTMLFastPathParser::scanEscapedAttributeValue():
- Do an early return to avoid nesting
- Drop `result` & `start` variables as they were initialized but never used
- Merge 2 if conditions now that they're one after the other

* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::HTMLFastPathParser::scanEscapedAttributeValue):

Canonical link: https://commits.webkit.org/262531@main
…1@main

https://bugs.webkit.org/show_bug.cgi?id=254955
rdar://107583254

* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::HTMLFastPathParser::scanAttributeValue):
(WebCore::HTMLFastPathParser::scanEscapedAttributeValue):

Canonical link: https://commits.webkit.org/262548@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/Unreviewed-address-post-landing-review-feedback-from-Darin-for-262531main branch from 879f609 to 53472ba Compare April 4, 2023 00:35
@webkit-commit-queue
Copy link
Collaborator

Committed 262548@main (53472ba): https://commits.webkit.org/262548@main

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

@webkit-commit-queue webkit-commit-queue merged commit 53472ba into WebKit:main Apr 4, 2023
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Apr 4, 2023
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
3 participants