Merge pull request #8608 from topsteam/github-electron-loadurl-extraHeaders

github-electron loadURL updated
This commit is contained in:
Masahiro Wakame
2016-03-19 14:52:37 +09:00
+2
View File
@@ -415,6 +415,7 @@ declare namespace Electron {
loadURL(url: string, options?: {
httpReferrer?: string;
userAgent?: string;
extraHeaders?: string;
}): void;
/**
* Same with webContents.reload.
@@ -566,6 +567,7 @@ declare namespace Electron {
loadURL(url: string, options?: {
httpReferrer?: string;
userAgent?: string;
extraHeaders?: string;
}): void;
/**
* @returns The URL of current web page.