Skip to content

tests(lantern): remove usage of computed PageDependencyGraph#16063

Merged
connorjclark merged 1 commit intomainfrom
lantern-no-computed-graph
Jun 11, 2024
Merged

tests(lantern): remove usage of computed PageDependencyGraph#16063
connorjclark merged 1 commit intomainfrom
lantern-no-computed-graph

Conversation

@connorjclark
Copy link
Copy Markdown
Collaborator

ref #15841

@connorjclark connorjclark requested a review from a team as a code owner June 11, 2024 21:12
@connorjclark connorjclark requested review from adamraine and removed request for a team June 11, 2024 21:12
@connorjclark connorjclark changed the title core(tests): remove usage of computed PageDependencyGraph core(tests): remove usage of computed PageDependencyGraph in Lantern Jun 11, 2024
import * as TraceEngineComputationData from '../../../../lib/lantern/trace-engine-computation-data.js';
import {polyfillDOMRect} from '../../../../lib/polyfill-dom-rect.js';

polyfillDOMRect();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the purpose of this? Why wasn't it necessary before?

Copy link
Copy Markdown
Collaborator Author

@connorjclark connorjclark Jun 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trace engines uses browser globals

before something was importing computed trace engine artifact which calls this

this thing shouldn't last long will get removed inside trace engine migration

@connorjclark connorjclark changed the title core(tests): remove usage of computed PageDependencyGraph in Lantern tests(lantern): remove usage of computed PageDependencyGraph Jun 11, 2024
@connorjclark connorjclark merged commit 4285e05 into main Jun 11, 2024
@connorjclark connorjclark deleted the lantern-no-computed-graph branch June 11, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants