Skip to content
This repository was archived by the owner on Mar 11, 2019. It is now read-only.
This repository was archived by the owner on Mar 11, 2019. It is now read-only.

Safari BEFORE_NAVIGATE doesn't have KangoBrowserTab #166

Description

@AlexLongToptal

The event object returned to the BEFORE_NAVIGATE listener in Safari only has a url property. It doesn't have a target property pointing to the BrowserTab object as the documentation says:

BEFORE_NAVIGATE // Fired when request starts event = { KangoBrowserTab target, string url }

Without target, there's no way to reference the tab that actually triggered the event. You can assume that the event was triggered by the current tab and just do kango.browser.tabs.getCurrent but that assumption is not necessarily always correct.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions