[Webkit-unassigned] [Bug 257849] New: Inconsistent firing of onBeforeNavigate event in webNavigation API in Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 8 02:47:02 PDT 2023


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

            Bug ID: 257849
           Summary: Inconsistent firing of onBeforeNavigate event in
                    webNavigation API in Safari
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Apple Silicon)
                OS: macOS 13
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebKit Extensions
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mykola.batashov at gmail.com
                CC: timothy at apple.com

The webNavigation API in Safari exhibits inconsistent behavior in firing the onBeforeNavigate event compared to Chrome.

Steps to Reproduce:
1. Navigate from a website using a URL (the onBeforeNavigate event fires correctly).
2. Open a URL in a new tab (via context menu or command) (the onBeforeNavigate event fires correctly).
3. Open a URL in a new window (via context menu) (the onBeforeNavigate event fires correctly).
4. Manually enter a URL in the search field (it does not fire the onBeforeNavigate event, unlike Chrome).

Expected Behavior:
The onBeforeNavigate event should consistently fire in all navigation scenarios, including manually entering a URL in the search field.

Actual Behavior:
In Safari, the onBeforeNavigate event does not fire when manually entering a URL in the search field.

Additional Details:
Safari version: 16.5 (18615.2.9.11.4)
macOS version: 13.4 (22F66)

Please consider the provided information to address the inconsistency in the firing of the onBeforeNavigate event in Safari.

-- 
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/20230608/efdbec96/attachment-0001.htm>


More information about the webkit-unassigned mailing list