Skip to content

core: remove pre-v10 compat for page graph construction#15948

Merged
connorjclark merged 1 commit intomainfrom
rm-backport-10
Apr 16, 2024
Merged

core: remove pre-v10 compat for page graph construction#15948
connorjclark merged 1 commit intomainfrom
rm-backport-10

Conversation

@connorjclark
Copy link
Copy Markdown
Collaborator

No description provided.


// COMPAT: Backport for pre-10.0 clients that don't pass the URL artifact here (e.g. pubads).
// Calculates the URL artifact from the processed trace and DT log.
const URL = data.URL || await DocumentUrls.request(data, context);
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.

This looks like the only usage of DocumentUrls, we can probably just remove it.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

its used in core/scripts/lantern/run-once.js

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