Closed Bug 1240958 Opened 10 years ago Closed 10 years ago

[e10s] Fix test_bug414291.html to work in the absence of showModalDialog

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
e10s + ---
firefox46 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Bug 414291 looks like it was a regression from the landing of showModalDialog, wherein a window opened using window.open with modal=yes passed in was being opened as a modal dialog, but it shouldn't have been. The test checks that in two different scenarios with window.open we don't open a showModalDialog. These pass both with and without e10s. Arguably we're not in much danger of opening a modal window when we haven't implemented modal windows, but we might as well enable this. The third test is this: result3 = window.showModalDialog("data:text/html,<html><body onload='close(); returnValue = 3;'>"); is(result3, 3, "window didn't open as modal."); I'm not entirely sure what this is testing. It just looks like a generic showModalDialog test. I could probably just delete it, but guarding it behind |if (window.showModalDialog)| makes it pass with e10s so I'll just do that.
I'm going to optimistically assume that the only reason this simple test doesn't work on any of these platforms is due to showModalDialogue. I've only tested this locally, with and without e10s.
Attachment #8709738 - Flags: review?(mrbkap)
Attachment #8709738 - Flags: review?(mrbkap) → review+
Blocks: e10s-tests
tracking-e10s: --- → +
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: