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

@AlexLongToptal

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.

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