This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Using Live Preview in conjunction with the Inline Editor causes uncaught exceptions #536
Comments
There are two separate bugs here:
|
The "failed to load resources" error is an FOL. To establish a remote debugging connection, we try to get the JSON debugging information from port 9222, and handle any failures correctly in our code. These errors are expected and harmless. There is no way (that I could find) to suppress the error in the console. I found these related StackOverflow questions: |
This was referenced Aug 11, 2020
This was referenced Aug 27, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
1.) Have a page open in Live Mode (GoLive active)
2.) Open the Inline Editor with a class defined in multiple places (multiple results shown)
3.)Switch between the results
Result:
Developer Tool opens with errors -
A number of them stating "failed to load resource" pointing at localhost/json.
Following unhandled exception:
/C:/Users/pthiess/git/brackets-app/brackets/src/document/DocumentManager.js:394Uncaught Error: Document for this path already in _openDocuments!Document.addRef/C:/Users/pthiess/git/brackets-app/brackets/src/document/DocumentManager.js:394
Editor/C:/Users/pthiess/git/brackets-app/brackets/src/editor/Editor.js:218
_createEditorForDocument/C:/Users/pthiess/git/brackets-app/brackets/src/editor/EditorManager.js:108
createInlineEditorForDocument/C:/Users/pthiess/git/brackets-app/brackets/src/editor/EditorManager.js:255
InlineTextEditor.createInlineEditorFromText/C:/Users/pthiess/git/brackets-app/brackets/src/editor/InlineTextEditor.js:210
CSSInlineEditor.setSelectedRule/C:/Users/pthiess/git/brackets-app/brackets/src/editor/CSSInlineEditor.js:135
(anonymous function)/C:/Users/pthiess/git/brackets-app/brackets/src/editor/CSSInlineEditor.js:73
f.event.dispatchjquery-1.7.min.js:3
f.event.add.h.handle.i
The text was updated successfully, but these errors were encountered: