AX: AXIsolatedTree::updateChildren sometimes fails to update isolated subtrees when...
[WebKit-https.git] / Source / WebInspectorUI / Tools / SourceMaps / index.html
index 3f033f75cba31307fc49a8c3aa547de51c241d7e..bda5eb6638709386bdd20135cc5dabd3b4c7d4a7 100644 (file)
@@ -18,8 +18,7 @@
     <script src="../../UserInterface/External/CodeMirror/xml.js"></script>
 
     <script src="../../UserInterface/Base/WebInspector.js"></script>
     <script src="../../UserInterface/External/CodeMirror/xml.js"></script>
 
     <script src="../../UserInterface/Base/WebInspector.js"></script>
-    <script src="../../UserInterface/Base/LinkedList.js"></script>
-    <script src="../../UserInterface/Base/ListMultimap.js"></script>
+    <script src="../../UserInterface/Base/Multimap.js"></script>
     <script src="../../UserInterface/Base/Object.js"></script>
     <script src="../../UserInterface/Base/Utilities.js"></script>
     <script src="../../UserInterface/Controllers/FormatterSourceMap.js"></script>
     <script src="../../UserInterface/Base/Object.js"></script>
     <script src="../../UserInterface/Base/Utilities.js"></script>
     <script src="../../UserInterface/Controllers/FormatterSourceMap.js"></script>
@@ -33,6 +32,7 @@
         <option>html</option>
         <option>javascript</option>
         <option>css</option>
         <option>html</option>
         <option>javascript</option>
         <option>css</option>
+        <option>xml</option>
     </select>
     <button id="format">Format</button>
     <button id="save-as-url">Save URL</button>
     </select>
     <button id="format">Format</button>
     <button id="save-as-url">Save URL</button>
         case "css":
             workerProxy.formatCSS(inputCM.getValue(), indentString, includeSourceMapData, formatResult);
             break;
         case "css":
             workerProxy.formatCSS(inputCM.getValue(), indentString, includeSourceMapData, formatResult);
             break;
+        case "xml":
+            workerProxy.formatXML(inputCM.getValue(), indentString, includeSourceMapData, formatResult);
+            break;
         }
 
         function formatResult({formattedText, sourceMapData}) {
         }
 
         function formatResult({formattedText, sourceMapData}) {
 <input type=text><br><p>Test</p></div><p><![CDATA[ Test ]]></p></body></html>`;
     const simpleJS = `(function(){let a=1;return a+1;})();`;
     const simpleCSS = `body{color:red;background:blue}*{color:green}`;
 <input type=text><br><p>Test</p></div><p><![CDATA[ Test ]]></p></body></html>`;
     const simpleJS = `(function(){let a=1;return a+1;})();`;
     const simpleCSS = `body{color:red;background:blue}*{color:green}`;
+    const simpleXML = `<?xml version="1.0" encoding="iso8859-5"?><outer><inner attr="value">1</inner></outer>`;
 
     // Populate picker
     function updateContentFromPicker() {
 
     // Populate picker
     function updateContentFromPicker() {
             mode = "text/css";
             content = simpleCSS;
             break;
             mode = "text/css";
             content = simpleCSS;
             break;
+        case "xml":
+            mode = "text/xml";
+            content = simpleXML;
+            break;
         default:
             console.assert();
             break;
         default:
             console.assert();
             break;