layout/generic/crashtests/1734015.html
0 → 100644
+21
−0
Loading
Bug 1734015 - Just return an error (without asserting) from PeekOffsetForLine if line is not found. r=layout-reviewers,emilio The assertion here was added during the iterator refactoring in bug 1732349, but is actually bogus. The old code would have returned via the MOZ_TRY_VAR that wrapped the call to blockFrame->GetLineNumber(); that's replaced by iter->FindLineContaining(), so we should now check for an error there and similarly just return to the caller, not assert. Differential Revision: https://phabricator.services.mozilla.com/D134950