mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat(firefox): support Response.securityDetails() (#3997)
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports.addTests = function({testRunner, expect, defaultBrowserOptions, p
|
||||
delete state.page;
|
||||
});
|
||||
|
||||
describe_fails_ffox('Response.securityDetails', function() {
|
||||
describe('Response.securityDetails', function() {
|
||||
it('should work', async({page, httpsServer}) => {
|
||||
const response = await page.goto(httpsServer.EMPTY_PAGE);
|
||||
const securityDetails = response.securityDetails();
|
||||
@@ -63,7 +63,7 @@ module.exports.addTests = function({testRunner, expect, defaultBrowserOptions, p
|
||||
});
|
||||
});
|
||||
|
||||
it_fails_ffox('should work', async({page, httpsServer}) => {
|
||||
it('should work', async({page, httpsServer}) => {
|
||||
let error = null;
|
||||
const response = await page.goto(httpsServer.EMPTY_PAGE).catch(e => error = e);
|
||||
expect(error).toBe(null);
|
||||
|
||||
Reference in New Issue
Block a user