LibWeb: Populate filename in WindowOrWorkerGlobalScope.reportError()

Previously, when `WindowOrWorkerGlobalScope.reportError()` was called
the `filename` property of the dispatched error event was blank. It is
now populated with the full path of the active script.
This commit is contained in:
Tim Ledbetter 2024-07-07 15:57:34 +01:00 committed by Andreas Kling
commit 34b9873664
Notes: sideshowbarker 2024-07-16 20:31:50 +09:00
3 changed files with 18 additions and 7 deletions

View file

@ -1,5 +1,6 @@
message = Reporting an Error!
filename =
lineno = 0
colno = 0
error = Error: Reporting an Error!
filename URL scheme = file:
filename URL final path segment = WindowOrWorkerGlobalScope-reportError.html