[Webkit-unassigned] [Bug 194664] New: REGRESSION (r240446): Storage Access API does not handle domains properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 14 12:49:17 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=194664

            Bug ID: 194664
           Summary: REGRESSION (r240446): Storage Access API does not
                    handle domains properly
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

During my refactoring of the ResourceLoadStatistics code, I introduced two bugs:
(1) I neglected to be consistent in my use of 'primaryDomain', causing some Storage Access API code paths to store approves under one domain (e.g., 'www.example.com'), while checking status under the eTLD+1 (e.g., 'example.com'). The exact string matching requirement caused these to get missed.

(2) I used a move operator before a final set of copies of domain names, leading to some empty strings being passed to Storage Access API calls.

Both issues are corrected in this patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190214/0bcbe5cc/attachment.html>


More information about the webkit-unassigned mailing list