3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
6 localStorage
.testProperty
= "testPropertyValue";
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")
24 property
.value
= { type
: property
.value
.type
, description
: property
.value
.description
};
25 InspectorTest
.dump(property
);
27 InspectorTest
.completeTest();
34 <body onload=
"runTest()">
36 Tests RemoteObject.getProperties on localStorage object.
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=66215">66215</a>