Index: webkit/glue/devtools/js/inject_dispatch.js |
=================================================================== |
--- webkit/glue/devtools/js/inject_dispatch.js (revision 19804) |
+++ webkit/glue/devtools/js/inject_dispatch.js (working copy) |
@@ -47,6 +47,13 @@ |
for (var i = 2; i < args.length; ++i) { |
args[i] = devtools$$obj.wrapConsoleObject(args[i]); |
} |
+ } else if (method == 'inspectedWindowCleared' || |
+ method == 'reset' || |
+ method == 'setAttachedWindow') { |
+ // Filter out messages we don't need here. |
+ // We do it on the sender side since they may have non-serializable |
+ // parameters. |
+ return; |
} |
var call = JSON.stringify(args); |
DevToolsAgentHost.dispatch(call); |