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

Do not indicate to wombat that we are running inside a SW since we are not #294

Closed
wants to merge 1 commit into from

Conversation

benoit74
Copy link
Collaborator

This is a draft PR because while it allow to solve the problem in #293, it breaks youtube videos (and probably other things)

I don't really get yet why we used to indicate to wombat that we are running inside a Service Worker since we are not.

Git history is not very clear, and this was one of the undocumented option indicated to be solved in #239 ; @mgautierfr do you have any explanation to share?

I tested this with all test cases from the test website and they seems to all responded positively except the Youtube video.

Copy link

codecov bot commented May 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.72%. Comparing base (0219021) to head (49bb914).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #294   +/-   ##
=======================================
  Coverage   83.72%   83.72%           
=======================================
  Files          13       13           
  Lines        1223     1223           
  Branches      232      232           
=======================================
  Hits         1024     1024           
  Misses        153      153           
  Partials       46       46           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mgautierfr
Copy link
Contributor

do you have any explanation to share?

Not really. Some mix of copy/paste and "it was working".
BTW, I don't know what is the real impact on wombat when we set (or not) this config option.

@Jaifroid
Copy link

Jaifroid commented Jun 5, 2024

Speculation: The Replay Worker could be run either as a Service Worker or as a Web Worker. Is it possible that some URLs would be rewritten differently if they were intended to be caught by a Service Worker as opposed to being "sent" to a regular Worker?

@benoit74
Copy link
Collaborator Author

Superseeded by #334

@benoit74 benoit74 closed this Jun 25, 2024
@benoit74 benoit74 deleted the fix_iframe_blob_handling branch June 25, 2024 11:32
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.

3 participants