Implement requests with partial file text to reduce memory usage for large files.

Add large comment to file1.js test file so it will be considered a large file and partial text updates can be tested.
For now, move two failing tests apart so they pass. Partial text updates are notas good a full text updates but save memory.
This commit is contained in:
dloverin committed 2013-05-30 14:47:58 -04:00
1 parent ae950bdfce
commit cb8a0e9746
6 files changed
+480 -182

No files matched your search

@@ -154,3 +154,99 @@ function testNonAscii() {
hope["frenchçProp"] = "";
}
/* Add large comment to make this test over 250 lines which will trigger
* partial updates to be used.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* end of large comment
*/