[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core(page-functions): don't try to clone a ShadowRoot #9079

Merged
merged 9 commits into from
Jun 7, 2019
Prev Previous commit
Next Next commit
Update lighthouse-core/test/lib/page-functions-test.js
Co-Authored-By: Brendan Kenny <bckenny@gmail.com>
  • Loading branch information
NickolasBenakis and brendankenny committed Jun 4, 2019
commit 29b209db80da93469896224c56f48cb251c8d929
2 changes: 1 addition & 1 deletion lighthouse-core/test/lib/page-functions-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('Page Functions', () => {
), '<div id="1">');
});

it('should handle dom nodes that cannot be inspected', () => {
it('should handle dom nodes that cannot be cloned', () => {
const element = dom.createElement('div');
element.cloneNode = () => {
throw new Error('oops!');
Expand Down