| <script src="../../fast/dom/shadow/resources/polyfill.js"></script> |
| <script src="../../http/tests/inspector/inspector-test.js"></script> |
| <script src="../../http/tests/inspector/elements-test.js"></script> |
| function updateShadowDOM() |
| shadowRoot.removeChild(shadowRoot.firstChild); |
| function initialize_shadowSettings() |
| WebInspector.settings.showShadowDOM.set(true); |
| InspectorTest.expandElementsTree(function() { |
| InspectorTest.evaluateInPage("updateShadowDOM()", function() { |
| InspectorTest.expandElementsTree(function() { |
| var containerElem = InspectorTest.expandedNodeWithId('container'); |
| InspectorTest.dumpElementsTree(containerElem); |
| InspectorTest.completeTest(); |
| <body onload="runTest()"> |
| <p id="description">This test confirms that updating the shadow dom is reflected to the Inspector.</p> |
| var shadowRoot = new WebKitShadowRoot(host); |
| shadowRoot.innerHTML = "<div></div>"; |