[Webkit-unassigned] [Bug 184209] New: REGRESSION (-r230119): decidePolicyForNavigationAction not called for loading an HTML string

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 31 00:24:08 PDT 2018


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

            Bug ID: 184209
           Summary: REGRESSION (-r230119): decidePolicyForNavigationAction
                    not called for loading an HTML string
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P1
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mitz at webkit.org
                CC: cdumez at apple.com

Created attachment 336920

  --> https://bugs.webkit.org/attachment.cgi?id=336920&action=review

Test program

In TOT (r230119), the policy delegate method -webView:decidePolicyForNavigationAction:decisionHandler: isn’t called for a navigation initiated with -loadHTMLString:baseURL:. In the shipping WebKit as of macOS 10.13.4, it does get called.

To reproduce: build and run the attached TestDecidePolicyForNavigationAction. Note that when running with TOT webkit, the initial content loads without the “Decide Policy For Navigation Action” sheet being presented. When running with built-in WebKit in macOS 10.13.4, the sheet does appear.

-- 
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/20180331/3b5e4253/attachment.html>


More information about the webkit-unassigned mailing list