3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resources/protocol-test.js"></script>
7 function handleSupportedCSSProperties(messageObject)
9 if ("error" in messageObject)
10 InspectorTest.log(messageObject.error.message);
12 var cssProperty = "box-shadow";
13 var entries = messageObject["result"]["cssProperties"];
15 for (var i = 0; i < entries.length; ++i) {
16 if (entries[i].name === cssProperty) {
17 InspectorTest.log(entries[i].name + " is supported");
22 if (i === entries.length)
23 InspectorTest.log(cssProperty + " is NOT supported");
26 InspectorTest.completeTest();
29 InspectorTest.sendCommand("CSS.getSupportedCSSProperties", {}, handleSupportedCSSProperties);
33 <body onLoad="runTest();">