[Webkit-unassigned] [Bug 89517] New: Web Inspector: ExtensionPanel.onSearch listener doesn't work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 19 15:18:33 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=89517

           Summary: Web Inspector: ExtensionPanel.onSearch listener
                    doesn't work
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: https://code.google.com/p/chromium/issues/detail?id=12
                    4800
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: janx at chromium.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


Cross-report from https://code.google.com/p/chromium/issues/detail?id=124800

Reported by kdzwinel, Apr 24, 2012
Chrome Version       : 18.0.1025.162 (Official Build 131933)
URLs (if applicable) :
Other browsers tested:

What steps will reproduce the problem?
1. Create an extension that adds new panel to Developer Tools:

chrome.devtools.panels.create("xxx", "img/icon_24.png", "xxx.html", function(panel) { //here goes code from point 2});

2. Set onSearch listener for given panel:

panel.onSearch.addListener(function(action, queryString) {console.log('eZTemplates onSearch ' + queryString);});

3.Load extension, open Developer Tools, navigate to new panel, enter text in search box (top right)

What is the expected result?
Our listener function should be fired.

What happens instead?
Listener function is never fired.


Please provide any additional information below. Attach a screenshot if
possible.

Bug appears on both Linux and Windows. Other listeners (onShow, onHidden) declared in the same way in the same chrome.devtools.panels.create callback work as expected.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list