Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(671)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/html/browsers/the-window-object/window-indexed-properties-strict-expected.txt

Issue 2832923003: v8binding: Don't allow author script to define indexed accessor prop. (Closed)
Patch Set: Added the test expectation. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 PASS Indexed properties of the window object (strict mode) 2 PASS Indexed properties of the window object (strict mode)
3 FAIL Indexed properties of the window object (strict mode) 1 assert_throws: func tion "function () { 3 FAIL Indexed properties of the window object (strict mode) 1 assert_throws: func tion "() => delete window[0]" did not throw
4 window[0] = "foo"; 4 PASS Indexed properties of the window object (strict mode) 2
5 }" did not throw
6 FAIL Indexed properties of the window object (strict mode) 2 assert_throws: func tion "function () {
7 window[1] = "foo";
8 }" did not throw
9 PASS Indexed properties of the window object (strict mode) 3 5 PASS Indexed properties of the window object (strict mode) 3
10 Harness: the test ran to completion. 6 Harness: the test ran to completion.
11 7
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698