On Sun, Jun 22, 2014 at 6:40 AM, <[email protected]> wrote:

> I'm getting the following errors in FF 30 console:
> The character encoding of the HTML document was not declared. The document
> will render with garbled text in some browser configurations if the
> document contains characters from outside the US-ASCII range. The character
> encoding of the page must be declared in the document or in the transfer
> protocol. host.html
> TypeError: mutating the [[Prototype]] of an object will cause your code to
> run very slowly; instead create the object with the correct initial
> [[Prototype]] value using Object.create ses-single-frame.js:3603
>
SES initialization ses-single-frame.js:969
> "Repaired: Non-deletable RegExp statics are a global communication
> channel" ses-single-frame.js:948
> "Repaired: Date.prototype is a global communication channel"
> ses-single-frame.js:948
> "Repaired: WeakMap.prototype is a global communication channel"
> ses-single-frame.js:948
> "Not repaired: Strict getter must not box this, but does"
> ses-single-frame.js:948
> "Not repaired: [[ThrowTypeError]] is not frozen" ses-single-frame.js:948
> "Not repaired: [[ThrowTypeError]] has normal function properties"
> ses-single-frame.js:948
> "Max Severity: Safe spec violation(1)." ses-single-frame.js:948
> "Repaired: WeakMap throws when given some keys" ses-single-frame.js:948
> "438 Apparently fine" ses-single-frame.js:948
> "123 Deleted" ses-single-frame.js:948
> "1 Frozen harmless" ses-single-frame.js:948
> "Max Severity: Safe spec violation(1)." ses-single-frame.js:948
> "initSES succeeded." ses-single-frame.js:948
>

All of this is fine.


> "Uncaught script error: Error: not loaded in source: "
> http://localhost:8000/presentation/data/player.js?B29519F1"; at line: 1"
> ses-single-frame.js:27119
>

This is the unfortunately-generic fetch-failed error.

The problem is that your URI policy provides a rewrite function but not a
fetch function. This means that Caja cannot execute external scripts.

You can use caja.policy.net.ALL instead of your uriPolicy object, or you
can add "fetch: caja.policy.net.fetcher.USE_XHR" to it; the latter will
skip using the Caja proxy server, which is fine as long as the scripts you
want to load are same-domain (or CORS-enabled) as they are in this example.


> "Uncaught script error: TypeError: PresentationPlayer is undefined in
> source: "http://localhost:8000/presentation/index.html"; at line: 1"
> ses-single-frame.js:27119
>

This is the consequence of the previous error.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to