Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Providing HTML content but nowhere to put it gives a cryptic error #1999

Open
kpreid opened this issue Mar 23, 2016 · 0 comments
Open

Providing HTML content but nowhere to put it gives a cryptic error #1999

kpreid opened this issue Mar 23, 2016 · 0 comments

Comments

@kpreid
Copy link
Contributor

kpreid commented Mar 23, 2016

This code fails internally when it assumes that imports.document exists:

caja.load(undefined, uriPolicy, function(frame) {
  frame.code('guest.html', 'text/html', 'blah blah').run();
});

It should give a nice high-level error message instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant