Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.
This repository was 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

@kpreid

Description

@kpreid

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions