Skip to content

Chrome Packaged App: including UI elements in an application will show some errors #249

Description

@dinhvh

I created the following Chrome Packaged App:
https://github.com/dinhviethoa/polymer-simple
it's implementing the ui toolbar example in a Chrome Packaged App.

I had the following error in the javascript console:

Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self' chrome-extension-resource:". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
 deprecated.js:12
Uncaught InvalidCharacterError: Failed to call 'register' on 'Document' for type 'polymer-element': : 'polymer-element' is not a valid name. deprecated.js:12
Uncaught TypeError: Property 'Polymer' of object [object Object] is not a function build.js:29

Activity

  1. dinhvh commented on Aug 21, 2013

    @dinhvh
    Author
  2. dinhvh commented on Aug 21, 2013

    @dinhvh
    Author

    The consequence of those issues is that I can't see the polymer elements with their CSS styling and behavior.

  3. dfreedm commented on Aug 21, 2013

    @dfreedm
    Member

    Yep, it seems like that rev still needs to hit Chrome first.

  4. dfreedm commented on Aug 22, 2013

    @dfreedm
    Member

    Should be fixed in today's Canary build 218872.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions