Bug 244721
| Summary: | Debug assertion under `ImageOverlay::updateWithTextRecognitionResult` when hovering over certain images | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Wenson Hsieh <wenson_hsieh> |
| Component: | Platform | Assignee: | Wenson Hsieh <wenson_hsieh> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Wenson Hsieh
.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Wenson Hsieh
We currently hit an assertion when hovering over some of the images on https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode:
```
ASSERTION FAILED: m_end >= m_begin
/Users/ntim/Build/Debug/usr/local/include/wtf/Range.h(63) : WTF::Range<float>::Range(WTF::Range::Type, WTF::Range::Type) [PassedType = float]
1 0x12c94a708 WTFCrash
2 0x14ae75614 WTFCrashWithInfo(int, char const*, char const*, int)
3 0x14deb2b94 WTF::Range<float>::Range(float, float)
4 0x14deb29a4 WTF::Range<float>::Range(float, float)
5 0x14deb22f4 WTF::Range<float> WebCore::ImageOverlay::updateWithTextRecognitionResult(WebCore::HTMLElement&, WebCore::TextRecognitionResult const&, WebCore::ImageOverlay::CacheTextRecognitionResults)::$_4::operator()<WebCore::TextRecognitionWordData const>(WebCore::TextRecognitionWordData const&) const
```
Wenson Hsieh
Pull request: https://github.com/WebKit/WebKit/pull/3962
EWS
Committed 254115@main (e9e6c7937d2c): <https://commits.webkit.org/254115@main>
Reviewed commits have been landed. Closing PR #3962 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/99507563>