Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/crawler.xul

Issue 9084006: task.js: cooperative multitasking for long-running tasks (Closed)
Patch Set: Created Dec. 26, 2012, 5:06 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/content/crawler_ui.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/crawler.xul
===================================================================
--- a/chrome/content/crawler.xul
+++ b/chrome/content/crawler.xul
@@ -25,7 +25,7 @@
<tabs>
<tab label="Server"/>
<tab label="Local"/>
- <tab label="Task Test"/>
+ <tab label="Long_Task Test"/>
</tabs>
<tabpanels>
<tabpanel>
@@ -59,14 +59,22 @@
<vbox>
<hbox>
<label>Number of iterations</label>
- <textbox flex="0" type="number" value="1000"/>
+ <textbox id="task_count" type="number" value="100000"/>
+ </hbox>
+ <hbox>
+ <label>Runaway limit</label>
+ <textbox id="task_limit" type="number" value="150000"/>
</hbox>
<spacer flex="1"/>
+ <hbox>
+ <label>Status:</label>
+ <label id="task_status"></label>
+ </hbox>
</vbox>
<spacer flex="1"/>
<vbox>
<spacer flex="1"/>
- <button label="Start" onclick="task_test_click();"/>
+ <button id="task_go" label="Start" onclick="task_start_click();"/>
</vbox>
</tabpanel>
</tabpanels>
« no previous file with comments | « no previous file | chrome/content/crawler_ui.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld