| Index: third_party/WebKit/LayoutTests/external/wpt/html/semantics/scripting-1/the-script-element/module/crossorigin-common.js
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/html/semantics/scripting-1/the-script-element/module/crossorigin-common.js b/third_party/WebKit/LayoutTests/external/wpt/html/semantics/scripting-1/the-script-element/module/crossorigin-common.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..59bf0fd42fcdd622665538e86fa45960ad3c4bfe
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/html/semantics/scripting-1/the-script-element/module/crossorigin-common.js
|
| @@ -0,0 +1,8 @@
|
| +document._log = [];
|
| +window.addEventListener("error", function (ev) {
|
| + var errorSerialized = ev.lineno + "-" + ev.colno;
|
| + document._log.push(errorSerialized);
|
| +});
|
| +window.addEventListener("load", function () {
|
| + document._log = document._log.join(",");
|
| +});
|
|
|