VOOZH about

URL: https://bugzilla.mozilla.org/show_bug.cgi?id=613403

⇱ 613403 - Fix existing tests to work with tab-modal prompt changes


Closed Bug 613403 Opened 15 years ago Closed 15 years ago

Fix existing tests to work with tab-modal prompt changes

Fix existing tests to work with tab-modal prompt changes
Firefox
General
unspecified
All
All
defect
Not set
normal
Points:
---
RESOLVED FIXED
RESOLVED
FIXED
Firefox 4.0b8
Iteration:
---
a11y-review
Accessibility Severity
Performance Impact
Webcompat Priority
Webcompat Score
Tracking Status
relnote-firefox
firefox-esr115
firefox-esr140
firefox-esr153
firefox152
firefox153
firefox154
---
QA Whiteboard:
---
Has STR:
---
Change Request:
---
Signature:
None
This bug is publicly visible.

 
Attached patch Patch v.1DetailsSplinter Review
Bug 59314 is adding support for tab-modal prompts. 2 tests currently interact with prompts by listening for |domwindowopened| notifications. Since tab-modal prompts don't open windows, these tests break. I've converted these two tests to use the notifications fired by nsIPrompts (common-dialog-loaded and tabmodal-dialog-loaded). They will work with current trunk (pre-59314), as well as once bug 59314 lands. [Currently pushing this to try.]
Assignee

Updated

15 years ago
Assignee: nobody → dolske
Comment on attachment 491737 [details] [diff] [review] Patch v.1 r=me on the editor test, as long as you get a green run on try.
Attachment #491737 - Flags: review+
Assignee

Comment 2

15 years ago
Try run was green. Since the other test change (browser_sidebarpanels_click.js) change is fairly trivial, will land this shortly.
Assignee

Comment 3

15 years ago
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b8
You need to log in before you can comment on or make changes to this bug.