-
Notifications
You must be signed in to change notification settings - Fork 33
[N/A] Hook up event propagation for all browserview-related events #357
[N/A] Hook up event propagation for all browserview-related events #357
Conversation
Git
Asars used for testingTest results
|
|
Git
Asars used for testingTest results
|
src/api/events/window.ts
Outdated
| 'window-view-hidden': WindowEvent<Topic, Type>; | ||
| 'window-view-page-favicon-updated': WindowEvent<Topic, Type>; | ||
| 'window-view-page-title-updated': WindowEvent<Topic, Type>; | ||
| 'view-resource-load-failed': WindowResourceLoadFailedEvent<Topic, Type>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'window' is missing in the event name?
src/api/events/window.ts
Outdated
| 'window-view-page-favicon-updated': WindowEvent<Topic, Type>; | ||
| 'window-view-page-title-updated': WindowEvent<Topic, Type>; | ||
| 'view-resource-load-failed': WindowResourceLoadFailedEvent<Topic, Type>; | ||
| 'view-resource-response-received': WindowResourceResponseReceivedEvent<Topic, Type>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
| * window-start-load | ||
| * window-user-movement-disabled (see {@tutorial Window.EventEmitter}) | ||
| * window-user-movement-enabled (see {@tutorial Window.EventEmitter}) | ||
| * window-view-attached (see {@tutorial Window.EventEmitter}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * window-view-crashed (see {@tutorial BrowserView.EventEmitter}) | ||
| * window-view-created (see {@tutorial BrowserView.EventEmitter}) | ||
| * window-view-destroyed (see {@tutorial BrowserView.EventEmitter}) | ||
| * window-view-detached (see {@tutorial Window.EventEmitter}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All fixed. Thank you!
Git
Asars used for testingTest results
|
|
After talking with Pierre and Tommy, changed the eventing scheme to the following:
The tests have been updated to reflect these changes. |
Git
Asars used for testingTest results
|
Description of Change
This PR adds propagated events up to Application and System for BrowserView.
Tests:
https://testing-dashboard.openfin.co/#/app/sessions/api/completed/5da8b1ceee166d7a14d451bc
Corresponding core PR:
HadoukenIO/core#976
@aziz512 trying to add you as reviewer but it won't let me for some reason.
Checklist
npm testpassesRelease Notes
Notes: