Bug 66786

Summary: Web Inspector: LayoutTests/inspector/extensions/extensions-resources.html fails on Qt
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, yurys, zoltan
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Andrey Kosyakov 2011-08-23 10:35:42 PDT
The resource list we receive from webInspector.inspectedWindow.getResources() appears to be incomplete:

Started extension.
Running tests...
RUNNING TEST: extension_testGetAllResources
page resources:
{
    0 : {
        0 : {
            url : .../abe.png
            type : "image"
            getContent : <function>
            setContent : <function>
        }
        1 : {
            url : .../extensions-resources.html
            type : "document"
            getContent : <function>
            setContent : <function>
        }
        2 : {
            url : .../inspector-test.js
            type : "script"
            getContent : <function>
            setContent : <function>
        }
    }
}
RUNNING TEST: extension_testGetResourceContent
Uncaught exception in extension context: Failed to find a resource: /test-script\.js$/ [undefined:0]
Comment 1 Zoltan Horvath 2012-09-22 03:42:18 PDT
This test is passes now on Qt.
Closing bug.