Dmitrii Korobkin
Dmitrii Korobkin
The `url.js` returns different results in the browser and PhantomJS. Test case ``` js var url = new URL('https://site.com/%D1%87%D1%82%D0%BE-%D0%BD%D0%B8%D0%B1%D1%83%D0%B4%D1%8C/'); console.log(url.pathname); ``` Results ``` PhantomJS 1.9.8 /что-нибудь/ IE9, Opera 12.17 /%D1%87%D1%82%D0%BE-%D0%BD%D0%B8%D0%B1%D1%83%D0%B4%D1%8C/...
Если написать тег и комментарий в одну строку: ```html ``` то при компиляции шаблона возникнет ошибка: ``` TypeError: Cannot call method 'replace' of undefined ``` https://youtu.be/44Hg80__dbM
``` js [].find(function () {}) → undefined ``` сейчас возвращает -1
`defineProperty` при попытке добавить свойство `remove` для `HTMLSelectElement.prototype` выбрасывает исключение: «can not redefine property». Тестировал на следующих устройствах устройствах: Samsung Galaxy Ace GT-5830 (Android 2.3.3) и HTC Wildfire (Android 2.3.5).
like https://github.com/devote/HTML5-History-API/ ``` javascript history.state history.pushState history.replaceSate ```