Window.resizeTo doesn't match behavior of other browsers

Fixed, not yet flighted Issue #4915089

Details

Created
Oct 8, 2015
Privacy
This issue is public.
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

Expected Results:

I was hoping the behavior would match Chrome, i.e., the new outerWidth and outerHeight of the resized window are equal to the arguments to resizeTo.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Christian F.”

      Changed Assigned To to “Warren S.”

      Changed Assigned To from “Warren S.” to “Adam B.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Adam B.” to “Warren S.”

      Changed Status from “Confirmed”

      Changed Assigned To from “Warren S.” to “Matt S.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Matt S.” to “Rose Z.”

      Changed Status from “Confirmed” to “In progress”

      Changed Status from “In progress” to “In code review”

      Changed Status from “In code review” to “In progress”

      Changed Assigned To from “Rose Z.” to “IE S.”

      Changed Status from “In progress” to “Fixed”

      Changed Status from “Fixed” to “Fixed, not yet flighted”

      Changed Assigned To from “IE S.” to “Jacob R.”

      Changed Assigned To from “Jacob R.” to “Rose Z.”

      Changed Status from “Fixed, not yet flighted”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed” to “In progress”

      Changed Status from “In progress” to “In code review”

      Changed Status from “In code review” to “In progress”

      Changed Assigned To from “Rose Z.” to “IE S.”

      Changed Status from “In progress” to “Fixed, not yet flighted”

    • No comments, nothing? This doesn’t seem to have been fixed, but it’s been marked as such.

    • This is still reproducible on Edge 38.14393.0.0, EdgeHTML 14.14393.

    • Still going wrong in Edge 15.15063.

      Expected behavior documented here.
      https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeTo

      Steps to reproduce problem:

      1. open Edge.
      2. hit F12
      3. type this stuff:
        const windowFeatures = 'menubar=no,location=no,resizable=no,scrollbars=no,status=no,width=600,height=200,dialog=yes’;
        const dlg = window.open('’,’SizeTest’, windowFeatures);
        console.log(dlg.outerWidth, dlg.outerHeight);
        dlg.resizeTo(dlg.outerWidth, dlg.outerHeight);
        console.log(dlg.outerWidth, dlg.outerHeight);
        dlg.resizeTo(dlg.outerWidth, dlg.outerHeight);
        console.log(dlg.outerWidth, dlg.outerHeight);
        dlg.resizeTo(dlg.outerWidth, dlg.outerHeight);
        console.log(dlg.outerWidth, dlg.outerHeight);
        dlg.resizeTo(dlg.outerWidth, dlg.outerHeight);
        console.log(dlg.outerWidth, dlg.outerHeight);
        dlg.resizeTo(dlg.outerWidth, dlg.outerHeight);
        console.log(dlg.outerWidth, dlg.outerHeight);

      Notice the steady growth of the window size. The size should be unchanged.

    You need to sign in to your Microsoft account to add a comment.

    Sign in