executeScript return undefined results

Not reproducible Issue #16098249

Details

Author
publishat a.
Created
Feb 26, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
16.16299
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

browser.tabs.executeScript({
code: “document.body.style.webkitTransform = 'translateZ(0)'; document.body.style.overflow = 'hidden’; ([document.body.scrollHeight, window.innerHeight, document.body.scrollWidth]);”
}, function(result) {
alert(result);
});

In alert it shows undefined

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

    • Hello,

      Thank you for providing this information about the issue. After thorough testing, we are getting the same error in all browsers when loading an extension with this code (no alert happens but we can see the error in console). To help us with this case, please attach your packaged extension, or the individual manifest.json and script files we need to conduct the repro.

      Best Wishes,
      The MS Edge Team

    • Microsoft Edge Team

      Changed Status to “Not reproducible”

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

    Sign in