jQuery UI Widgets Forums Layouts Splitter Uncaught SecurityError: Failed to read the 'frame' property from 'Window'

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • error
    Participant

    I am attempting to use jqxSplitter in a Chrome devtools extension. It always crashes when it reaches the following line:

    if (document.referrer != "" || window.frameElement) {

    The error is: jqxsplitter.js:7 Uncaught SecurityError: Failed to read the 'frame' property from 'Window': Blocked a frame with origin "chrome-extension://amnmfnameopfjibbamlnkmjdflkohpgl" from accessing a frame with origin "chrome-devtools://devtools". The frame requesting access has a protocol of "chrome-extension", the frame being accessed has a protocol of "chrome-devtools". Protocols must match.

    I think it could be resolved simply by wrapping this property access in a try { } catch( ex ) { }.

    As a workaround, I have tried moving my extension into an iframe. This causes jqxSplitter to work property, however, I cannot access the Chrome extension API from within this frame.


    Peter Stoev
    Keymaster

    Hi error,

    Thank you for the feedback. We will investigate the reported behavior.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.