mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
browser(firefox): fix videoSessionId (#4374)
PRIx8 produced "%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx", so video session ids were clashing between pages, and popup videos did not work.
This commit is contained in:
parent
3db8b23b25
commit
06c8881dad
@ -1,2 +1,2 @@
|
||||
1203
|
||||
Changed: lushnikov@chromium.org Thu Nov 5 17:39:41 PST 2020
|
||||
1204
|
||||
Changed: dgozman@gmail.com Fri Nov 6 14:37:05 PST 2020
|
||||
|
||||
@ -73,7 +73,7 @@ nsresult generateUid(nsString& uid) {
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
for (int i = 0; i < kLen; i++) {
|
||||
uid.AppendPrintf("%" PRIx8, buffer[i]);
|
||||
uid.AppendPrintf("%02x", buffer[i]);
|
||||
}
|
||||
free(buffer);
|
||||
return rv;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user