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

Side by Side Diff: LayoutTests/webexposed/custom-elements.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../fast/js/resources/js-test-pre.js"></script> 2 <script src="../fast/js/resources/js-test-pre.js"></script>
3 <body> 3 <body>
4 <script> 4 <script>
5 description('Tests basic web-exposure of Custom Elements'); 5 description('Tests basic web-exposure of Custom Elements');
6 6
7 function evalAndLogValue(s) { 7 function evalAndLogValue(s) {
8 debug(evalAndLog(s)); 8 debug(evalAndLog(s));
9 debug(''); 9 debug('');
10 } 10 }
11 11
12 evalAndLogValue('Document.prototype.hasOwnProperty("register")'); 12 evalAndLogValue('Document.prototype.hasOwnProperty("register")');
13 evalAndLogValue('typeof Document.prototype.register'); 13 evalAndLogValue('typeof Document.prototype.register');
14 evalAndLogValue('document.createElement("x-a") instanceof HTMLUnknownElement'); 14 evalAndLogValue('document.createElement("x-a") instanceof HTMLUnknownElement');
15 15
16 var div = document.createElement('div'); 16 var div = document.createElement('div');
17 div.innerHTML = '<div is="x-b">'; 17 div.innerHTML = '<div is="x-b">';
18 document.body.appendChild(div); 18 document.body.appendChild(div);
19 evalAndLogValue('document.querySelector(":unresolved")'); 19 evalAndLogValue('document.querySelector(":unresolved")');
20 div.remove(); 20 div.remove();
21 21
22 var span = document.createElement('span', 'type-extension'); 22 var span = document.createElement('span', 'type-extension');
23 evalAndLogValue('span.getAttribute("is")'); 23 evalAndLogValue('span.getAttribute("is")');
24 24
25 successfullyParsed = true; 25 successfullyParsed = true;
26 </script> 26 </script>
27 <script src="../fast/js/resources/js-test-post.js"></script>
OLDNEW
« no previous file with comments | « LayoutTests/webaudio/waveshaper-oversample-4x.html ('k') | LayoutTests/webexposed/event-target-in-prototype.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698