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

Unified Diff: LayoutTests/fast/js/global-constructors-attributes-expected.txt

Issue 14447006: Global constructors should be configurable and not enumerable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Clean rebase on master Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/js/global-constructors-attributes-expected.txt
diff --git a/LayoutTests/fast/js/global-constructors-attributes-expected.txt b/LayoutTests/fast/js/global-constructors-attributes-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee4b9cf4e527e315cee3deace04c07fac5b804b5
--- /dev/null
+++ b/LayoutTests/fast/js/global-constructors-attributes-expected.txt
@@ -0,0 +1,44 @@
+Test to ensure that global constructors have the right attributes
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS Object.getOwnPropertyDescriptor(global, 'CSSRuleList').value is CSSRuleList
+PASS Object.getOwnPropertyDescriptor(global, 'CSSRuleList').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CSSRuleList').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CSSRuleList').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'CSSRuleList').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'Document').value is Document
+PASS Object.getOwnPropertyDescriptor(global, 'Document').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Document').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Document').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'Document').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'Element').value is Element
+PASS Object.getOwnPropertyDescriptor(global, 'Element').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Element').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Element').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'Element').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'HTMLDivElement').value is HTMLDivElement
+PASS Object.getOwnPropertyDescriptor(global, 'HTMLDivElement').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'HTMLDivElement').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'HTMLDivElement').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'HTMLDivElement').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'ProgressEvent').value is ProgressEvent
+PASS Object.getOwnPropertyDescriptor(global, 'ProgressEvent').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'ProgressEvent').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'ProgressEvent').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'ProgressEvent').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'Selection').value is Selection
+PASS Object.getOwnPropertyDescriptor(global, 'Selection').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Selection').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'Selection').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'Selection').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').value is XMLHttpRequest
+PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').configurable is true
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/js/global-constructors-attributes.html ('k') | LayoutTests/fast/js/resources/getOwnPropertyDescriptor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698