зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1439951 [wpt PR 9603] - Adding property name for self-referential array object, a=testonly
Automatic update from web-platform-testswebdriver: add property name for self-referential array object (#9603) To create a full object for use with Internet Explorer, the object literal should contain a property name for the self-referential array object added as a property value. wpt-commits: 0d68b017755cc6e8890391f213f4376e0a52502c wpt-pr: 9603 wpt-commits: 0d68b017755cc6e8890391f213f4376e0a52502c wpt-pr: 9603
This commit is contained in:
Родитель
ac6f5e6df1
Коммит
77b1c1c300
|
@ -598134,7 +598134,7 @@
|
|||
"support"
|
||||
],
|
||||
"webdriver/tests/execute_script/cyclic.py": [
|
||||
"cbebfbd2413ea0b10f547ab66fcc7159898e684a",
|
||||
"9d8a28b94b8cdac88650b675cb00bf21261444e8",
|
||||
"wdspec"
|
||||
],
|
||||
"webdriver/tests/execute_script/user_prompts.py": [
|
||||
|
|
|
@ -34,7 +34,7 @@ def test_array_in_object(session):
|
|||
response = execute_script(session, """
|
||||
let arr = [];
|
||||
arr.push(arr);
|
||||
return {arr};
|
||||
return {'arrayValue': arr};
|
||||
""")
|
||||
assert_error(response, "javascript error")
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче