| OLD | NEW |
| 1 Tests correctness of code generated by InspectorBackend. | 1 Tests correctness of code generated by HostedMode. |
| 2 | 2 |
| 3 InspectorBackend.registerEnum("Page.ResourceType", {Document: "Document", XHR: "
XHR", ConsoleAPI: "console-api", Other: "other"}); | 3 Protocol.registerEnum("Page.ResourceType", {Document: "Document", XHR: "XHR", Co
nsoleAPI: "console-api", Other: "other"}); |
| 4 InspectorBackend.registerCommand("Page.addScriptToEvaluateOnLoad", [{"name": "sc
riptSource", "type": "string", "optional": false}], ["identifier"], false); | 4 Protocol.registerCommand("Page.addScriptToEvaluateOnLoad", [{"name": "scriptSour
ce", "type": "string", "optional": false}], ["identifier"], false); |
| 5 InspectorBackend.registerEvent("Page.domContentEventFired", ["timestamp"]); | 5 Protocol.registerEvent("Page.domContentEventFired", ["timestamp"]); |
| 6 | 6 |
| OLD | NEW |