electron/docs/api
Jeremy Apthorp 2fad53e66b refactor: use v8 serialization for ipc (#20214)
* refactor: use v8 serialization for ipc

* cloning process.env doesn't work

* serialize host objects by enumerating key/values

* new serialization can handle NaN, Infinity, and undefined correctly

* can't allocate v8 objects during GC

* backport microtasks fix

* fix compile

* fix node_stream_loader reentrancy

* update subframe spec to expect undefined instead of null

* write undefined instead of crashing when serializing host objects

* fix webview spec

* fix download spec

* buffers are transformed into uint8arrays

* can't serialize promises

* fix chrome.i18n.getMessage

* fix devtools tests

* fix zoom test

* fix debug build

* fix lint

* update ipcRenderer tests

* fix printToPDF test

* update patch

* remove accidentally re-added remote-side spec

* wip

* don't attempt to serialize host objects

* jump through different hoops to set options.webContents sometimes

* whoops

* fix lint

* clean up error-handling logic

* fix memory leak

* fix lint

* convert host objects using old base::Value serialization

* fix lint more

* fall back to base::Value-based serialization

* remove commented-out code

* add docs to breaking-changes.md

* Update breaking-changes.md

* update ipcRenderer and WebContents docs

* lint

* use named values for format tag

* save a memcpy for ~30% speedup

* get rid of calls to ShallowClone

* extra debugging for paranoia

* d'oh, use the correct named tags

* apparently msstl doesn't like this DCHECK

* funny story about that DCHECK

* disable remote-related functions when enable_remote_module = false

* nits

* use EnableIf to disable remote methods in mojom

* fix include

* review comments
2019-10-09 13:59:08 -04:00
..
modernization docs: Fix process.enablePromiseAPI typo in promisification.md (#19576) 2019-08-05 10:19:48 +09:00
structures feat: allow inspection of specific shared workers (#20389) 2019-10-02 14:38:27 +02:00
accelerator.md
app.md feat: add --enable-api-filtering-logging commandline switch (#20335) 2019-10-04 10:49:09 -07:00
auto-updater.md docs: remove implicit 'any' and 'Object' types from the docs (#19585) 2019-08-05 10:45:58 -07:00
breaking-changes-ns.md docs: documentation of NetworkService-based protocol module (#18952) 2019-06-28 16:25:30 +09:00
breaking-changes.md refactor: use v8 serialization for ipc (#20214) 2019-10-09 13:59:08 -04:00
browser-view.md feat: add getBounds() method for BrowserView (#19370) 2019-07-29 19:43:05 -07:00
browser-window-proxy.md refactor: use IPC helpers in window-setup (#17948) 2019-07-09 02:43:49 +03:00
browser-window.md fix: BrowserWindow.fromWebContents() can return null (#19983) 2019-09-27 13:07:55 +02:00
client-request.md docs: remove implicit 'any' and 'Object' types from the docs (#19585) 2019-08-05 10:45:58 -07:00
clipboard.md docs: improve and add examples for clipboard (#20224) 2019-09-18 16:00:43 -07:00
command-line-switches.md feat: add --enable-api-filtering-logging commandline switch (#20335) 2019-10-04 10:49:09 -07:00
command-line.md feat: add --enable-api-filtering-logging commandline switch (#20335) 2019-10-04 10:49:09 -07:00
content-tracing.md docs: remove implicit 'any' and 'Object' types from the docs (#19585) 2019-08-05 10:45:58 -07:00
cookies.md docs: fix spelling and grammar errors (#18910) 2019-06-21 16:19:21 -05:00
crash-reporter.md docs: remove implicit 'any' and 'Object' types from the docs (#19585) 2019-08-05 10:45:58 -07:00
debugger.md docs: remove implicit 'any' and 'Object' types from the docs (#19585) 2019-08-05 10:45:58 -07:00
desktop-capturer.md build: move to the new docs parser (#18103) 2019-05-06 08:29:01 -07:00
dialog.md docs: add mising return desc (#19778) 2019-08-16 09:24:17 -07:00
dock.md docs: clarify dock.bounce usage (#19894) 2019-08-23 01:16:18 -07:00
download-item.md doc: improve EventEmitter md formatting (#19345) 2019-07-22 08:20:43 -07:00
environment-variables.md
file-object.md
frameless-window.md
global-shortcut.md
in-app-purchase.md docs: ensure that optionality matches between documented params and signatures (#18613) 2019-06-04 14:03:24 -07:00
incoming-message.md docs: remove implicit 'any' and 'Object' types from the docs (#19585) 2019-08-05 10:45:58 -07:00
ipc-main.md docs: update link to webContents.send (#19608) 2019-08-05 20:58:06 -07:00
ipc-renderer.md refactor: use v8 serialization for ipc (#20214) 2019-10-09 13:59:08 -04:00
locales.md
menu-item.md doc: add missing MenuItem roles (#19329) 2019-07-31 14:13:56 -07:00
menu.md docs: fix undefined isMac in menu example (#19071) 2019-07-02 10:09:10 -05:00
native-image.md docs: fix punctuation errors in native-image.m (#19620) 2019-08-19 15:15:13 -07:00
native-theme.md fix: don't expose nativeTheme in the renderer process (#20139) 2019-09-16 14:23:13 -07:00
net-log.md feat: add --enable-api-filtering-logging commandline switch (#20335) 2019-10-04 10:49:09 -07:00
net.md docs: remove implicit 'any' and 'Object' types from the docs (#19585) 2019-08-05 10:45:58 -07:00
notification.md feat: allow Linux/Windows users to set notification timeout (#20153) 2019-10-09 11:22:21 -04:00
power-monitor.md chore: remove deprecated APIs (#18159) 2019-05-09 14:48:10 -04:00
power-save-blocker.md
process.md docs: add support for readonly,deprecated and platform doc annotations (#19478) 2019-07-26 16:12:59 -07:00
protocol-ns.md docs: documentation of NetworkService-based protocol module (#18952) 2019-06-28 16:25:30 +09:00
protocol.md docs: remove implicit 'any' and 'Object' types from the docs (#19585) 2019-08-05 10:45:58 -07:00
remote.md docs: add support for readonly,deprecated and platform doc annotations (#19478) 2019-07-26 16:12:59 -07:00
sandbox-option.md refactor: bundle the browser and renderer process electron code (#18553) 2019-06-02 13:03:03 -07:00
screen.md docs: add exemplary fiddle for launch in fiddle feat (#19759) 2019-08-15 15:37:37 -07:00
session.md feat: add session.downloadURL() (#19889) 2019-08-28 20:27:20 -07:00
shell.md feat: macOS removal fallback when moveItemToTrash fails (#19700) 2019-08-13 12:31:53 -07:00
synopsis.md
system-preferences.md feat: add new nativeTheme API (#19656) 2019-08-14 13:42:55 -07:00
touch-bar-button.md feat: improve TouchBarButton accessibility (#20454) 2019-10-08 11:13:57 -04:00
touch-bar-color-picker.md
touch-bar-group.md
touch-bar-label.md feat: improve TouchBarButton accessibility (#20454) 2019-10-08 11:13:57 -04:00
touch-bar-popover.md docs: fix TouchBar related documentation (#19444) 2019-08-01 10:59:26 -04:00
touch-bar-scrubber.md docs: fix TouchBar related documentation (#19444) 2019-08-01 10:59:26 -04:00
touch-bar-segmented-control.md docs: fix TouchBar related documentation (#19444) 2019-08-01 10:59:26 -04:00
touch-bar-slider.md
touch-bar-spacer.md docs: fix TouchBar related documentation (#19444) 2019-08-01 10:59:26 -04:00
touch-bar.md test: move the TouchBar specs to the main process (#19413) 2019-07-25 11:30:42 -07:00
tray.md feat: add tray.focus() (#19548) 2019-08-09 07:43:48 -07:00
web-contents.md refactor: use v8 serialization for ipc (#20214) 2019-10-09 13:59:08 -04:00
web-frame.md docs: add support for readonly,deprecated and platform doc annotations (#19478) 2019-07-26 16:12:59 -07:00
web-request.md test: move webRequest spec to main runner (#19992) 2019-08-28 13:56:15 -07:00
webview-tag.md docs: remove implicit 'any' and 'Object' types from the docs (#19585) 2019-08-05 10:45:58 -07:00
window-open.md