incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Commented] (CB-1476) Failed to load resource: file:///!gap_exec
Date Fri, 21 Sep 2012 15:05:08 GMT


Andrew Grieve commented on CB-1476:

You can still try out the iframe-based bridge by adding:

var exec = cordova.require('cordova/exec');

I suspect the LocalFileSystem not working is separate from this issue, and should be filed
as a separate bug (repro steps, expected, actual)
> Failed to load resource: file:///!gap_exec
> ------------------------------------------
>                 Key: CB-1476
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: iOS 6 GM, Safari 6 Web Inspector
>            Reporter: Joseph Farfel
>            Assignee: Andrew Grieve
>            Priority: Minor
>              Labels: safari, web-inspector
> Whenever I run cordova.exec with an empty command queue, I get this error in the new
iOS 6 Web Inspector in Safari:
> {color:red}file:///!gap_exec  Failed to load resource: The requested URL was not found
on this server.{color}
> It's caused by this XMLHttpRequest:
> {code:title=cordova-2.1.0.js (line 974)}
>'HEAD', "file:///!gap_exec", true);
> {code}
> Looks like the Obj-C code hears this request as a signal to begin executing the command
queue, but it doesn't return a success response, so Web Inspector complains about not being
able to load the resource.
> It doesn't seem to affect functionality, but it sure is annoying to have all those "failed
to load resource" errors in the console.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message