X Tutup
Skip to content

Moving to es6-shim broke most browsers #4216

@marclaval

Description

@marclaval

In fact, only Chrome and Edge made it through.

As far as I can see, 2 issues are causing this in both unit tests and examples:

  1. Firefox: Error: Expected int32 as second argument in c:/Dev/angular_mlaval/node_modules/es6-shim/es6-shim.js (line 1101)
    This is a known issue in es6-shim: Expected int32 as second argument in Firefox with Array.prototype.map paulmillr/es6-shim#347
    It comes from an actual bug in Firefox, which was apparently fixed in Firefox Nightly.

  2. All other broken browsers: es6-shim doesn't polyfill Symbol and we have a few occurence of Symbol.iterator in the framework.
    Internally, es6-shim uses a string if it doesn't exist, but doesn't expose it.
    Issue opened for that: Expose Symbol.iterator paulmillr/es6-shim#360

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

      X Tutup