Closed Bug 1755616 Opened 4 years ago Closed 4 years ago

Rewrite `dom/tests/mochitest/general/frameSelectEvents.html`

Categories

(Core :: DOM: Events, task, P2)

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

frameSelectEvents.html is the test body of test_selectevents.html. It tests most things with helper functions without what's testing. Therefore, when I meet new orange at writing a patch for bug 1755104, I couldn't reach the failure position without rewriting it.

It tests various things in helper functions, and they don't take meaningful
description why each call is done. Therefore, it's hard to investigate when
I hit oranges in this test.

This patch makes each test explains what it's testing and what it expects.

Depends on D138877

Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/1815f8dad0e7 Rewrite frameSelectEvens.html to making each test clearer what it fails r=saschanaz
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: