browser.tabs.executeScript() not working with PDF

By design Issue #15927937

Details

Author
archit p.
Created
Feb 13, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
41.16299
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

I have taken the reference of this : https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/9594305/

But, While accessing any PDF file (http://www.pdf995.com/samples/pdf.pdf), browser.tabs.executeScript() gets fail. I am not getting any error in console.That is very strange for me.

I have manually created package for this extension and it got stuck at this point.
Please help to solve this.

Thanks & Regards - Archit

Attachments

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

  • Hello,

    Thank you for providing this information about the issue. To help us repro the problem, please attach or link us to your packaged extension.

    Best Wishes,
    The MS Edge Team

  • Hello James,

    Thank you for revert. I have attached extension as requested.

    Steps to reproduce.

    1. Install extension in edge.
    2. Open any URL (e.g. https://developer.microsoft.com/en-us/ )
    3. Reload extension from extension side-pan. You will see alert there.

    Now, for #2 step open URL which render PDF and try reloading extension. (for e.g. http://www.pdf995.com/samples/pdf.pdf ). You will see nothing.

    This issue occures with Edge v41. Hoever v38 working fine.

    Please let me know if anything more I can give you.

    Thanks,
    Archit

  • Hello James,

    To get more idea, I have also attached screenshots of how extension behaves in Edge V38 and V41.

    Snapshot caption:
    38_any_webpage.png >> Working fine for all URLs
    38_pdf_page.png >> For PDF pages, it works fine.
    41_any_webpage.png >> Working fine for all URLs
    41_pdf_page.png >> For PDF pages, it doesn’t show any error either

    I am using, browser.tabs.executeScript() API which is adding content script dynamically from background js.

    Thanks,
    Archit

  • Microsoft Edge Team

    Changed Assigned To from “James M.” to “Kazim M.”

    Changed Status to “Confirmed”

    Changed Assigned To from “Kazim M.” to “Irfan A.”

  • Hello Irfan,

    Any update on this?

    I am also facing the same.

    Thanks,
    Parixit

  • Microsoft Edge Team

    Changed Assigned To from “Irfan A.” to “Mahesh J.”

  • Hello Mahesh,

    Any update on this?

    I am also facing the same.

    Thanks,
    Parixit

  • Microsoft Edge Team

    Changed Status from “Confirmed” to “By design”

  • Hello,
    We do not currently support extensions on PDF documents opened in Edge. We will consider this feedback for our roadmap.
    Thanks!

  • Hello Balaje,

    Thanks for reply.

    As you said you do not support extensions in PDF, but v38 has no issue at all, only problem with v41.

    Thanks,
    Parixit

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

Sign in