mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
- remove page load time calc from common failures page;
- check privileges before allowing user to edit test cases;
This commit is contained in:
parent
b147edcaed
commit
05ddd2d470
@ -30,9 +30,6 @@
|
||||
use strict;
|
||||
$|++;
|
||||
|
||||
use Time::HiRes qw( gettimeofday tv_interval );
|
||||
my $t0 = [gettimeofday];
|
||||
|
||||
use Litmus;
|
||||
use Litmus::Auth;
|
||||
use Litmus::Error;
|
||||
@ -62,9 +59,6 @@ $vars->{"defaultemail"} = Litmus::Auth::getCookie();
|
||||
Litmus->template()->process("reporting/common_failures.tmpl", $vars) ||
|
||||
internalError(Litmus->template()->error());
|
||||
|
||||
my $elapsed = tv_interval ( $t0 );
|
||||
printf "<p>Page took %f seconds to load.</p>", $elapsed;
|
||||
|
||||
exit 0;
|
||||
|
||||
|
||||
|
@ -58,7 +58,7 @@ Current Status
|
||||
<input name="return" type="hidden" value="show_test.cgi?id=[% test.testid FILTER html %]">
|
||||
|
||||
<table border="0">
|
||||
[% INCLUDE test/test.html.tmpl test=test results=results showedit=1 %]
|
||||
[% INCLUDE test/test.html.tmpl test=test results=results showedit=show_admin %]
|
||||
|
||||
<tr>
|
||||
<td><br /><input type="submit" id="Submit" name="Submit" value="Submit Results" onclick="findEdited()"></td>
|
||||
|
Loading…
Reference in New Issue
Block a user