Skip to content

Commit

Permalink
browser(firefox): fix videoSessionId (#4374)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dgozman authored Nov 6, 2020
1 parent 3db8b23 commit 06c8881
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions browser_patches/firefox/BUILD_NUMBER
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 06c8881

Please sign in to comment.