зеркало из https://github.com/mozilla/gecko-dev.git
Update debugger tests for new JSON.parse syntax error message format. Followup to bug 507998, r=yetmoreorangesigh
--HG-- extra : rebase_source : 9e4009922085b67d2ca7f8e92c7ec269c7446924
This commit is contained in:
Родитель
ec2de40ee6
Коммит
10c4da16db
|
@ -41,11 +41,11 @@ function test() {
|
|||
"The response info header doesn't have the intended visibility.");
|
||||
is(tabpanel.querySelector("#response-content-info-header")
|
||||
.getAttribute("value"),
|
||||
"SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data",
|
||||
"SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 40 of the JSON data",
|
||||
"The response info header doesn't have the intended value attribute.");
|
||||
is(tabpanel.querySelector("#response-content-info-header")
|
||||
.getAttribute("tooltiptext"),
|
||||
"SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data",
|
||||
"SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 40 of the JSON data",
|
||||
"The response info header doesn't have the intended tooltiptext attribute.");
|
||||
|
||||
is(tabpanel.querySelector("#response-content-json-box")
|
||||
|
|
Загрузка…
Ссылка в новой задаче