Home | History | Annotate | Download | only in harness

Lines Matching refs:format

229 Test.prototype.runForFormat = function(format)
231 if (format == 'html4')
234 if (format == 'xhtml1')
240 Test.prototype.completedForFormat = function(format)
242 if (format == 'html4')
245 if (format == 'xhtml1')
251 Test.prototype.statusForFormat = function(format)
253 if (format == 'html4')
256 if (format == 'xhtml1')
301 Chapter.prototype.description = function(format)
305 return this.title + ' (' + this.testCount(format) + ' tests, ' + this.untestedCount(format) + ' untested)';
323 Chapter.prototype.testCount = function(format)
325 if (format == 'html4')
328 if (format == 'xhtml1')
334 Chapter.prototype.untestedCount = function(format)
336 var completedProperty = format == 'html4' ? 'completedHTML' : 'completedXHTML';
342 count += currSection.tests[j].completedForFormat(format) ? 0 : 1;
363 this.format = '';
485 option.innerText = chapter.description(this.format);
502 currOption.innerText = chapter.description(this.format);
521 if (currTest.runForFormat(this.format))
567 var statusProperty = this.format == 'html4' ? 'statusHTML' : 'statusXHTML';
585 var statusProperty = this.format == 'html4' ? 'statusHTML' : 'statusXHTML';
657 var completedProperty = this.format == 'html4' ? 'completedHTML' : 'completedXHTML';
683 var completedProperty = this.format == 'html4' ? 'completedHTML' : 'completedXHTML';
706 var format = this.format;
708 format = prefix;
711 format = kXHTML1Data.path;
713 format = kHTML4Data.path;
716 this.switchToFormat(format);
886 // the extension and use the same format as the test.
920 this.storeTestResult(testName, this.format, resolution, comment, navigator.userAgent);
924 if (this.format == 'html4')
926 if (this.format == 'xhtml1')
970 document.harness.format.html4.checked = true;
972 document.harness.format.xhtml1.checked = true;
979 if (this.format == formatString)
982 this.format = formatString;
1061 Import format is the same as the export format, namely:
1086 test.format = match[1];
1107 Clear results format is either same as the export format, or
1121 // Look for format/test with possible extension
1125 var format = result[1];
1127 var clearHTML = format.length == 0 || format == 'html4';
1128 var clearXHTML = format.length == 0 || format == 'xhtml1';
1540 TestSuite.prototype.storeTestResult = function(test, format, result, comment, useragent)
1546 if (format == 'html4')
1548 else if (format == 'xhtml1')
1564 if (currResult.format == 'html4')
1566 else if (currResult.format == 'xhtml1')