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

#390: Issues with the new timer recorder plugin for Chrome #440

Merged
merged 7 commits into from
Feb 12, 2024

Conversation

jowerner
Copy link
Contributor

Chrome Timer Recorder

XLT

  • made the usage of the session storage in the chrome timer recorder configurable (off by default)
  • handle new keep-alive messages by ignoring them
  • adjusted logging when receiving timer data

* upped minimum chrome version to 116 (see https://developer.chrome.com/docs/extensions/mv3/service_workers/service-worker-lifecycle/#chrome-116)
* installed a periodic task that sends a dummy message to XLT to keep the service worker alive
* made the usage of the session storage configurable (off by default)
* added a helper function to calculate the size of the request line
* minor optimizations
* added some useful logger functions

XLT
* made the usage of the session storage in the chrome timer recorder configurable (off by default)
* handle new keep-alive messages by ignoring them
* adjusted logging when receiving timer data
@jowerner jowerner linked an issue Nov 20, 2023 that may be closed by this pull request
@jowerner jowerner requested a review from h-arlt November 20, 2023 09:07
@jowerner
Copy link
Contributor Author

Some of the changes needs to be made for the FF timer recorder as well. Will do this when the review for the Chrome version is done.

@jowerner jowerner marked this pull request as draft November 29, 2023 14:08
@jowerner
Copy link
Contributor Author

Marked this PR as draft so it won't be merged accidentally before these steps are done:

  • Some of the changes need to be done also for the Firefox timer recorder after review for Chrome is complete.
  • Chrome extensions cannot be packaged right now because of a bug in Chrome 119. Once this is fixed, we need to undo the temporary zip-packaging.

@jowerner jowerner marked this pull request as ready for review February 2, 2024 12:35
@jowerner
Copy link
Contributor Author

jowerner commented Feb 2, 2024

Marked this PR as draft so it won't be merged accidentally before these steps are done:

* Some of the changes need to be done also for the Firefox timer recorder after review for Chrome is complete.

* Chrome extensions cannot be packaged right now because of a bug in Chrome 119. Once this is fixed, we need to undo the temporary zip-packaging.

To not delay the fixes for the Chrome timer recorder any further, we postpone the first point to #462. The second point is done.

@h-arlt h-arlt merged commit 42ab772 into develop Feb 12, 2024
@h-arlt h-arlt deleted the 390-Chrome-Manifest-v3-again branch February 12, 2024 15:04
xceptance-dan pushed a commit to xceptance-dan/XLT that referenced this pull request Apr 18, 2024
…ceptance#440)

* Revert "Revert "GH Xceptance#141: Timerrecorder extension: migrate to manifest v3 (Xceptance#244)""

This reverts commit 7549bfa.

* small bug fixes and improvements

* temporarily use zip to pack the extension until the bug in Chrome 119 is fixed

* Chrome Timer Recorder
* upped minimum chrome version to 116 (see https://developer.chrome.com/docs/extensions/mv3/service_workers/service-worker-lifecycle/#chrome-116)
* installed a periodic task that sends a dummy message to XLT to keep the service worker alive
* made the usage of the session storage configurable (off by default)
* added a helper function to calculate the size of the request line
* minor optimizations
* added some useful logger functions

XLT
* made the usage of the session storage in the chrome timer recorder configurable (off by default)
* handle new keep-alive messages by ignoring them
* adjusted logging when receiving timer data

* feedback from reviewer

* feedback from reviewer

Co-authored-by: h-arlt <[email protected]>

* Revert "temporarily use zip to pack the extension until the bug in Chrome 119 is fixed"

This reverts commit 53d03e5.

---------

Co-authored-by: h-arlt <[email protected]>
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.

Issues with the new timer recorder plugin for Chrome
2 participants