Skip to content

Instantly share code, notes, and snippets.

@bakkot
Created March 7, 2018 16:50
Show Gist options
  • Save bakkot/f1a5ed0b76b905c48bb7d1df6204a312 to your computer and use it in GitHub Desktop.
Save bakkot/f1a5ed0b76b905c48bb7d1df6204a312 to your computer and use it in GitHub Desktop.

Thanks, @anba.

The original webcompat thread points to a very similar issue with contains and MooTools, which strongly implies that this is not about the difference in behavior of the method itself (though I am pretty confident the difference in behavior would also cause breakage).

The specific problem with contains, and I strongly suspect here, is as follows:

That's unfortunate.

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