electron/spec
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
..
configs ci: run more Chromium unit tests (#15363) 2018-10-25 14:28:50 -04:00
fixtures refactor: use v8 serialization for ipc (#20214) 2019-10-09 13:59:08 -04:00
static test: remove 'remote' usage from process tests (#20418) 2019-10-04 13:58:44 -07:00
ts-smoke feat: add --enable-api-filtering-logging commandline switch (#20335) 2019-10-04 10:49:09 -07:00
.eslintrc chore: replace standard with eslint-config-standard and add custom rules (#14636) 2018-09-16 03:51:23 +10:00
BUILD.gn ci: run unittests on clean Chromium (#15125) 2018-10-22 16:12:19 -04:00
api-clipboard-spec.js chore: update to standard 12 2018-09-14 14:57:01 +10:00
api-crash-reporter-spec.js ci: enable crashReporter tests on mac (#19582) 2019-10-02 17:53:51 -07:00
api-debugger-spec.js chore: remove promisification deprecation callbacks (#17907) 2019-04-30 07:08:32 -07:00
api-native-image-spec.js refactor: make templateImage a property on nativeImage (#18124) 2019-05-07 06:52:07 -07:00
api-process-spec.js test: remove 'remote' usage from process tests (#20418) 2019-10-04 13:58:44 -07:00
api-remote-spec.js refactor: use v8 serialization for ipc (#20214) 2019-10-09 13:59:08 -04:00
api-shell-spec.js test: remove usage of remote in shell.openExternal test (#20101) 2019-09-04 11:12:31 -07:00
api-web-frame-spec.js fix: contractions handling in spellchecker (#18506) 2019-05-30 21:19:10 -07:00
asar-spec.js fix: allow paths to asar archives to contain the .asar extension in directories (#20342) 2019-10-02 13:33:07 +09:00
chromium-spec.js fix: resolve crash loading file based serviceworkers (#20132) 2019-09-06 10:01:22 +09:00
events-helpers.js fix: we can not use ts-node apaprently 2019-03-14 13:39:53 -07:00
expect-helpers.js chore: finish replacing assert with expect in tests (#18215) 2019-05-20 12:04:18 -05:00
modules-spec.js test: remove ffi specs (#19661) 2019-08-07 11:41:56 -07:00
node-spec.js test: remove usage of remote module from node tests (#20103) 2019-09-20 10:41:40 -04:00
package.json test: tsify powerMonitor spec (#19963) 2019-08-28 13:54:50 -07:00
spec-helpers.js build: add enable_remote_module build flag (#19821) 2019-09-18 09:52:06 -07:00
webview-spec.js refactor: use v8 serialization for ipc (#20214) 2019-10-09 13:59:08 -04:00
window-helpers.js test: move beforeunload tests to main runner and fix flake (#18432) 2019-05-29 13:38:14 -07:00
yarn.lock test: tsify powerMonitor spec (#19963) 2019-08-28 13:54:50 -07:00