hang after execute javascript many times

Not reproducible Issue #5224883

Details

Created
Oct 28, 2015
Privacy
This issue is public.
Reports
Reported by 4 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

Expected Results:

Microsoft WebDriver doesn’t hang

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To from “Mara P.” to “Ben B.”

      Changed Status to “Confirmed”

      Changed Title from “Microsoft WebDriver hang after execute javascript many times” to “hang after execute javascript many times”

      Changed Title from “hang after execute javascript many times” to “hang after execute javascript many times”

      Changed Assigned To from “Ben B.” to “Reinhold D.”

      Changed Assigned To from “Reinhold D.” to “IE S.”

      Changed Status from “Confirmed” to “Not reproducible”

    • Hi,

      I update step to reproduce this issue:

      1. Navigate to url: http://test.hlvtrinh.com/HTML_5/CustomizeControls/ScenarioDynamic.html?id=MultiControls_sample_with_HTML5
      2. Execute JS: “return document;”

      It only work in 1024 times, Microsoft WebDriver will hang at 1025. You can view some pictures about this issue:

      Thanks,
      Evit15

    • Hi Edge team,

      This issue also happens in Windows Insider/Microsoft WebDriver 14342. Following is the example code that I tried.
      public static void main(String args[]) {
      System.setProperty("webdriver.edge.driver", “MicrosoftWebDriver.exe”);
      WebDriver driver = new EdgeDriver();
      driver.get(“https://www.google.com/?gws_rd=ssl”);
      driver.manage().timeouts().pageLoadTimeout(100, TimeUnit.SECONDS);
      JavascriptExecutor js = (JavascriptExecutor)driver;
      int i =1;
      while (i < 1500) {
      System.out.println(“Time: “+ i +” is starting”);
      js.executeScript(“return document;”);
      i++;
      System.out.println("Time: "+ i);
      }
      }

      The MicrosoftWebDriver is hang at 1025th

    • Hi Edge support team, I’ve seen that this issue labeled is can not reproduced. Is this issue was fixed on some new build or not.
      Could you please help giving some information about this issue.
      Thank a lot,
      kansazfo.

    • Hi,
      This issue also happens sometimes for executing async script.

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

    Sign in