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

Infer reproducibility through browser logs #12

Open
GJFR opened this issue Mar 21, 2024 · 1 comment
Open

Infer reproducibility through browser logs #12

GJFR opened this issue Mar 21, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@GJFR
Copy link
Member

GJFR commented Mar 21, 2024

Ideally, we would be able to infer the reproducibility of a bug, not only through sent requests, but also through browser logs.
This way, console.log() calls would be logged to a file that is readable by the worker container in which the browser runs.

However, this doesn't seem to be straightforward to implement, nor robust for all experiment scenarios.
For example, Chrome (and Firefox?) will not log console output when in incognito mode.

Current status (not implemented):

  • Chrome: logging works quite well if in --headless mode, up until +/- version 110. Using the new --headless=new for versions after 110 also doesn't seem to be robust (e.g., browser crashes or doesn't start properly).
  • Firefox: I still haven't figured out how to include console output in browser logs.

For now, this idea will be put into the freezer. However, it would be convenient to have another way of inferring reproducibility, other than requests / traffic.

@GJFR GJFR added the enhancement New feature or request label Mar 21, 2024
@GJFR
Copy link
Member Author

GJFR commented Aug 8, 2024

This should be a priority, based on discussions at Black Hat USA 2024.

Possible alternative: detection of alert()?

@GJFR GJFR self-assigned this Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant