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.