diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-09 23:11:09 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:39 -0400 |
commit | f4129b97ca53442d7789fa97ed022d612d12c037 (patch) | |
tree | e33ebec4c9637303ce9d3f968bd783fa54858451 /devtools | |
parent | dab8877c10fcc9dd5d86e6fd3d1924e474076726 (diff) | |
download | uxp-f4129b97ca53442d7789fa97ed022d612d12c037.tar.gz |
104442 - Part 2: Add a testcase for devtools and note.
Diffstat (limited to 'devtools')
-rw-r--r-- | devtools/shared/webconsole/test/test_page_errors.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/devtools/shared/webconsole/test/test_page_errors.html b/devtools/shared/webconsole/test/test_page_errors.html index 78138856ec..b4c0fe8854 100644 --- a/devtools/shared/webconsole/test/test_page_errors.html +++ b/devtools/shared/webconsole/test/test_page_errors.html @@ -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"); |