Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

error when dismissing notification bar for window crashes #11810

Closed
petemill opened this issue Nov 6, 2017 · 0 comments
Closed

error when dismissing notification bar for window crashes #11810

petemill opened this issue Nov 6, 2017 · 0 comments

Comments

@petemill
Copy link
Member

petemill commented Nov 6, 2017

Description

When causing a window crash, and opening a new window, a notification bar is shown stating 'An unexpected error has occurred and the window has been reloaded'. Clicking OK results in the console error:

TypeError: appActions.hideMessageBox is not a function
    at EventEmitter.notificationResponseCallback (/Users/petemill/Development/Brave/browser-laptop/app/browser/windows.js:172:26)
    at emitMany (events.js:132:20)
    at EventEmitter.emit (events.js:204:7)
    at WebContents.<anonymous> (/Users/petemill/Development/Brave/browser-laptop/node_modules/electron-prebuilt/dist/Brave.app/Contents/Resources/electron.asar/browser/api/web-contents.js:184:13)
    at emitTwo (events.js:106:13)
    at WebContents.emit (events.js:194:7)

Similar to the issue reported and fixed in #2617, looks like that introduced a code path which is not working now.

Brave Version

about:brave info:

Brave: 0.21.0
V8: 6.2.414.36
rev: master
Muon: 4.5.13
OS Release: 17.2.0
Update Channel:
OS Architecture: x64
OS Platform: macOS
Node.js: 7.9.0
Brave Sync: v1.4.2
libchromiumcontent: 62.0.3202.75

@petemill petemill added this to the Triage Backlog milestone Nov 6, 2017
@NejcZdovc NejcZdovc self-assigned this Nov 7, 2017
NejcZdovc added a commit to NejcZdovc/browser-laptop that referenced this issue Nov 8, 2017
Resolves brave#11810

Auditors:

Test Plan:
bbondy added a commit that referenced this issue Nov 8, 2017
bbondy added a commit that referenced this issue Nov 8, 2017
bbondy added a commit that referenced this issue Nov 8, 2017
bbondy added a commit that referenced this issue Nov 8, 2017
syuan100 pushed a commit to syuan100/browser-laptop that referenced this issue Nov 9, 2017
Resolves brave#11810

Auditors:

Test Plan:
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants