Charlie Hess
b369d4991e
Write a spec for downloading from the webview tag.
2015-12-02 18:40:39 -08:00
Cheng Zhao
611f87d17f
spec: Use session.defaultSession in tests
2015-11-19 21:42:22 +08:00
Cheng Zhao
fbb8e61958
Replace "Url" in API names with "URL"
2015-11-13 16:03:40 +08:00
Cheng Zhao
1d1f911b09
Use require('electron') in Electron's code
2015-11-12 20:29:30 +08:00
Cheng Zhao
751af25f37
Use ipcMain in Electron's code
2015-11-10 16:04:34 +08:00
Cheng Zhao
6515a445a0
Use ipcRenderer in Electron's code
2015-11-10 15:29:43 +08:00
Haojian Wu
1879392c7b
Reimplement downloadItem.getFilename API.
...
Previously, the suggested file name(Always 'empty') returned by
'download_item->GetSuggestedFilename' is not the same with the default one saved
in local disk.
The patch reimplement this API allowing it to return the default file name, which
is more expected from user.
2015-09-24 16:39:02 +08:00
Haojian Wu
0861d5d44b
Redefine 'will-download' design.
2015-09-24 16:04:44 +08:00
Haojian Wu
5ef9c7e1a1
Add spec for download item.
2015-09-21 21:44:51 +08:00
Cheng Zhao
417e97eef0
spec: Don't reuse port in session spec
2015-07-24 15:49:19 +08:00
Cheng Zhao
346fb745f2
No need to actually create a page for cookie test
2015-07-14 09:14:22 -07:00
Cheng Zhao
020ccd8018
spec: Cookie test should not rely on cookie's count
...
Other apps can also write cookie to `file://` protocol.
2015-07-14 08:59:06 -07:00
Cheng Zhao
5708b7fbec
Fix the ill cookie test
2015-07-14 02:32:20 -07:00
Cheng Zhao
83e8ceceda
Fix session specs
2015-07-13 15:23:02 -07:00
Robo
628fb5f5e9
app: api to clear data from different storage types
2015-07-10 11:31:30 +05:30