[Webkit-unassigned] [Bug 255439] New: always use document URL as the source of a ResizeObserver loop limit error
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 13 22:27:18 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=255439
Bug ID: 255439
Summary: always use document URL as the source of a
ResizeObserver loop limit error
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: heycam at apple.com
In Document::updateResizeObservations we throw an error if we exceed some limit for the number of times we loop processing ResizeObserver notifications. This uses getParserLocation to get the location to use in the error, which returns the empty string if parsing the document has finished. I think we should just use the document URL. When we pass in the empty string to reportException, we end up censoring the error message as "Script error." because we think the error came from a different origin, and the "ResizeObserver loop completed with undelivered notifications." message gets lost.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230414/dcfec435/attachment.htm>
More information about the webkit-unassigned
mailing list