blob: 31078a574448666eac61224f75538e8d1a984f54 [file] [log] [blame]
<script>
function Page() {
}
Page.prototype.enable = function() {
};
Page.prototype.canScreencast = function() {
return {
result: false
};
};
Page.prototype.canEmulate = function() {
return {
result: false
};
};
Page.prototype.getResourceTree = function() {
// Unclear if this is all needed, but if we don't return something here
// the inspector hits an exception in WebInspector.ResourceTreeModel.
return {
"frameTree": {
"frame": {
"id": 1,
"loaderId": 1,
"url": document.URL,
"mimeType": "text/html",
"securityOrigin": document.URL,
},
"resources": [], // FIXME
}
};
};
module.exports = Page;
</script>