RESOLVED FIXED 101022
Web Inspector: a small defect in "WorkersSidebarPanel.js"
https://bugs.webkit.org/show_bug.cgi?id=101022
Summary Web Inspector: a small defect in "WorkersSidebarPanel.js"
Peter Wang
Reported 2012-11-02 00:02:09 PDT
When click the label "Pause on start" of WorkerSidebarPane, in function _autoattachToWorkersClicked: function(event) { WorkerAgent.setAutoconnectToWorkers(event.target.checked); }, "event.target.checked" will cause a error report in "InspectorBackend.js:113": Protocol Error: Invalid type of argument 'value' for method 'Worker.setAutoconnectToWorkers' call. It must be 'boolean' but it is 'undefined'. Since in "Checkbox.js", the "label" element also registered "click" event, it has not a property named "checked". However, it's bind with CheckBox, so the "click" can be send to CheckBox finally. So this problem doesn't effect any function, just causes a error report.
Attachments
Patch (1.64 KB, patch)
2012-11-02 00:09 PDT, Peter Wang
no flags
Peter Wang
Comment 1 2012-11-02 00:09:05 PDT
WebKit Review Bot
Comment 2 2012-11-02 00:54:49 PDT
Comment on attachment 171992 [details] Patch Clearing flags on attachment: 171992 Committed r133271: <http://trac.webkit.org/changeset/133271>
WebKit Review Bot
Comment 3 2012-11-02 00:54:52 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.