Intermittent failure in content/html/content/test/test_bug514437.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - onFormSubmission is not defined

RESOLVED FIXED in mozilla7

Status

()

Core
DOM: Core & HTML
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: mounir, Assigned: mounir)

Tracking

(Blocks: 1 bug, {intermittent-failure})

Trunk
mozilla7
intermittent-failure
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Mounir, please stop writing flaky tests!

s: talos-r3-xp-038
56296 ERROR TEST-UNEXPECTED-FAIL | /tests/content/html/content/test/test_bug514437.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - onFormSubmission is not defined at http://mochi.test:8888/tests/content/html/content/test/test_bug514437.html:1

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1306491100.1306492880.2737.gz&fulltext=1
(Assignee)

Comment 1

6 years ago
Sorry Mounir, I'm on it! :(
Assignee: nobody → mounir.lamouri
Status: NEW → ASSIGNED
<iframe name="submit_frame" onload="onFormSubmission();" style="visibility: hidden;"></iframe> before the declaration of onFormSubmission() is badness.
Blocks: 543435
(Assignee)

Comment 3

6 years ago
(In reply to comment #2)
> <iframe name="submit_frame" onload="onFormSubmission();" style="visibility:
> hidden;"></iframe> before the declaration of onFormSubmission() is badness.

Indeed. And even more because I only want onForSubmission() to be called after form.submit().
(Assignee)

Comment 4

6 years ago
Created attachment 535613 [details] [diff] [review]
Patch v1
Attachment #535613 - Flags: review?(ehsan)
(Assignee)

Updated

6 years ago
Whiteboard: [orange] → [orange][needs review]
Comment on attachment 535613 [details] [diff] [review]
Patch v1

Mounir, thanks for quickly fixing this flaky test!  :-)
Attachment #535613 - Flags: review?(ehsan) → review+
Comment hidden (Treeherder Robot)
(Assignee)

Updated

6 years ago
Flags: in-testsuite+
Whiteboard: [orange][needs review] → [orange][fixed in cedar]
http://hg.mozilla.org/mozilla-central/rev/12ee31e36c0f
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: [orange][fixed in cedar] → [orange]
Target Milestone: --- → mozilla7
Keywords: intermittent-failure
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.