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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance.html

Issue 23243002: Introduce XMLHttpRequestEventTarget IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix nits and add test Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="help" href="http://www.w3.org/TR/2012/WD-XMLHttpRequest-20121206/#xml httprequesteventtarget">
5 <script src="../resources/js-test-pre.js"></script>
6 </head>
7 <body>
8 <script>
9 description("Checks the prototype chain of XMLHttpRequest / XMLHttpRequestUpload .");
10
11 // XMLHttpRequest.
12 shouldBeEqualToString("XMLHttpRequest.__proto__.name", "XMLHttpRequestEventTarge t");
13 shouldBeEqualToString("XMLHttpRequest.prototype.__proto__.constructor.name", "XM LHttpRequestEventTarget");
14 shouldBe("XMLHttpRequest.prototype.__proto__.__proto__", "EventTarget.prototype" );
15
16 // XMLHttpRequestUpload.
17 shouldBeEqualToString("XMLHttpRequestUpload.__proto__.name", "XMLHttpRequestEven tTarget");
18 shouldBeEqualToString("XMLHttpRequestUpload.prototype.__proto__.constructor.name ", "XMLHttpRequestEventTarget");
19 shouldBe("XMLHttpRequestUpload.prototype.__proto__.__proto__", "EventTarget.prot otype");
arv (Not doing code reviews) 2013/08/15 15:02:50 Also: function className(obj) { return Object.p
do-not-use 2013/08/15 15:33:45 I added the check. toString() actually returns Obj
20 </script>
21 </body>
22 <script src="../resources/js-test-post.js"></script>
23 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698