Closed Bug 468413 Opened 16 years ago Closed 16 years ago

intl/uconv/tests/test_bug335816.html fails randomly

Categories

(Core :: Internationalization, defect)

x86
Windows Server 2003
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.1b3

People

(Reporter: roc, Assigned: roc)

Details

(Keywords: fixed1.9.1)

Attachments

(1 file)

See http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1228723266.1228726736.19917.gz#err0

*** 38939 ERROR TEST-UNEXPECTED-FAIL | /tests/intl/uconv/tests/test_bug335816.html | Error thrown during test: $("display") is null - got 0, expected 1

The test does

<script ...>
function test()
{
  ok($("display").innerHTML != "Keep that breathless charm", "Hidden script not executed");
  SimpleTest.finish();
}
...
  setTimeout(test, 100);
</script>

*before* the <p id="display"> appears in the document. So it's entirely possible that parsing stalls for more than 100ms after the <script> closes but before the <p> is encountered, so indeed we'll fail to find the element.
Assignee: smontagu → roc
Attachment #351863 - Flags: review?(smontagu)
Attachment #351863 - Flags: review?(smontagu) → review+
Pushed 8a7a803e86fd
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Whiteboard: [needs 191 landing]
Pushed to 1.9.1 as 62a0552da6fa
Keywords: fixed1.9.1
Whiteboard: [needs 191 landing]
Flags: in-testsuite+
Target Milestone: --- → mozilla1.9.1b3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: