Access to restricted URI denied

I cannot get past this error in runtime in the browser. I've got an html page running dojo and related javascript in it and every time I try to load the page, I get this in my Firebug console:

Here's an example of the URI that webstorm is debugging in the browser: file:///C:/..../js/srcore/tests/dependent/testData.html

Error: timeout makeError()dojo.js (line 106) startTimer/timerId<()dojo.js (line 1500)

return mix(new Error(error), {src:"dojoLoader", info:info});

referring to this line in the core dojo.js library:

...
    </script>
</head>
<body >
    <div >Dependent Fields Data Test</div>
    <div id="container" data-dojo-type="gt.widget.HtmlContainer">
    </div>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Unit Test</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <script type="text/javascript" src="../config-tests.js"></script>
    <script type="text/javascript" src="../../../toolkit/dojo/dojo.js"></script>
    <script type="text/javascript">
        require
        ([
            "dojo/ready",
            "dojo/on",
            "doh/runner",
            "gt/mvc/MvcInitializer",
            "gt/widget/HtmlContainer",
            "gt/util/runModeUtil",
            "gt/sub/topic",
            "gt/sub/coreTopics",
            "gt/tests/employee/employeeData"
        ], function (ready, on, runner, MvcInitializer, HtmlContainer, runModeUtil, topic, coreTopics, dependentData)
        {
            ready(function() 
            {
                var _topicHandle = null;

Now (update) I'm also seeing errors like this when I run my .htm page in firefox:

Error in parsing value for 'font'.  Declaration dropped. C:/.../js/toolkit/dojox/widget/Toaster/Toaster.css:42 
Error: [Exception... "Access to restricted URI denied"  code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location: "file:///C:/.../js/toolkit/dojo/_base/xhr.js Line: 735"] 
Error: [Exception... "Access to restricted URI denied"  code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location: "file:///C:/..../js/toolkit/dojo/_base/xhr.js Line: 735"] 
Error: [Exception... "Access to restricted URI denied"  code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location: "file:///C:/..../js/toolkit/dojo/_base/xhr.js Line: 735"] 
Error: [Exception... "Access to restricted URI denied"  code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location: "file:///C:/.../js/toolkit/dojo/_base/xhr.js Line: 735"] 
Error: [Exception... "Access to restricted URI denied"  code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location: "file:///C:/.../js/toolkit/dojo/_base/xhr.js Line: 735"] 
Error: [Exception... "Access to restricted URI denied"  code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location: "file:///C:/..../js/toolkit/dojo/_base/xhr.js Line: 735"] 
Error: timeout 
src: dojoLoader 
info: [object Object] 
fileName: file:///C:/...../js/toolkit/dojo/dojo.js 
lineNumber: 106 
columnNumber: 3 
. 
Key event not available on some keyboard layouts: key="b" modifiers="accel,alt"

Please sign in to leave a comment.