Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Component-Other
New issue 1890 by [email protected]: Implement ErrorEvent interface
for guest errors
http://code.google.com/p/google-caja/issues/detail?id=1890
There has been recent progress in changing the 'onerror' event handler to
receive extra parameters describing the error.
The specification can be found:
http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#runtime-script-errors
And progress (for chromium) at
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Li61lfcbWws
Although I haven't found any implementing browsers, I did notice that
chrome as of version 34, sends 4 arguments to window.onerror (message,
scriptUri, lineNo, colNo, errorObject).
I have included a patch that adds the colNo, and errorObject parameter to
`onerror` calls.
Attachments:
caja-onerror.diff 1.9 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.