Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / import-open-inspector.html
blob615031fca4fe143a414344dfb7b854734c187701
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="import" href="resources/import-open-inspector-linked.html">
5 <script src="../http/tests/inspector/inspector-test.js"></script>
6 <script>
8 function getGreeting()
10 return window.greeting;
13 function test()
15 InspectorTest.runTestSuite([
16 function checkGreetingSet(next)
18 InspectorTest.evaluateInPage("getGreeting()", callback);
19 function callback(result)
21 InspectorTest.addResult("Received: " + result.value);
22 next();
26 function reloadPage(next)
28 InspectorTest.reloadPage(next);
31 function checkReloaded(next)
33 InspectorTest.addResult("Page successfully reloaded");
34 next();
36 ]);
39 </script>
40 </head>
42 <body onload="runTest()">
43 <p>
44 This tests that reloading a page with the inspector opened does not crash (rewritten test from r156199).
45 </p>
47 </body>
48 </html>