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
Tim van der Meij
ee86a81a50
Bots: disable the default browser test and enable E10s
...
The test runner is automated, so if the default browser test is
performed, the browser hangs waiting for user input it never gets.
Disable the test to fix that.
Moreover, enable E10s now that it is mature. This may help with the
performance of the test runner as well.
2017-04-27 20:39:57 +02:00
Brendan Dahl
2d27cb1da6
Remove 'use strict'; causing failure and unused prefs.
2016-01-14 13:23:48 -08:00
Brendan Dahl
ad8e43a185
Disable e10s.
2016-01-13 15:21:28 -08:00
Brendan Dahl
4824baf31c
Merge pull request #5905 from timvandermeij/specialpowers
...
Remove SpecialPowers addon
2015-04-27 10:36:54 -07:00
Tim van der Meij
50573b82a3
Provide only one browser manifest example
2015-04-03 21:21:54 +02:00
Tim van der Meij
27170ff858
Remove prefs.js file
...
The first preference is also in user.js and the second one was only needed for SpecialPowers.
2015-04-03 20:18:42 +02:00
Tim van der Meij
75d8f70d06
Remove SpecialPowers addon
2015-04-03 20:17:20 +02:00
Collin Anderson
54e984c763
cleaned whitespace
2015-02-17 11:07:37 -05:00
Jonas Jenwald
cbe097c0cb
In the reftest analyzer, make it possible to toggle "Circle differences" with the D key
...
It's currently possible to step through the test results using the <kbd>N</kbd> and <kbd>P</kbd> keys, and you can also switch between test and reference images with the <kbd>T</kbd> key.
However if you want to highlight the differences, that can only be done by clicking. This has always annoyed me somewhat, so this patch adds support for toggling the differences view with the <kbd>D</kbd> key.
2014-07-16 12:21:32 +02:00
Ole Michaelis
b4fb161255
adjust the aurora path in the tests browser.json
...
to match a default OSX installation path
2014-05-27 10:40:15 +02:00
Brendan Dahl
da522d42d4
Fix special powers add-on for firefox.
2014-04-11 10:40:15 -07:00
Tim van der Meij
5ef87394e5
Rewritten reftest analyzer from XHTML to HTML5
2014-02-24 23:00:46 +01:00
Brendan Dahl
edce4550db
Fix reftest analyzer naming(again).
2014-01-08 14:02:07 -08:00
Brendan Dahl
fd139324ef
Label ref test analyzer images.
2014-01-07 16:11:29 -08:00
Brendan Dahl
1c2cfaf1d6
Add keyboard shortcuts for retest analyzer.
2013-04-01 11:59:57 -07:00
Brendan Dahl
c15d81b58b
Use relative paths for ref images and copy refs.
2013-03-13 10:56:22 -07:00
notmasteryet
de821a0db1
Changing special-power version to 13.0
2012-02-19 14:49:08 -06:00
Artur Adib
b49dfe5b6b
Disable default browser check in FF testing
2012-01-06 17:28:52 -05:00
Artur Adib
f3745f7c13
New README, .gitignores; Makefile
...
Makefile: commented out unnecessary closure download and shell testing (at least until someone decides to work on this).
2011-09-16 08:28:59 -07:00
Kalervo Kujala
9634eab60b
Use strict in user.js.
...
And correct the coding style according to gjslint.
2011-08-09 00:24:01 +03:00
Kalervo Kujala
dc01974aa4
Create an example browser_manifest.json for windows.
2011-08-06 23:53:08 +03:00
Rob Sayre
37011784a5
Merge branch 'master' of https://github.com/sayrer/pdf.js
2011-06-28 16:30:48 -07:00
Rob Sayre
061c998ca2
Add Google Chrome to Mac example manifest.
2011-06-28 16:29:11 -07:00
Rob Sayre
6e82ccd073
Add sample browser manifest for Linux.
2011-06-28 15:25:46 -07:00
Rob Sayre
e90ac1d4cd
Automatically load eq.log into the reftest page.
2011-06-27 13:22:37 -07:00
Rob Sayre
c3cb102378
Add reftest-analyzer.xhtml
2011-06-27 12:35:48 -07:00
Rob Sayre
d240600296
Suppress telemetry banner.
2011-06-26 11:10:32 -07:00
Rob Sayre
3a99b05b79
Add favicon.ico file
2011-06-24 19:25:03 -07:00
Rob Sayre
40f67c9573
Turn off safe-browsing code in test harness.
2011-06-24 17:13:31 -07:00
Rob Sayre
2bbfb7ae57
Add a line to prevent TestPilot from installing.
2011-06-24 09:00:13 -07:00
Rob Sayre
f212637433
Remove invalid trailing commas.
2011-06-23 15:09:17 -07:00
Rob Sayre
1d5e28347f
Cleanup newlines and fix a mistakenly symlinked file.
2011-06-23 13:59:38 -07:00
Rob Sayre
d19a6ef983
Add sample manifests. Also make a browser path argument, so you can just specify one browser without messing with a manifest.
2011-06-23 13:47:43 -07:00
Rob Sayre
ed574cb6c0
Add SpecialPowers extension to allow the browser to quit from content, and a bunch of other exciting things.
2011-06-23 13:12:22 -07:00
Rob Sayre
984c4d4de6
Add a user.js file Firefox profile. Change HTTP server to run on background thread.
2011-06-23 11:24:36 -07:00