lynchpin4 / atom-browser-webview

provides a simple, tabbed, browser-like environment INSIDE of atom (beta) - using the <webview> tag
MIT License
19 stars 8 forks source link

Uncaught Error: Cannot call getTitle because the webContents is unavailable. The WebView must be ... #28

Open alexari opened 8 years ago

alexari commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.8.0 System: Ubuntu 14.04.4 Thrown From: atom-webbrowser package, v2.1.4

Stack Trace

Uncaught Error: Cannot call getTitle because the webContents is unavailable. The WebView must be attached to the DOM and the dom-ready event emitted before this method can be called.

At /usr/share/atom/resources/atom.asar/renderer/lib/web-view/web-view.js:412

Error: Cannot call getTitle because the webContents is unavailable. The WebView must be attached to the DOM and the dom-ready event emitted before this method can be called.
    at webview.getTitle (/usr/share/atom/resources/atom.asar/renderer/lib/web-view/web-view.js:412:15)
    at PageView.module.exports.PageView.getTitle (/home/ales/.atom/packages/atom-webbrowser/lib/page-view.coffee:42:22)
    at Page.module.exports.Page.getTitle (/home/ales/.atom/packages/atom-webbrowser/lib/page.coffee:22:24)
    at Page.module.exports.Page.getLongTitle (/home/ales/.atom/packages/atom-webbrowser/lib/page.coffee:24:21)
    at Workspace.module.exports.Workspace.updateWindowTitle (/usr/share/atom/resources/app.asar/src/workspace.js:262:77)
    at Workspace.updateWindowTitle (/usr/share/atom/resources/app.asar/src/workspace.js:3:61)
    at /usr/share/atom/resources/app.asar/src/workspace.js:220:17
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /usr/share/atom/resources/app.asar/src/pane-container.js:346:27
    at Pane.module.exports.Pane.observeActiveItem (/usr/share/atom/resources/app.asar/src/pane.js:223:7)
    at /usr/share/atom/resources/app.asar/src/pane-container.js:344:42
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at PaneContainer.module.exports.PaneContainer.setActivePane (/usr/share/atom/resources/app.asar/src/pane-container.js:196:22)
    at Pane.module.exports.Pane.activate (/usr/share/atom/resources/app.asar/src/pane.js:807:15)
    at Pane.module.exports.Pane.focus (/usr/share/atom/resources/app.asar/src/pane.js:234:21)
    at atom-pane.<anonymous> (/usr/share/atom/resources/app.asar/src/pane-element.js:50:23)

Commands

     -5:38.7.0 julia-client:settings (div.browser-page)
     -2:54.7.0 julia-client:open-a-repl (atom-text-editor.editor.is-focused)

Config

{
  "core": {}
}

Installed Packages

# User
atom-webbrowser, v2.1.4
harbour-plus, v8.6.1
ink, v0.4.4
julia-client, v0.4.7
language-harbour, v3.0.1
language-julia, v0.6.0
latex-completions, v0.3.1
linter, v1.11.11
linter-harbour, v6.6.0
tool-bar, v0.4.0
uber-juno, v0.1.1

# Dev
No dev packages