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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/html/browsers/the-window-object/window-indexed-properties-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 (non-strict mode) 2 PASS Indexed properties of the window object (non-strict mode)
3 FAIL Indexed properties of the window object (non-strict mode) 1 assert_throws: function "() => Object.defineProperty(window, 0, { value: "bar" })" did not thro w 3 FAIL Indexed properties of the window object (non-strict mode) 1 assert_equals: expected false but got true
4 FAIL Indexed properties of the window object (non-strict mode) 2 assert_throws: function "() => Object.defineProperty(window, 1, { value: "bar" })" did not thro w 4 PASS Indexed properties of the window object (non-strict mode) 2
5 PASS Indexed properties of the window object (non-strict mode) 3 5 PASS Indexed properties of the window object (non-strict mode) 3
6 Harness: the test ran to completion. 6 Harness: the test ran to completion.
7 7
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698