Changeset 118737 in webkit


Ignore:
Timestamp:
May 29, 2012 2:01:34 AM (12 years ago)
Author:
eric@webkit.org
Message:

Add HTMLIFrameElement.seamless property accessor now that seamless is enabled and works
https://bugs.webkit.org/show_bug.cgi?id=87708

Reviewed by Adam Barth.

Source/WebCore:

Lots of tests in fast/frames/seamless cover this property.

  • html/HTMLIFrameElement.idl:

LayoutTests:

  • fast/frames/seamless/seamless-basic-expected.txt:
  • fast/frames/seamless/seamless-inherited-origin-expected.txt:
  • fast/frames/seamless/seamless-nested-expected.txt:
  • fast/frames/seamless/seamless-quirks-expected.txt:
  • fast/frames/seamless/seamless-sandbox-flag-expected.txt:
  • fast/frames/seamless/seamless-sandbox-srcdoc-expected.txt:
  • http/tests/security/seamless/seamless-cross-origin-expected.txt:
  • http/tests/security/seamless/seamless-sandbox-srcdoc-expected.txt:
Location:
trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r118735 r118737  
     12012-05-29  Eric Seidel  <eric@webkit.org>
     2
     3        Add HTMLIFrameElement.seamless property accessor now that seamless is enabled and works
     4        https://bugs.webkit.org/show_bug.cgi?id=87708
     5
     6        Reviewed by Adam Barth.
     7
     8        * fast/frames/seamless/seamless-basic-expected.txt:
     9        * fast/frames/seamless/seamless-inherited-origin-expected.txt:
     10        * fast/frames/seamless/seamless-nested-expected.txt:
     11        * fast/frames/seamless/seamless-quirks-expected.txt:
     12        * fast/frames/seamless/seamless-sandbox-flag-expected.txt:
     13        * fast/frames/seamless/seamless-sandbox-srcdoc-expected.txt:
     14        * http/tests/security/seamless/seamless-cross-origin-expected.txt:
     15        * http/tests/security/seamless/seamless-sandbox-srcdoc-expected.txt:
     16
    1172012-05-29  Nikolas Zimmermann  <nzimmermann@rim.com>
    218
  • trunk/LayoutTests/fast/frames/seamless/seamless-basic-expected.txt

    r118291 r118737  
    11Test basic seamless auto-sizing-to-content functionality.
    2 FAIL iframe.seamless should be true (of type boolean). Was undefined (of type undefined).
     2PASS iframe.seamless is true
    33PASS window.getComputedStyle(iframe).display is "block"
    44PASS window.getComputedStyle(iframe).width is "200px"
  • trunk/LayoutTests/fast/frames/seamless/seamless-inherited-origin-expected.txt

    r118291 r118737  
    11Test that frames with inherited security origins can still be seamless.
    2 FAIL iframe.seamless should be true (of type boolean). Was undefined (of type undefined).
     2PASS iframe.seamless is true
    33PASS window.getComputedStyle(iframe).width is "200px"
    44PASS window.getComputedStyle(iframe).height is "8px"
  • trunk/LayoutTests/fast/frames/seamless/seamless-nested-expected.txt

    r118291 r118737  
    11Test that nested seamless iframes size correctly.
    2 FAIL iframe.seamless should be true (of type boolean). Was undefined (of type undefined).
    3 FAIL nestedFrame.seamless should be true (of type boolean). Was undefined (of type undefined).
     2PASS iframe.seamless is true
     3PASS nestedFrame.seamless is true
    44PASS window.getComputedStyle(iframe).width is "200px"
    55PASS window.getComputedStyle(iframe).height is "100px"
  • trunk/LayoutTests/fast/frames/seamless/seamless-quirks-expected.txt

    r118291 r118737  
    11Test that a quirks-mode document inside a seamless iframe sizes correctly.
    2 FAIL iframe.seamless should be true (of type boolean). Was undefined (of type undefined).
     2PASS iframe.seamless is true
    33PASS iframe.contentDocument.compatMode is "BackCompat"
    44PASS window.getComputedStyle(iframe).width is "200px"
  • trunk/LayoutTests/fast/frames/seamless/seamless-sandbox-flag-expected.txt

    r118291 r118737  
    11Test that sandbox disables nested seamless iframes correctly.
    2 FAIL iframe.seamless should be true (of type boolean). Was undefined (of type undefined).
    3 FAIL nestedFrame.seamless should be true (of type boolean). Was undefined (of type undefined).
     2PASS iframe.seamless is true
     3PASS nestedFrame.seamless is true
    44PASS window.getComputedStyle(iframe).display is "block"
    55PASS window.getComputedStyle(iframe).borderWidth is "0px"
  • trunk/LayoutTests/fast/frames/seamless/seamless-sandbox-srcdoc-expected.txt

    r118291 r118737  
    11Test that iframes with srcdoc contents can still be seamless.
    2 FAIL iframe.seamless should be true (of type boolean). Was undefined (of type undefined).
     2PASS iframe.seamless is true
    33PASS window.getComputedStyle(iframe).width is "200px"
    44PASS window.getComputedStyle(iframe).height is "100px"
  • trunk/LayoutTests/http/tests/security/seamless/seamless-cross-origin-expected.txt

    r118291 r118737  
    1 FAIL iframe1.seamless should be true (of type boolean). Was undefined (of type undefined).
    2 FAIL iframe2.seamless should be true (of type boolean). Was undefined (of type undefined).
     1PASS iframe1.seamless is true
     2PASS iframe2.seamless is true
    33PASS window.getComputedStyle(iframe1).width is "200px"
    44PASS window.getComputedStyle(iframe1).height is "100px"
  • trunk/LayoutTests/http/tests/security/seamless/seamless-sandbox-srcdoc-expected.txt

    r118291 r118737  
    1 FAIL iframe.seamless should be true (of type boolean). Was undefined (of type undefined).
     1PASS iframe.seamless is true
    22PASS window.getComputedStyle(iframe).width is "200px"
    33PASS window.getComputedStyle(iframe).height is "100px"
  • trunk/Source/WebCore/ChangeLog

    r118736 r118737  
     12012-05-29  Eric Seidel  <eric@webkit.org>
     2
     3        Add HTMLIFrameElement.seamless property accessor now that seamless is enabled and works
     4        https://bugs.webkit.org/show_bug.cgi?id=87708
     5
     6        Reviewed by Adam Barth.
     7
     8        Lots of tests in fast/frames/seamless cover this property.
     9
     10        * html/HTMLIFrameElement.idl:
     11
    1122012-05-29  Kentaro Hara  <haraken@chromium.org>
    213
  • trunk/Source/WebCore/html/HTMLIFrameElement.idl

    r113143 r118737  
    3030        attribute [Reflect] DOMString name;
    3131        attribute [Reflect] DOMString sandbox;
     32        attribute [Reflect, Conditional=IFRAME_SEAMLESS] boolean seamless;
    3233        attribute [Reflect] DOMString scrolling;
    3334        attribute [Reflect, URL] DOMString src;
Note: See TracChangeset for help on using the changeset viewer.