Bug 66786 - Web Inspector: LayoutTests/inspector/extensions/extensions-resources.html fails on Qt
Summary: Web Inspector: LayoutTests/inspector/extensions/extensions-resources.html fai...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Andrey Kosyakov
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2011-08-23 10:35 PDT by Andrey Kosyakov
Modified: 2012-09-22 03:42 PDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.