2.1.76 [W3C-HTML52] Section 6.1.1.1. Navigating nested browsing contexts in the DOM

V0413: In a nested browsing context, the frameElement attribute returns undefined, not an object

The specification states:

 6.1.1.1 Navigating nested browsing contexts in the DOM
     ...
     The frameElement IDL attribute, on getting, must run the following algorithm:
  
         1.  Let d be the Window object’s associated Document.
         2.  Let context be d’s browsing context.
         3.  If context is not a nested browsing context, return null and abort these 
             steps.
         4.  Let container be context’s browsing context container.
         5.  If container’s node document’s origin is not same origin-domain with the 
             entry settings object’s origin, then return null and abort these steps.
         6.  Return container.

EdgeHTML Mode

In a nested browsing context, the frameElement attribute returns undefined, not an object.