2.1.106 [HTML5] Section 5.1.1.1 Navigating nested browsing contexts in the DOM

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

The specification states:

 5.1.1.1 Navigating nested browsing contexts in the DOM
     ...
     The frameElement IDL attribute on the Window object of a Document d, on getting, must 
     run the following algorithm:
  
         1.  If d is not a Document in a nested browsing context, return null and abort 
             these steps.
  
         2.  If the browsing context container's Document does not have the same effective 
             script origin as the effective script origin specified by the entry settings 
             object, then throw a SecurityError exception and abort these steps.
  
         3.  Return the browsing context container for b.

All document modes (All versions)

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

V0240: The frameElement does not throw a security error

The specification states:

 5.1.1.1 Navigating nested browsing contexts in the DOM
     ...
     The frameElement IDL attribute on the Window object of a Document d, on getting, must 
     run the following algorithm:
  
         1.  If d is not a Document in a nested browsing context, return null and abort 
             these steps.
  
         2.  If the browsing context container's Document does not have the same effective 
             script origin as the effective script origin specified by the entry settings 
             object, then throw a SecurityError exception and abort these steps.
  
         3.  Return the browsing context container for b.

All document modes (All versions)

The frameElement does not throw a security error.

Show: