electron/spec
Cheng Zhao dd5b8769be fix: use OOPIF for webview tag ()
* fix: use OOIF for webview tag

* fix: do not call GetNativeView for webview

* fix: OOIPF webview's WebContents is managed by embedder frame

* fix: guest view can not be focused

* fix: clear zoom controller when guest is destroyed

* fix: implement the webview resize event

The webview is no longer a browser plugin with the resize event, use
ResizeObserver instead.

* test: disable failed tests due to OOPIF webview

* fix: embedder can be destroyed earlier than guest

This happens when embedder is manually destroyed.

* fix: don't double attach

* fix: recreate iframe when webview is reattached

* fix: resize event may happen very early

* test: some tests are working after OOPIF webview

* chore: remove unused browser plugin webview code

* fix: get embedder via closure

When the "destroyed" event is emitted, the entry in guestInstances would be
cleared.

* chore: rename browserPluginNode to internalElement

* test: make the visibilityState test more robust

* chore: guestinstance can not work with OOPIF webview

* fix: element could be detached before got response from browser
2018-08-16 15:57:40 -07:00
..
fixtures Fix flaky sandbox tests 2018-08-13 09:30:20 -07:00
static refactor: use env var to skip native module tests on win32/debug () 2018-08-01 13:33:13 +10:00
api-app-spec.js fix: re-enable mixed-sandbox tests 2018-08-12 21:29:29 -07:00
api-auto-updater-spec.js spec: update auto-updater spec to expect () 2018-06-16 00:28:28 -07:00
api-browser-view-spec.js spec: update browser-view spec to expect () 2018-06-17 15:56:04 -07:00
api-browser-window-affinity-spec.js spec: update browser-window-affinity spec to expect () 2018-06-17 15:36:30 -07:00
api-browser-window-spec.js Don't pass preloadPath via ELECTRON_BROWSER_SANDBOX_LOAD for security reasons () 2018-08-10 17:19:49 -05:00
api-callbacks-registry-spec.js spec: update callback registry spec to expect () 2018-06-17 15:08:17 -07:00
api-clipboard-spec.js spec: convert clipboard spec to use expect () 2018-06-17 14:47:51 -07:00
api-crash-reporter-spec.js Enable a few tests 2018-06-19 11:49:46 +10:00
api-debugger-spec.js Merge branch 'master' into expect-debugger-spec 2018-06-19 11:22:25 -04:00
api-deprecations-spec.js fix: deprecate properties in app.getAppMetrics() () 2018-06-26 23:47:01 -07:00
api-desktop-capturer-spec.js fix: create a window capturer correctly () 2018-07-17 14:20:50 +10:00
api-dialog-spec.js spec: convert dialog spec to expect () 2018-06-18 07:56:03 -07:00
api-global-shortcut-spec.js spec: convert IAP and GC specs to expect () 2018-06-18 09:50:37 -07:00
api-in-app-purchase-spec.js spec: convert IAP and GC specs to expect () 2018-06-18 09:50:37 -07:00
api-ipc-main-spec.js spec: convert ipc specs to expect () 2018-06-19 10:21:50 -05:00
api-ipc-renderer-spec.js spec: convert ipc specs to expect () 2018-06-19 10:21:50 -05:00
api-menu-item-spec.js spec: convert menu specs to expect () 2018-06-30 00:25:28 -07:00
api-menu-spec.js fix: make menu.popup options optional () 2018-08-08 17:38:52 -05:00
api-native-image-spec.js test: make nativeImage relative path test robust to different cwd 2018-08-01 15:19:26 -07:00
api-net-log-spec.js spec: convert smaller specs to expect 2018-06-28 15:40:30 -07:00
api-net-spec.js feat: netLog API for dynamic logging control () 2018-06-19 11:45:58 +10:00
api-notification-dbus-spec.js address feedback 2018-07-10 14:20:03 -07:00
api-notification-spec.js Add Notification tests 2018-02-10 03:19:47 -08:00
api-power-monitor-spec.js powerMontor crashes linux ia32, re-disable 2018-06-19 11:49:46 +10:00
api-power-save-blocker-spec.js Add initial power save blocker spec 2016-08-09 15:05:56 -07:00
api-process-spec.js feat: Add creationTime function to process () 2018-08-10 09:03:30 -05:00
api-protocol-spec.js reenable some specs 2018-01-02 16:37:08 +09:00
api-remote-spec.js perf: don't use JSON to send the result of ipcRenderer.sendSync. () 2018-06-13 17:38:31 +10:00
api-screen-spec.js remove screen.getMenuBarHeight spec 2018-03-05 20:10:34 -05:00
api-session-spec.js test: Better path compare than just strings () 2018-07-10 21:38:11 +10:00
api-shell-spec.js Explicitly skip tests that should be skipped 2017-11-20 14:43:23 +01:00
api-system-preferences-spec.js add loop to catch null values 2017-12-13 14:02:43 -05:00
api-touch-bar-spec.js update touch bar spec 2017-10-26 21:08:47 -04:00
api-view-spec.js add tests for View and WebContentsView 2018-05-21 10:53:09 +09:00
api-web-contents-spec.js chore: disable flaky isCurrentlyAudible test () 2018-08-07 14:23:48 -05:00
api-web-contents-view-spec.js add tests for View and WebContentsView 2018-05-21 10:53:09 +09:00
api-web-frame-spec.js fix: enable spell checking, which broke in upgrade to ch66 2018-07-11 10:27:56 -07:00
api-web-request-spec.js 🔧 Spec: Fix style issues 2017-11-23 14:22:58 -08:00
asar-spec.js fix: override fs.realpathSync.native and fs.realpath.native () 2018-08-12 00:10:55 -07:00
chromium-spec.js fix: use OOPIF for webview tag () 2018-08-16 15:57:40 -07:00
events-helpers.js spec: add helper functions for async/await tests 2018-06-19 13:27:43 +02:00
modules-spec.js re-enable native module tests 2018-06-19 11:49:46 +10:00
node-spec.js fix: util.promisify(setTimeout) () 2018-07-30 11:14:04 +10:00
package-lock.json test: Upgrade spec dependencies () 2018-06-20 17:18:24 +10:00
package.json test: Upgrade spec dependencies () 2018-06-20 17:18:24 +10:00
security-warnings-spec.js update signature for setCertificateVerifyProc in session spec 2018-05-29 10:54:27 -04:00
webview-spec.js fix: use OOPIF for webview tag () 2018-08-16 15:57:40 -07:00
window-helpers.js spec: refactor helper closeWindow() function () 2018-06-22 00:43:15 +10:00