Joël Charles
0bcfae752e
feat: allow pages to override window.history.length ( #17742 )
...
* fix: allow pages to override window.history.length
* Update lib/renderer/window-setup.ts
Co-Authored-By: magne4000 <joel.charles91@gmail.com>
* fix: lint error
2019-12-16 11:14:27 +09:00
Jeremy Apthorp
8dfc896cfa
refactor: send the 'close' message asynchronously ( #20796 )
2019-10-30 13:13:01 -07:00
Milan Burda
b29f0b9348
refactor: use Map for windowProxies in window-setup.ts ( #20600 )
2019-10-17 15:07:27 +02:00
Milan Burda
81e9dab52f
refactor: replace ipcRendererUtils.invoke() with ipcRendererInternal.invoke() ( #19574 )
2019-08-23 15:45:50 -07:00
Milan Burda
8a33118e36
fix: refactoring regression in LocationProxy ( #19495 )
2019-07-29 11:20:19 -07:00
Milan Burda
c756b955b3
fix: revert use of IPC helpers for history due to failing test ( #19189 )
2019-07-11 20:25:07 +03:00
Milan Burda
419ce494e9
refactor: use IPC helpers in window-setup ( #17948 )
2019-07-09 02:43:49 +03:00
Jeremy Apthorp
291ee2dafc
refactor: use the URL api to resolve urls in window setup ( #18611 )
2019-06-05 10:21:06 -07:00
Samuel Attard
18acda7888
perf: lazily create the anchor tag used for URL resolving ( #18571 )
2019-06-03 01:04:21 -07:00
Milan Burda
af0ad4454e
refactor: add invoke helpers in window-setup ( #18233 )
2019-05-18 20:52:29 +02:00
Milan Burda
d597a0e8b0
refactor: expose ipcRendererInternal to the main world for window-setup using the content script world pattern ( #17591 )
2019-03-29 18:10:21 -07:00
ZYSzys
a40d826b11
chore: remove unused catch bindings ( #16121 )
2019-02-21 09:26:07 +00:00
Samuel Attard
3b74837020
refactor: Split 'Event' docs/types into more specific Event types ( #17038 )
...
* Event = Base event type (with preventDefault)
* IpcMainEvent = Event that ipcMain emits (with sender, reply, etc.)
* IpcRendererEvent = Event that ipcRenderer emits (with sender,
senderId, etc.)
* KeyboardEvent = Event that we emit with keyboard flags (ctrlKey,
altKey, etc.)
This will dramatically improve peoples TS experience with IPC events
2019-02-19 09:24:19 +00:00
Felix Rieseberg
2498e8d1c2
refactor: Port renderer-internal to TypeScript ( #16939 )
...
* chore: make aliasify work on .ts files as well
* refactor: Port ipc-renderer-internal to TypeScript
* refactor: Correctly import internal ipcRenderer
* refactor: One more rename
* refactor: Fix one more lint issue
* refactor: Correctly reference ipcRendererInternal
2019-02-14 17:24:25 -08:00
Felix Rieseberg
6cd75744ef
refactor: Port window-setup to TS ( #16894 )
...
* refactor: Port window-setup to TS
* refactor: Make the linter happy
* refactor: Sneaky little TS error
* refactor: Correctly import window-setup
* refactor: Implement feedback <3
* refactor: Allow decorators in TS
* refactor: Use named windowSetup in isolatedRenderer
* refactor: Help TS understand
* refactor: Welp, use createEvent again
* refactor: Use the correct target in the decorator
2019-02-14 03:52:38 -10:00