Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c2a70d01d068b1a84dfcb28f95df527f95d2248b
      
https://github.com/WebKit/WebKit/commit/c2a70d01d068b1a84dfcb28f95df527f95d2248b
  Author: Matthew Finkel <[email protected]>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M Source/WebCore/loader/FrameLoader.cpp

  Log Message:
  -----------
  Cherry-pick 252432.809@safari-7614-branch (b25c50a4df75). rdar://101776770

    Correctly handle loading subframes in WebArchives
    https://bugs.webkit.org/show_bug.cgi?id=247292
    rdar://101776770

    Reviewed by Chris Dumez.

    When WebArchives are loaded, the URL associated with each resource has
    "webarchive+" prepended on its scheme. This ensures cross-origin isolation
    between the document loaded from a WebArchive and an externally loaded
    document. This prefixed-scheme is affecting iframe loading because it 
results
    in an unrecognized scheme that can't be handled. Now we obtain the original
    scheme by stripping the prefix, and we use this modified scheme in the 
request
    URL.

    * Source/WebCore/loader/FrameLoader.cpp:
    (WebCore::FrameLoader::loadArchive):

    Canonical link: https://commits.webkit.org/252432.809@safari-7614-branch

Canonical link: https://commits.webkit.org/258117@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to