Chrome Version: 62 canary
OS: All
What steps will reproduce the problem?
(1) open http://w3c-test.org/html/webappapis/scripting/processing-model-2/body-onerror-runtime-error.html
What is the expected result?
No FAIL tests
What happens instead?
Two FAIL tests
Please use labels and text to provide additional information.
Spec:
https://html.spec.whatwg.org/multipage/webappapis.html#getting-the-current-value-of-the-event-handler
> 10. Let function be the result of calling FunctionCreate, with arguments:
> If H is an onerror event handler of a Window object
> Let the function have five arguments, named event, source, lineno, colno, and error.
V8ErrorHandler.cpp prepares five arguments correctly when calling a handler.
Maybe we should do something when we compile error event handler?
Edge and Firefox work correctly. Safari has the same issue.
To the people who may want to work on this issue:
I've tried to make a rough patch for this issue, you can see it at
https://chromium-review.googlesource.com/c/chromium/src/+/801191
But as yukishiino@ said in comment, it's not good enough for merge, please read the comment and continue your good work
Cheers
Comment 1 by jbroman@chromium.org
, Aug 28 2017