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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user