Changeset 205686 in webkit


Ignore:
Timestamp:
Sep 8, 2016 6:53:51 PM (8 years ago)
Author:
Chris Dumez
Message:

Add support for HTMLIframeElement.allowFullscreen attribute
https://bugs.webkit.org/show_bug.cgi?id=161757

Reviewed by Sam Weinig.

LayoutTests/imported/w3c:

Rebaseline W3C test now that more checks are passing.

  • web-platform-tests/html/dom/reflection-embedded-expected.txt:

Source/WebCore:

Add support for HTMLIframeElement.allowFullscreen attribute:

Firefox and Chrome already support it, unprefixed.

Note that the HTMLIframeElement.allowFullscreen attribute reflects the
allowfullscreen content attribute which we already support.

Test: fullscreen/full-screen-iframe-allowFullscreen.html

  • html/HTMLIFrameElement.idl:

LayoutTests:

Add layout test coverage.

  • fullscreen/full-screen-iframe-allowFullscreen-expected.txt: Added.
  • fullscreen/full-screen-iframe-allowFullscreen.html: Added.
Location:
trunk
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r205673 r205686  
     12016-09-08  Chris Dumez  <cdumez@apple.com>
     2
     3        Add support for HTMLIframeElement.allowFullscreen attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=161757
     5
     6        Reviewed by Sam Weinig.
     7
     8        Add layout test coverage.
     9
     10        * fullscreen/full-screen-iframe-allowFullscreen-expected.txt: Added.
     11        * fullscreen/full-screen-iframe-allowFullscreen.html: Added.
     12
    1132016-09-08  Ryan Haddad  <ryanhaddad@apple.com>
    214
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r205685 r205686  
     12016-09-08  Chris Dumez  <cdumez@apple.com>
     2
     3        Add support for HTMLIframeElement.allowFullscreen attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=161757
     5
     6        Reviewed by Sam Weinig.
     7
     8        Rebaseline W3C test now that more checks are passing.
     9
     10        * web-platform-tests/html/dom/reflection-embedded-expected.txt:
     11
    1122016-09-08  Chris Dumez  <cdumez@apple.com>
    213
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt

    r205685 r205686  
    27732773PASS iframe.seamless: IDL set to object "test-valueOf" followed by hasAttribute()
    27742774FAIL iframe.seamless: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected (boolean) true but got (object) object "test-valueOf"
    2775 FAIL iframe.allowFullscreen: typeof IDL attribute assert_equals: expected "boolean" but got "undefined"
    2776 FAIL iframe.allowFullscreen: IDL get with DOM attribute unset assert_equals: expected (boolean) false but got (undefined) undefined
     2775PASS iframe.allowFullscreen: typeof IDL attribute
     2776PASS iframe.allowFullscreen: IDL get with DOM attribute unset
    27772777PASS iframe.allowFullscreen: setAttribute() to "" followed by getAttribute()
    2778 FAIL iframe.allowFullscreen: setAttribute() to "" followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2778PASS iframe.allowFullscreen: setAttribute() to "" followed by IDL get
    27792779PASS iframe.allowFullscreen: setAttribute() to " foo " followed by getAttribute()
    2780 FAIL iframe.allowFullscreen: setAttribute() to " foo " followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2780PASS iframe.allowFullscreen: setAttribute() to " foo " followed by IDL get
    27812781PASS iframe.allowFullscreen: setAttribute() to undefined followed by getAttribute()
    2782 FAIL iframe.allowFullscreen: setAttribute() to undefined followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2782PASS iframe.allowFullscreen: setAttribute() to undefined followed by IDL get
    27832783PASS iframe.allowFullscreen: setAttribute() to null followed by getAttribute()
    2784 FAIL iframe.allowFullscreen: setAttribute() to null followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2784PASS iframe.allowFullscreen: setAttribute() to null followed by IDL get
    27852785PASS iframe.allowFullscreen: setAttribute() to 7 followed by getAttribute()
    2786 FAIL iframe.allowFullscreen: setAttribute() to 7 followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2786PASS iframe.allowFullscreen: setAttribute() to 7 followed by IDL get
    27872787PASS iframe.allowFullscreen: setAttribute() to 1.5 followed by getAttribute()
    2788 FAIL iframe.allowFullscreen: setAttribute() to 1.5 followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2788PASS iframe.allowFullscreen: setAttribute() to 1.5 followed by IDL get
    27892789PASS iframe.allowFullscreen: setAttribute() to true followed by getAttribute()
    2790 FAIL iframe.allowFullscreen: setAttribute() to true followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2790PASS iframe.allowFullscreen: setAttribute() to true followed by IDL get
    27912791PASS iframe.allowFullscreen: setAttribute() to false followed by getAttribute()
    2792 FAIL iframe.allowFullscreen: setAttribute() to false followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2792PASS iframe.allowFullscreen: setAttribute() to false followed by IDL get
    27932793PASS iframe.allowFullscreen: setAttribute() to object "[object Object]" followed by getAttribute()
    2794 FAIL iframe.allowFullscreen: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2794PASS iframe.allowFullscreen: setAttribute() to object "[object Object]" followed by IDL get
    27952795PASS iframe.allowFullscreen: setAttribute() to NaN followed by getAttribute()
    2796 FAIL iframe.allowFullscreen: setAttribute() to NaN followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2796PASS iframe.allowFullscreen: setAttribute() to NaN followed by IDL get
    27972797PASS iframe.allowFullscreen: setAttribute() to Infinity followed by getAttribute()
    2798 FAIL iframe.allowFullscreen: setAttribute() to Infinity followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2798PASS iframe.allowFullscreen: setAttribute() to Infinity followed by IDL get
    27992799PASS iframe.allowFullscreen: setAttribute() to -Infinity followed by getAttribute()
    2800 FAIL iframe.allowFullscreen: setAttribute() to -Infinity followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2800PASS iframe.allowFullscreen: setAttribute() to -Infinity followed by IDL get
    28012801PASS iframe.allowFullscreen: setAttribute() to "\0" followed by getAttribute()
    2802 FAIL iframe.allowFullscreen: setAttribute() to "\0" followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2802PASS iframe.allowFullscreen: setAttribute() to "\0" followed by IDL get
    28032803PASS iframe.allowFullscreen: setAttribute() to object "test-toString" followed by getAttribute()
    2804 FAIL iframe.allowFullscreen: setAttribute() to object "test-toString" followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2804PASS iframe.allowFullscreen: setAttribute() to object "test-toString" followed by IDL get
    28052805PASS iframe.allowFullscreen: setAttribute() to object "test-valueOf" followed by getAttribute()
    2806 FAIL iframe.allowFullscreen: setAttribute() to object "test-valueOf" followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2806PASS iframe.allowFullscreen: setAttribute() to object "test-valueOf" followed by IDL get
    28072807PASS iframe.allowFullscreen: setAttribute() to "allowFullscreen" followed by getAttribute()
    2808 FAIL iframe.allowFullscreen: setAttribute() to "allowFullscreen" followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2808PASS iframe.allowFullscreen: setAttribute() to "allowFullscreen" followed by IDL get
    28092809PASS iframe.allowFullscreen: IDL set to "" should not throw
    2810 FAIL iframe.allowFullscreen: IDL set to "" followed by hasAttribute() assert_equals: expected false but got true
    2811 FAIL iframe.allowFullscreen: IDL set to "" followed by IDL get assert_equals: expected (boolean) false but got (string) ""
     2810PASS iframe.allowFullscreen: IDL set to "" followed by hasAttribute()
     2811PASS iframe.allowFullscreen: IDL set to "" followed by IDL get
    28122812PASS iframe.allowFullscreen: IDL set to " foo " should not throw
    28132813PASS iframe.allowFullscreen: IDL set to " foo " followed by hasAttribute()
    2814 FAIL iframe.allowFullscreen: IDL set to " foo " followed by IDL get assert_equals: expected (boolean) true but got (string) " foo "
     2814PASS iframe.allowFullscreen: IDL set to " foo " followed by IDL get
    28152815PASS iframe.allowFullscreen: IDL set to undefined should not throw
    2816 FAIL iframe.allowFullscreen: IDL set to undefined followed by hasAttribute() assert_equals: expected false but got true
    2817 FAIL iframe.allowFullscreen: IDL set to undefined followed by IDL get assert_equals: expected (boolean) false but got (undefined) undefined
     2816PASS iframe.allowFullscreen: IDL set to undefined followed by hasAttribute()
     2817PASS iframe.allowFullscreen: IDL set to undefined followed by IDL get
    28182818PASS iframe.allowFullscreen: IDL set to null should not throw
    2819 FAIL iframe.allowFullscreen: IDL set to null followed by hasAttribute() assert_equals: expected false but got true
    2820 FAIL iframe.allowFullscreen: IDL set to null followed by IDL get assert_equals: expected (boolean) false but got (object) null
     2819PASS iframe.allowFullscreen: IDL set to null followed by hasAttribute()
     2820PASS iframe.allowFullscreen: IDL set to null followed by IDL get
    28212821PASS iframe.allowFullscreen: IDL set to 7 should not throw
    28222822PASS iframe.allowFullscreen: IDL set to 7 followed by hasAttribute()
    2823 FAIL iframe.allowFullscreen: IDL set to 7 followed by IDL get assert_equals: expected (boolean) true but got (number) 7
     2823PASS iframe.allowFullscreen: IDL set to 7 followed by IDL get
    28242824PASS iframe.allowFullscreen: IDL set to 1.5 should not throw
    28252825PASS iframe.allowFullscreen: IDL set to 1.5 followed by hasAttribute()
    2826 FAIL iframe.allowFullscreen: IDL set to 1.5 followed by IDL get assert_equals: expected (boolean) true but got (number) 1.5
     2826PASS iframe.allowFullscreen: IDL set to 1.5 followed by IDL get
    28272827PASS iframe.allowFullscreen: IDL set to true should not throw
    28282828PASS iframe.allowFullscreen: IDL set to true followed by hasAttribute()
    28292829PASS iframe.allowFullscreen: IDL set to true followed by IDL get
    28302830PASS iframe.allowFullscreen: IDL set to false should not throw
    2831 FAIL iframe.allowFullscreen: IDL set to false followed by hasAttribute() assert_equals: expected false but got true
     2831PASS iframe.allowFullscreen: IDL set to false followed by hasAttribute()
    28322832PASS iframe.allowFullscreen: IDL set to false followed by IDL get
    28332833PASS iframe.allowFullscreen: IDL set to object "[object Object]" should not throw
    28342834PASS iframe.allowFullscreen: IDL set to object "[object Object]" followed by hasAttribute()
    2835 FAIL iframe.allowFullscreen: IDL set to object "[object Object]" followed by IDL get assert_equals: expected (boolean) true but got (object) object "[object Object]"
     2835PASS iframe.allowFullscreen: IDL set to object "[object Object]" followed by IDL get
    28362836PASS iframe.allowFullscreen: IDL set to NaN should not throw
    2837 FAIL iframe.allowFullscreen: IDL set to NaN followed by hasAttribute() assert_equals: expected false but got true
    2838 FAIL iframe.allowFullscreen: IDL set to NaN followed by IDL get assert_equals: expected (boolean) false but got (number) NaN
     2837PASS iframe.allowFullscreen: IDL set to NaN followed by hasAttribute()
     2838PASS iframe.allowFullscreen: IDL set to NaN followed by IDL get
    28392839PASS iframe.allowFullscreen: IDL set to Infinity should not throw
    28402840PASS iframe.allowFullscreen: IDL set to Infinity followed by hasAttribute()
    2841 FAIL iframe.allowFullscreen: IDL set to Infinity followed by IDL get assert_equals: expected (boolean) true but got (number) Infinity
     2841PASS iframe.allowFullscreen: IDL set to Infinity followed by IDL get
    28422842PASS iframe.allowFullscreen: IDL set to -Infinity should not throw
    28432843PASS iframe.allowFullscreen: IDL set to -Infinity followed by hasAttribute()
    2844 FAIL iframe.allowFullscreen: IDL set to -Infinity followed by IDL get assert_equals: expected (boolean) true but got (number) -Infinity
     2844PASS iframe.allowFullscreen: IDL set to -Infinity followed by IDL get
    28452845PASS iframe.allowFullscreen: IDL set to "\0" should not throw
    28462846PASS iframe.allowFullscreen: IDL set to "\0" followed by hasAttribute()
    2847 FAIL iframe.allowFullscreen: IDL set to "\0" followed by IDL get assert_equals: expected (boolean) true but got (string) "\0"
     2847PASS iframe.allowFullscreen: IDL set to "\0" followed by IDL get
    28482848PASS iframe.allowFullscreen: IDL set to object "test-toString" should not throw
    28492849PASS iframe.allowFullscreen: IDL set to object "test-toString" followed by hasAttribute()
    2850 FAIL iframe.allowFullscreen: IDL set to object "test-toString" followed by IDL get assert_equals: expected (boolean) true but got (object) object "test-toString"
     2850PASS iframe.allowFullscreen: IDL set to object "test-toString" followed by IDL get
    28512851PASS iframe.allowFullscreen: IDL set to object "test-valueOf" should not throw
    28522852PASS iframe.allowFullscreen: IDL set to object "test-valueOf" followed by hasAttribute()
    2853 FAIL iframe.allowFullscreen: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected (boolean) true but got (object) object "test-valueOf"
     2853PASS iframe.allowFullscreen: IDL set to object "test-valueOf" followed by IDL get
    28542854PASS iframe.width: typeof IDL attribute
    28552855PASS iframe.width: IDL get with DOM attribute unset
  • trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt

    r205685 r205686  
    27732773PASS iframe.seamless: IDL set to object "test-valueOf" followed by hasAttribute()
    27742774FAIL iframe.seamless: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected (boolean) true but got (object) object "test-valueOf"
    2775 FAIL iframe.allowFullscreen: typeof IDL attribute assert_equals: expected "boolean" but got "undefined"
    2776 FAIL iframe.allowFullscreen: IDL get with DOM attribute unset assert_equals: expected (boolean) false but got (undefined) undefined
     2775PASS iframe.allowFullscreen: typeof IDL attribute
     2776PASS iframe.allowFullscreen: IDL get with DOM attribute unset
    27772777PASS iframe.allowFullscreen: setAttribute() to "" followed by getAttribute()
    2778 FAIL iframe.allowFullscreen: setAttribute() to "" followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2778PASS iframe.allowFullscreen: setAttribute() to "" followed by IDL get
    27792779PASS iframe.allowFullscreen: setAttribute() to " foo " followed by getAttribute()
    2780 FAIL iframe.allowFullscreen: setAttribute() to " foo " followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2780PASS iframe.allowFullscreen: setAttribute() to " foo " followed by IDL get
    27812781PASS iframe.allowFullscreen: setAttribute() to undefined followed by getAttribute()
    2782 FAIL iframe.allowFullscreen: setAttribute() to undefined followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2782PASS iframe.allowFullscreen: setAttribute() to undefined followed by IDL get
    27832783PASS iframe.allowFullscreen: setAttribute() to null followed by getAttribute()
    2784 FAIL iframe.allowFullscreen: setAttribute() to null followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2784PASS iframe.allowFullscreen: setAttribute() to null followed by IDL get
    27852785PASS iframe.allowFullscreen: setAttribute() to 7 followed by getAttribute()
    2786 FAIL iframe.allowFullscreen: setAttribute() to 7 followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2786PASS iframe.allowFullscreen: setAttribute() to 7 followed by IDL get
    27872787PASS iframe.allowFullscreen: setAttribute() to 1.5 followed by getAttribute()
    2788 FAIL iframe.allowFullscreen: setAttribute() to 1.5 followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2788PASS iframe.allowFullscreen: setAttribute() to 1.5 followed by IDL get
    27892789PASS iframe.allowFullscreen: setAttribute() to true followed by getAttribute()
    2790 FAIL iframe.allowFullscreen: setAttribute() to true followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2790PASS iframe.allowFullscreen: setAttribute() to true followed by IDL get
    27912791PASS iframe.allowFullscreen: setAttribute() to false followed by getAttribute()
    2792 FAIL iframe.allowFullscreen: setAttribute() to false followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2792PASS iframe.allowFullscreen: setAttribute() to false followed by IDL get
    27932793PASS iframe.allowFullscreen: setAttribute() to object "[object Object]" followed by getAttribute()
    2794 FAIL iframe.allowFullscreen: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2794PASS iframe.allowFullscreen: setAttribute() to object "[object Object]" followed by IDL get
    27952795PASS iframe.allowFullscreen: setAttribute() to NaN followed by getAttribute()
    2796 FAIL iframe.allowFullscreen: setAttribute() to NaN followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2796PASS iframe.allowFullscreen: setAttribute() to NaN followed by IDL get
    27972797PASS iframe.allowFullscreen: setAttribute() to Infinity followed by getAttribute()
    2798 FAIL iframe.allowFullscreen: setAttribute() to Infinity followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2798PASS iframe.allowFullscreen: setAttribute() to Infinity followed by IDL get
    27992799PASS iframe.allowFullscreen: setAttribute() to -Infinity followed by getAttribute()
    2800 FAIL iframe.allowFullscreen: setAttribute() to -Infinity followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2800PASS iframe.allowFullscreen: setAttribute() to -Infinity followed by IDL get
    28012801PASS iframe.allowFullscreen: setAttribute() to "\0" followed by getAttribute()
    2802 FAIL iframe.allowFullscreen: setAttribute() to "\0" followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2802PASS iframe.allowFullscreen: setAttribute() to "\0" followed by IDL get
    28032803PASS iframe.allowFullscreen: setAttribute() to object "test-toString" followed by getAttribute()
    2804 FAIL iframe.allowFullscreen: setAttribute() to object "test-toString" followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2804PASS iframe.allowFullscreen: setAttribute() to object "test-toString" followed by IDL get
    28052805PASS iframe.allowFullscreen: setAttribute() to object "test-valueOf" followed by getAttribute()
    2806 FAIL iframe.allowFullscreen: setAttribute() to object "test-valueOf" followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2806PASS iframe.allowFullscreen: setAttribute() to object "test-valueOf" followed by IDL get
    28072807PASS iframe.allowFullscreen: setAttribute() to "allowFullscreen" followed by getAttribute()
    2808 FAIL iframe.allowFullscreen: setAttribute() to "allowFullscreen" followed by IDL get assert_equals: expected (boolean) true but got (undefined) undefined
     2808PASS iframe.allowFullscreen: setAttribute() to "allowFullscreen" followed by IDL get
    28092809PASS iframe.allowFullscreen: IDL set to "" should not throw
    2810 FAIL iframe.allowFullscreen: IDL set to "" followed by hasAttribute() assert_equals: expected false but got true
    2811 FAIL iframe.allowFullscreen: IDL set to "" followed by IDL get assert_equals: expected (boolean) false but got (string) ""
     2810PASS iframe.allowFullscreen: IDL set to "" followed by hasAttribute()
     2811PASS iframe.allowFullscreen: IDL set to "" followed by IDL get
    28122812PASS iframe.allowFullscreen: IDL set to " foo " should not throw
    28132813PASS iframe.allowFullscreen: IDL set to " foo " followed by hasAttribute()
    2814 FAIL iframe.allowFullscreen: IDL set to " foo " followed by IDL get assert_equals: expected (boolean) true but got (string) " foo "
     2814PASS iframe.allowFullscreen: IDL set to " foo " followed by IDL get
    28152815PASS iframe.allowFullscreen: IDL set to undefined should not throw
    2816 FAIL iframe.allowFullscreen: IDL set to undefined followed by hasAttribute() assert_equals: expected false but got true
    2817 FAIL iframe.allowFullscreen: IDL set to undefined followed by IDL get assert_equals: expected (boolean) false but got (undefined) undefined
     2816PASS iframe.allowFullscreen: IDL set to undefined followed by hasAttribute()
     2817PASS iframe.allowFullscreen: IDL set to undefined followed by IDL get
    28182818PASS iframe.allowFullscreen: IDL set to null should not throw
    2819 FAIL iframe.allowFullscreen: IDL set to null followed by hasAttribute() assert_equals: expected false but got true
    2820 FAIL iframe.allowFullscreen: IDL set to null followed by IDL get assert_equals: expected (boolean) false but got (object) null
     2819PASS iframe.allowFullscreen: IDL set to null followed by hasAttribute()
     2820PASS iframe.allowFullscreen: IDL set to null followed by IDL get
    28212821PASS iframe.allowFullscreen: IDL set to 7 should not throw
    28222822PASS iframe.allowFullscreen: IDL set to 7 followed by hasAttribute()
    2823 FAIL iframe.allowFullscreen: IDL set to 7 followed by IDL get assert_equals: expected (boolean) true but got (number) 7
     2823PASS iframe.allowFullscreen: IDL set to 7 followed by IDL get
    28242824PASS iframe.allowFullscreen: IDL set to 1.5 should not throw
    28252825PASS iframe.allowFullscreen: IDL set to 1.5 followed by hasAttribute()
    2826 FAIL iframe.allowFullscreen: IDL set to 1.5 followed by IDL get assert_equals: expected (boolean) true but got (number) 1.5
     2826PASS iframe.allowFullscreen: IDL set to 1.5 followed by IDL get
    28272827PASS iframe.allowFullscreen: IDL set to true should not throw
    28282828PASS iframe.allowFullscreen: IDL set to true followed by hasAttribute()
    28292829PASS iframe.allowFullscreen: IDL set to true followed by IDL get
    28302830PASS iframe.allowFullscreen: IDL set to false should not throw
    2831 FAIL iframe.allowFullscreen: IDL set to false followed by hasAttribute() assert_equals: expected false but got true
     2831PASS iframe.allowFullscreen: IDL set to false followed by hasAttribute()
    28322832PASS iframe.allowFullscreen: IDL set to false followed by IDL get
    28332833PASS iframe.allowFullscreen: IDL set to object "[object Object]" should not throw
    28342834PASS iframe.allowFullscreen: IDL set to object "[object Object]" followed by hasAttribute()
    2835 FAIL iframe.allowFullscreen: IDL set to object "[object Object]" followed by IDL get assert_equals: expected (boolean) true but got (object) object "[object Object]"
     2835PASS iframe.allowFullscreen: IDL set to object "[object Object]" followed by IDL get
    28362836PASS iframe.allowFullscreen: IDL set to NaN should not throw
    2837 FAIL iframe.allowFullscreen: IDL set to NaN followed by hasAttribute() assert_equals: expected false but got true
    2838 FAIL iframe.allowFullscreen: IDL set to NaN followed by IDL get assert_equals: expected (boolean) false but got (number) NaN
     2837PASS iframe.allowFullscreen: IDL set to NaN followed by hasAttribute()
     2838PASS iframe.allowFullscreen: IDL set to NaN followed by IDL get
    28392839PASS iframe.allowFullscreen: IDL set to Infinity should not throw
    28402840PASS iframe.allowFullscreen: IDL set to Infinity followed by hasAttribute()
    2841 FAIL iframe.allowFullscreen: IDL set to Infinity followed by IDL get assert_equals: expected (boolean) true but got (number) Infinity
     2841PASS iframe.allowFullscreen: IDL set to Infinity followed by IDL get
    28422842PASS iframe.allowFullscreen: IDL set to -Infinity should not throw
    28432843PASS iframe.allowFullscreen: IDL set to -Infinity followed by hasAttribute()
    2844 FAIL iframe.allowFullscreen: IDL set to -Infinity followed by IDL get assert_equals: expected (boolean) true but got (number) -Infinity
     2844PASS iframe.allowFullscreen: IDL set to -Infinity followed by IDL get
    28452845PASS iframe.allowFullscreen: IDL set to "\0" should not throw
    28462846PASS iframe.allowFullscreen: IDL set to "\0" followed by hasAttribute()
    2847 FAIL iframe.allowFullscreen: IDL set to "\0" followed by IDL get assert_equals: expected (boolean) true but got (string) "\0"
     2847PASS iframe.allowFullscreen: IDL set to "\0" followed by IDL get
    28482848PASS iframe.allowFullscreen: IDL set to object "test-toString" should not throw
    28492849PASS iframe.allowFullscreen: IDL set to object "test-toString" followed by hasAttribute()
    2850 FAIL iframe.allowFullscreen: IDL set to object "test-toString" followed by IDL get assert_equals: expected (boolean) true but got (object) object "test-toString"
     2850PASS iframe.allowFullscreen: IDL set to object "test-toString" followed by IDL get
    28512851PASS iframe.allowFullscreen: IDL set to object "test-valueOf" should not throw
    28522852PASS iframe.allowFullscreen: IDL set to object "test-valueOf" followed by hasAttribute()
    2853 FAIL iframe.allowFullscreen: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected (boolean) true but got (object) object "test-valueOf"
     2853PASS iframe.allowFullscreen: IDL set to object "test-valueOf" followed by IDL get
    28542854PASS iframe.width: typeof IDL attribute
    28552855PASS iframe.width: IDL get with DOM attribute unset
  • trunk/Source/WebCore/ChangeLog

    r205685 r205686  
     12016-09-08  Chris Dumez  <cdumez@apple.com>
     2
     3        Add support for HTMLIframeElement.allowFullscreen attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=161757
     5
     6        Reviewed by Sam Weinig.
     7
     8        Add support for HTMLIframeElement.allowFullscreen attribute:
     9        - https://html.spec.whatwg.org/#dom-iframe-allowfullscreen
     10
     11        Firefox and Chrome already support it, unprefixed.
     12
     13        Note that the HTMLIframeElement.allowFullscreen attribute reflects the
     14        allowfullscreen content attribute which we already support.
     15
     16        Test: fullscreen/full-screen-iframe-allowFullscreen.html
     17
     18        * html/HTMLIFrameElement.idl:
     19
    1202016-09-08  Chris Dumez  <cdumez@apple.com>
    221
  • trunk/Source/WebCore/html/HTMLIFrameElement.idl

    r205685 r205686  
    2929
    3030    [PutForwards=value] readonly attribute DOMTokenList sandbox;
     31    [Reflect] attribute boolean allowFullscreen;
    3132
    3233    [Reflect] attribute DOMString scrolling;
Note: See TracChangeset for help on using the changeset viewer.