RESOLVED FIXED 58324
Web Inspector: remove scriptWorldType from the protocol.
https://bugs.webkit.org/show_bug.cgi?id=58324
Summary Web Inspector: remove scriptWorldType from the protocol.
Pavel Feldman
Reported 2011-04-12 08:28:32 PDT
Patch to follow.
Attachments
Patch (14.45 KB, patch)
2011-04-12 08:50 PDT, Pavel Feldman
no flags
[PATCH] that compiles. (15.43 KB, patch)
2011-04-12 09:14 PDT, Pavel Feldman
yurys: review+
Pavel Feldman
Comment 1 2011-04-12 08:50:49 PDT
Early Warning System Bot
Comment 2 2011-04-12 09:02:51 PDT
Pavel Feldman
Comment 3 2011-04-12 09:14:55 PDT
Created attachment 89212 [details] [PATCH] that compiles.
Build Bot
Comment 4 2011-04-12 09:32:56 PDT
Yury Semikhatsky
Comment 5 2011-04-12 10:01:17 PDT
Comment on attachment 89212 [details] [PATCH] that compiles. View in context: https://bugs.webkit.org/attachment.cgi?id=89212&action=review > Source/WebCore/bindings/js/ScriptDebugServer.cpp:247 > + return true; return (currentWorld(exec) != mainThreadNormalWorld()); ? > Source/WebCore/bindings/v8/DebuggerScript.js:80 > + isContentScript: script.context_data && script.context_data.indexOf("injected") == 0 Please cast the expression to boolean explicitly to avoid surprises when it's an undefined and is casted ToBoolean() in ScriptDebugServer.cpp.
Pavel Feldman
Comment 6 2011-04-12 10:07:50 PDT
Note You need to log in before you can comment on or make changes to this bug.