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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/dom-snapshot/dom-snapshot-getSnapshot.html

Issue 2951643002: [DevTools] Prepare inspector-protocol tests to new test runner (Closed)
Patch Set: css3/fonts Created 3 years, 6 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 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 @font-face { 4 @font-face {
5 font-family: 'ahem'; 5 font-family: 'ahem';
6 src: url(../../resources/Ahem.ttf); 6 src: url(../../resources/Ahem.ttf);
7 } 7 }
8 </style> 8 </style>
9 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 9 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
10 <script> 10 <script>
11 11
12 async function test() { 12 async function test() {
13 function stabilize(key, value) { 13 function stabilize(key, value) {
14 var unstableKeys = ["documentURL", "baseURL", "frameId"]; 14 var unstableKeys = ["documentURL", "baseURL", "frameId"];
15 if (unstableKeys.indexOf(key) !== -1) 15 if (unstableKeys.indexOf(key) !== -1)
16 return "<" + typeof(value) + ">"; 16 return "<" + typeof(value) + ">";
17 return value; 17 return value;
18 } 18 }
19 19
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 <script type="text/javascript"> 54 <script type="text/javascript">
55 var host = document.querySelector("#shadow-host").createShadowRoot(); 55 var host = document.querySelector("#shadow-host").createShadowRoot();
56 var template = document.querySelector("#shadow-template"); 56 var template = document.querySelector("#shadow-template");
57 host.appendChild(template.content); 57 host.appendChild(template.content);
58 template.remove(); 58 template.remove();
59 window.onload = runTest; 59 window.onload = runTest;
60 </script> 60 </script>
61 </div> 61 </div>
62 </body> 62 </body>
63 </html> 63 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698