Skip to content

AdSense dashboard console errors on Safari #293

@lucymtc

Description

@lucymtc

Bug Description

After setting up AdSense, the AdSense dashboard is not showing any data and trowing JS errors in the console. Not happening in Chrome or Firefox, only on Safari.
After removing all the browser extensions error persisted.

 TypeError: new Intl.NumberFormat(navigator.language, {
      style: 'currency',
      currency: currencyCode
    }).formatToParts is not a function. 

Steps to reproduce

  1. In Safari setup AdSense
  2. Go to the AdSense Dashboard.
  3. See the errors in the console.

Screenshots

_safari-adsense-setup-console-error-A
_safari-adsense-setup-console-error-B

Additional Context

  • PHP Version: 7.3
  • OS: macOS High Sierra 10.13.4
  • Browser: Safari 11.1
  • Plugin Version: 1.0.0-beta.1.0.1
  • Device: macbook

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Changelog entry

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions