pdf.js/test/resources
Jonas Jenwald 842e9206c0 Replace String.prototype.substr() occurrences with String.prototype.substring()
As outlined in https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr, which refers to the ECMA-262 specification, using the `substr` function is advised against.

Hence this PR, which replaces all remaining `substr` occurrences with `substring` instead. Please refer to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr#Syntax respectively https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substring#Syntax for the differences between the two functions.

Note that in most cases in the code-base there's only one argument passed to `substr`, and those require no other changes except replacing "substr" with "substring". For the other cases, the `substr(start, length)` calls are changed to `substring(start, start + length)` instead.
2018-09-28 11:41:07 +02:00
..
browser_manifests Provide only one browser manifest example 2015-04-03 21:21:54 +02:00
firefox Bots: disable the default browser test and enable E10s 2017-04-27 20:39:57 +02:00
favicon.ico Add favicon.ico file 2011-06-24 19:25:03 -07:00
reftest-analyzer.css Rewritten reftest analyzer from XHTML to HTML5 2014-02-24 23:00:46 +01:00
reftest-analyzer.html cleaned whitespace 2015-02-17 11:07:37 -05:00
reftest-analyzer.js Replace String.prototype.substr() occurrences with String.prototype.substring() 2018-09-28 11:41:07 +02:00