| OLD | NEW |
| 1 function extensionFunctions() | 1 function extensionFunctions() |
| 2 { | 2 { |
| 3 var functions = ""; | 3 var functions = ""; |
| 4 | 4 |
| 5 for (symbol in window) { | 5 for (symbol in window) { |
| 6 if (/^extension_/.exec(symbol) && typeof window[symbol] === "function") | 6 if (/^extension_/.exec(symbol) && typeof window[symbol] === "function") |
| 7 functions += window[symbol].toString(); | 7 functions += window[symbol].toString(); |
| 8 } | 8 } |
| 9 return functions; | 9 return functions; |
| 10 } | 10 } |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 } | 65 } |
| 66 | 66 |
| 67 function extension_showPanel(panelId, callback) | 67 function extension_showPanel(panelId, callback) |
| 68 { | 68 { |
| 69 evaluateOnFrontend("InspectorTest.showPanel(unescape('" + escape(panelId) +
"')).then(function() { reply(); });", callback); | 69 evaluateOnFrontend("InspectorTest.showPanel(unescape('" + escape(panelId) +
"')).then(function() { reply(); });", callback); |
| 70 } | 70 } |
| 71 | 71 |
| 72 var test = function() | 72 var test = function() |
| 73 { | 73 { |
| 74 WebInspector.moduleSetting("shortcutPanelSwitch").set(true); |
| 74 InspectorTest.runExtensionTests(); | 75 InspectorTest.runExtensionTests(); |
| 75 } | 76 } |
| OLD | NEW |