Changeset 242534 in webkit


Ignore:
Timestamp:
Mar 6, 2019 3:28:38 AM (5 years ago)
Author:
commit-queue@webkit.org
Message:

Consider supporting the referrerpolicy attribute.
https://bugs.webkit.org/show_bug.cgi?id=179053

Patch by Rob Buis <rbuis@igalia.com> on 2019-03-06
Reviewed by Darin Adler.

LayoutTests/imported/w3c:

Update improved results.

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

Source/WebCore:

This patch adds 'referrerpolicy' attribute support for iframe.
If set, the value is restricted to the ReferrerPolicy enum, and
if valid it is used for the subframe load.
If not set or invalid, the current behavior is kept.

Tests: http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http-http.html

http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http.https.html
http/tests/referrer-policy-iframe/no-referrer-when-downgrade/same-origin.html
http/tests/referrer-policy-iframe/no-referrer/cross-origin-http-http.html
http/tests/referrer-policy-iframe/no-referrer/cross-origin-http.https.html
http/tests/referrer-policy-iframe/no-referrer/same-origin.html
http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html
http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html
http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin.html
http/tests/referrer-policy-iframe/origin/cross-origin-http-http.html
http/tests/referrer-policy-iframe/origin/cross-origin-http.https.html
http/tests/referrer-policy-iframe/origin/same-origin.html
http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html
http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https.html
http/tests/referrer-policy-iframe/same-origin/same-origin.html
http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html
http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https.html
http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html
http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html
http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https.html
http/tests/referrer-policy-iframe/strict-origin/same-origin.html
http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http-http.html
http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http.https.html
http/tests/referrer-policy-iframe/unsafe-url/same-origin.html

  • html/HTMLAttributeNames.in:
  • html/HTMLFrameOwnerElement.h:

(WebCore::HTMLFrameOwnerElement::referrerPolicy const):

  • html/HTMLIFrameElement.cpp:

(WebCore::HTMLIFrameElement::setReferrerPolicyForBindings):
(WebCore::HTMLIFrameElement::referrerPolicyForBindings const):
(WebCore::HTMLIFrameElement::referrerPolicy const):

  • html/HTMLIFrameElement.h:
  • html/HTMLIFrameElement.idl:
  • loader/SubframeLoader.cpp:

(WebCore::SubframeLoader::loadSubframe):

  • page/RuntimeEnabledFeatures.h:

(WebCore::RuntimeEnabledFeatures::referrerPolicyAttributeEnabled const):
(WebCore::RuntimeEnabledFeatures::setReferrerPolicyAttributeEnabled):

  • platform/ReferrerPolicy.cpp:

(WebCore::parseReferrerPolicy):

  • platform/ReferrerPolicy.h:

Source/WebKit:

Add a runtime flag for referrerpolicy attribute.

  • Shared/WebPreferences.yaml:
  • UIProcess/API/C/WKPreferences.cpp:

(WKPreferencesSetReferrerPolicyAttributeEnabled):
(WKPreferencesGetReferrerPolicyAttributeEnabled):

  • UIProcess/API/C/WKPreferencesRefPrivate.h:
  • WebProcess/Network/WebLoaderStrategy.cpp:

(WebKit::WebLoaderStrategy::loadResource): do not hardcode choosing
the document referrer policy.

Source/WebKitLegacy/mac:

Add a runtime flag for referrerpolicy attribute.

  • WebView/WebPreferenceKeysPrivate.h:
  • WebView/WebPreferences.mm:

(+[WebPreferences initialize]):
(-[WebPreferences referrerPolicyAttributeEnabled]):
(-[WebPreferences setReferrerPolicyAttributeEnabled:]):

  • WebView/WebPreferencesPrivate.h:
  • WebView/WebView.mm:

(-[WebView _preferencesChanged:]):

Tools:

Add a runtime flag for referrerpolicy attribute.

  • DumpRenderTree/mac/DumpRenderTree.mm:

(enableExperimentalFeatures):

LayoutTests:

Add tests for referrerpolicy attribute based on the referrer-policy
meta referrer tests.
Update improved results for reflection-embedded.html.
Mark some of the tests as Failure on windows.

  • http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http-http-expected.txt: Added.
  • http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http-http.html: Added.
  • http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http.https-expected.txt: Added.
  • http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http.https.html: Added.
  • http/tests/referrer-policy-iframe/no-referrer-when-downgrade/same-origin-expected.txt: Added.
  • http/tests/referrer-policy-iframe/no-referrer-when-downgrade/same-origin.html: Added.
  • http/tests/referrer-policy-iframe/no-referrer/cross-origin-http-http-expected.txt: Added.
  • http/tests/referrer-policy-iframe/no-referrer/cross-origin-http-http.html: Added.
  • http/tests/referrer-policy-iframe/no-referrer/cross-origin-http.https-expected.txt: Added.
  • http/tests/referrer-policy-iframe/no-referrer/cross-origin-http.https.html: Added.
  • http/tests/referrer-policy-iframe/no-referrer/same-origin-expected.txt: Added.
  • http/tests/referrer-policy-iframe/no-referrer/same-origin.html: Added.
  • http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http-expected.txt: Added.
  • http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html: Added.
  • http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https-expected.txt: Added.
  • http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html: Added.
  • http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin-expected.txt: Added.
  • http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin.html: Added.
  • http/tests/referrer-policy-iframe/origin/cross-origin-http-http-expected.txt: Added.
  • http/tests/referrer-policy-iframe/origin/cross-origin-http-http.html: Added.
  • http/tests/referrer-policy-iframe/origin/cross-origin-http.https-expected.txt: Added.
  • http/tests/referrer-policy-iframe/origin/cross-origin-http.https.html: Added.
  • http/tests/referrer-policy-iframe/origin/same-origin-expected.txt: Added.
  • http/tests/referrer-policy-iframe/origin/same-origin.html: Added.
  • http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http-expected.txt: Added.
  • http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html: Added.
  • http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https-expected.txt: Added.
  • http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https.html: Added.
  • http/tests/referrer-policy-iframe/same-origin/same-origin-expected.txt: Added.
  • http/tests/referrer-policy-iframe/same-origin/same-origin.html: Added.
  • http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http-expected.txt: Added.
  • http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html: Added.
  • http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https-expected.txt: Added.
  • http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https.html: Added.
  • http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin-expected.txt: Added.
  • http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html: Added.
  • http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http-expected.txt: Added.
  • http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html: Added.
  • http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https-expected.txt: Added.
  • http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https.html: Added.
  • http/tests/referrer-policy-iframe/strict-origin/same-origin-expected.txt: Added.
  • http/tests/referrer-policy-iframe/strict-origin/same-origin.html: Added.
  • http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http-http-expected.txt: Added.
  • http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http-http.html: Added.
  • http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http.https-expected.txt: Added.
  • http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http.https.html: Added.
  • http/tests/referrer-policy-iframe/unsafe-url/same-origin-expected.txt: Added.
  • http/tests/referrer-policy-iframe/unsafe-url/same-origin.html: Added.
  • platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
  • platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
  • platform/win/TestExpectations:
