1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

104442 - Part 2: Add a testcase for devtools and note.

This commit is contained in:
Gaming4JC
2019-06-09 23:11:09 -04:00
committed by Roy Tam
parent 006b0f5d17
commit 9d09cfdde9
@@ -112,6 +112,24 @@ function doPageErrors()
warning: true,
exception: false,
},
"let a, a;": {
errorMessage: /redeclaration of/,
errorMessageName: "JSMSG_REDECLARED_VAR",
sourceName: /test_page_errors/,
category: "chrome javascript",
timeStamp: /^\d+$/,
error: false,
warning: false,
exception: true,
notes: [
{
messageBody: /Previously declared at line/,
frame: {
source: /test_page_errors/,
}
}
]
},
};
let container = document.createElement("script");