-
Notifications
You must be signed in to change notification settings - Fork 217
Add user agent override list support. (fixes #488) #777
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this works well. many thanks for writing both this and the GV patch.
only question I have: how can we benchmark network load times before vs. after this UA Override code? how significant is the perf hit for both cache misses and hits?
app/src/common/shared/org/mozilla/vrbrowser/browser/UserAgentOverride.java
Outdated
Show resolved
Hide resolved
app/src/common/shared/org/mozilla/vrbrowser/browser/UserAgentOverride.java
Outdated
Show resolved
Hide resolved
app/src/common/shared/org/mozilla/vrbrowser/browser/UserAgentOverride.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to all work for me (functional test only, will leave code up to others!)
@cvan The only way I know is to get system time before and after the call to |
3d6047f
to
010928a
Compare
this looks good to go! excellent work 👍 |
app/src/common/shared/org/mozilla/vrbrowser/browser/UserAgentOverride.java
Show resolved
Hide resolved
010928a
to
7fa5922
Compare
@cvan, I think this is ready to land. Should I wait until you have time to update userAgentOverride.json? Or should that be a followup? |
to make which changes? you mean to add more exceptions? |
Yeah, I wasn't sure if this was the complete file or not. |
yep, that's the complete file - thanks for checking |
No description provided.