Skip to content

Commit 06c8881

Browse files
authored
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.
1 parent 3db8b23 commit 06c8881

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

browser_patches/firefox/BUILD_NUMBER

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1203
2-
Changed: [email protected] Thu Nov 5 17:39:41 PST 2020
1+
1204
2+
Changed: [email protected] Fri Nov 6 14:37:05 PST 2020

browser_patches/firefox/juggler/screencast/nsScreencastService.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ nsresult generateUid(nsString& uid) {
7373
NS_ENSURE_SUCCESS(rv, rv);
7474

7575
for (int i = 0; i < kLen; i++) {
76-
uid.AppendPrintf("%" PRIx8, buffer[i]);
76+
uid.AppendPrintf("%02x", buffer[i]);
7777
}
7878
free(buffer);
7979
return rv;

0 commit comments

Comments
 (0)