mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-02 22:08:40 +09:00
Bug 755821: Function() should use the parser's argument parsing code
This commit is contained in:
parent
e7fdd26fde
commit
0e7a16c088
24 changed files with 321 additions and 469 deletions
|
|
@ -102,16 +102,6 @@ function doPageErrors()
|
|||
warning: false,
|
||||
exception: true,
|
||||
},
|
||||
"var f = Function('x y', 'return x + y;');": {
|
||||
errorMessage: /malformed formal/,
|
||||
errorMessageName: "JSMSG_BAD_FORMAL",
|
||||
sourceName: /test_page_errors/,
|
||||
category: "chrome javascript",
|
||||
timeStamp: /^\d+$/,
|
||||
error: false,
|
||||
warning: false,
|
||||
exception: true,
|
||||
},
|
||||
"function a() { return; 1 + 1; }": {
|
||||
errorMessage: /unreachable code/,
|
||||
errorMessageName: "JSMSG_STMT_AFTER_RETURN",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue