Interop: body element attribute 'onpageshow' appears as `null` in JavaScript when accessing element attributes

Fixed Issue #172627

Details

Created
May 5, 2014
Privacy
This issue is public.
Found in build #
0.0011
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL = http://jsfiddle.net/zvRXJ/2/

http://bugs.jquery.com/ticket/14894

Repro Steps:

[Updated]
– Open IE to about:blank
– Open F12 and select console view
– Load JSFiddle link http://jsfiddle.net/zvRXJ/2/
– Click the button on the page titled 'Log $(“body”).data()'

  1. Create a test page with a body element that has an ‘onpageshow’ attribute.
  2. In IE11 browser developer tools, inspect the body element.
  3. In the JavaScript console, enter $0.attributes.

null will appear in place of the ‘onpageshow’ attribute in the returned NamedNodeMap.

Expected Results:

‘onpageshow’ should appear as a properly named attribute object

Actual Results:

 

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Eugene V.”

      Changed Steps to Reproduce

      Changed Status to “Confirmed”

      Changed Assigned To from “Eugene V.” to “Sanket J.”

      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 Status from “In progress” to “In code review”

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

      Changed Assigned To from “Sanket J.” to “Louis S.”

      Changed Status from “In progress” to “Fixed”

      Changed Steps to Reproduce

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

    Sign in