mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
Fix navigation to about:blank
This patch fixes navigation to about:blank url.
This commit is contained in:
@@ -443,6 +443,10 @@ describe('Puppeteer', function() {
|
||||
});
|
||||
|
||||
describe('Page.navigate', function() {
|
||||
it('should navigate to about:blank', SX(async function() {
|
||||
let response = await page.navigate('about:blank');
|
||||
expect(response).toBe(null);
|
||||
}));
|
||||
it('should fail when navigating to bad url', SX(async function() {
|
||||
let error = null;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user