Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / runtime / runtime-localStorage-getProperties.html
blob3cd34206d10eb04e6d9abf2ecea33702e607f84f
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script>
6 localStorage.testProperty = "testPropertyValue";
8 function test()
10 InspectorTest.RuntimeAgent.evaluate("localStorage", step1);
12 function step1(error, result, wasThrown)
14 var localStorageHandle = InspectorTest.runtimeModel.createRemoteObject(result);
15 localStorageHandle.getOwnProperties(step2);
18 function step2(properties)
20 for (var i = 0; i < properties.length; ++i) {
21 var property = properties[i];
22 if (property.name !== "testProperty")
23 continue;
24 property.value = { type: property.value.type, description: property.value.description };
25 InspectorTest.dump(property);
27 InspectorTest.completeTest();
31 </script>
32 </head>
34 <body onload="runTest()">
35 <p>
36 Tests RemoteObject.getProperties on localStorage object. <a href="https://bugs.webkit.org/show_bug.cgi?id=66215">66215</a>
37 </p>
39 </body>
40 </html>