ladybird/Tests/LibWeb/Text/expected/HTML/WindowOrWorkerGlobalScope-reportError.txt
Shannon Booth 57479c2d4b LibWeb/HTML: Include better information in 'report an exception' event
Instead of always reporting a colno and lineno of zero try and use the
values from the Error object that may be provided, falling back to the
source location of the invocation if not provided. We can definitely
improve the reporting even more, but this is a start!

Also update this function to latest spec while we're in the area.
2025-01-12 18:49:55 +00:00

6 lines
193 B
Text

message = Reporting an Error!
lineno = 17
colno = 28
error = Error: Reporting an Error!
filename URL scheme = file:
filename URL final path segment = WindowOrWorkerGlobalScope-reportError.html