Location:
trunk
Files:
57 added
28 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r242531 r242534  
     12019-03-06  Rob Buis  <rbuis@igalia.com>
     2
     3        Consider supporting the `referrerpolicy` attribute.
     4        https://bugs.webkit.org/show_bug.cgi?id=179053
     5
     6        Reviewed by Darin Adler.
     7
     8        Add tests for referrerpolicy attribute based on the referrer-policy
     9        meta referrer tests.
     10        Update improved results for reflection-embedded.html.
     11        Mark some of the tests as Failure on windows.
     12
     13        * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http-http-expected.txt: Added.
     14        * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http-http.html: Added.
     15        * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http.https-expected.txt: Added.
     16        * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http.https.html: Added.
     17        * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/same-origin-expected.txt: Added.
     18        * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/same-origin.html: Added.
     19        * http/tests/referrer-policy-iframe/no-referrer/cross-origin-http-http-expected.txt: Added.
     20        * http/tests/referrer-policy-iframe/no-referrer/cross-origin-http-http.html: Added.
     21        * http/tests/referrer-policy-iframe/no-referrer/cross-origin-http.https-expected.txt: Added.
     22        * http/tests/referrer-policy-iframe/no-referrer/cross-origin-http.https.html: Added.
     23        * http/tests/referrer-policy-iframe/no-referrer/same-origin-expected.txt: Added.
     24        * http/tests/referrer-policy-iframe/no-referrer/same-origin.html: Added.
     25        * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http-expected.txt: Added.
     26        * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html: Added.
     27        * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https-expected.txt: Added.
     28        * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html: Added.
     29        * http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin-expected.txt: Added.
     30        * http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin.html: Added.
     31        * http/tests/referrer-policy-iframe/origin/cross-origin-http-http-expected.txt: Added.
     32        * http/tests/referrer-policy-iframe/origin/cross-origin-http-http.html: Added.
     33        * http/tests/referrer-policy-iframe/origin/cross-origin-http.https-expected.txt: Added.
     34        * http/tests/referrer-policy-iframe/origin/cross-origin-http.https.html: Added.
     35        * http/tests/referrer-policy-iframe/origin/same-origin-expected.txt: Added.
     36        * http/tests/referrer-policy-iframe/origin/same-origin.html: Added.
     37        * http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http-expected.txt: Added.
     38        * http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html: Added.
     39        * http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https-expected.txt: Added.
     40        * http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https.html: Added.
     41        * http/tests/referrer-policy-iframe/same-origin/same-origin-expected.txt: Added.
     42        * http/tests/referrer-policy-iframe/same-origin/same-origin.html: Added.
     43        * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http-expected.txt: Added.
     44        * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html: Added.
     45        * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https-expected.txt: Added.
     46        * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https.html: Added.
     47        * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin-expected.txt: Added.
     48        * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html: Added.
     49        * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http-expected.txt: Added.
     50        * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html: Added.
     51        * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https-expected.txt: Added.
     52        * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https.html: Added.
     53        * http/tests/referrer-policy-iframe/strict-origin/same-origin-expected.txt: Added.
     54        * http/tests/referrer-policy-iframe/strict-origin/same-origin.html: Added.
     55        * http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http-http-expected.txt: Added.
     56        * http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http-http.html: Added.
     57        * http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http.https-expected.txt: Added.
     58        * http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http.https.html: Added.
     59        * http/tests/referrer-policy-iframe/unsafe-url/same-origin-expected.txt: Added.
     60        * http/tests/referrer-policy-iframe/unsafe-url/same-origin.html: Added.
     61        * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
     62        * platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
     63        * platform/win/TestExpectations:
     64
    1652019-03-05  Rob Buis  <rbuis@igalia.com>
    266
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r242533 r242534  
     12019-03-06  Rob Buis  <rbuis@igalia.com>
     2
     3        Consider supporting the `referrerpolicy` attribute.
     4        https://bugs.webkit.org/show_bug.cgi?id=179053
     5
     6        Reviewed by Darin Adler.
     7
     8        Update improved results.
     9
     10        * web-platform-tests/html/dom/reflection-embedded-expected.txt:
     11
    1122019-03-06  Frederic Wang  <fwang@igalia.com>
    213
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt

    r230445 r242534  
    17511751PASS iframe.height: IDL set to object "test-toString"
    17521752PASS iframe.height: IDL set to object "test-valueOf"
    1753 FAIL iframe.referrerPolicy: typeof IDL attribute assert_equals: expected "string" but got "undefined"
    1754 FAIL iframe.referrerPolicy: IDL get with DOM attribute unset assert_equals: expected (string) "" but got (undefined) undefined
    1755 FAIL iframe.referrerPolicy: setAttribute() to "" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1756 FAIL iframe.referrerPolicy: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1757 FAIL iframe.referrerPolicy: setAttribute() to undefined assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1758 FAIL iframe.referrerPolicy: setAttribute() to 7 assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1759 FAIL iframe.referrerPolicy: setAttribute() to 1.5 assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1760 FAIL iframe.referrerPolicy: setAttribute() to true assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1761 FAIL iframe.referrerPolicy: setAttribute() to false assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1762 FAIL iframe.referrerPolicy: setAttribute() to object "[object Object]" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1763 FAIL iframe.referrerPolicy: setAttribute() to NaN assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1764 FAIL iframe.referrerPolicy: setAttribute() to Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1765 FAIL iframe.referrerPolicy: setAttribute() to -Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1766 FAIL iframe.referrerPolicy: setAttribute() to "\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1767 FAIL iframe.referrerPolicy: setAttribute() to null assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1768 FAIL iframe.referrerPolicy: setAttribute() to object "test-toString" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1769 FAIL iframe.referrerPolicy: setAttribute() to object "test-valueOf" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1770 FAIL iframe.referrerPolicy: setAttribute() to "no-referrer" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined
    1771 FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1772 FAIL iframe.referrerPolicy: setAttribute() to "no-referrer\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1773 FAIL iframe.referrerPolicy: setAttribute() to "o-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1774 FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined
    1775 FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined
    1776 FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1777 FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1778 FAIL iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1779 FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined
    1780 FAIL iframe.referrerPolicy: setAttribute() to "same-origin" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined
    1781 FAIL iframe.referrerPolicy: setAttribute() to "xsame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1782 FAIL iframe.referrerPolicy: setAttribute() to "same-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1783 FAIL iframe.referrerPolicy: setAttribute() to "ame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1784 FAIL iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined
    1785 FAIL iframe.referrerPolicy: setAttribute() to "origin" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined
    1786 FAIL iframe.referrerPolicy: setAttribute() to "xorigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1787 FAIL iframe.referrerPolicy: setAttribute() to "origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1788 FAIL iframe.referrerPolicy: setAttribute() to "rigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1789 FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined
    1790 FAIL iframe.referrerPolicy: setAttribute() to "strict-origin" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined
    1791 FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1792 FAIL iframe.referrerPolicy: setAttribute() to "strict-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1793 FAIL iframe.referrerPolicy: setAttribute() to "trict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1794 FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined
    1795 FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined
    1796 FAIL iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1797 FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1798 FAIL iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1799 FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined
    1800 FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined
    1801 FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1802 FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1803 FAIL iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1804 FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined
    1805 FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined
    1806 FAIL iframe.referrerPolicy: setAttribute() to "xunsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1807 FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1808 FAIL iframe.referrerPolicy: setAttribute() to "nsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1809 FAIL iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined
    1810 FAIL iframe.referrerPolicy: IDL set to "" assert_equals: getAttribute() expected "" but got "UNSAFE-URL"
    1811 FAIL iframe.referrerPolicy: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " assert_equals: getAttribute() expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " but got "UNSAFE-URL"
    1812 FAIL iframe.referrerPolicy: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "UNSAFE-URL"
    1813 FAIL iframe.referrerPolicy: IDL set to 7 assert_equals: getAttribute() expected "7" but got "UNSAFE-URL"
    1814 FAIL iframe.referrerPolicy: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "UNSAFE-URL"
    1815 FAIL iframe.referrerPolicy: IDL set to true assert_equals: getAttribute() expected "true" but got "UNSAFE-URL"
    1816 FAIL iframe.referrerPolicy: IDL set to false assert_equals: getAttribute() expected "false" but got "UNSAFE-URL"
    1817 FAIL iframe.referrerPolicy: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "UNSAFE-URL"
    1818 FAIL iframe.referrerPolicy: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "UNSAFE-URL"
    1819 FAIL iframe.referrerPolicy: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "UNSAFE-URL"
    1820 FAIL iframe.referrerPolicy: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "UNSAFE-URL"
    1821 FAIL iframe.referrerPolicy: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "UNSAFE-URL"
    1822 FAIL iframe.referrerPolicy: IDL set to null assert_equals: IDL get expected (string) "" but got (object) null
    1823 FAIL iframe.referrerPolicy: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "UNSAFE-URL"
    1824 FAIL iframe.referrerPolicy: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "UNSAFE-URL"
    1825 FAIL iframe.referrerPolicy: IDL set to "no-referrer" assert_equals: getAttribute() expected "no-referrer" but got "UNSAFE-URL"
    1826 FAIL iframe.referrerPolicy: IDL set to "xno-referrer" assert_equals: getAttribute() expected "xno-referrer" but got "UNSAFE-URL"
    1827 FAIL iframe.referrerPolicy: IDL set to "no-referrer\0" assert_equals: getAttribute() expected "no-referrer\0" but got "UNSAFE-URL"
    1828 FAIL iframe.referrerPolicy: IDL set to "o-referrer" assert_equals: getAttribute() expected "o-referrer" but got "UNSAFE-URL"
    1829 FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER" assert_equals: getAttribute() expected "NO-REFERRER" but got "UNSAFE-URL"
    1830 FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" assert_equals: getAttribute() expected "no-referrer-when-downgrade" but got "UNSAFE-URL"
    1831 FAIL iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" assert_equals: getAttribute() expected "xno-referrer-when-downgrade" but got "UNSAFE-URL"
    1832 FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" assert_equals: getAttribute() expected "no-referrer-when-downgrade\0" but got "UNSAFE-URL"
    1833 FAIL iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" assert_equals: getAttribute() expected "o-referrer-when-downgrade" but got "UNSAFE-URL"
    1834 FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: getAttribute() expected "NO-REFERRER-WHEN-DOWNGRADE" but got "UNSAFE-URL"
    1835 FAIL iframe.referrerPolicy: IDL set to "same-origin" assert_equals: getAttribute() expected "same-origin" but got "UNSAFE-URL"
    1836 FAIL iframe.referrerPolicy: IDL set to "xsame-origin" assert_equals: getAttribute() expected "xsame-origin" but got "UNSAFE-URL"
    1837 FAIL iframe.referrerPolicy: IDL set to "same-origin\0" assert_equals: getAttribute() expected "same-origin\0" but got "UNSAFE-URL"
    1838 FAIL iframe.referrerPolicy: IDL set to "ame-origin" assert_equals: getAttribute() expected "ame-origin" but got "UNSAFE-URL"
    1839 FAIL iframe.referrerPolicy: IDL set to "SAME-ORIGIN" assert_equals: getAttribute() expected "SAME-ORIGIN" but got "UNSAFE-URL"
    1840 FAIL iframe.referrerPolicy: IDL set to "origin" assert_equals: getAttribute() expected "origin" but got "UNSAFE-URL"
    1841 FAIL iframe.referrerPolicy: IDL set to "xorigin" assert_equals: getAttribute() expected "xorigin" but got "UNSAFE-URL"
    1842 FAIL iframe.referrerPolicy: IDL set to "origin\0" assert_equals: getAttribute() expected "origin\0" but got "UNSAFE-URL"
    1843 FAIL iframe.referrerPolicy: IDL set to "rigin" assert_equals: getAttribute() expected "rigin" but got "UNSAFE-URL"
    1844 FAIL iframe.referrerPolicy: IDL set to "ORIGIN" assert_equals: getAttribute() expected "ORIGIN" but got "UNSAFE-URL"
    1845 FAIL iframe.referrerPolicy: IDL set to "strict-origin" assert_equals: getAttribute() expected "strict-origin" but got "UNSAFE-URL"
    1846 FAIL iframe.referrerPolicy: IDL set to "xstrict-origin" assert_equals: getAttribute() expected "xstrict-origin" but got "UNSAFE-URL"
    1847 FAIL iframe.referrerPolicy: IDL set to "strict-origin\0" assert_equals: getAttribute() expected "strict-origin\0" but got "UNSAFE-URL"
    1848 FAIL iframe.referrerPolicy: IDL set to "trict-origin" assert_equals: getAttribute() expected "trict-origin" but got "UNSAFE-URL"
    1849 FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN" but got "UNSAFE-URL"
    1850 FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin" assert_equals: getAttribute() expected "origin-when-cross-origin" but got "UNSAFE-URL"
    1851 FAIL iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" assert_equals: getAttribute() expected "xorigin-when-cross-origin" but got "UNSAFE-URL"
    1852 FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" assert_equals: getAttribute() expected "origin-when-cross-origin\0" but got "UNSAFE-URL"
    1853 FAIL iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" assert_equals: getAttribute() expected "rigin-when-cross-origin" but got "UNSAFE-URL"
    1854 FAIL iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL"
    1855 FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" assert_equals: getAttribute() expected "strict-origin-when-cross-origin" but got "UNSAFE-URL"
    1856 FAIL iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" assert_equals: getAttribute() expected "xstrict-origin-when-cross-origin" but got "UNSAFE-URL"
    1857 FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" assert_equals: getAttribute() expected "strict-origin-when-cross-origin\0" but got "UNSAFE-URL"
    1858 FAIL iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" assert_equals: getAttribute() expected "trict-origin-when-cross-origin" but got "UNSAFE-URL"
    1859 FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL"
    1860 FAIL iframe.referrerPolicy: IDL set to "unsafe-url" assert_equals: getAttribute() expected "unsafe-url" but got "UNSAFE-URL"
    1861 FAIL iframe.referrerPolicy: IDL set to "xunsafe-url" assert_equals: getAttribute() expected "xunsafe-url" but got "UNSAFE-URL"
    1862 FAIL iframe.referrerPolicy: IDL set to "unsafe-url\0" assert_equals: getAttribute() expected "unsafe-url\0" but got "UNSAFE-URL"
    1863 FAIL iframe.referrerPolicy: IDL set to "nsafe-url" assert_equals: getAttribute() expected "nsafe-url" but got "UNSAFE-URL"
    1864 FAIL iframe.referrerPolicy: IDL set to "UNSAFE-URL" assert_equals: IDL get expected "unsafe-url" but got "UNSAFE-URL"
     1753PASS iframe.referrerPolicy: typeof IDL attribute
     1754PASS iframe.referrerPolicy: IDL get with DOM attribute unset
     1755PASS iframe.referrerPolicy: setAttribute() to ""
     1756PASS iframe.referrerPolicy: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo "
     1757PASS iframe.referrerPolicy: setAttribute() to undefined
     1758PASS iframe.referrerPolicy: setAttribute() to 7
     1759PASS iframe.referrerPolicy: setAttribute() to 1.5
     1760PASS iframe.referrerPolicy: setAttribute() to true
     1761PASS iframe.referrerPolicy: setAttribute() to false
     1762PASS iframe.referrerPolicy: setAttribute() to object "[object Object]"
     1763PASS iframe.referrerPolicy: setAttribute() to NaN
     1764PASS iframe.referrerPolicy: setAttribute() to Infinity
     1765PASS iframe.referrerPolicy: setAttribute() to -Infinity
     1766PASS iframe.referrerPolicy: setAttribute() to "\0"
     1767PASS iframe.referrerPolicy: setAttribute() to null
     1768PASS iframe.referrerPolicy: setAttribute() to object "test-toString"
     1769PASS iframe.referrerPolicy: setAttribute() to object "test-valueOf"
     1770PASS iframe.referrerPolicy: setAttribute() to "no-referrer"
     1771PASS iframe.referrerPolicy: setAttribute() to "xno-referrer"
     1772PASS iframe.referrerPolicy: setAttribute() to "no-referrer\0"
     1773PASS iframe.referrerPolicy: setAttribute() to "o-referrer"
     1774PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER"
     1775PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade"
     1776PASS iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade"
     1777PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0"
     1778PASS iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade"
     1779PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE"
     1780PASS iframe.referrerPolicy: setAttribute() to "same-origin"
     1781PASS iframe.referrerPolicy: setAttribute() to "xsame-origin"
     1782PASS iframe.referrerPolicy: setAttribute() to "same-origin\0"
     1783PASS iframe.referrerPolicy: setAttribute() to "ame-origin"
     1784PASS iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN"
     1785PASS iframe.referrerPolicy: setAttribute() to "origin"
     1786PASS iframe.referrerPolicy: setAttribute() to "xorigin"
     1787PASS iframe.referrerPolicy: setAttribute() to "origin\0"
     1788PASS iframe.referrerPolicy: setAttribute() to "rigin"
     1789PASS iframe.referrerPolicy: setAttribute() to "ORIGIN"
     1790PASS iframe.referrerPolicy: setAttribute() to "strict-origin"
     1791PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin"
     1792PASS iframe.referrerPolicy: setAttribute() to "strict-origin\0"
     1793PASS iframe.referrerPolicy: setAttribute() to "trict-origin"
     1794PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN"
     1795PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin"
     1796PASS iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin"
     1797PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0"
     1798PASS iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin"
     1799PASS iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN"
     1800PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin"
     1801PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin"
     1802PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0"
     1803PASS iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin"
     1804PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN"
     1805PASS iframe.referrerPolicy: setAttribute() to "unsafe-url"
     1806PASS iframe.referrerPolicy: setAttribute() to "xunsafe-url"
     1807PASS iframe.referrerPolicy: setAttribute() to "unsafe-url\0"
     1808PASS iframe.referrerPolicy: setAttribute() to "nsafe-url"
     1809PASS iframe.referrerPolicy: setAttribute() to "UNSAFE-URL"
     1810PASS iframe.referrerPolicy: IDL set to ""
     1811PASS iframe.referrerPolicy: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo "
     1812PASS iframe.referrerPolicy: IDL set to undefined
     1813PASS iframe.referrerPolicy: IDL set to 7
     1814PASS iframe.referrerPolicy: IDL set to 1.5
     1815PASS iframe.referrerPolicy: IDL set to true
     1816PASS iframe.referrerPolicy: IDL set to false
     1817PASS iframe.referrerPolicy: IDL set to object "[object Object]"
     1818PASS iframe.referrerPolicy: IDL set to NaN
     1819PASS iframe.referrerPolicy: IDL set to Infinity
     1820PASS iframe.referrerPolicy: IDL set to -Infinity
     1821PASS iframe.referrerPolicy: IDL set to "\0"
     1822PASS iframe.referrerPolicy: IDL set to null
     1823PASS iframe.referrerPolicy: IDL set to object "test-toString"
     1824PASS iframe.referrerPolicy: IDL set to object "test-valueOf"
     1825PASS iframe.referrerPolicy: IDL set to "no-referrer"
     1826PASS iframe.referrerPolicy: IDL set to "xno-referrer"
     1827PASS iframe.referrerPolicy: IDL set to "no-referrer\0"
     1828PASS iframe.referrerPolicy: IDL set to "o-referrer"
     1829PASS iframe.referrerPolicy: IDL set to "NO-REFERRER"
     1830PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade"
     1831PASS iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade"
     1832PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0"
     1833PASS iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade"
     1834PASS iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE"
     1835PASS iframe.referrerPolicy: IDL set to "same-origin"
     1836PASS iframe.referrerPolicy: IDL set to "xsame-origin"
     1837PASS iframe.referrerPolicy: IDL set to "same-origin\0"
     1838PASS iframe.referrerPolicy: IDL set to "ame-origin"
     1839PASS iframe.referrerPolicy: IDL set to "SAME-ORIGIN"
     1840PASS iframe.referrerPolicy: IDL set to "origin"
     1841PASS iframe.referrerPolicy: IDL set to "xorigin"
     1842PASS iframe.referrerPolicy: IDL set to "origin\0"
     1843PASS iframe.referrerPolicy: IDL set to "rigin"
     1844PASS iframe.referrerPolicy: IDL set to "ORIGIN"
     1845PASS iframe.referrerPolicy: IDL set to "strict-origin"
     1846PASS iframe.referrerPolicy: IDL set to "xstrict-origin"
     1847PASS iframe.referrerPolicy: IDL set to "strict-origin\0"
     1848PASS iframe.referrerPolicy: IDL set to "trict-origin"
     1849PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN"
     1850PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin"
     1851PASS iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin"
     1852PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0"
     1853PASS iframe.referrerPolicy: IDL set to "rigin-when-cross-origin"
     1854PASS iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN"
     1855PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin"
     1856PASS iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin"
     1857PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0"
     1858PASS iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin"
     1859PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN"
     1860PASS iframe.referrerPolicy: IDL set to "unsafe-url"
     1861PASS iframe.referrerPolicy: IDL set to "xunsafe-url"
     1862PASS iframe.referrerPolicy: IDL set to "unsafe-url\0"
     1863PASS iframe.referrerPolicy: IDL set to "nsafe-url"
     1864PASS iframe.referrerPolicy: IDL set to "UNSAFE-URL"
    18651865FAIL iframe.delegateStickyUserActivation: typeof IDL attribute assert_equals: expected "string" but got "undefined"
    18661866FAIL iframe.delegateStickyUserActivation: setAttribute() to "vibration" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined
  • trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt

    r240530 r242534  
    17511751PASS iframe.height: IDL set to object "test-toString"
    17521752PASS iframe.height: IDL set to object "test-valueOf"
    1753 FAIL iframe.referrerPolicy: typeof IDL attribute assert_equals: expected "string" but got "undefined"
    1754 FAIL iframe.referrerPolicy: IDL get with DOM attribute unset assert_equals: expected (string) "" but got (undefined) undefined
    1755 FAIL iframe.referrerPolicy: setAttribute() to "" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1756 FAIL iframe.referrerPolicy: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1757 FAIL iframe.referrerPolicy: setAttribute() to undefined assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1758 FAIL iframe.referrerPolicy: setAttribute() to 7 assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1759 FAIL iframe.referrerPolicy: setAttribute() to 1.5 assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1760 FAIL iframe.referrerPolicy: setAttribute() to true assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1761 FAIL iframe.referrerPolicy: setAttribute() to false assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1762 FAIL iframe.referrerPolicy: setAttribute() to object "[object Object]" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1763 FAIL iframe.referrerPolicy: setAttribute() to NaN assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1764 FAIL iframe.referrerPolicy: setAttribute() to Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1765 FAIL iframe.referrerPolicy: setAttribute() to -Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1766 FAIL iframe.referrerPolicy: setAttribute() to "\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1767 FAIL iframe.referrerPolicy: setAttribute() to null assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1768 FAIL iframe.referrerPolicy: setAttribute() to object "test-toString" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1769 FAIL iframe.referrerPolicy: setAttribute() to object "test-valueOf" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1770 FAIL iframe.referrerPolicy: setAttribute() to "no-referrer" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined
    1771 FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1772 FAIL iframe.referrerPolicy: setAttribute() to "no-referrer\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1773 FAIL iframe.referrerPolicy: setAttribute() to "o-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1774 FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined
    1775 FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined
    1776 FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1777 FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1778 FAIL iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1779 FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined
    1780 FAIL iframe.referrerPolicy: setAttribute() to "same-origin" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined
    1781 FAIL iframe.referrerPolicy: setAttribute() to "xsame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1782 FAIL iframe.referrerPolicy: setAttribute() to "same-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1783 FAIL iframe.referrerPolicy: setAttribute() to "ame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1784 FAIL iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined
    1785 FAIL iframe.referrerPolicy: setAttribute() to "origin" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined
    1786 FAIL iframe.referrerPolicy: setAttribute() to "xorigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1787 FAIL iframe.referrerPolicy: setAttribute() to "origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1788 FAIL iframe.referrerPolicy: setAttribute() to "rigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1789 FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined
    1790 FAIL iframe.referrerPolicy: setAttribute() to "strict-origin" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined
    1791 FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1792 FAIL iframe.referrerPolicy: setAttribute() to "strict-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1793 FAIL iframe.referrerPolicy: setAttribute() to "trict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1794 FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined
    1795 FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined
    1796 FAIL iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1797 FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1798 FAIL iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1799 FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined
    1800 FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined
    1801 FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1802 FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1803 FAIL iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1804 FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined
    1805 FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined
    1806 FAIL iframe.referrerPolicy: setAttribute() to "xunsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1807 FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1808 FAIL iframe.referrerPolicy: setAttribute() to "nsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1809 FAIL iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined
    1810 FAIL iframe.referrerPolicy: IDL set to "" assert_equals: getAttribute() expected "" but got "UNSAFE-URL"
    1811 FAIL iframe.referrerPolicy: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " assert_equals: getAttribute() expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " but got "UNSAFE-URL"
    1812 FAIL iframe.referrerPolicy: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "UNSAFE-URL"
    1813 FAIL iframe.referrerPolicy: IDL set to 7 assert_equals: getAttribute() expected "7" but got "UNSAFE-URL"
    1814 FAIL iframe.referrerPolicy: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "UNSAFE-URL"
    1815 FAIL iframe.referrerPolicy: IDL set to true assert_equals: getAttribute() expected "true" but got "UNSAFE-URL"
    1816 FAIL iframe.referrerPolicy: IDL set to false assert_equals: getAttribute() expected "false" but got "UNSAFE-URL"
    1817 FAIL iframe.referrerPolicy: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "UNSAFE-URL"
    1818 FAIL iframe.referrerPolicy: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "UNSAFE-URL"
    1819 FAIL iframe.referrerPolicy: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "UNSAFE-URL"
    1820 FAIL iframe.referrerPolicy: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "UNSAFE-URL"
    1821 FAIL iframe.referrerPolicy: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "UNSAFE-URL"
    1822 FAIL iframe.referrerPolicy: IDL set to null assert_equals: IDL get expected (string) "" but got (object) null
    1823 FAIL iframe.referrerPolicy: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "UNSAFE-URL"
    1824 FAIL iframe.referrerPolicy: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "UNSAFE-URL"
    1825 FAIL iframe.referrerPolicy: IDL set to "no-referrer" assert_equals: getAttribute() expected "no-referrer" but got "UNSAFE-URL"
    1826 FAIL iframe.referrerPolicy: IDL set to "xno-referrer" assert_equals: getAttribute() expected "xno-referrer" but got "UNSAFE-URL"
    1827 FAIL iframe.referrerPolicy: IDL set to "no-referrer\0" assert_equals: getAttribute() expected "no-referrer\0" but got "UNSAFE-URL"
    1828 FAIL iframe.referrerPolicy: IDL set to "o-referrer" assert_equals: getAttribute() expected "o-referrer" but got "UNSAFE-URL"
    1829 FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER" assert_equals: getAttribute() expected "NO-REFERRER" but got "UNSAFE-URL"
    1830 FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" assert_equals: getAttribute() expected "no-referrer-when-downgrade" but got "UNSAFE-URL"
    1831 FAIL iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" assert_equals: getAttribute() expected "xno-referrer-when-downgrade" but got "UNSAFE-URL"
    1832 FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" assert_equals: getAttribute() expected "no-referrer-when-downgrade\0" but got "UNSAFE-URL"
    1833 FAIL iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" assert_equals: getAttribute() expected "o-referrer-when-downgrade" but got "UNSAFE-URL"
    1834 FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: getAttribute() expected "NO-REFERRER-WHEN-DOWNGRADE" but got "UNSAFE-URL"
    1835 FAIL iframe.referrerPolicy: IDL set to "same-origin" assert_equals: getAttribute() expected "same-origin" but got "UNSAFE-URL"
    1836 FAIL iframe.referrerPolicy: IDL set to "xsame-origin" assert_equals: getAttribute() expected "xsame-origin" but got "UNSAFE-URL"
    1837 FAIL iframe.referrerPolicy: IDL set to "same-origin\0" assert_equals: getAttribute() expected "same-origin\0" but got "UNSAFE-URL"
    1838 FAIL iframe.referrerPolicy: IDL set to "ame-origin" assert_equals: getAttribute() expected "ame-origin" but got "UNSAFE-URL"
    1839 FAIL iframe.referrerPolicy: IDL set to "SAME-ORIGIN" assert_equals: getAttribute() expected "SAME-ORIGIN" but got "UNSAFE-URL"
    1840 FAIL iframe.referrerPolicy: IDL set to "origin" assert_equals: getAttribute() expected "origin" but got "UNSAFE-URL"
    1841 FAIL iframe.referrerPolicy: IDL set to "xorigin" assert_equals: getAttribute() expected "xorigin" but got "UNSAFE-URL"
    1842 FAIL iframe.referrerPolicy: IDL set to "origin\0" assert_equals: getAttribute() expected "origin\0" but got "UNSAFE-URL"
    1843 FAIL iframe.referrerPolicy: IDL set to "rigin" assert_equals: getAttribute() expected "rigin" but got "UNSAFE-URL"
    1844 FAIL iframe.referrerPolicy: IDL set to "ORIGIN" assert_equals: getAttribute() expected "ORIGIN" but got "UNSAFE-URL"
    1845 FAIL iframe.referrerPolicy: IDL set to "strict-origin" assert_equals: getAttribute() expected "strict-origin" but got "UNSAFE-URL"
    1846 FAIL iframe.referrerPolicy: IDL set to "xstrict-origin" assert_equals: getAttribute() expected "xstrict-origin" but got "UNSAFE-URL"
    1847 FAIL iframe.referrerPolicy: IDL set to "strict-origin\0" assert_equals: getAttribute() expected "strict-origin\0" but got "UNSAFE-URL"
    1848 FAIL iframe.referrerPolicy: IDL set to "trict-origin" assert_equals: getAttribute() expected "trict-origin" but got "UNSAFE-URL"
    1849 FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN" but got "UNSAFE-URL"
    1850 FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin" assert_equals: getAttribute() expected "origin-when-cross-origin" but got "UNSAFE-URL"
    1851 FAIL iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" assert_equals: getAttribute() expected "xorigin-when-cross-origin" but got "UNSAFE-URL"
    1852 FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" assert_equals: getAttribute() expected "origin-when-cross-origin\0" but got "UNSAFE-URL"
    1853 FAIL iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" assert_equals: getAttribute() expected "rigin-when-cross-origin" but got "UNSAFE-URL"
    1854 FAIL iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL"
    1855 FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" assert_equals: getAttribute() expected "strict-origin-when-cross-origin" but got "UNSAFE-URL"
    1856 FAIL iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" assert_equals: getAttribute() expected "xstrict-origin-when-cross-origin" but got "UNSAFE-URL"
    1857 FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" assert_equals: getAttribute() expected "strict-origin-when-cross-origin\0" but got "UNSAFE-URL"
    1858 FAIL iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" assert_equals: getAttribute() expected "trict-origin-when-cross-origin" but got "UNSAFE-URL"
    1859 FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL"
    1860 FAIL iframe.referrerPolicy: IDL set to "unsafe-url" assert_equals: getAttribute() expected "unsafe-url" but got "UNSAFE-URL"
    1861 FAIL iframe.referrerPolicy: IDL set to "xunsafe-url" assert_equals: getAttribute() expected "xunsafe-url" but got "UNSAFE-URL"
    1862 FAIL iframe.referrerPolicy: IDL set to "unsafe-url\0" assert_equals: getAttribute() expected "unsafe-url\0" but got "UNSAFE-URL"
    1863 FAIL iframe.referrerPolicy: IDL set to "nsafe-url" assert_equals: getAttribute() expected "nsafe-url" but got "UNSAFE-URL"
    1864 FAIL iframe.referrerPolicy: IDL set to "UNSAFE-URL" assert_equals: IDL get expected "unsafe-url" but got "UNSAFE-URL"
     1753PASS iframe.referrerPolicy: typeof IDL attribute
     1754PASS iframe.referrerPolicy: IDL get with DOM attribute unset
     1755PASS iframe.referrerPolicy: setAttribute() to ""
     1756PASS iframe.referrerPolicy: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo "
     1757PASS iframe.referrerPolicy: setAttribute() to undefined
     1758PASS iframe.referrerPolicy: setAttribute() to 7
     1759PASS iframe.referrerPolicy: setAttribute() to 1.5
     1760PASS iframe.referrerPolicy: setAttribute() to true
     1761PASS iframe.referrerPolicy: setAttribute() to false
     1762PASS iframe.referrerPolicy: setAttribute() to object "[object Object]"
     1763PASS iframe.referrerPolicy: setAttribute() to NaN
     1764PASS iframe.referrerPolicy: setAttribute() to Infinity
     1765PASS iframe.referrerPolicy: setAttribute() to -Infinity
     1766PASS iframe.referrerPolicy: setAttribute() to "\0"
     1767PASS iframe.referrerPolicy: setAttribute() to null
     1768PASS iframe.referrerPolicy: setAttribute() to object "test-toString"
     1769PASS iframe.referrerPolicy: setAttribute() to object "test-valueOf"
     1770PASS iframe.referrerPolicy: setAttribute() to "no-referrer"
     1771PASS iframe.referrerPolicy: setAttribute() to "xno-referrer"
     1772PASS iframe.referrerPolicy: setAttribute() to "no-referrer\0"
     1773PASS iframe.referrerPolicy: setAttribute() to "o-referrer"
     1774PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER"
     1775PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade"
     1776PASS iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade"
     1777PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0"
     1778PASS iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade"
     1779PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE"
     1780PASS iframe.referrerPolicy: setAttribute() to "same-origin"
     1781PASS iframe.referrerPolicy: setAttribute() to "xsame-origin"
     1782PASS iframe.referrerPolicy: setAttribute() to "same-origin\0"
     1783PASS iframe.referrerPolicy: setAttribute() to "ame-origin"
     1784PASS iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN"
     1785PASS iframe.referrerPolicy: setAttribute() to "origin"
     1786PASS iframe.referrerPolicy: setAttribute() to "xorigin"
     1787PASS iframe.referrerPolicy: setAttribute() to "origin\0"
     1788PASS iframe.referrerPolicy: setAttribute() to "rigin"
     1789PASS iframe.referrerPolicy: setAttribute() to "ORIGIN"
     1790PASS iframe.referrerPolicy: setAttribute() to "strict-origin"
     1791PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin"
     1792PASS iframe.referrerPolicy: setAttribute() to "strict-origin\0"
     1793PASS iframe.referrerPolicy: setAttribute() to "trict-origin"
     1794PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN"
     1795PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin"
     1796PASS iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin"
     1797PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0"
     1798PASS iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin"
     1799PASS iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN"
     1800PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin"
     1801PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin"
     1802PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0"
     1803PASS iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin"
     1804PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN"
     1805PASS iframe.referrerPolicy: setAttribute() to "unsafe-url"
     1806PASS iframe.referrerPolicy: setAttribute() to "xunsafe-url"
     1807PASS iframe.referrerPolicy: setAttribute() to "unsafe-url\0"
     1808PASS iframe.referrerPolicy: setAttribute() to "nsafe-url"
     1809PASS iframe.referrerPolicy: setAttribute() to "UNSAFE-URL"
     1810PASS iframe.referrerPolicy: IDL set to ""
     1811PASS iframe.referrerPolicy: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo "
     1812PASS iframe.referrerPolicy: IDL set to undefined
     1813PASS iframe.referrerPolicy: IDL set to 7
     1814PASS iframe.referrerPolicy: IDL set to 1.5
     1815PASS iframe.referrerPolicy: IDL set to true
     1816PASS iframe.referrerPolicy: IDL set to false
     1817PASS iframe.referrerPolicy: IDL set to object "[object Object]"
     1818PASS iframe.referrerPolicy: IDL set to NaN
     1819PASS iframe.referrerPolicy: IDL set to Infinity
     1820PASS iframe.referrerPolicy: IDL set to -Infinity
     1821PASS iframe.referrerPolicy: IDL set to "\0"
     1822PASS iframe.referrerPolicy: IDL set to null
     1823PASS iframe.referrerPolicy: IDL set to object "test-toString"
     1824PASS iframe.referrerPolicy: IDL set to object "test-valueOf"
     1825PASS iframe.referrerPolicy: IDL set to "no-referrer"
     1826PASS iframe.referrerPolicy: IDL set to "xno-referrer"
     1827PASS iframe.referrerPolicy: IDL set to "no-referrer\0"
     1828PASS iframe.referrerPolicy: IDL set to "o-referrer"
     1829PASS iframe.referrerPolicy: IDL set to "NO-REFERRER"
     1830PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade"
     1831PASS iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade"
     1832PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0"
     1833PASS iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade"
     1834PASS iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE"
     1835PASS iframe.referrerPolicy: IDL set to "same-origin"
     1836PASS iframe.referrerPolicy: IDL set to "xsame-origin"
     1837PASS iframe.referrerPolicy: IDL set to "same-origin\0"
     1838PASS iframe.referrerPolicy: IDL set to "ame-origin"
     1839PASS iframe.referrerPolicy: IDL set to "SAME-ORIGIN"
     1840PASS iframe.referrerPolicy: IDL set to "origin"
     1841PASS iframe.referrerPolicy: IDL set to "xorigin"
     1842PASS iframe.referrerPolicy: IDL set to "origin\0"
     1843PASS iframe.referrerPolicy: IDL set to "rigin"
     1844PASS iframe.referrerPolicy: IDL set to "ORIGIN"
     1845PASS iframe.referrerPolicy: IDL set to "strict-origin"
     1846PASS iframe.referrerPolicy: IDL set to "xstrict-origin"
     1847PASS iframe.referrerPolicy: IDL set to "strict-origin\0"
     1848PASS iframe.referrerPolicy: IDL set to "trict-origin"
     1849PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN"
     1850PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin"
     1851PASS iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin"
     1852PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0"
     1853PASS iframe.referrerPolicy: IDL set to "rigin-when-cross-origin"
     1854PASS iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN"
     1855PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin"
     1856PASS iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin"
     1857PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0"
     1858PASS iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin"
     1859PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN"
     1860PASS iframe.referrerPolicy: IDL set to "unsafe-url"
     1861PASS iframe.referrerPolicy: IDL set to "xunsafe-url"
     1862PASS iframe.referrerPolicy: IDL set to "unsafe-url\0"
     1863PASS iframe.referrerPolicy: IDL set to "nsafe-url"
     1864PASS iframe.referrerPolicy: IDL set to "UNSAFE-URL"
    18651865FAIL iframe.delegateStickyUserActivation: typeof IDL attribute assert_equals: expected "string" but got "undefined"
    18661866FAIL iframe.delegateStickyUserActivation: setAttribute() to "vibration" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined
  • trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt

    r217047 r242534  
    14441444PASS iframe.height: IDL set to object "test-toString"
    14451445PASS iframe.height: IDL set to object "test-valueOf"
    1446 FAIL iframe.referrerPolicy: typeof IDL attribute assert_equals: expected "string" but got "undefined"
    1447 FAIL iframe.referrerPolicy: IDL get with DOM attribute unset assert_equals: expected (string) "" but got (undefined) undefined
    1448 FAIL iframe.referrerPolicy: setAttribute() to "" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1449 FAIL iframe.referrerPolicy: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1450 FAIL iframe.referrerPolicy: setAttribute() to undefined assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1451 FAIL iframe.referrerPolicy: setAttribute() to 7 assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1452 FAIL iframe.referrerPolicy: setAttribute() to 1.5 assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1453 FAIL iframe.referrerPolicy: setAttribute() to true assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1454 FAIL iframe.referrerPolicy: setAttribute() to false assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1455 FAIL iframe.referrerPolicy: setAttribute() to object "[object Object]" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1456 FAIL iframe.referrerPolicy: setAttribute() to NaN assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1457 FAIL iframe.referrerPolicy: setAttribute() to Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1458 FAIL iframe.referrerPolicy: setAttribute() to -Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1459 FAIL iframe.referrerPolicy: setAttribute() to "\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1460 FAIL iframe.referrerPolicy: setAttribute() to null assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1461 FAIL iframe.referrerPolicy: setAttribute() to object "test-toString" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1462 FAIL iframe.referrerPolicy: setAttribute() to object "test-valueOf" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1463 FAIL iframe.referrerPolicy: setAttribute() to "no-referrer" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined
    1464 FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1465 FAIL iframe.referrerPolicy: setAttribute() to "no-referrer\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1466 FAIL iframe.referrerPolicy: setAttribute() to "o-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1467 FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined
    1468 FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined
    1469 FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1470 FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1471 FAIL iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1472 FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined
    1473 FAIL iframe.referrerPolicy: setAttribute() to "same-origin" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined
    1474 FAIL iframe.referrerPolicy: setAttribute() to "xsame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1475 FAIL iframe.referrerPolicy: setAttribute() to "same-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1476 FAIL iframe.referrerPolicy: setAttribute() to "ame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1477 FAIL iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined
    1478 FAIL iframe.referrerPolicy: setAttribute() to "origin" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined
    1479 FAIL iframe.referrerPolicy: setAttribute() to "xorigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1480 FAIL iframe.referrerPolicy: setAttribute() to "origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1481 FAIL iframe.referrerPolicy: setAttribute() to "rigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1482 FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined
    1483 FAIL iframe.referrerPolicy: setAttribute() to "strict-origin" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined
    1484 FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1485 FAIL iframe.referrerPolicy: setAttribute() to "strict-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1486 FAIL iframe.referrerPolicy: setAttribute() to "trict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1487 FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined
    1488 FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined
    1489 FAIL iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1490 FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1491 FAIL iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1492 FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined
    1493 FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined
    1494 FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1495 FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1496 FAIL iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1497 FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined
    1498 FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined
    1499 FAIL iframe.referrerPolicy: setAttribute() to "xunsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1500 FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1501 FAIL iframe.referrerPolicy: setAttribute() to "nsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined
    1502 FAIL iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined
    1503 FAIL iframe.referrerPolicy: IDL set to "" assert_equals: getAttribute() expected "" but got "UNSAFE-URL"
    1504 FAIL iframe.referrerPolicy: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " assert_equals: getAttribute() expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " but got "UNSAFE-URL"
    1505 FAIL iframe.referrerPolicy: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "UNSAFE-URL"
    1506 FAIL iframe.referrerPolicy: IDL set to 7 assert_equals: getAttribute() expected "7" but got "UNSAFE-URL"
    1507 FAIL iframe.referrerPolicy: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "UNSAFE-URL"
    1508 FAIL iframe.referrerPolicy: IDL set to true assert_equals: getAttribute() expected "true" but got "UNSAFE-URL"
    1509 FAIL iframe.referrerPolicy: IDL set to false assert_equals: getAttribute() expected "false" but got "UNSAFE-URL"
    1510 FAIL iframe.referrerPolicy: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "UNSAFE-URL"
    1511 FAIL iframe.referrerPolicy: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "UNSAFE-URL"
    1512 FAIL iframe.referrerPolicy: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "UNSAFE-URL"
    1513 FAIL iframe.referrerPolicy: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "UNSAFE-URL"
    1514 FAIL iframe.referrerPolicy: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "UNSAFE-URL"
    1515 FAIL iframe.referrerPolicy: IDL set to null assert_equals: IDL get expected (string) "" but got (object) null
    1516 FAIL iframe.referrerPolicy: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "UNSAFE-URL"
    1517 FAIL iframe.referrerPolicy: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "UNSAFE-URL"
    1518 FAIL iframe.referrerPolicy: IDL set to "no-referrer" assert_equals: getAttribute() expected "no-referrer" but got "UNSAFE-URL"
    1519 FAIL iframe.referrerPolicy: IDL set to "xno-referrer" assert_equals: getAttribute() expected "xno-referrer" but got "UNSAFE-URL"
    1520 FAIL iframe.referrerPolicy: IDL set to "no-referrer\0" assert_equals: getAttribute() expected "no-referrer\0" but got "UNSAFE-URL"
    1521 FAIL iframe.referrerPolicy: IDL set to "o-referrer" assert_equals: getAttribute() expected "o-referrer" but got "UNSAFE-URL"
    1522 FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER" assert_equals: getAttribute() expected "NO-REFERRER" but got "UNSAFE-URL"
    1523 FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" assert_equals: getAttribute() expected "no-referrer-when-downgrade" but got "UNSAFE-URL"
    1524 FAIL iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" assert_equals: getAttribute() expected "xno-referrer-when-downgrade" but got "UNSAFE-URL"
    1525 FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" assert_equals: getAttribute() expected "no-referrer-when-downgrade\0" but got "UNSAFE-URL"
    1526 FAIL iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" assert_equals: getAttribute() expected "o-referrer-when-downgrade" but got "UNSAFE-URL"
    1527 FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: getAttribute() expected "NO-REFERRER-WHEN-DOWNGRADE" but got "UNSAFE-URL"
    1528 FAIL iframe.referrerPolicy: IDL set to "same-origin" assert_equals: getAttribute() expected "same-origin" but got "UNSAFE-URL"
    1529 FAIL iframe.referrerPolicy: IDL set to "xsame-origin" assert_equals: getAttribute() expected "xsame-origin" but got "UNSAFE-URL"
    1530 FAIL iframe.referrerPolicy: IDL set to "same-origin\0" assert_equals: getAttribute() expected "same-origin\0" but got "UNSAFE-URL"
    1531 FAIL iframe.referrerPolicy: IDL set to "ame-origin" assert_equals: getAttribute() expected "ame-origin" but got "UNSAFE-URL"
    1532 FAIL iframe.referrerPolicy: IDL set to "SAME-ORIGIN" assert_equals: getAttribute() expected "SAME-ORIGIN" but got "UNSAFE-URL"
    1533 FAIL iframe.referrerPolicy: IDL set to "origin" assert_equals: getAttribute() expected "origin" but got "UNSAFE-URL"
    1534 FAIL iframe.referrerPolicy: IDL set to "xorigin" assert_equals: getAttribute() expected "xorigin" but got "UNSAFE-URL"
    1535 FAIL iframe.referrerPolicy: IDL set to "origin\0" assert_equals: getAttribute() expected "origin\0" but got "UNSAFE-URL"
    1536 FAIL iframe.referrerPolicy: IDL set to "rigin" assert_equals: getAttribute() expected "rigin" but got "UNSAFE-URL"
    1537 FAIL iframe.referrerPolicy: IDL set to "ORIGIN" assert_equals: getAttribute() expected "ORIGIN" but got "UNSAFE-URL"
    1538 FAIL iframe.referrerPolicy: IDL set to "strict-origin" assert_equals: getAttribute() expected "strict-origin" but got "UNSAFE-URL"
    1539 FAIL iframe.referrerPolicy: IDL set to "xstrict-origin" assert_equals: getAttribute() expected "xstrict-origin" but got "UNSAFE-URL"
    1540 FAIL iframe.referrerPolicy: IDL set to "strict-origin\0" assert_equals: getAttribute() expected "strict-origin\0" but got "UNSAFE-URL"
    1541 FAIL iframe.referrerPolicy: IDL set to "trict-origin" assert_equals: getAttribute() expected "trict-origin" but got "UNSAFE-URL"
    1542 FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN" but got "UNSAFE-URL"
    1543 FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin" assert_equals: getAttribute() expected "origin-when-cross-origin" but got "UNSAFE-URL"
    1544 FAIL iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" assert_equals: getAttribute() expected "xorigin-when-cross-origin" but got "UNSAFE-URL"
    1545 FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" assert_equals: getAttribute() expected "origin-when-cross-origin\0" but got "UNSAFE-URL"
    1546 FAIL iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" assert_equals: getAttribute() expected "rigin-when-cross-origin" but got "UNSAFE-URL"
    1547 FAIL iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL"
    1548 FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" assert_equals: getAttribute() expected "strict-origin-when-cross-origin" but got "UNSAFE-URL"
    1549 FAIL iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" assert_equals: getAttribute() expected "xstrict-origin-when-cross-origin" but got "UNSAFE-URL"
    1550 FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" assert_equals: getAttribute() expected "strict-origin-when-cross-origin\0" but got "UNSAFE-URL"
    1551 FAIL iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" assert_equals: getAttribute() expected "trict-origin-when-cross-origin" but got "UNSAFE-URL"
    1552 FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL"
    1553 FAIL iframe.referrerPolicy: IDL set to "unsafe-url" assert_equals: getAttribute() expected "unsafe-url" but got "UNSAFE-URL"
    1554 FAIL iframe.referrerPolicy: IDL set to "xunsafe-url" assert_equals: getAttribute() expected "xunsafe-url" but got "UNSAFE-URL"
    1555 FAIL iframe.referrerPolicy: IDL set to "unsafe-url\0" assert_equals: getAttribute() expected "unsafe-url\0" but got "UNSAFE-URL"
    1556 FAIL iframe.referrerPolicy: IDL set to "nsafe-url" assert_equals: getAttribute() expected "nsafe-url" but got "UNSAFE-URL"
    1557 FAIL iframe.referrerPolicy: IDL set to "UNSAFE-URL" assert_equals: IDL get expected "unsafe-url" but got "UNSAFE-URL"
     1446PASS iframe.referrerPolicy: typeof IDL attribute
     1447PASS iframe.referrerPolicy: IDL get with DOM attribute unset
     1448PASS iframe.referrerPolicy: setAttribute() to ""
     1449PASS iframe.referrerPolicy: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo "
     1450PASS iframe.referrerPolicy: setAttribute() to undefined
     1451PASS iframe.referrerPolicy: setAttribute() to 7
     1452PASS iframe.referrerPolicy: setAttribute() to 1.5
     1453PASS iframe.referrerPolicy: setAttribute() to true
     1454PASS iframe.referrerPolicy: setAttribute() to false
     1455PASS iframe.referrerPolicy: setAttribute() to object "[object Object]"
     1456PASS iframe.referrerPolicy: setAttribute() to NaN
     1457PASS iframe.referrerPolicy: setAttribute() to Infinity
     1458PASS iframe.referrerPolicy: setAttribute() to -Infinity
     1459PASS iframe.referrerPolicy: setAttribute() to "\0"
     1460PASS iframe.referrerPolicy: setAttribute() to null
     1461PASS iframe.referrerPolicy: setAttribute() to object "test-toString"
     1462PASS iframe.referrerPolicy: setAttribute() to object "test-valueOf"
     1463PASS iframe.referrerPolicy: setAttribute() to "no-referrer"
     1464PASS iframe.referrerPolicy: setAttribute() to "xno-referrer"
     1465PASS iframe.referrerPolicy: setAttribute() to "no-referrer\0"
     1466PASS iframe.referrerPolicy: setAttribute() to "o-referrer"
     1467PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER"
     1468PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade"
     1469PASS iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade"
     1470PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0"
     1471PASS iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade"
     1472PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE"
     1473PASS iframe.referrerPolicy: setAttribute() to "same-origin"
     1474PASS iframe.referrerPolicy: setAttribute() to "xsame-origin"
     1475PASS iframe.referrerPolicy: setAttribute() to "same-origin\0"
     1476PASS iframe.referrerPolicy: setAttribute() to "ame-origin"
     1477PASS iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN"
     1478PASS iframe.referrerPolicy: setAttribute() to "origin"
     1479PASS iframe.referrerPolicy: setAttribute() to "xorigin"
     1480PASS iframe.referrerPolicy: setAttribute() to "origin\0"
     1481PASS iframe.referrerPolicy: setAttribute() to "rigin"
     1482PASS iframe.referrerPolicy: setAttribute() to "ORIGIN"
     1483PASS iframe.referrerPolicy: setAttribute() to "strict-origin"
     1484PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin"
     1485PASS iframe.referrerPolicy: setAttribute() to "strict-origin\0"
     1486PASS iframe.referrerPolicy: setAttribute() to "trict-origin"
     1487PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN"
     1488PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin"
     1489PASS iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin"
     1490PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0"
     1491PASS iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin"
     1492PASS iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN"
     1493PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin"
     1494PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin"
     1495PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0"
     1496PASS iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin"
     1497PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN"
     1498PASS iframe.referrerPolicy: setAttribute() to "unsafe-url"
     1499PASS iframe.referrerPolicy: setAttribute() to "xunsafe-url"
     1500PASS iframe.referrerPolicy: setAttribute() to "unsafe-url\0"
     1501PASS iframe.referrerPolicy: setAttribute() to "nsafe-url"
     1502PASS iframe.referrerPolicy: setAttribute() to "UNSAFE-URL"
     1503PASS iframe.referrerPolicy: IDL set to ""
     1504PASS iframe.referrerPolicy: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo "
     1505PASS iframe.referrerPolicy: IDL set to undefined
     1506PASS iframe.referrerPolicy: IDL set to 7
     1507PASS iframe.referrerPolicy: IDL set to 1.5
     1508PASS iframe.referrerPolicy: IDL set to true
     1509PASS iframe.referrerPolicy: IDL set to false
     1510PASS iframe.referrerPolicy: IDL set to object "[object Object]"
     1511PASS iframe.referrerPolicy: IDL set to NaN
     1512PASS iframe.referrerPolicy: IDL set to Infinity
     1513PASS iframe.referrerPolicy: IDL set to -Infinity
     1514PASS iframe.referrerPolicy: IDL set to "\0"
     1515PASS iframe.referrerPolicy: IDL set to null
     1516PASS iframe.referrerPolicy: IDL set to object "test-toString"
     1517PASS iframe.referrerPolicy: IDL set to object "test-valueOf"
     1518PASS iframe.referrerPolicy: IDL set to "no-referrer"
     1519PASS iframe.referrerPolicy: IDL set to "xno-referrer"
     1520PASS iframe.referrerPolicy: IDL set to "no-referrer\0"
     1521PASS iframe.referrerPolicy: IDL set to "o-referrer"
     1522PASS iframe.referrerPolicy: IDL set to "NO-REFERRER"
     1523PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade"
     1524PASS iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade"
     1525PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0"
     1526PASS iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade"
     1527PASS iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE"
     1528PASS iframe.referrerPolicy: IDL set to "same-origin"
     1529PASS iframe.referrerPolicy: IDL set to "xsame-origin"
     1530PASS iframe.referrerPolicy: IDL set to "same-origin\0"
     1531PASS iframe.referrerPolicy: IDL set to "ame-origin"
     1532PASS iframe.referrerPolicy: IDL set to "SAME-ORIGIN"
     1533PASS iframe.referrerPolicy: IDL set to "origin"
     1534PASS iframe.referrerPolicy: IDL set to "xorigin"
     1535PASS iframe.referrerPolicy: IDL set to "origin\0"
     1536PASS iframe.referrerPolicy: IDL set to "rigin"
     1537PASS iframe.referrerPolicy: IDL set to "ORIGIN"
     1538PASS iframe.referrerPolicy: IDL set to "strict-origin"
     1539PASS iframe.referrerPolicy: IDL set to "xstrict-origin"
     1540PASS iframe.referrerPolicy: IDL set to "strict-origin\0"
     1541PASS iframe.referrerPolicy: IDL set to "trict-origin"
     1542PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN"
     1543PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin"
     1544PASS iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin"
     1545PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0"
     1546PASS iframe.referrerPolicy: IDL set to "rigin-when-cross-origin"
     1547PASS iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN"
     1548PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin"
     1549PASS iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin"
     1550PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0"
     1551PASS iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin"
     1552PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN"
     1553PASS iframe.referrerPolicy: IDL set to "unsafe-url"
     1554PASS iframe.referrerPolicy: IDL set to "xunsafe-url"
     1555PASS iframe.referrerPolicy: IDL set to "unsafe-url\0"
     1556PASS iframe.referrerPolicy: IDL set to "nsafe-url"
     1557PASS iframe.referrerPolicy: IDL set to "UNSAFE-URL"
    15581558PASS iframe.align: typeof IDL attribute
    15591559PASS iframe.align: IDL get with DOM attribute unset
  • trunk/LayoutTests/platform/win/TestExpectations

    r241915 r242534  
    41264126webkit.org/b/189194 http/tests/security/basic-auth-subresource.html [ Failure ]
    41274127
     4128webkit.org/b/189194 http/tests/referrer-policy-iframe/strict-origin/same-origin.html [ Failure ]
     4129webkit.org/b/189194 http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html [ Failure ]
     4130webkit.org/b/189194 http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html [ Failure ]
     4131webkit.org/b/189194 http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html [ Failure ]
     4132webkit.org/b/189194 http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html [ Failure ]
     4133webkit.org/b/189194 http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html [ Failure ]
     4134
    41284135webkit.org/b/189550 fast/text/variations/ipc2.html [ Skip ]
    41294136
  • trunk/Source/WebCore/ChangeLog

    r242529 r242534  
     12019-03-06  Rob Buis  <rbuis@igalia.com>
     2
     3        Consider supporting the `referrerpolicy` attribute.
     4        https://bugs.webkit.org/show_bug.cgi?id=179053
     5
     6        Reviewed by Darin Adler.
     7
     8        This patch adds 'referrerpolicy' attribute support for iframe.
     9        If set, the value is restricted to the ReferrerPolicy enum, and
     10        if valid it is used for the subframe load.
     11        If not set or invalid, the current behavior is kept.
     12
     13        Tests: http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http-http.html
     14               http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http.https.html
     15               http/tests/referrer-policy-iframe/no-referrer-when-downgrade/same-origin.html
     16               http/tests/referrer-policy-iframe/no-referrer/cross-origin-http-http.html
     17               http/tests/referrer-policy-iframe/no-referrer/cross-origin-http.https.html
     18               http/tests/referrer-policy-iframe/no-referrer/same-origin.html
     19               http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html
     20               http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html
     21               http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin.html
     22               http/tests/referrer-policy-iframe/origin/cross-origin-http-http.html
     23               http/tests/referrer-policy-iframe/origin/cross-origin-http.https.html
     24               http/tests/referrer-policy-iframe/origin/same-origin.html
     25               http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html
     26               http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https.html
     27               http/tests/referrer-policy-iframe/same-origin/same-origin.html
     28               http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html
     29               http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https.html
     30               http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html
     31               http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html
     32               http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https.html
     33               http/tests/referrer-policy-iframe/strict-origin/same-origin.html
     34               http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http-http.html
     35               http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http.https.html
     36               http/tests/referrer-policy-iframe/unsafe-url/same-origin.html
     37
     38        * html/HTMLAttributeNames.in:
     39        * html/HTMLFrameOwnerElement.h:
     40        (WebCore::HTMLFrameOwnerElement::referrerPolicy const):
     41        * html/HTMLIFrameElement.cpp:
     42        (WebCore::HTMLIFrameElement::setReferrerPolicyForBindings):
     43        (WebCore::HTMLIFrameElement::referrerPolicyForBindings const):
     44        (WebCore::HTMLIFrameElement::referrerPolicy const):
     45        * html/HTMLIFrameElement.h:
     46        * html/HTMLIFrameElement.idl:
     47        * loader/SubframeLoader.cpp:
     48        (WebCore::SubframeLoader::loadSubframe):
     49        * page/RuntimeEnabledFeatures.h:
     50        (WebCore::RuntimeEnabledFeatures::referrerPolicyAttributeEnabled const):
     51        (WebCore::RuntimeEnabledFeatures::setReferrerPolicyAttributeEnabled):
     52        * platform/ReferrerPolicy.cpp:
     53        (WebCore::parseReferrerPolicy):
     54        * platform/ReferrerPolicy.h:
     55
    1562019-03-05  Takashi Komori  <Takashi.Komori@sony.com>
    257
  • trunk/Source/WebCore/html/HTMLAttributeNames.in

    r240444 r242534  
    343343pseudo
    344344readonly
     345referrerpolicy
    345346rel
    346347required
  • trunk/Source/WebCore/html/HTMLFrameOwnerElement.h

    r231114 r242534  
    2222
    2323#include "HTMLElement.h"
     24#include "ReferrerPolicy.h"
    2425#include <wtf/HashCountedSet.h>
    2526#include <wtf/NeverDestroyed.h>
     
    6061
    6162    virtual bool isURLAllowed(const URL&) const { return true; }
     63
     64    virtual ReferrerPolicy referrerPolicy() const { return ReferrerPolicy::EmptyString; }
    6265
    6366protected:
  • trunk/Source/WebCore/html/HTMLIFrameElement.cpp

    r240237 r242534  
    3131#include "HTMLNames.h"
    3232#include "RenderIFrame.h"
     33#include "RuntimeEnabledFeatures.h"
    3334#include "ScriptableDocumentParser.h"
    3435#include <wtf/IsoMallocInlines.h>
     
    112113}
    113114
     115void HTMLIFrameElement::setReferrerPolicyForBindings(const AtomicString& value)
     116{
     117    setAttributeWithoutSynchronization(referrerpolicyAttr, value);
    114118}
     119
     120String HTMLIFrameElement::referrerPolicyForBindings() const
     121{
     122    switch (referrerPolicy()) {
     123    case ReferrerPolicy::NoReferrer:
     124        return "no-referrer"_s;
     125    case ReferrerPolicy::UnsafeUrl:
     126        return "unsafe-url"_s;
     127    case ReferrerPolicy::Origin:
     128        return "origin"_s;
     129    case ReferrerPolicy::OriginWhenCrossOrigin:
     130        return "origin-when-cross-origin"_s;
     131    case ReferrerPolicy::SameOrigin:
     132        return "same-origin"_s;
     133    case ReferrerPolicy::StrictOrigin:
     134        return "strict-origin"_s;
     135    case ReferrerPolicy::StrictOriginWhenCrossOrigin:
     136        return "strict-origin-when-cross-origin"_s;
     137    case ReferrerPolicy::NoReferrerWhenDowngrade:
     138        return "no-referrer-when-downgrade"_s;
     139    case ReferrerPolicy::EmptyString:
     140        return { };
     141    }
     142    ASSERT_NOT_REACHED();
     143    return { };
     144}
     145
     146ReferrerPolicy HTMLIFrameElement::referrerPolicy() const
     147{
     148    if (RuntimeEnabledFeatures::sharedFeatures().referrerPolicyAttributeEnabled())
     149        return parseReferrerPolicy(attributeWithoutSynchronization(referrerpolicyAttr), ReferrerPolicySource::ReferrerPolicyAttribute).valueOr(ReferrerPolicy::EmptyString);
     150    return ReferrerPolicy::EmptyString;
     151}
     152
     153}
  • trunk/Source/WebCore/html/HTMLIFrameElement.h

    r237266 r242534  
    4141    const String& allow() const { return m_allow; }
    4242
     43    void setReferrerPolicyForBindings(const AtomicString&);
     44    String referrerPolicyForBindings() const;
     45    ReferrerPolicy referrerPolicy() const final;
     46
    4347private:
    4448    HTMLIFrameElement(const QualifiedName&, Document&);
  • trunk/Source/WebCore/html/HTMLIFrameElement.idl

    r234636 r242534  
    4242
    4343    [CheckSecurityForNode, MayThrowException] Document getSVGDocument();
     44
     45    [EnabledAtRuntime=ReferrerPolicyAttribute, ImplementedAs=referrerPolicyForBindings, CEReactions=NotNeeded] attribute DOMString referrerPolicy;
    4446};
  • trunk/Source/WebCore/loader/SubframeLoader.cpp

    r238771 r242534  
    319319        return nullptr;
    320320
    321     String referrerToUse = SecurityPolicy::generateReferrerHeader(document->referrerPolicy(), url, referrer);
     321    ReferrerPolicy policy = ownerElement.referrerPolicy();
     322    if (policy == ReferrerPolicy::EmptyString)
     323        policy = document->referrerPolicy();
     324    String referrerToUse = SecurityPolicy::generateReferrerHeader(policy, url, referrer);
    322325
    323326    // Prevent initial empty document load from triggering load events.
  • trunk/Source/WebCore/page/RuntimeEnabledFeatures.h

    r242406 r242534  
    356356#endif
    357357   
     358    bool referrerPolicyAttributeEnabled() const { return m_referrerPolicyAttributeEnabled; }
     359    void setReferrerPolicyAttributeEnabled(bool isEnabled) { m_referrerPolicyAttributeEnabled = isEnabled; }
     360
    358361    WEBCORE_EXPORT static RuntimeEnabledFeatures& sharedFeatures();
    359362
     
    540543    bool m_isITPDatabaseEnabled { false };
    541544
     545    bool m_referrerPolicyAttributeEnabled { false };
     546
    542547    friend class WTF::NeverDestroyed<RuntimeEnabledFeatures>;
    543548};
  • trunk/Source/WebCore/platform/ReferrerPolicy.cpp

    r239427 r242534  
    8282    case ReferrerPolicySource::MetaTag:
    8383        return parseReferrerPolicyToken(policyString, ShouldParseLegacyKeywords::Yes);
     84    case ReferrerPolicySource::ReferrerPolicyAttribute:
     85        return parseReferrerPolicyToken(policyString, ShouldParseLegacyKeywords::No);
    8486    }
    8587    ASSERT_NOT_REACHED();
  • trunk/Source/WebCore/platform/ReferrerPolicy.h

    r239427 r242534  
    5050};
    5151
    52 enum class ReferrerPolicySource : uint8_t { MetaTag, HTTPHeader };
     52enum class ReferrerPolicySource : uint8_t { MetaTag, HTTPHeader, ReferrerPolicyAttribute };
    5353Optional<ReferrerPolicy> parseReferrerPolicy(StringView, ReferrerPolicySource);
    5454
  • trunk/Source/WebKit/ChangeLog

    r242532 r242534  
     12019-03-06  Rob Buis  <rbuis@igalia.com>
     2
     3        Consider supporting the `referrerpolicy` attribute.
     4        https://bugs.webkit.org/show_bug.cgi?id=179053
     5
     6        Reviewed by Darin Adler.
     7
     8        Add a runtime flag for referrerpolicy attribute.
     9
     10        * Shared/WebPreferences.yaml:
     11        * UIProcess/API/C/WKPreferences.cpp:
     12        (WKPreferencesSetReferrerPolicyAttributeEnabled):
     13        (WKPreferencesGetReferrerPolicyAttributeEnabled):
     14        * UIProcess/API/C/WKPreferencesRefPrivate.h:
     15        * WebProcess/Network/WebLoaderStrategy.cpp:
     16        (WebKit::WebLoaderStrategy::loadResource): do not hardcode choosing
     17        the document referrer policy.
     18
    1192019-03-06  Philippe Normand  <pnormand@igalia.com>
    220
  • trunk/Source/WebKit/Shared/WebPreferences.yaml

    r242406 r242534  
    15641564  condition: ENABLE(TOUCH_EVENTS)
    15651565
     1566ReferrerPolicyAttributeEnabled:
     1567  type: bool
     1568  defaultValue: false
     1569  humanReadableName: "Referrer Policy attribute"
     1570  humanReadableDescription: "Enable Referrer Policy attribute"
     1571  category: experimental
     1572  webcoreBinding: RuntimeEnabledFeatures
     1573
    15661574# Deprecated
    15671575
  • trunk/Source/WebKit/UIProcess/API/C/WKPreferences.cpp

    r239470 r242534  
    21102110    return toImpl(preferencesRef)->captureVideoInUIProcessEnabled();
    21112111}
     2112
     2113void WKPreferencesSetReferrerPolicyAttributeEnabled(WKPreferencesRef preferencesRef, bool flag)
     2114{
     2115    toImpl(preferencesRef)->setReferrerPolicyAttributeEnabled(flag);
     2116}
     2117
     2118bool WKPreferencesGetReferrerPolicyAttributeEnabled(WKPreferencesRef preferencesRef)
     2119{
     2120    return toImpl(preferencesRef)->referrerPolicyAttributeEnabled();
     2121}
  • trunk/Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h

    r239470 r242534  
    581581WK_EXPORT bool WKPreferencesGetPunchOutWhiteBackgroundsInDarkMode(WKPreferencesRef);
    582582
     583// Defaults to false
     584WK_EXPORT void WKPreferencesSetReferrerPolicyAttributeEnabled(WKPreferencesRef, bool flag);
     585WK_EXPORT bool WKPreferencesGetReferrerPolicyAttributeEnabled(WKPreferencesRef);
     586
    583587#ifdef __cplusplus
    584588}
  • trunk/Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp

    r241338 r242534  
    9292void WebLoaderStrategy::loadResource(Frame& frame, CachedResource& resource, ResourceRequest&& request, const ResourceLoaderOptions& options, CompletionHandler<void(RefPtr<SubresourceLoader>&&)>&& completionHandler)
    9393{
    94     SubresourceLoader::create(frame, resource, WTFMove(request), options, [this, completionHandler = WTFMove(completionHandler), resource = CachedResourceHandle<CachedResource>(&resource), frame = makeRef(frame)] (RefPtr<SubresourceLoader>&& loader) mutable {
     94    SubresourceLoader::create(frame, resource, WTFMove(request), options, [this, referrerPolicy = options.referrerPolicy, completionHandler = WTFMove(completionHandler), resource = CachedResourceHandle<CachedResource>(&resource), frame = makeRef(frame)] (RefPtr<SubresourceLoader>&& loader) mutable {
    9595        if (loader)
    96             scheduleLoad(*loader, resource.get(), frame->document()->referrerPolicy() == ReferrerPolicy::NoReferrerWhenDowngrade);
     96            scheduleLoad(*loader, resource.get(), referrerPolicy == ReferrerPolicy::NoReferrerWhenDowngrade);
    9797        else
    9898            RELEASE_LOG_IF_ALLOWED(frame.get(), "loadResource: Unable to create SubresourceLoader (frame = %p", &frame);
  • trunk/Source/WebKitLegacy/mac/ChangeLog

    r242325 r242534  
     12019-03-06  Rob Buis  <rbuis@igalia.com>
     2
     3        Consider supporting the `referrerpolicy` attribute.
     4        https://bugs.webkit.org/show_bug.cgi?id=179053
     5
     6        Reviewed by Darin Adler.
     7
     8        Add a runtime flag for referrerpolicy attribute.
     9
     10        * WebView/WebPreferenceKeysPrivate.h:
     11        * WebView/WebPreferences.mm:
     12        (+[WebPreferences initialize]):
     13        (-[WebPreferences referrerPolicyAttributeEnabled]):
     14        (-[WebPreferences setReferrerPolicyAttributeEnabled:]):
     15        * WebView/WebPreferencesPrivate.h:
     16        * WebView/WebView.mm:
     17        (-[WebView _preferencesChanged:]):
     18
    1192019-03-03  Tim Horton  <timothy_horton@apple.com>
    220
  • trunk/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h

    r242137 r242534  
    267267#define WebKitCSSLogicalEnabledPreferenceKey @"WebKitCSSLogicalEnabled"
    268268#define WebKitAdClickAttributionEnabledPreferenceKey @"WebKitAdClickAttributionEnabled"
     269#define WebKitReferrerPolicyAttributeEnabledPreferenceKey @"WebKitReferrerPolicyAttributeEnabled"
  • trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm

    r242232 r242534  
    694694        @NO, WebKitFetchAPIKeepAliveEnabledPreferenceKey,
    695695        @NO, WebKitServerTimingEnabledPreferenceKey,
     696        @NO, WebKitReferrerPolicyAttributeEnabledPreferenceKey,
    696697        nil];
    697698
     
    34423443}
    34433444
     3445- (BOOL)referrerPolicyAttributeEnabled
     3446{
     3447    return [self _boolValueForKey:WebKitReferrerPolicyAttributeEnabledPreferenceKey];
     3448}
     3449
     3450- (void)setReferrerPolicyAttributeEnabled:(BOOL)flag
     3451{
     3452    [self _setBoolValue:flag forKey:WebKitReferrerPolicyAttributeEnabledPreferenceKey];
     3453}
     3454
    34443455@end
    34453456
  • trunk/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h

    r242137 r242534  
    591591- (BOOL)adClickAttributionEnabled;
    592592- (void)setAdClickAttributionEnabled:(BOOL)flag;
     593
     594- (void)setReferrerPolicyAttributeEnabled:(BOOL)flag;
     595- (BOOL)referrerPolicyAttributeEnabled;
    593596
    594597@property (nonatomic) BOOL visualViewportAPIEnabled;
     
    622625@property (nonatomic) BOOL allowCrossOriginSubresourcesToAskForCredentials;
    623626@property (nonatomic) BOOL sourceBufferChangeTypeEnabled;
     627@property (nonatomic) BOOL referrerPolicyAttributeEnabled;
    624628
    625629#if TARGET_OS_IPHONE
  • trunk/Source/WebKitLegacy/mac/WebView/WebView.mm

    r242137 r242534  
    31723172    RuntimeEnabledFeatures::sharedFeatures().setAriaReflectionEnabled([preferences ariaReflectionEnabled]);
    31733173    RuntimeEnabledFeatures::sharedFeatures().setFetchAPIKeepAliveEnabled([preferences fetchAPIKeepAliveEnabled]);
     3174    RuntimeEnabledFeatures::sharedFeatures().setReferrerPolicyAttributeEnabled([preferences referrerPolicyAttributeEnabled]);
    31743175
    31753176#if ENABLE(LEGACY_ENCRYPTED_MEDIA)
  • trunk/Tools/ChangeLog

    r242530 r242534  
     12019-03-06  Rob Buis  <rbuis@igalia.com>
     2
     3        Consider supporting the `referrerpolicy` attribute.
     4        https://bugs.webkit.org/show_bug.cgi?id=179053
     5
     6        Reviewed by Darin Adler.
     7
     8        Add a runtime flag for referrerpolicy attribute.
     9
     10        * DumpRenderTree/mac/DumpRenderTree.mm:
     11        (enableExperimentalFeatures):
     12
    1132019-03-05  Daniel Bates  <dabates@apple.com>
    214
  • trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm

    r242232 r242534  
    876876    [preferences setCSSOMViewScrollingAPIEnabled:YES];
    877877    [preferences setMediaRecorderEnabled:YES];
     878    [preferences setReferrerPolicyAttributeEnabled:YES];
    878879}
    879880
Note: See TracChangeset for help on using the changeset viewer.