[Webkit-unassigned] [Bug 234396] New: Rename forEachFrameFromMainFrame to forEachFrame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 16 09:54:17 PST 2021


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

            Bug ID: 234396
           Summary: Rename forEachFrameFromMainFrame to forEachFrame
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

Follow-up to Bug 234324:

Darin and Simon:
"I agree with Simon: The core functions themselves need not mention the "main frame". They iterate all frames and all documents. The role of the main frame is an unimportant implementation detail that should not be in the function names.

We should immediately rename forEachFrameFromMainFrame to just forEachFrame. The odd function out is forEachDocumentFromMainFrame, and it’s something we should intend to remove (see below)."

This patch does that renaming.

-- 
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/20211216/2efbcc42/attachment-0001.htm>


More information about the webkit-unassigned mailing list