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

Add Page.executionContextForID #1009

Merged
merged 4 commits into from
Aug 23, 2023
Merged

Add Page.executionContextForID #1009

merged 4 commits into from
Aug 23, 2023

Commits on Aug 23, 2023

  1. Protect concurrent access to page.frameSessions

    Use a RWMutex as frameSessions could have concurrent accesses from
    attachFrameSession and also async event processing for the page.
    ka3de committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    b92263f View commit details
    Browse the repository at this point in the history
  2. Add FrameSession.executionContextForID

    Allows to look for an specific execution context in a given frame
    session. This is necessary in order to associate frame events (e.g.:
    consoleAPICalled) with their associated execution context.
    ka3de committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    4136588 View commit details
    Browse the repository at this point in the history
  3. Add Page.executionContextForID

    Allows to look for an specific execution context in all frames for a
    given page. This is necessary in order to associate events (e.g.:
    consoleAPICalled) with their execution context.
    ka3de committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    06e9596 View commit details
    Browse the repository at this point in the history
  4. Nolint for unused methods

    This is added temporarily until these methods are used in a related PR
    (see #1006).
    ka3de committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    783e843 View commit details
    Browse the repository at this point in the history