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

chore: infrastructure for injecting scripts into DOMWorlds #8801

Merged
merged 1 commit into from Aug 17, 2022

Conversation

jrandolf
Copy link
Contributor

This PR removes the generated folder in favor of on-demand file generation. This includes improvements to the build system using a GNU Makefile-like scripts (job.ts) which drastically improves compilation speed.

This PR also adds the injected folder which contains scripts that will be executed in the puppeteer context. Within the injected folder, some Pollers which will be used in the upcoming refactoring of the wait tasks.

@jrandolf jrandolf requested a review from OrKoN August 17, 2022 11:40
versions.js Outdated Show resolved Hide resolved
@jrandolf jrandolf force-pushed the refactor_wfs branch 2 times, most recently from 4401ca8 to 1f4dd8d Compare August 17, 2022 11:42
src/common/Tracing.ts Outdated Show resolved Hide resolved
@jrandolf jrandolf force-pushed the refactor_wfs branch 6 times, most recently from d7c45ae to e23cee4 Compare August 17, 2022 12:08
@OrKoN OrKoN changed the title chore: see description chore: infrastructure for injecting scripts into DOMWorlds Aug 17, 2022
const node = predicateQueryHandler
? ((await predicateQueryHandler(root, selector)) as Element)
: root.querySelector(selector);
const node = (await predicateQueryHandler(root, selector)) as Element;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think predicateQueryHandler might undefined? If we are sure it's always there, let's update times in makePredicateString to not allow empty predicate query handlers

@jrandolf jrandolf merged commit bdcb748 into main Aug 17, 2022
@jrandolf jrandolf deleted the refactor_wfs branch August 17, 2022 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants