Skip to content

2.3.0 breaks PhantomJS 1.x, IE 7 & 8 #293

Closed
@ScottFreeCode

Description

@ScottFreeCode

Mocha is using Browserify to bundle the project's tests for the browser. Just the other day we started getting errors due to use of Function.prototype.bind in PhantomJS 1 and due to use of Object.keys (in the safe-buffer dependency) in Internet Explorer 7 and 8. (I strongly suspect that Function.prototype.bind would be an issue in IE 7 &/ 8 as well except that they fail on the Object.keys issue first.) Specifically using readable-stream@2.2.11 fixes both issues.

(Between the fact that we can work around this as long as nothing is forcing 2.3 into the browser bundle and the fact that we're testing unusually old browsers, I'd understand if this is considered a non-issue; but I wanted to bring it to your attention for what it's worth.)

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