Граф коммитов

82 Коммитов

Автор SHA1 Сообщение Дата
Kevin Sawicki d2d11ce8bd Invoke callback instead of returning 2016-06-28 13:04:59 -07:00
Kevin Sawicki 2fe83bc5f0 Add failing spec for no specified storage keys 2016-06-28 13:01:51 -07:00
Cheng Zhao 090c8b89bb spec: Make beginFrameSubscription test more reliable 2016-06-26 11:53:58 +09:00
Heilig Benedek 5118def724 damaged -> dirty rename, fixed misc issues, changed signature, updated docs and added tests 2016-06-25 18:23:40 +02:00
Cheng Zhao e33e4be257 macOS: Use sheet window as modal window 2016-06-20 14:49:24 +09:00
Cheng Zhao f4bec78ccb linux: Implement win.setParentWindow(parent) 2016-06-20 11:16:41 +09:00
Cheng Zhao a6c4bf098b spec: Avoid calling setParentWindow for unrelated tests 2016-06-20 11:16:41 +09:00
Cheng Zhao 85ba382027 Add "parent" option for BrowserWindow 2016-06-20 11:16:41 +09:00
Cheng Zhao 2c5f4aadfb spec: Test cases for win.setModal(modal) 2016-06-20 11:16:41 +09:00
Cheng Zhao 214dd97165 spec: Test cases for parent window 2016-06-20 11:16:41 +09:00
Leonard Lamprecht 67dd19ed0f Replace OS X and Mac OS with macOS 2016-06-18 15:26:26 +02:00
Kevin Sawicki b6f87574ee Reset icon and clear progress bar 2016-06-16 15:01:37 -07:00
Kevin Sawicki 52525ef6bc Add failing spec for icon progress crash 2016-06-16 14:57:07 -07:00
Cheng Zhao 853d7b1b79 Merge pull request #5965 from electron/installed-extension-api
Add BrowserWindow.getDevToolsExtensions API
2016-06-13 00:45:58 +00:00
Jessica Lord c68ca16148 Merge pull request #5974 from electron/chrome-storage-sync
Add chrome.storage.sync and chrome.storage.get APIs
2016-06-10 12:20:03 -07:00
Kevin Sawicki 1f245d5ff6 Add getDevToolsExtensions API 2016-06-10 09:26:38 -07:00
Kevin Sawicki 0a26075699 Add BrowserWindow.isDevToolsExtensionInstalled API 2016-06-10 09:24:04 -07:00
Cheng Zhao ccaf837da4 Merge pull request #5964 from electron/manifest-errors
Throw errors reading/parsing manifest.json files
2016-06-10 03:28:57 +00:00
Jessica Lord 8fa4d66a5e Remove .only from spec 2016-06-09 16:39:42 -07:00
Jessica Lord f121f46a24 Merge branch 'master' into chrome-storage-sync 2016-06-09 16:35:00 -07:00
Jessica Lord d6b108b272 Add spec 2016-06-09 14:14:20 -07:00
Jessica Lord 0ed10658a3 Add spec 2016-06-09 13:57:51 -07:00
Kevin Sawicki d1ac5dd29b Add specs for manifest.json read/parse error 2016-06-09 09:44:49 -07:00
deepak1556 b91217f29e emit once for each session and add spec 2016-06-09 10:40:51 +05:30
Kevin Sawicki 4f7bde38a9 Assert on tab id as well 2016-06-08 12:00:13 -07:00
Kevin Sawicki d6311daea3 Add failing spec for chrome.runtime.id 2016-06-06 14:41:55 -07:00
Daniel Pham 34af9794a2 Add test for 'setAspectRatio(0)' 2016-05-29 08:47:42 -04:00
Cheng Zhao fa0ce7ad5f Adjust to the new behaviors of beforeunload handler 2016-05-23 14:27:39 +09:00
deepak1556 c9b314d43c renderer: generate net error strings when requested 2016-05-21 10:21:15 +05:30
Kevin Sawicki cee31ff67a Remove semicolon 2016-05-17 16:42:37 -07:00
Kevin Sawicki 9266f9abfc Update interval id variable name 2016-05-17 16:42:21 -07:00
Kevin Sawicki f95c46d987 Show last panel by id 2016-05-17 16:40:34 -07:00
Kevin Sawicki 13cfc2d2a0 Add comment about panel switching via input event 2016-05-17 15:05:58 -07:00
Kevin Sawicki 8d0c5c30b8 Use consistent function styles 2016-05-17 15:05:27 -07:00
Kevin Sawicki 0b4b79d0a4 Use control on non-mac platforms 2016-05-17 15:01:32 -07:00
Kevin Sawicki 7db2601ea8 DRY up specs 2016-05-17 14:59:33 -07:00
Kevin Sawicki 77b074fbad Add spec for undocked devtools 2016-05-17 14:56:00 -07:00
Kevin Sawicki 189380d4ea Add spec for devtools extension 2016-05-17 14:52:45 -07:00
Kevin Sawicki 58473f41ab Remove deprecated BrowserWindow options specs 2016-05-06 10:12:54 -07:00
Cheng Zhao 214eb0430c Fix a few failing tests on Windows 2016-04-30 18:21:18 +09:00
deepak1556 4e6b148eaa webContents: fix executejavascript when called before page load 2016-04-28 01:54:08 +05:30
Rob Brackett d3e879cd7f Change `WebContents::IsLoadingMainFrame` to compare SiteInstances
(per @deepak1556's recommendation)

Also updates tests to cover the situation where navigating between pages from the same potential "site" and adds generalized tests for `isLoadingMainFrame()`.
2016-04-19 22:05:09 -07:00
Rob Brackett 3a9bbe30ac Test for #5183 - webContents.executeJavaScript hangs on subframe load. 2016-04-18 10:33:56 -07:00
Cheng Zhao 65c612a66d Avoid external URLs 2016-04-13 19:55:59 +09:00
Cheng Zhao 0a39449694 spec: loadUrl should not crash in did-fail-provisional-load handler 2016-04-13 19:39:11 +09:00
Rob Brackett c1b1348735 Add `resourceType` arg to webContents `did-get-response-details` event.
Fixes #5074 and follows @zcbenz's recommendation to expose ResourceTypeToString from atom_network_delegate publicly.
Also adds testing for other arguments to the `did-get-response-details` events, since there were no existing tests for them.
2016-04-08 11:19:36 -07:00
Rob Brackett f12f87d6f0 Add `isMainFrame` as last argument to WebContents `did-fail-load` event.
Fixes #5013.
2016-04-04 19:26:06 -07:00
Zeke Sikelianos b5afad9da7 avoid using eslint comment exceptions 2016-03-30 17:00:34 -07:00
Zeke Sikelianos cfdfdc8ccc standardize by hand 2016-03-30 17:00:33 -07:00
Zeke Sikelianos f35f362272 autoformat more files 2016-03-30 17:00:31 -07:00