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 ReferenceError: browser is not defined #51

Open keith-lie opened 2 years ago

keith-lie commented 2 years ago

Prerequisites

Description

Steps to Reproduce

Expected behavior:

Actual behavior:

Versions

Atom: 1.60.0 x64 Electron: 9.4.4 OS: Microsoft Windows 11 Pro Thrown From: atom-webbrowser package 2.1.4

Stack Trace

Uncaught ReferenceError: browser is not defined

At C:\Users\keith\.atom\packages\atom-webbrowser\lib\toolbar-view.coffee:33

ReferenceError: browser is not defined
    at ToolbarView.module.exports.ToolbarView.initialize (/packages/atom-webbrowser/lib/toolbar-view.coffee:33:36)
    at /packages/atom-webbrowser/node_modules/space-pen/lib/space-pen.js:184:25)
    at /packages/atom-webbrowser/lib/toolbar-view.coffee:8:7)
    at /packages/atom-webbrowser/lib/toolbar.coffee:10:20)
    at WebBrowser.newTabShowUI (/packages/atom-webbrowser/lib/web-browser.coffee:129:17)
    at /packages/atom-webbrowser/lib/web-browser.coffee:52:10)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:352694)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:351169)
    at AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:1:833412)
    at EventEmitter.t (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:1:841383)
    at EventEmitter.emit (events.js:223:5)
    at Object.onMessage (electron/js2c/renderer_init.js:115:818)

Commands

     -0:09.2.0 web-browser:newtab-showui (input.hidden-input)

Non-Core Packages

atom-clock 0.1.18 
atom-webbrowser 2.1.4 
Hydrogen 2.15.3 
teletype 0.13.4 

Additional Information