electron/spec/static
trop[bot] 02b1069fd8 fix: Invalidate weak ptrs before window Javascript object is destroyed (backport: 3-0-x) (#14591)
* fix: Invalidate weak ptrs before window Javascript object is destroyed

* chore: add regression test for #14513

This test is similar to the original gist at https://gist.github.com/bpasero/a02a645e11f4946dcca1331d0299149d -- the key is to open multiple windows and add an `app.on('browser-window-focus') listener that accesses window.id.

* fix: last commit didn't test the right thing.

The test needs to run in the main process to reproduce the
conditions reported in #14513
2018-09-12 15:22:05 -05:00
..
index.html chore(tests): allow usage of deprecated APIs in tests (#13862) 2018-07-30 15:02:59 +10:00
jquery-2.0.3.min.js Flatten spec files, make them seem cleaner. 2013-12-06 22:23:02 +08:00
main.js fix: Invalidate weak ptrs before window Javascript object is destroyed (backport: 3-0-x) (#14591) 2018-09-12 15:22:05 -05:00