-
Notifications
You must be signed in to change notification settings - Fork 1.6k
AX: Downgrade various text marker asserts and logs to debug-only #47300
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
Merged
webkit-commit-queue
merged 1 commit into
WebKit:main
from
twilco:eng/AX-Downgrade-various-text-marker-asserts-and-logs-to-debug-only
Jun 27, 2025
Merged
AX: Downgrade various text marker asserts and logs to debug-only #47300
webkit-commit-queue
merged 1 commit into
WebKit:main
from
twilco:eng/AX-Downgrade-various-text-marker-asserts-and-logs-to-debug-only
Jun 27, 2025
+29
−43
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EWS run on previous version of this PR (hash 15267d2) |
hoffmanjoshua
approved these changes
Jun 27, 2025
15267d2
to
712f8fb
Compare
EWS run on previous version of this PR (hash 712f8fb) |
712f8fb
to
e49b124
Compare
EWS run on current version of this PR (hash e49b124) |
e49b124
to
45c24e1
Compare
https://bugs.webkit.org/show_bug.cgi?id=295102 rdar://154493503 Reviewed by Joshua Hoffman. Making these asserts and logs run in release mode was useful when developing the feature, but we shouldn't continue paying the cost. * Source/WebCore/accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::textMarkerDataForVisiblePosition): * Source/WebCore/accessibility/AXTextMarker.cpp: (WebCore::TextMarkerData::TextMarkerData): (WebCore::AXTextMarker::convertToDomOffset const): (WebCore::AXTextMarker::offsetFromRoot const): (WebCore::AXTextMarker::nextMarkerFromOffset const): (WebCore::AXTextMarker::findLastBefore const): (WebCore::AXTextMarker::rangeWithSameStyle const): (WebCore::AXTextMarkerRange::viewportRelativeFrame const): (WebCore::AXTextMarkerRange::convertToDomOffsetRange const): * Source/WebCore/accessibility/AXTextMarker.h: * Source/WebCore/accessibility/AXTextRun.cpp: (WebCore::AXTextRuns::localRect const): * Source/WebCore/accessibility/AXTextRun.h: (WebCore::AXTextRun::AXTextRun): * Source/WebCore/accessibility/cocoa/AXTextMarkerCocoa.mm: (WebCore::AXTextMarkerRange::toAttributedString const): Canonical link: https://commits.webkit.org/296747@main
45c24e1
to
e5d6551
Compare
Committed 296747@main (e5d6551): https://commits.webkit.org/296747@main Reviewed commits have been landed. Closing PR #47300 and removing active labels. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
e5d6551
e49b124