Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into rebornix/notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix committed Jan 9, 2020
2 parents 5a2811b + c8123de commit c226257
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const webviewId = 'myWebview';

const testDocument = join(vscode.workspace.rootPath || '', './bower.json');

suite.skip('Webview tests', () => {
suite('Webview tests', () => {
const disposables: vscode.Disposable[] = [];

function _register<T extends vscode.Disposable>(disposable: T) {
Expand Down
3 changes: 2 additions & 1 deletion src/vs/code/electron-main/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ export class CodeApplication extends Disposable {
webPreferences.nodeIntegration = false;

// Verify URLs being loaded
if (isValidWebviewSource(params.src) && isValidWebviewSource(webPreferences.preload)) {
// https://github.com/electron/electron/issues/21553
if (isValidWebviewSource(params.src) && isValidWebviewSource((webPreferences as { preloadURL: string }).preloadURL)) {
return;
}

Expand Down

0 comments on commit c226257

Please sign in to comment.