Bug 207448

Summary: Web Inspector: encode binary web socket frames using base64
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web InspectorAssignee: Pavel Feldman <pfeldman>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, ews-feeder, ews-watchlist, hi, inspector-bugzilla-changes, joepeck, keith_miller, mark.lam, msaboff, saam, timothy, tzagallo, webkit-bug-importer, yurys
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch none

Description Pavel Feldman 2020-02-09 18:10:41 PST
Current representation of binary frames is lossy using fromUTF8WithLatin1Fallback, we should consistently encode binary data using base64 instead.
Comment 1 Pavel Feldman 2020-02-09 18:23:55 PST
Created attachment 390221 [details]
Patch
Comment 2 EWS Watchlist 2020-02-09 18:24:31 PST
This patch modifies the inspector protocol. Please ensure that any frontend changes appropriately use feature checks for new protocol features.
Comment 3 Pavel Feldman 2020-02-09 20:22:57 PST
Created attachment 390227 [details]
Patch
Comment 4 EWS 2020-02-12 17:20:19 PST
Comment on attachment 390227 [details]
Patch

Rejecting attachment 390227 [details] from commit-queue.

pfeldman@chromium.org does not have committer permissions according to https://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json.

- If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags.

- If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed).  The commit-queue restarts itself every 2 hours.  After restart the commit-queue will correctly respect your committer rights.
Comment 5 WebKit Commit Bot 2020-02-12 18:17:54 PST
The commit-queue encountered the following flaky tests while processing attachment 390227 [details]:

editing/spelling/spellcheck-async-remove-frame.html bug 158401 (authors: morrita@google.com, rniwa@webkit.org, and tony@chromium.org)
imported/w3c/web-platform-tests/content-security-policy/script-src/scriptnonce-changed-1.html bug 206029 (author: psaavedra@igalia.com)
The commit-queue is continuing to process your patch.
Comment 6 WebKit Commit Bot 2020-02-12 18:18:33 PST
Comment on attachment 390227 [details]
Patch

Clearing flags on attachment: 390227

Committed r256497: <https://trac.webkit.org/changeset/256497>
Comment 7 WebKit Commit Bot 2020-02-12 18:18:35 PST
All reviewed patches have been landed.  Closing bug.
Comment 8 Radar WebKit Bug Importer 2020-02-12 18:19:21 PST
<rdar://problem/59409791>