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]
This test is passes now on Qt. Closing bug.