Modifying the data attribute of an object elment doesn't show the new content

Won’t fix Issue #8408355

Details

Author
John H.
Created
Aug 5, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
14.14393
Reports
Reported by 4 people

Sign in to watch or report this issue.

Steps to reproduce

If the data attribute of an object element is dynamically updated, the new content isn’t displayed.

Here’s a simple example that reproduces the problem on Edge 38.14393.0.0, EdgeHTML 14.14393:

Plunkr

<!DOCTYPE html>
<html>
  <head>
    <script data-require="jquery@*" data-semver="3.0.0" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.js"></script>
    <script>
        $(document).ready(function () {
          $('#pdfObj').prop('data', 'http://www.pdf995.com/samples/pdf.pdf');
        });
    </script>
  </head>
  <body>
    <h1>PDF viewer</h1>
      <object id="pdfObj" data="" type="application/pdf" width="500px" height="500px">
        <p>This browser doesn't support object</p>
      </object>
  </body>
</html>

The Plunkr properly displays the PDF file on Chrome and FF, but on Edge the object element stays blank.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Ibrahim O.”

      Changed Assigned To to “Travis L.”

      Changed Assigned To to “Amit K.”

      Changed Assigned To from “Amit K.” to “Manoj B.”

      Changed Assigned To from “Manoj B.” to “Anoop P.”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed” to “Won’t fix”

    • Thanks for your feedback. We have
      triaged this issue and given other work in this area this wouldn’t make the bug
      bar for coming release. I have marked your feedback for further consideration
      and we hope to get back to it in one of the future releases.

    • There are any news about this bug? Can you re-considering the fixing?

      Thank You!

    • I doubt they will be fixing it. I opened a new bug report (12148261) to get the issue fixed, and after being confirmed and passed around a few times, it was deleted.

      Wish Micro$oft was as interested in good software as they were in data mining…

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

    Sign in