Changeset 242534 in webkit
- Timestamp:
- Mar 6, 2019 3:28:38 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 57 added
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r242531 r242534 1 2019-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 1 65 2019-03-05 Rob Buis <rbuis@igalia.com> 2 66 -
trunk/LayoutTests/imported/w3c/ChangeLog
r242533 r242534 1 2019-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 1 12 2019-03-06 Frederic Wang <fwang@igalia.com> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt
r230445 r242534 1751 1751 PASS iframe.height: IDL set to object "test-toString" 1752 1752 PASS 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" 1753 PASS iframe.referrerPolicy: typeof IDL attribute 1754 PASS iframe.referrerPolicy: IDL get with DOM attribute unset 1755 PASS iframe.referrerPolicy: setAttribute() to "" 1756 PASS 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 " 1757 PASS iframe.referrerPolicy: setAttribute() to undefined 1758 PASS iframe.referrerPolicy: setAttribute() to 7 1759 PASS iframe.referrerPolicy: setAttribute() to 1.5 1760 PASS iframe.referrerPolicy: setAttribute() to true 1761 PASS iframe.referrerPolicy: setAttribute() to false 1762 PASS iframe.referrerPolicy: setAttribute() to object "[object Object]" 1763 PASS iframe.referrerPolicy: setAttribute() to NaN 1764 PASS iframe.referrerPolicy: setAttribute() to Infinity 1765 PASS iframe.referrerPolicy: setAttribute() to -Infinity 1766 PASS iframe.referrerPolicy: setAttribute() to "\0" 1767 PASS iframe.referrerPolicy: setAttribute() to null 1768 PASS iframe.referrerPolicy: setAttribute() to object "test-toString" 1769 PASS iframe.referrerPolicy: setAttribute() to object "test-valueOf" 1770 PASS iframe.referrerPolicy: setAttribute() to "no-referrer" 1771 PASS iframe.referrerPolicy: setAttribute() to "xno-referrer" 1772 PASS iframe.referrerPolicy: setAttribute() to "no-referrer\0" 1773 PASS iframe.referrerPolicy: setAttribute() to "o-referrer" 1774 PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER" 1775 PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" 1776 PASS iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" 1777 PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" 1778 PASS iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" 1779 PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" 1780 PASS iframe.referrerPolicy: setAttribute() to "same-origin" 1781 PASS iframe.referrerPolicy: setAttribute() to "xsame-origin" 1782 PASS iframe.referrerPolicy: setAttribute() to "same-origin\0" 1783 PASS iframe.referrerPolicy: setAttribute() to "ame-origin" 1784 PASS iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" 1785 PASS iframe.referrerPolicy: setAttribute() to "origin" 1786 PASS iframe.referrerPolicy: setAttribute() to "xorigin" 1787 PASS iframe.referrerPolicy: setAttribute() to "origin\0" 1788 PASS iframe.referrerPolicy: setAttribute() to "rigin" 1789 PASS iframe.referrerPolicy: setAttribute() to "ORIGIN" 1790 PASS iframe.referrerPolicy: setAttribute() to "strict-origin" 1791 PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin" 1792 PASS iframe.referrerPolicy: setAttribute() to "strict-origin\0" 1793 PASS iframe.referrerPolicy: setAttribute() to "trict-origin" 1794 PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" 1795 PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" 1796 PASS iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" 1797 PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" 1798 PASS iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" 1799 PASS iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" 1800 PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" 1801 PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" 1802 PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" 1803 PASS iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" 1804 PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 1805 PASS iframe.referrerPolicy: setAttribute() to "unsafe-url" 1806 PASS iframe.referrerPolicy: setAttribute() to "xunsafe-url" 1807 PASS iframe.referrerPolicy: setAttribute() to "unsafe-url\0" 1808 PASS iframe.referrerPolicy: setAttribute() to "nsafe-url" 1809 PASS iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" 1810 PASS iframe.referrerPolicy: IDL set to "" 1811 PASS 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 " 1812 PASS iframe.referrerPolicy: IDL set to undefined 1813 PASS iframe.referrerPolicy: IDL set to 7 1814 PASS iframe.referrerPolicy: IDL set to 1.5 1815 PASS iframe.referrerPolicy: IDL set to true 1816 PASS iframe.referrerPolicy: IDL set to false 1817 PASS iframe.referrerPolicy: IDL set to object "[object Object]" 1818 PASS iframe.referrerPolicy: IDL set to NaN 1819 PASS iframe.referrerPolicy: IDL set to Infinity 1820 PASS iframe.referrerPolicy: IDL set to -Infinity 1821 PASS iframe.referrerPolicy: IDL set to "\0" 1822 PASS iframe.referrerPolicy: IDL set to null 1823 PASS iframe.referrerPolicy: IDL set to object "test-toString" 1824 PASS iframe.referrerPolicy: IDL set to object "test-valueOf" 1825 PASS iframe.referrerPolicy: IDL set to "no-referrer" 1826 PASS iframe.referrerPolicy: IDL set to "xno-referrer" 1827 PASS iframe.referrerPolicy: IDL set to "no-referrer\0" 1828 PASS iframe.referrerPolicy: IDL set to "o-referrer" 1829 PASS iframe.referrerPolicy: IDL set to "NO-REFERRER" 1830 PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" 1831 PASS iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" 1832 PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" 1833 PASS iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" 1834 PASS iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" 1835 PASS iframe.referrerPolicy: IDL set to "same-origin" 1836 PASS iframe.referrerPolicy: IDL set to "xsame-origin" 1837 PASS iframe.referrerPolicy: IDL set to "same-origin\0" 1838 PASS iframe.referrerPolicy: IDL set to "ame-origin" 1839 PASS iframe.referrerPolicy: IDL set to "SAME-ORIGIN" 1840 PASS iframe.referrerPolicy: IDL set to "origin" 1841 PASS iframe.referrerPolicy: IDL set to "xorigin" 1842 PASS iframe.referrerPolicy: IDL set to "origin\0" 1843 PASS iframe.referrerPolicy: IDL set to "rigin" 1844 PASS iframe.referrerPolicy: IDL set to "ORIGIN" 1845 PASS iframe.referrerPolicy: IDL set to "strict-origin" 1846 PASS iframe.referrerPolicy: IDL set to "xstrict-origin" 1847 PASS iframe.referrerPolicy: IDL set to "strict-origin\0" 1848 PASS iframe.referrerPolicy: IDL set to "trict-origin" 1849 PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" 1850 PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin" 1851 PASS iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" 1852 PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" 1853 PASS iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" 1854 PASS iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" 1855 PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" 1856 PASS iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" 1857 PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" 1858 PASS iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" 1859 PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 1860 PASS iframe.referrerPolicy: IDL set to "unsafe-url" 1861 PASS iframe.referrerPolicy: IDL set to "xunsafe-url" 1862 PASS iframe.referrerPolicy: IDL set to "unsafe-url\0" 1863 PASS iframe.referrerPolicy: IDL set to "nsafe-url" 1864 PASS iframe.referrerPolicy: IDL set to "UNSAFE-URL" 1865 1865 FAIL iframe.delegateStickyUserActivation: typeof IDL attribute assert_equals: expected "string" but got "undefined" 1866 1866 FAIL 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 1751 1751 PASS iframe.height: IDL set to object "test-toString" 1752 1752 PASS 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" 1753 PASS iframe.referrerPolicy: typeof IDL attribute 1754 PASS iframe.referrerPolicy: IDL get with DOM attribute unset 1755 PASS iframe.referrerPolicy: setAttribute() to "" 1756 PASS 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 " 1757 PASS iframe.referrerPolicy: setAttribute() to undefined 1758 PASS iframe.referrerPolicy: setAttribute() to 7 1759 PASS iframe.referrerPolicy: setAttribute() to 1.5 1760 PASS iframe.referrerPolicy: setAttribute() to true 1761 PASS iframe.referrerPolicy: setAttribute() to false 1762 PASS iframe.referrerPolicy: setAttribute() to object "[object Object]" 1763 PASS iframe.referrerPolicy: setAttribute() to NaN 1764 PASS iframe.referrerPolicy: setAttribute() to Infinity 1765 PASS iframe.referrerPolicy: setAttribute() to -Infinity 1766 PASS iframe.referrerPolicy: setAttribute() to "\0" 1767 PASS iframe.referrerPolicy: setAttribute() to null 1768 PASS iframe.referrerPolicy: setAttribute() to object "test-toString" 1769 PASS iframe.referrerPolicy: setAttribute() to object "test-valueOf" 1770 PASS iframe.referrerPolicy: setAttribute() to "no-referrer" 1771 PASS iframe.referrerPolicy: setAttribute() to "xno-referrer" 1772 PASS iframe.referrerPolicy: setAttribute() to "no-referrer\0" 1773 PASS iframe.referrerPolicy: setAttribute() to "o-referrer" 1774 PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER" 1775 PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" 1776 PASS iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" 1777 PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" 1778 PASS iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" 1779 PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" 1780 PASS iframe.referrerPolicy: setAttribute() to "same-origin" 1781 PASS iframe.referrerPolicy: setAttribute() to "xsame-origin" 1782 PASS iframe.referrerPolicy: setAttribute() to "same-origin\0" 1783 PASS iframe.referrerPolicy: setAttribute() to "ame-origin" 1784 PASS iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" 1785 PASS iframe.referrerPolicy: setAttribute() to "origin" 1786 PASS iframe.referrerPolicy: setAttribute() to "xorigin" 1787 PASS iframe.referrerPolicy: setAttribute() to "origin\0" 1788 PASS iframe.referrerPolicy: setAttribute() to "rigin" 1789 PASS iframe.referrerPolicy: setAttribute() to "ORIGIN" 1790 PASS iframe.referrerPolicy: setAttribute() to "strict-origin" 1791 PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin" 1792 PASS iframe.referrerPolicy: setAttribute() to "strict-origin\0" 1793 PASS iframe.referrerPolicy: setAttribute() to "trict-origin" 1794 PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" 1795 PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" 1796 PASS iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" 1797 PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" 1798 PASS iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" 1799 PASS iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" 1800 PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" 1801 PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" 1802 PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" 1803 PASS iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" 1804 PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 1805 PASS iframe.referrerPolicy: setAttribute() to "unsafe-url" 1806 PASS iframe.referrerPolicy: setAttribute() to "xunsafe-url" 1807 PASS iframe.referrerPolicy: setAttribute() to "unsafe-url\0" 1808 PASS iframe.referrerPolicy: setAttribute() to "nsafe-url" 1809 PASS iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" 1810 PASS iframe.referrerPolicy: IDL set to "" 1811 PASS 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 " 1812 PASS iframe.referrerPolicy: IDL set to undefined 1813 PASS iframe.referrerPolicy: IDL set to 7 1814 PASS iframe.referrerPolicy: IDL set to 1.5 1815 PASS iframe.referrerPolicy: IDL set to true 1816 PASS iframe.referrerPolicy: IDL set to false 1817 PASS iframe.referrerPolicy: IDL set to object "[object Object]" 1818 PASS iframe.referrerPolicy: IDL set to NaN 1819 PASS iframe.referrerPolicy: IDL set to Infinity 1820 PASS iframe.referrerPolicy: IDL set to -Infinity 1821 PASS iframe.referrerPolicy: IDL set to "\0" 1822 PASS iframe.referrerPolicy: IDL set to null 1823 PASS iframe.referrerPolicy: IDL set to object "test-toString" 1824 PASS iframe.referrerPolicy: IDL set to object "test-valueOf" 1825 PASS iframe.referrerPolicy: IDL set to "no-referrer" 1826 PASS iframe.referrerPolicy: IDL set to "xno-referrer" 1827 PASS iframe.referrerPolicy: IDL set to "no-referrer\0" 1828 PASS iframe.referrerPolicy: IDL set to "o-referrer" 1829 PASS iframe.referrerPolicy: IDL set to "NO-REFERRER" 1830 PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" 1831 PASS iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" 1832 PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" 1833 PASS iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" 1834 PASS iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" 1835 PASS iframe.referrerPolicy: IDL set to "same-origin" 1836 PASS iframe.referrerPolicy: IDL set to "xsame-origin" 1837 PASS iframe.referrerPolicy: IDL set to "same-origin\0" 1838 PASS iframe.referrerPolicy: IDL set to "ame-origin" 1839 PASS iframe.referrerPolicy: IDL set to "SAME-ORIGIN" 1840 PASS iframe.referrerPolicy: IDL set to "origin" 1841 PASS iframe.referrerPolicy: IDL set to "xorigin" 1842 PASS iframe.referrerPolicy: IDL set to "origin\0" 1843 PASS iframe.referrerPolicy: IDL set to "rigin" 1844 PASS iframe.referrerPolicy: IDL set to "ORIGIN" 1845 PASS iframe.referrerPolicy: IDL set to "strict-origin" 1846 PASS iframe.referrerPolicy: IDL set to "xstrict-origin" 1847 PASS iframe.referrerPolicy: IDL set to "strict-origin\0" 1848 PASS iframe.referrerPolicy: IDL set to "trict-origin" 1849 PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" 1850 PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin" 1851 PASS iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" 1852 PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" 1853 PASS iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" 1854 PASS iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" 1855 PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" 1856 PASS iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" 1857 PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" 1858 PASS iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" 1859 PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 1860 PASS iframe.referrerPolicy: IDL set to "unsafe-url" 1861 PASS iframe.referrerPolicy: IDL set to "xunsafe-url" 1862 PASS iframe.referrerPolicy: IDL set to "unsafe-url\0" 1863 PASS iframe.referrerPolicy: IDL set to "nsafe-url" 1864 PASS iframe.referrerPolicy: IDL set to "UNSAFE-URL" 1865 1865 FAIL iframe.delegateStickyUserActivation: typeof IDL attribute assert_equals: expected "string" but got "undefined" 1866 1866 FAIL 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 1444 1444 PASS iframe.height: IDL set to object "test-toString" 1445 1445 PASS 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" 1446 PASS iframe.referrerPolicy: typeof IDL attribute 1447 PASS iframe.referrerPolicy: IDL get with DOM attribute unset 1448 PASS iframe.referrerPolicy: setAttribute() to "" 1449 PASS 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 " 1450 PASS iframe.referrerPolicy: setAttribute() to undefined 1451 PASS iframe.referrerPolicy: setAttribute() to 7 1452 PASS iframe.referrerPolicy: setAttribute() to 1.5 1453 PASS iframe.referrerPolicy: setAttribute() to true 1454 PASS iframe.referrerPolicy: setAttribute() to false 1455 PASS iframe.referrerPolicy: setAttribute() to object "[object Object]" 1456 PASS iframe.referrerPolicy: setAttribute() to NaN 1457 PASS iframe.referrerPolicy: setAttribute() to Infinity 1458 PASS iframe.referrerPolicy: setAttribute() to -Infinity 1459 PASS iframe.referrerPolicy: setAttribute() to "\0" 1460 PASS iframe.referrerPolicy: setAttribute() to null 1461 PASS iframe.referrerPolicy: setAttribute() to object "test-toString" 1462 PASS iframe.referrerPolicy: setAttribute() to object "test-valueOf" 1463 PASS iframe.referrerPolicy: setAttribute() to "no-referrer" 1464 PASS iframe.referrerPolicy: setAttribute() to "xno-referrer" 1465 PASS iframe.referrerPolicy: setAttribute() to "no-referrer\0" 1466 PASS iframe.referrerPolicy: setAttribute() to "o-referrer" 1467 PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER" 1468 PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" 1469 PASS iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" 1470 PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" 1471 PASS iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" 1472 PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" 1473 PASS iframe.referrerPolicy: setAttribute() to "same-origin" 1474 PASS iframe.referrerPolicy: setAttribute() to "xsame-origin" 1475 PASS iframe.referrerPolicy: setAttribute() to "same-origin\0" 1476 PASS iframe.referrerPolicy: setAttribute() to "ame-origin" 1477 PASS iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" 1478 PASS iframe.referrerPolicy: setAttribute() to "origin" 1479 PASS iframe.referrerPolicy: setAttribute() to "xorigin" 1480 PASS iframe.referrerPolicy: setAttribute() to "origin\0" 1481 PASS iframe.referrerPolicy: setAttribute() to "rigin" 1482 PASS iframe.referrerPolicy: setAttribute() to "ORIGIN" 1483 PASS iframe.referrerPolicy: setAttribute() to "strict-origin" 1484 PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin" 1485 PASS iframe.referrerPolicy: setAttribute() to "strict-origin\0" 1486 PASS iframe.referrerPolicy: setAttribute() to "trict-origin" 1487 PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" 1488 PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" 1489 PASS iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" 1490 PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" 1491 PASS iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" 1492 PASS iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" 1493 PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" 1494 PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" 1495 PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" 1496 PASS iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" 1497 PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 1498 PASS iframe.referrerPolicy: setAttribute() to "unsafe-url" 1499 PASS iframe.referrerPolicy: setAttribute() to "xunsafe-url" 1500 PASS iframe.referrerPolicy: setAttribute() to "unsafe-url\0" 1501 PASS iframe.referrerPolicy: setAttribute() to "nsafe-url" 1502 PASS iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" 1503 PASS iframe.referrerPolicy: IDL set to "" 1504 PASS 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 " 1505 PASS iframe.referrerPolicy: IDL set to undefined 1506 PASS iframe.referrerPolicy: IDL set to 7 1507 PASS iframe.referrerPolicy: IDL set to 1.5 1508 PASS iframe.referrerPolicy: IDL set to true 1509 PASS iframe.referrerPolicy: IDL set to false 1510 PASS iframe.referrerPolicy: IDL set to object "[object Object]" 1511 PASS iframe.referrerPolicy: IDL set to NaN 1512 PASS iframe.referrerPolicy: IDL set to Infinity 1513 PASS iframe.referrerPolicy: IDL set to -Infinity 1514 PASS iframe.referrerPolicy: IDL set to "\0" 1515 PASS iframe.referrerPolicy: IDL set to null 1516 PASS iframe.referrerPolicy: IDL set to object "test-toString" 1517 PASS iframe.referrerPolicy: IDL set to object "test-valueOf" 1518 PASS iframe.referrerPolicy: IDL set to "no-referrer" 1519 PASS iframe.referrerPolicy: IDL set to "xno-referrer" 1520 PASS iframe.referrerPolicy: IDL set to "no-referrer\0" 1521 PASS iframe.referrerPolicy: IDL set to "o-referrer" 1522 PASS iframe.referrerPolicy: IDL set to "NO-REFERRER" 1523 PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" 1524 PASS iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" 1525 PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" 1526 PASS iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" 1527 PASS iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" 1528 PASS iframe.referrerPolicy: IDL set to "same-origin" 1529 PASS iframe.referrerPolicy: IDL set to "xsame-origin" 1530 PASS iframe.referrerPolicy: IDL set to "same-origin\0" 1531 PASS iframe.referrerPolicy: IDL set to "ame-origin" 1532 PASS iframe.referrerPolicy: IDL set to "SAME-ORIGIN" 1533 PASS iframe.referrerPolicy: IDL set to "origin" 1534 PASS iframe.referrerPolicy: IDL set to "xorigin" 1535 PASS iframe.referrerPolicy: IDL set to "origin\0" 1536 PASS iframe.referrerPolicy: IDL set to "rigin" 1537 PASS iframe.referrerPolicy: IDL set to "ORIGIN" 1538 PASS iframe.referrerPolicy: IDL set to "strict-origin" 1539 PASS iframe.referrerPolicy: IDL set to "xstrict-origin" 1540 PASS iframe.referrerPolicy: IDL set to "strict-origin\0" 1541 PASS iframe.referrerPolicy: IDL set to "trict-origin" 1542 PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" 1543 PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin" 1544 PASS iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" 1545 PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" 1546 PASS iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" 1547 PASS iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" 1548 PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" 1549 PASS iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" 1550 PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" 1551 PASS iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" 1552 PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 1553 PASS iframe.referrerPolicy: IDL set to "unsafe-url" 1554 PASS iframe.referrerPolicy: IDL set to "xunsafe-url" 1555 PASS iframe.referrerPolicy: IDL set to "unsafe-url\0" 1556 PASS iframe.referrerPolicy: IDL set to "nsafe-url" 1557 PASS iframe.referrerPolicy: IDL set to "UNSAFE-URL" 1558 1558 PASS iframe.align: typeof IDL attribute 1559 1559 PASS iframe.align: IDL get with DOM attribute unset -
trunk/LayoutTests/platform/win/TestExpectations
r241915 r242534 4126 4126 webkit.org/b/189194 http/tests/security/basic-auth-subresource.html [ Failure ] 4127 4127 4128 webkit.org/b/189194 http/tests/referrer-policy-iframe/strict-origin/same-origin.html [ Failure ] 4129 webkit.org/b/189194 http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html [ Failure ] 4130 webkit.org/b/189194 http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html [ Failure ] 4131 webkit.org/b/189194 http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html [ Failure ] 4132 webkit.org/b/189194 http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html [ Failure ] 4133 webkit.org/b/189194 http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html [ Failure ] 4134 4128 4135 webkit.org/b/189550 fast/text/variations/ipc2.html [ Skip ] 4129 4136 -
trunk/Source/WebCore/ChangeLog
r242529 r242534 1 2019-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 1 56 2019-03-05 Takashi Komori <Takashi.Komori@sony.com> 2 57 -
trunk/Source/WebCore/html/HTMLAttributeNames.in
r240444 r242534 343 343 pseudo 344 344 readonly 345 referrerpolicy 345 346 rel 346 347 required -
trunk/Source/WebCore/html/HTMLFrameOwnerElement.h
r231114 r242534 22 22 23 23 #include "HTMLElement.h" 24 #include "ReferrerPolicy.h" 24 25 #include <wtf/HashCountedSet.h> 25 26 #include <wtf/NeverDestroyed.h> … … 60 61 61 62 virtual bool isURLAllowed(const URL&) const { return true; } 63 64 virtual ReferrerPolicy referrerPolicy() const { return ReferrerPolicy::EmptyString; } 62 65 63 66 protected: -
trunk/Source/WebCore/html/HTMLIFrameElement.cpp
r240237 r242534 31 31 #include "HTMLNames.h" 32 32 #include "RenderIFrame.h" 33 #include "RuntimeEnabledFeatures.h" 33 34 #include "ScriptableDocumentParser.h" 34 35 #include <wtf/IsoMallocInlines.h> … … 112 113 } 113 114 115 void HTMLIFrameElement::setReferrerPolicyForBindings(const AtomicString& value) 116 { 117 setAttributeWithoutSynchronization(referrerpolicyAttr, value); 114 118 } 119 120 String 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 146 ReferrerPolicy 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 41 41 const String& allow() const { return m_allow; } 42 42 43 void setReferrerPolicyForBindings(const AtomicString&); 44 String referrerPolicyForBindings() const; 45 ReferrerPolicy referrerPolicy() const final; 46 43 47 private: 44 48 HTMLIFrameElement(const QualifiedName&, Document&); -
trunk/Source/WebCore/html/HTMLIFrameElement.idl
r234636 r242534 42 42 43 43 [CheckSecurityForNode, MayThrowException] Document getSVGDocument(); 44 45 [EnabledAtRuntime=ReferrerPolicyAttribute, ImplementedAs=referrerPolicyForBindings, CEReactions=NotNeeded] attribute DOMString referrerPolicy; 44 46 }; -
trunk/Source/WebCore/loader/SubframeLoader.cpp
r238771 r242534 319 319 return nullptr; 320 320 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); 322 325 323 326 // Prevent initial empty document load from triggering load events. -
trunk/Source/WebCore/page/RuntimeEnabledFeatures.h
r242406 r242534 356 356 #endif 357 357 358 bool referrerPolicyAttributeEnabled() const { return m_referrerPolicyAttributeEnabled; } 359 void setReferrerPolicyAttributeEnabled(bool isEnabled) { m_referrerPolicyAttributeEnabled = isEnabled; } 360 358 361 WEBCORE_EXPORT static RuntimeEnabledFeatures& sharedFeatures(); 359 362 … … 540 543 bool m_isITPDatabaseEnabled { false }; 541 544 545 bool m_referrerPolicyAttributeEnabled { false }; 546 542 547 friend class WTF::NeverDestroyed<RuntimeEnabledFeatures>; 543 548 }; -
trunk/Source/WebCore/platform/ReferrerPolicy.cpp
r239427 r242534 82 82 case ReferrerPolicySource::MetaTag: 83 83 return parseReferrerPolicyToken(policyString, ShouldParseLegacyKeywords::Yes); 84 case ReferrerPolicySource::ReferrerPolicyAttribute: 85 return parseReferrerPolicyToken(policyString, ShouldParseLegacyKeywords::No); 84 86 } 85 87 ASSERT_NOT_REACHED(); -
trunk/Source/WebCore/platform/ReferrerPolicy.h
r239427 r242534 50 50 }; 51 51 52 enum class ReferrerPolicySource : uint8_t { MetaTag, HTTPHeader };52 enum class ReferrerPolicySource : uint8_t { MetaTag, HTTPHeader, ReferrerPolicyAttribute }; 53 53 Optional<ReferrerPolicy> parseReferrerPolicy(StringView, ReferrerPolicySource); 54 54 -
trunk/Source/WebKit/ChangeLog
r242532 r242534 1 2019-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 1 19 2019-03-06 Philippe Normand <pnormand@igalia.com> 2 20 -
trunk/Source/WebKit/Shared/WebPreferences.yaml
r242406 r242534 1564 1564 condition: ENABLE(TOUCH_EVENTS) 1565 1565 1566 ReferrerPolicyAttributeEnabled: 1567 type: bool 1568 defaultValue: false 1569 humanReadableName: "Referrer Policy attribute" 1570 humanReadableDescription: "Enable Referrer Policy attribute" 1571 category: experimental 1572 webcoreBinding: RuntimeEnabledFeatures 1573 1566 1574 # Deprecated 1567 1575 -
trunk/Source/WebKit/UIProcess/API/C/WKPreferences.cpp
r239470 r242534 2110 2110 return toImpl(preferencesRef)->captureVideoInUIProcessEnabled(); 2111 2111 } 2112 2113 void WKPreferencesSetReferrerPolicyAttributeEnabled(WKPreferencesRef preferencesRef, bool flag) 2114 { 2115 toImpl(preferencesRef)->setReferrerPolicyAttributeEnabled(flag); 2116 } 2117 2118 bool WKPreferencesGetReferrerPolicyAttributeEnabled(WKPreferencesRef preferencesRef) 2119 { 2120 return toImpl(preferencesRef)->referrerPolicyAttributeEnabled(); 2121 } -
trunk/Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h
r239470 r242534 581 581 WK_EXPORT bool WKPreferencesGetPunchOutWhiteBackgroundsInDarkMode(WKPreferencesRef); 582 582 583 // Defaults to false 584 WK_EXPORT void WKPreferencesSetReferrerPolicyAttributeEnabled(WKPreferencesRef, bool flag); 585 WK_EXPORT bool WKPreferencesGetReferrerPolicyAttributeEnabled(WKPreferencesRef); 586 583 587 #ifdef __cplusplus 584 588 } -
trunk/Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp
r241338 r242534 92 92 void WebLoaderStrategy::loadResource(Frame& frame, CachedResource& resource, ResourceRequest&& request, const ResourceLoaderOptions& options, CompletionHandler<void(RefPtr<SubresourceLoader>&&)>&& completionHandler) 93 93 { 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 { 95 95 if (loader) 96 scheduleLoad(*loader, resource.get(), frame->document()->referrerPolicy()== ReferrerPolicy::NoReferrerWhenDowngrade);96 scheduleLoad(*loader, resource.get(), referrerPolicy == ReferrerPolicy::NoReferrerWhenDowngrade); 97 97 else 98 98 RELEASE_LOG_IF_ALLOWED(frame.get(), "loadResource: Unable to create SubresourceLoader (frame = %p", &frame); -
trunk/Source/WebKitLegacy/mac/ChangeLog
r242325 r242534 1 2019-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 1 19 2019-03-03 Tim Horton <timothy_horton@apple.com> 2 20 -
trunk/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h
r242137 r242534 267 267 #define WebKitCSSLogicalEnabledPreferenceKey @"WebKitCSSLogicalEnabled" 268 268 #define WebKitAdClickAttributionEnabledPreferenceKey @"WebKitAdClickAttributionEnabled" 269 #define WebKitReferrerPolicyAttributeEnabledPreferenceKey @"WebKitReferrerPolicyAttributeEnabled" -
trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm
r242232 r242534 694 694 @NO, WebKitFetchAPIKeepAliveEnabledPreferenceKey, 695 695 @NO, WebKitServerTimingEnabledPreferenceKey, 696 @NO, WebKitReferrerPolicyAttributeEnabledPreferenceKey, 696 697 nil]; 697 698 … … 3442 3443 } 3443 3444 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 3444 3455 @end 3445 3456 -
trunk/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h
r242137 r242534 591 591 - (BOOL)adClickAttributionEnabled; 592 592 - (void)setAdClickAttributionEnabled:(BOOL)flag; 593 594 - (void)setReferrerPolicyAttributeEnabled:(BOOL)flag; 595 - (BOOL)referrerPolicyAttributeEnabled; 593 596 594 597 @property (nonatomic) BOOL visualViewportAPIEnabled; … … 622 625 @property (nonatomic) BOOL allowCrossOriginSubresourcesToAskForCredentials; 623 626 @property (nonatomic) BOOL sourceBufferChangeTypeEnabled; 627 @property (nonatomic) BOOL referrerPolicyAttributeEnabled; 624 628 625 629 #if TARGET_OS_IPHONE -
trunk/Source/WebKitLegacy/mac/WebView/WebView.mm
r242137 r242534 3172 3172 RuntimeEnabledFeatures::sharedFeatures().setAriaReflectionEnabled([preferences ariaReflectionEnabled]); 3173 3173 RuntimeEnabledFeatures::sharedFeatures().setFetchAPIKeepAliveEnabled([preferences fetchAPIKeepAliveEnabled]); 3174 RuntimeEnabledFeatures::sharedFeatures().setReferrerPolicyAttributeEnabled([preferences referrerPolicyAttributeEnabled]); 3174 3175 3175 3176 #if ENABLE(LEGACY_ENCRYPTED_MEDIA) -
trunk/Tools/ChangeLog
r242530 r242534 1 2019-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 1 13 2019-03-05 Daniel Bates <dabates@apple.com> 2 14 -
trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm
r242232 r242534 876 876 [preferences setCSSOMViewScrollingAPIEnabled:YES]; 877 877 [preferences setMediaRecorderEnabled:YES]; 878 [preferences setReferrerPolicyAttributeEnabled:YES]; 878 879 } 879 880
Note: See TracChangeset
for help on using the changeset viewer.