Yury Delendik
e1b4fc5ac7
Enabled workers during testing
2012-04-13 16:04:57 -05:00
Brendan Dahl
b6c587bb98
Fix driver viewport.
2012-04-12 09:59:17 -07:00
Yury Delendik
b312719d7e
Fixes test driver and examples
2012-04-12 08:23:38 -07:00
Brendan Dahl
5608f8e445
Test refactoring for async api.
2012-04-11 18:05:43 -07:00
Artur Adib
bdc8a91778
Retry w/ JSON to avoid cross-object contamination
2012-04-04 18:25:22 -04:00
Artur Adib
6d9e045413
driver.js: retry POST until successful
2012-04-03 18:19:03 -04:00
notmasteryet
00664f5f0c
add liveprogramming as load test
2012-01-09 20:37:39 -06:00
notmasteryet
a52aacab5a
Fix the text layer testing
2011-12-18 16:15:53 -06:00
notmasteryet
d4e22f5a92
Clear canvas for skipped pages
2011-12-07 22:07:34 -06:00
notmasteryet
5909830d43
Fixing the textLayer parameter
2011-12-05 17:19:43 -06:00
notmasteryet
3ea81bf0a6
( #867 ) Set Type3 font encoding; enable text selection testing
2011-12-04 13:51:12 -06:00
Brendan Dahl
e0c231eec7
Merge upstream and change to error parameter for callback.
2011-12-02 10:19:43 -08:00
Brendan Dahl
d6925b13ba
Adding new errorback and code to display error messages.
2011-11-28 16:55:09 -08:00
Brendan Dahl
29c21843d6
Nits
2011-11-15 15:45:37 -08:00
Brendan Dahl
9830cb935e
Fix two memory leaks.
2011-11-15 14:43:05 -08:00
Julian Viereck
99254891e6
Disable work on firefox using feature detection
2011-11-10 18:38:22 +01:00
Artur Adib
1d4e3025b6
PDF --> PDFJS, global wrapper named
2011-10-26 14:46:57 -04:00
=
65ea07a3a2
Initial merge of master.
2011-10-19 11:14:13 -07:00
Kalervo Kujala
633baa881f
Make test_slave.html as valid html5.
...
Fix also warnings in the error console that appear from a test run.
2011-10-11 22:09:13 +02:00
Julian Viereck
3054102d3b
Merge worker_pull with master
2011-10-08 14:18:23 +02:00
Artur Adib
07b52bf1c6
Lint, extra space eol
2011-10-03 15:25:02 -04:00
Artur Adib
2f209a8e85
Oh, 80-char limit... super modern
2011-10-03 15:21:26 -04:00
Artur Adib
99f419fa6b
New test/ features, useful for bot
...
test.py:
added option --noPrompts
removed unnecessary warnings (masterMode)
removed unnecessary "Creating tmp failed" message when error is simply b/c it already exists
driver.js:
added per PDF manifest option "pageLimit", e.g. "pageLimit":100
2011-10-03 14:53:45 -04:00
Kalervo Kujala
de408dac70
Fix lint warnings.
...
And name anonymous functions.
2011-09-27 21:43:48 +03:00
Artur Adib
83854a085c
Implemented getPdf(). Closes #516
...
Conflicts:
examples/helloworld/hello.js
2011-09-27 13:30:47 -04:00
Kalervo Kujala
2094c29169
Use data directly in PDFDoc.
...
And create the Stream inside the PDFDoc constructor for a cleaner interface.
Also encapsulate unnecessary details from the user.
2011-09-26 20:58:18 +03:00
notmasteryet
39ba5324a7
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into invalidpdf-1
...
Conflicts:
test/test_manifest.json
2011-09-24 09:57:59 -05:00
notmasteryet
91a5f73708
Implement "skipPages" feature for reftests
2011-09-24 09:44:50 -05:00
Chris Jones
54e69d59bf
Merge pull request #517 from kkujala/master
...
Name anonymous functions for debugging purposes.
2011-09-23 16:46:04 -07:00
Kalervo Kujala
2d03f93fed
Name anonymous functions for debugging purposes.
...
It also makes profiling more convenient.
2011-09-23 20:25:24 +03:00
notmasteryet
ba74e56c35
Using !== for objects comparison
2011-09-23 06:58:54 -05:00
notmasteryet
f3e4cf20cc
intermediate variable for document.body
2011-09-22 20:18:43 -05:00
notmasteryet
107576d634
Removing introduced by the test run DOM elements
2011-09-22 18:04:50 -05:00
notmasteryet
999487444d
removing onload from driver.js
2011-09-19 07:06:20 -05:00
notmasteryet
7036bcd4c7
Zero gjslint warnings mark
2011-09-18 14:44:57 -05:00
Julian Viereck
921f8bd669
Tried to add a destroy function to free memeory, but doesn't seem to help
2011-09-16 08:09:58 -07:00
Julian Viereck
8f21f87fd9
Add firstPage option to tasks to speed up testing certain pages
2011-09-15 23:36:08 -07:00
Kalervo Kujala
07254bb0a5
Fix small lint warnings.
2011-09-15 23:32:44 +03:00
Julian Viereck
fea3388c41
Make testdriver use new worker infrastructure
2011-09-15 09:03:50 -07:00
Kalervo Kujala
8e5a8fb49f
Fix Mode comment lines.
2011-09-12 20:37:33 +03:00
Artur Adib
1296da313c
Fixed browser shutdown bug for Macs
...
The unnecessary spaces in the URL query were causing `tellAppToQuit()` to fail to detect the query `path`, so the browser was being killed via timeout instead of intended script.
2011-09-06 13:59:14 -04:00
notmasteryet
238ac7c812
Fix insertAdjacentHTML for pre FF8
2011-08-25 19:14:51 -05:00
Kalervo Kujala
e00ae164f0
Catch multiline log function calls.
2011-08-24 19:11:38 +03:00
Kalervo Kujala
3fa8bba48e
Make 'make test' factors faster.
...
Profiling with firebug reveals that log and checkScrolling functions slow down
the 'make test' by factors.
Use insertAdjacentHtml in the log fucntion insteand of appending to
innerHTML. Also call checkScrolling function only when it is prudent to do
instead of unnecessarily in every log function call.
2011-08-23 23:21:15 +03:00
Kalervo Kujala
7cbdc982c5
Report results properly to test.py from driver.js.
...
If the PDFDoc creation failed in driver.js then that was not informed back to
test.py. This lead to State.remaining being off by one. And that did not let
the test to end as expected. Instead the test hung indefinitely.
This change now reveals TEST-UNEXPECTED-FAIL which was hidden previously.
2011-08-17 01:33:00 +03:00
Kalervo Kujala
965193b38d
Keep the results visible in test_slave.html before quitting.
...
Currently the innerHTML is replaced with text:
Tests are finished.
CLOSE ME!
Instead of replacing the innerHTML prepend that text to it.
This way the user can still check the results of the test.
2011-08-16 23:16:29 +03:00
Kalervo Kujala
802f664baa
Indent the driver.js correctly.
2011-08-16 22:17:46 +03:00
Kalervo Kujala
56ed06e7ea
Refactor the lines that are over 80 characters long in driver.js.
2011-08-12 01:00:32 +03:00
Kalervo Kujala
30ecf43676
Correct the coding style according to gjslint for driver.js.
...
And remove stray tabs.
2011-08-09 00:03:08 +03:00
Andreas Gal
fe7c03dece
Merge pull request #310 from brendandahl/rotation
...
Adding support for page rotation
2011-08-06 16:14:35 -07:00
Brendan Dahl
4377eed920
Adding support for page rotation
2011-08-06 14:41:18 -07:00
Kalervo Kujala
25a6e09d78
Show browser-test results in pageNum/numPages format.
...
This is only for convenience in order to see how far in the pdf the test
currently is.
2011-08-07 00:29:34 +03:00
Kalervo Kujala
b1ea9332b8
Avoid browser-test stoppage when task.pdfDoc is undefined.
...
If nextTask leaves task.pdfDoc as undefined then sendTaskResult will fail on
that. SendTaskResult tries to access task.pdfDoc.numPages which cannot
succeed. This leads to a complete stop in the browser-test.
2011-08-06 23:33:07 +03:00
Kalervo Kujala
17e02e3c39
Use strict in driver.js.
...
And declare undeclared variables.
2011-08-06 22:54:16 +03:00
Chris Jones
6f3fff5798
fix some bugs
2011-07-15 17:40:37 -07:00
Chris Jones
452ba3d85b
#123 , part 2: move more PDF-page rendering stuff into pdf.js
2011-07-10 23:21:13 -07:00
Chris Jones
122d168b51
fix some bugs
2011-07-04 23:28:44 -04:00
Rob Sayre
1aa0b390b9
Make sure to guard against load errors.
2011-07-04 14:25:33 -07:00
Rob Sayre
a4f8251d10
Make test driver a separate js file, eradicate some global variables.
2011-07-04 14:17:23 -07:00