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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/js/webidl-attribute-getter-setter-lengths.html

Issue 1854503002: Add meta charset tag to unlabelled utf-8 files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: drop two more files unaffected by utf-8 label Created 4 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset="utf-8">
2 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
3 <script> 4 <script>
4 5
5 description("Verify WebIDL interface attribute getter/setter function lengths"); 6 description("Verify WebIDL interface attribute getter/setter function lengths");
6 7
7 // http://heycam.github.io/webidl/#dfn-attribute-getter 8 // http://heycam.github.io/webidl/#dfn-attribute-getter
8 // "The attribute getter is a Function object..." 9 // "The attribute getter is a Function object..."
9 // "The value of the Function object’s"length" property is the Number value 0." 10 // "The value of the Function object’s"length" property is the Number value 0."
10 11
11 shouldBe("Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'title').get.le ngth", "0"); 12 shouldBe("Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'title').get.le ngth", "0");
12 13
13 // http://heycam.github.io/webidl/#dfn-attribute-setter 14 // http://heycam.github.io/webidl/#dfn-attribute-setter
14 // "The attribute setter ... is a Function object..." 15 // "The attribute setter ... is a Function object..."
15 // "The value of the Function object’s "length" property is the Number value 1." 16 // "The value of the Function object’s "length" property is the Number value 1."
16 17
17 shouldBe("Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'title').set.le ngth", "1"); 18 shouldBe("Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'title').set.le ngth", "1");
18 19
19 </script> 20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698