RESOLVED FIXED 66858
Web Inspector: [refactoring] use PopoverHelper to implement popup in the SourceFrame
https://bugs.webkit.org/show_bug.cgi?id=66858
Summary Web Inspector: [refactoring] use PopoverHelper to implement popup in the Sour...
Andrey Kosyakov
Reported 2011-08-24 07:54:51 PDT
This replaces custom popover logic in the SourceFrame with the usage of PopoverHelper. This also fixes a problem where popup is hidden when mouse is moved from one expression to another.
Attachments
patch (13.02 KB, patch)
2011-08-24 07:57 PDT, Andrey Kosyakov
pfeldman: review-
patch (13.37 KB, patch)
2011-08-25 02:57 PDT, Andrey Kosyakov
no flags
patch (!= => !===) (13.37 KB, patch)
2011-08-25 03:03 PDT, Andrey Kosyakov
no flags
patch (21.98 KB, patch)
2011-08-25 06:35 PDT, Andrey Kosyakov
pfeldman: review-
patch (22.11 KB, patch)
2011-08-25 07:46 PDT, Andrey Kosyakov
no flags
Andrey Kosyakov
Comment 1 2011-08-24 07:57:39 PDT
Pavel Feldman
Comment 2 2011-08-25 00:09:43 PDT
Comment on attachment 104999 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=104999&action=review > Source/WebCore/inspector/front-end/Popover.js:185 > + this._popup = value; You should not expose popup setter. > Source/WebCore/inspector/front-end/SourceFrame.js:695 > + return element; For the expression foo.bar.baz, the anchor element should be "foo" span.
Andrey Kosyakov
Comment 3 2011-08-25 02:57:13 PDT
Andrey Kosyakov
Comment 4 2011-08-25 03:03:23 PDT
Created attachment 105151 [details] patch (!= => !===)
Andrey Kosyakov
Comment 5 2011-08-25 06:35:09 PDT
Created attachment 105171 [details] patch - move content element from Popover constructor to Popover.show() - create popover in PopoverHelper rather than in client code - rename most occurrences of "popup" to popover.
Pavel Feldman
Comment 6 2011-08-25 07:38:05 PDT
Comment on attachment 105171 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=105171&action=review > Source/WebCore/inspector/front-end/SourceFrame.js:725 > + if (wasThrown || !this._delegate.debuggerPaused()) { Should you check for popover.disposed as a start?
Andrey Kosyakov
Comment 7 2011-08-25 07:46:07 PDT
Andrey Kosyakov
Comment 8 2011-08-25 08:47:53 PDT
Comment on attachment 105190 [details] patch Clearing flags on attachment: 105190 Committed r93789: <http://trac.webkit.org/changeset/93789>
Andrey Kosyakov
Comment 9 2011-08-25 08:48:01 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.