On the contrary, "spec says" is the ONLY thing that's important for a shim.

http://people.mozilla.org/~jorendorff/es6-draft.html#sec-15.5.4.23 seems to say that endsWIth should return false in all cases, except where the passed value is the ending string of the "this" value.