Changeset 257572 in webkit
- Timestamp:
- Feb 27, 2020 10:08:19 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 58 added
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r257556 r257572 1 2020-02-27 Rob Buis <rbuis@igalia.com> 2 3 Add referrerpolicy attribute support for images 4 https://bugs.webkit.org/show_bug.cgi?id=207901 5 6 Reviewed by Darin Adler. 7 8 Add tests for images with various referrerpolicy attribute values. 9 10 * http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http-http-expected.txt: Added. 11 * http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http-http.html: Added. 12 * http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https-expected.txt: Added. 13 * http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https.html: Added. 14 * http/tests/referrer-policy-img/no-referrer-when-downgrade/same-origin-expected.txt: Added. 15 * http/tests/referrer-policy-img/no-referrer-when-downgrade/same-origin.html: Added. 16 * http/tests/referrer-policy-img/no-referrer/cross-origin-http-http-expected.txt: Added. 17 * http/tests/referrer-policy-img/no-referrer/cross-origin-http-http.html: Added. 18 * http/tests/referrer-policy-img/no-referrer/cross-origin-http.https-expected.txt: Added. 19 * http/tests/referrer-policy-img/no-referrer/cross-origin-http.https.html: Added. 20 * http/tests/referrer-policy-img/no-referrer/same-origin-expected.txt: Added. 21 * http/tests/referrer-policy-img/no-referrer/same-origin.html: Added. 22 * http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http-http-expected.txt: Added. 23 * http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http-http.html: Added. 24 * http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https-expected.txt: Added. 25 * http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https.html: Added. 26 * http/tests/referrer-policy-img/origin-when-cross-origin/same-origin-expected.txt: Added. 27 * http/tests/referrer-policy-img/origin-when-cross-origin/same-origin.html: Added. 28 * http/tests/referrer-policy-img/origin/cross-origin-http-http-expected.txt: Added. 29 * http/tests/referrer-policy-img/origin/cross-origin-http-http.html: Added. 30 * http/tests/referrer-policy-img/origin/cross-origin-http.https-expected.txt: Added. 31 * http/tests/referrer-policy-img/origin/cross-origin-http.https.html: Added. 32 * http/tests/referrer-policy-img/origin/same-origin-expected.txt: Added. 33 * http/tests/referrer-policy-img/origin/same-origin.html: Added. 34 * http/tests/referrer-policy-img/same-origin/cross-origin-http-http-expected.txt: Added. 35 * http/tests/referrer-policy-img/same-origin/cross-origin-http-http.html: Added. 36 * http/tests/referrer-policy-img/same-origin/cross-origin-http.https-expected.txt: Added. 37 * http/tests/referrer-policy-img/same-origin/cross-origin-http.https.html: Added. 38 * http/tests/referrer-policy-img/same-origin/same-origin-expected.txt: Added. 39 * http/tests/referrer-policy-img/same-origin/same-origin.html: Added. 40 * http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http-http-expected.txt: Added. 41 * http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http-http.html: Added. 42 * http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https-expected.txt: Added. 43 * http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https.html: Added. 44 * http/tests/referrer-policy-img/strict-origin-when-cross-origin/same-origin-expected.txt: Added. 45 * http/tests/referrer-policy-img/strict-origin-when-cross-origin/same-origin.html: Added. 46 * http/tests/referrer-policy-img/strict-origin/cross-origin-http-http-expected.txt: Added. 47 * http/tests/referrer-policy-img/strict-origin/cross-origin-http-http.html: Added. 48 * http/tests/referrer-policy-img/strict-origin/cross-origin-http.https-expected.txt: Added. 49 * http/tests/referrer-policy-img/strict-origin/cross-origin-http.https.html: Added. 50 * http/tests/referrer-policy-img/strict-origin/same-origin-expected.txt: Added. 51 * http/tests/referrer-policy-img/strict-origin/same-origin.html: Added. 52 * http/tests/referrer-policy-img/unsafe-url/cross-origin-http-http-expected.txt: Added. 53 * http/tests/referrer-policy-img/unsafe-url/cross-origin-http-http.html: Added. 54 * http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https-expected.txt: Added. 55 * http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https.html: Added. 56 * http/tests/referrer-policy-img/unsafe-url/same-origin-expected.txt: Added. 57 * http/tests/referrer-policy-img/unsafe-url/same-origin.html: Added. 58 * http/tests/referrer-policy-script/unsafe-url/cross-origin-http-http.html: 59 * http/tests/referrer-policy/resources/image.php: Added. 60 * platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: 61 * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: 62 * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt: 63 * platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt: 64 * platform/mac-wk1/TestExpectations: 65 * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: 66 * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: 67 * platform/win/TestExpectations: 68 * platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: 69 * platform/wpe/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt: 70 * platform/wpe/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt: 71 1 72 2020-02-26 Nikos Mouchtaris <nmouchtaris@apple.com> 2 73 -
trunk/LayoutTests/http/tests/referrer-policy-script/unsafe-url/cross-origin-http-http.html
r250413 r257572 8 8 description("Tests the behavior of unsafe-url referrer policy when cross origin."); 9 9 jsTestIsAsync = true; 10 11 if (window.internals) 12 internals.setResourceLoadStatisticsEnabled(true); 10 13 11 14 function checkReferrer(value) { -
trunk/LayoutTests/imported/w3c/ChangeLog
r257556 r257572 1 2020-02-27 Rob Buis <rbuis@igalia.com> 2 3 Add referrerpolicy attribute support for images 4 https://bugs.webkit.org/show_bug.cgi?id=207901 5 6 Reviewed by Darin Adler. 7 8 Update improved test results. 9 10 * web-platform-tests/html/dom/idlharness.https-expected.txt: 11 * web-platform-tests/html/dom/interfaces-expected.txt: 12 * web-platform-tests/html/dom/reflection-embedded-expected.txt: 13 * web-platform-tests/html/semantics/embedded-content/the-img-element/original-referrer-policy-applied.sub-expected.txt: 14 1 15 2020-02-26 Nikos Mouchtaris <nmouchtaris@apple.com> 2 16 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
r253497 r257572 757 757 PASS HTMLImageElement interface: attribute complete 758 758 PASS HTMLImageElement interface: attribute currentSrc 759 FAIL HTMLImageElement interface: attribute referrerPolicy assert_true: The prototype object must have a property "referrerPolicy" expected true got false 759 PASS HTMLImageElement interface: attribute referrerPolicy 760 760 PASS HTMLImageElement interface: attribute decoding 761 761 PASS HTMLImageElement interface: operation decode() … … 782 782 PASS HTMLImageElement interface: document.createElement("img") must inherit property "complete" with the proper type 783 783 PASS HTMLImageElement interface: document.createElement("img") must inherit property "currentSrc" with the proper type 784 FAIL HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 784 PASS HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type 785 785 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decoding" with the proper type 786 786 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decode()" with the proper type … … 807 807 PASS HTMLImageElement interface: new Image() must inherit property "complete" with the proper type 808 808 PASS HTMLImageElement interface: new Image() must inherit property "currentSrc" with the proper type 809 FAIL HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 809 PASS HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type 810 810 PASS HTMLImageElement interface: new Image() must inherit property "decoding" with the proper type 811 811 PASS HTMLImageElement interface: new Image() must inherit property "decode()" with the proper type -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt
r243762 r257572 1217 1217 PASS HTMLImageElement interface: attribute complete 1218 1218 PASS HTMLImageElement interface: attribute currentSrc 1219 FAIL HTMLImageElement interface: attribute referrerPolicy assert_true: The prototype object must have a property "referrerPolicy" expected true got false 1219 PASS HTMLImageElement interface: attribute referrerPolicy 1220 1220 PASS HTMLImageElement interface: operation decode() 1221 1221 PASS HTMLImageElement interface: attribute name … … 1241 1241 PASS HTMLImageElement interface: document.createElement("img") must inherit property "complete" with the proper type 1242 1242 PASS HTMLImageElement interface: document.createElement("img") must inherit property "currentSrc" with the proper type 1243 FAIL HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 1243 PASS HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type 1244 1244 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decode()" with the proper type 1245 1245 PASS HTMLImageElement interface: document.createElement("img") must inherit property "name" with the proper type … … 1265 1265 PASS HTMLImageElement interface: new Image() must inherit property "complete" with the proper type 1266 1266 PASS HTMLImageElement interface: new Image() must inherit property "currentSrc" with the proper type 1267 FAIL HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 1267 PASS HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type 1268 1268 PASS HTMLImageElement interface: new Image() must inherit property "decode()" with the proper type 1269 1269 PASS HTMLImageElement interface: new Image() must inherit property "name" with the proper type -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt
r253791 r257572 965 965 PASS img.height: IDL set to 2147483648 966 966 PASS img.height: IDL set to 4294967295 967 FAIL img.referrerPolicy: typeof IDL attribute assert_equals: expected "string" but got "undefined" 968 FAIL img.referrerPolicy: IDL get with DOM attribute unset assert_equals: expected (string) "" but got (undefined) undefined 969 FAIL img.referrerPolicy: setAttribute() to "" assert_equals: IDL get expected (string) "" but got (undefined) undefined 970 FAIL img.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 971 FAIL img.referrerPolicy: setAttribute() to undefined assert_equals: IDL get expected (string) "" but got (undefined) undefined 972 FAIL img.referrerPolicy: setAttribute() to 7 assert_equals: IDL get expected (string) "" but got (undefined) undefined 973 FAIL img.referrerPolicy: setAttribute() to 1.5 assert_equals: IDL get expected (string) "" but got (undefined) undefined 974 FAIL img.referrerPolicy: setAttribute() to "5%" assert_equals: IDL get expected (string) "" but got (undefined) undefined 975 FAIL img.referrerPolicy: setAttribute() to "+100" assert_equals: IDL get expected (string) "" but got (undefined) undefined 976 FAIL img.referrerPolicy: setAttribute() to ".5" assert_equals: IDL get expected (string) "" but got (undefined) undefined 977 FAIL img.referrerPolicy: setAttribute() to true assert_equals: IDL get expected (string) "" but got (undefined) undefined 978 FAIL img.referrerPolicy: setAttribute() to false assert_equals: IDL get expected (string) "" but got (undefined) undefined 979 FAIL img.referrerPolicy: setAttribute() to object "[object Object]" assert_equals: IDL get expected (string) "" but got (undefined) undefined 980 FAIL img.referrerPolicy: setAttribute() to NaN assert_equals: IDL get expected (string) "" but got (undefined) undefined 981 FAIL img.referrerPolicy: setAttribute() to Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined 982 FAIL img.referrerPolicy: setAttribute() to -Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined 983 FAIL img.referrerPolicy: setAttribute() to "\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 984 FAIL img.referrerPolicy: setAttribute() to null assert_equals: IDL get expected (string) "" but got (undefined) undefined 985 FAIL img.referrerPolicy: setAttribute() to object "test-toString" assert_equals: IDL get expected (string) "" but got (undefined) undefined 986 FAIL img.referrerPolicy: setAttribute() to object "test-valueOf" assert_equals: IDL get expected (string) "" but got (undefined) undefined 987 FAIL img.referrerPolicy: setAttribute() to "no-referrer" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined 988 FAIL img.referrerPolicy: setAttribute() to "xno-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined 989 FAIL img.referrerPolicy: setAttribute() to "no-referrer\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 990 FAIL img.referrerPolicy: setAttribute() to "o-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined 991 FAIL img.referrerPolicy: setAttribute() to "NO-REFERRER" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined 992 FAIL img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined 993 FAIL img.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined 994 FAIL img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 995 FAIL img.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined 996 FAIL img.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined 997 FAIL img.referrerPolicy: setAttribute() to "same-origin" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined 998 FAIL img.referrerPolicy: setAttribute() to "xsame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 999 FAIL img.referrerPolicy: setAttribute() to "same-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1000 FAIL img.referrerPolicy: setAttribute() to "ame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1001 FAIL img.referrerPolicy: setAttribute() to "SAME-ORIGIN" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined 1002 FAIL img.referrerPolicy: setAttribute() to "ſame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1003 FAIL img.referrerPolicy: setAttribute() to "origin" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined 1004 FAIL img.referrerPolicy: setAttribute() to "xorigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1005 FAIL img.referrerPolicy: setAttribute() to "origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1006 FAIL img.referrerPolicy: setAttribute() to "rigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1007 FAIL img.referrerPolicy: setAttribute() to "ORIGIN" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined 1008 FAIL img.referrerPolicy: setAttribute() to "strict-origin" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined 1009 FAIL img.referrerPolicy: setAttribute() to "xstrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1010 FAIL img.referrerPolicy: setAttribute() to "strict-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1011 FAIL img.referrerPolicy: setAttribute() to "trict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1012 FAIL img.referrerPolicy: setAttribute() to "STRICT-ORIGIN" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined 1013 FAIL img.referrerPolicy: setAttribute() to "ſtrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1014 FAIL img.referrerPolicy: setAttribute() to "origin-when-cross-origin" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined 1015 FAIL img.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1016 FAIL img.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1017 FAIL img.referrerPolicy: setAttribute() to "rigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1018 FAIL img.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined 1019 FAIL img.referrerPolicy: setAttribute() to "origin-when-croſſ-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1020 FAIL img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined 1021 FAIL img.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1022 FAIL img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1023 FAIL img.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1024 FAIL img.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined 1025 FAIL img.referrerPolicy: setAttribute() to "ſtrict-origin-when-croſſ-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1026 FAIL img.referrerPolicy: setAttribute() to "unsafe-url" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined 1027 FAIL img.referrerPolicy: setAttribute() to "xunsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1028 FAIL img.referrerPolicy: setAttribute() to "unsafe-url\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1029 FAIL img.referrerPolicy: setAttribute() to "nsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1030 FAIL img.referrerPolicy: setAttribute() to "UNSAFE-URL" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined 1031 FAIL img.referrerPolicy: setAttribute() to "unſafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1032 FAIL img.referrerPolicy: IDL set to "" assert_equals: getAttribute() expected "" but got "unſafe-url" 1033 FAIL img.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 "unſafe-url" 1034 FAIL img.referrerPolicy: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "unſafe-url" 1035 FAIL img.referrerPolicy: IDL set to 7 assert_equals: getAttribute() expected "7" but got "unſafe-url" 1036 FAIL img.referrerPolicy: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "unſafe-url" 1037 FAIL img.referrerPolicy: IDL set to "5%" assert_equals: getAttribute() expected "5%" but got "unſafe-url" 1038 FAIL img.referrerPolicy: IDL set to "+100" assert_equals: getAttribute() expected "+100" but got "unſafe-url" 1039 FAIL img.referrerPolicy: IDL set to ".5" assert_equals: getAttribute() expected ".5" but got "unſafe-url" 1040 FAIL img.referrerPolicy: IDL set to true assert_equals: getAttribute() expected "true" but got "unſafe-url" 1041 FAIL img.referrerPolicy: IDL set to false assert_equals: getAttribute() expected "false" but got "unſafe-url" 1042 FAIL img.referrerPolicy: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "unſafe-url" 1043 FAIL img.referrerPolicy: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "unſafe-url" 1044 FAIL img.referrerPolicy: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "unſafe-url" 1045 FAIL img.referrerPolicy: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "unſafe-url" 1046 FAIL img.referrerPolicy: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "unſafe-url" 1047 FAIL img.referrerPolicy: IDL set to null assert_equals: IDL get expected (string) "" but got (object) null 1048 FAIL img.referrerPolicy: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "unſafe-url" 1049 FAIL img.referrerPolicy: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "unſafe-url" 1050 FAIL img.referrerPolicy: IDL set to "no-referrer" assert_equals: getAttribute() expected "no-referrer" but got "unſafe-url" 1051 FAIL img.referrerPolicy: IDL set to "xno-referrer" assert_equals: getAttribute() expected "xno-referrer" but got "unſafe-url" 1052 FAIL img.referrerPolicy: IDL set to "no-referrer\0" assert_equals: getAttribute() expected "no-referrer\0" but got "unſafe-url" 1053 FAIL img.referrerPolicy: IDL set to "o-referrer" assert_equals: getAttribute() expected "o-referrer" but got "unſafe-url" 1054 FAIL img.referrerPolicy: IDL set to "NO-REFERRER" assert_equals: getAttribute() expected "NO-REFERRER" but got "unſafe-url" 1055 FAIL img.referrerPolicy: IDL set to "no-referrer-when-downgrade" assert_equals: getAttribute() expected "no-referrer-when-downgrade" but got "unſafe-url" 1056 FAIL img.referrerPolicy: IDL set to "xno-referrer-when-downgrade" assert_equals: getAttribute() expected "xno-referrer-when-downgrade" but got "unſafe-url" 1057 FAIL img.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" assert_equals: getAttribute() expected "no-referrer-when-downgrade\0" but got "unſafe-url" 1058 FAIL img.referrerPolicy: IDL set to "o-referrer-when-downgrade" assert_equals: getAttribute() expected "o-referrer-when-downgrade" but got "unſafe-url" 1059 FAIL img.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: getAttribute() expected "NO-REFERRER-WHEN-DOWNGRADE" but got "unſafe-url" 1060 FAIL img.referrerPolicy: IDL set to "same-origin" assert_equals: getAttribute() expected "same-origin" but got "unſafe-url" 1061 FAIL img.referrerPolicy: IDL set to "xsame-origin" assert_equals: getAttribute() expected "xsame-origin" but got "unſafe-url" 1062 FAIL img.referrerPolicy: IDL set to "same-origin\0" assert_equals: getAttribute() expected "same-origin\0" but got "unſafe-url" 1063 FAIL img.referrerPolicy: IDL set to "ame-origin" assert_equals: getAttribute() expected "ame-origin" but got "unſafe-url" 1064 FAIL img.referrerPolicy: IDL set to "SAME-ORIGIN" assert_equals: getAttribute() expected "SAME-ORIGIN" but got "unſafe-url" 1065 FAIL img.referrerPolicy: IDL set to "ſame-origin" assert_equals: getAttribute() expected "ſame-origin" but got "unſafe-url" 1066 FAIL img.referrerPolicy: IDL set to "origin" assert_equals: getAttribute() expected "origin" but got "unſafe-url" 1067 FAIL img.referrerPolicy: IDL set to "xorigin" assert_equals: getAttribute() expected "xorigin" but got "unſafe-url" 1068 FAIL img.referrerPolicy: IDL set to "origin\0" assert_equals: getAttribute() expected "origin\0" but got "unſafe-url" 1069 FAIL img.referrerPolicy: IDL set to "rigin" assert_equals: getAttribute() expected "rigin" but got "unſafe-url" 1070 FAIL img.referrerPolicy: IDL set to "ORIGIN" assert_equals: getAttribute() expected "ORIGIN" but got "unſafe-url" 1071 FAIL img.referrerPolicy: IDL set to "strict-origin" assert_equals: getAttribute() expected "strict-origin" but got "unſafe-url" 1072 FAIL img.referrerPolicy: IDL set to "xstrict-origin" assert_equals: getAttribute() expected "xstrict-origin" but got "unſafe-url" 1073 FAIL img.referrerPolicy: IDL set to "strict-origin\0" assert_equals: getAttribute() expected "strict-origin\0" but got "unſafe-url" 1074 FAIL img.referrerPolicy: IDL set to "trict-origin" assert_equals: getAttribute() expected "trict-origin" but got "unſafe-url" 1075 FAIL img.referrerPolicy: IDL set to "STRICT-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN" but got "unſafe-url" 1076 FAIL img.referrerPolicy: IDL set to "ſtrict-origin" assert_equals: getAttribute() expected "ſtrict-origin" but got "unſafe-url" 1077 FAIL img.referrerPolicy: IDL set to "origin-when-cross-origin" assert_equals: getAttribute() expected "origin-when-cross-origin" but got "unſafe-url" 1078 FAIL img.referrerPolicy: IDL set to "xorigin-when-cross-origin" assert_equals: getAttribute() expected "xorigin-when-cross-origin" but got "unſafe-url" 1079 FAIL img.referrerPolicy: IDL set to "origin-when-cross-origin\0" assert_equals: getAttribute() expected "origin-when-cross-origin\0" but got "unſafe-url" 1080 FAIL img.referrerPolicy: IDL set to "rigin-when-cross-origin" assert_equals: getAttribute() expected "rigin-when-cross-origin" but got "unſafe-url" 1081 FAIL img.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "ORIGIN-WHEN-CROSS-ORIGIN" but got "unſafe-url" 1082 FAIL img.referrerPolicy: IDL set to "origin-when-croſſ-origin" assert_equals: getAttribute() expected "origin-when-croſſ-origin" but got "unſafe-url" 1083 FAIL img.referrerPolicy: IDL set to "strict-origin-when-cross-origin" assert_equals: getAttribute() expected "strict-origin-when-cross-origin" but got "unſafe-url" 1084 FAIL img.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" assert_equals: getAttribute() expected "xstrict-origin-when-cross-origin" but got "unſafe-url" 1085 FAIL img.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" assert_equals: getAttribute() expected "strict-origin-when-cross-origin\0" but got "unſafe-url" 1086 FAIL img.referrerPolicy: IDL set to "trict-origin-when-cross-origin" assert_equals: getAttribute() expected "trict-origin-when-cross-origin" but got "unſafe-url" 1087 FAIL img.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" but got "unſafe-url" 1088 FAIL img.referrerPolicy: IDL set to "ſtrict-origin-when-croſſ-origin" assert_equals: getAttribute() expected "ſtrict-origin-when-croſſ-origin" but got "unſafe-url" 1089 FAIL img.referrerPolicy: IDL set to "unsafe-url" assert_equals: getAttribute() expected "unsafe-url" but got "unſafe-url" 1090 FAIL img.referrerPolicy: IDL set to "xunsafe-url" assert_equals: getAttribute() expected "xunsafe-url" but got "unſafe-url" 1091 FAIL img.referrerPolicy: IDL set to "unsafe-url\0" assert_equals: getAttribute() expected "unsafe-url\0" but got "unſafe-url" 1092 FAIL img.referrerPolicy: IDL set to "nsafe-url" assert_equals: getAttribute() expected "nsafe-url" but got "unſafe-url" 1093 FAIL img.referrerPolicy: IDL set to "UNSAFE-URL" assert_equals: getAttribute() expected "UNSAFE-URL" but got "unſafe-url" 1094 FAIL img.referrerPolicy: IDL set to "unſafe-url" assert_equals: IDL get expected "" but got "unſafe-url" 967 PASS img.referrerPolicy: typeof IDL attribute 968 PASS img.referrerPolicy: IDL get with DOM attribute unset 969 PASS img.referrerPolicy: setAttribute() to "" 970 PASS img.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 " 971 PASS img.referrerPolicy: setAttribute() to undefined 972 PASS img.referrerPolicy: setAttribute() to 7 973 PASS img.referrerPolicy: setAttribute() to 1.5 974 PASS img.referrerPolicy: setAttribute() to "5%" 975 PASS img.referrerPolicy: setAttribute() to "+100" 976 PASS img.referrerPolicy: setAttribute() to ".5" 977 PASS img.referrerPolicy: setAttribute() to true 978 PASS img.referrerPolicy: setAttribute() to false 979 PASS img.referrerPolicy: setAttribute() to object "[object Object]" 980 PASS img.referrerPolicy: setAttribute() to NaN 981 PASS img.referrerPolicy: setAttribute() to Infinity 982 PASS img.referrerPolicy: setAttribute() to -Infinity 983 PASS img.referrerPolicy: setAttribute() to "\0" 984 PASS img.referrerPolicy: setAttribute() to null 985 PASS img.referrerPolicy: setAttribute() to object "test-toString" 986 PASS img.referrerPolicy: setAttribute() to object "test-valueOf" 987 PASS img.referrerPolicy: setAttribute() to "no-referrer" 988 PASS img.referrerPolicy: setAttribute() to "xno-referrer" 989 PASS img.referrerPolicy: setAttribute() to "no-referrer\0" 990 PASS img.referrerPolicy: setAttribute() to "o-referrer" 991 PASS img.referrerPolicy: setAttribute() to "NO-REFERRER" 992 PASS img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" 993 PASS img.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" 994 PASS img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" 995 PASS img.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" 996 PASS img.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" 997 PASS img.referrerPolicy: setAttribute() to "same-origin" 998 PASS img.referrerPolicy: setAttribute() to "xsame-origin" 999 PASS img.referrerPolicy: setAttribute() to "same-origin\0" 1000 PASS img.referrerPolicy: setAttribute() to "ame-origin" 1001 PASS img.referrerPolicy: setAttribute() to "SAME-ORIGIN" 1002 PASS img.referrerPolicy: setAttribute() to "ſame-origin" 1003 PASS img.referrerPolicy: setAttribute() to "origin" 1004 PASS img.referrerPolicy: setAttribute() to "xorigin" 1005 PASS img.referrerPolicy: setAttribute() to "origin\0" 1006 PASS img.referrerPolicy: setAttribute() to "rigin" 1007 PASS img.referrerPolicy: setAttribute() to "ORIGIN" 1008 PASS img.referrerPolicy: setAttribute() to "strict-origin" 1009 PASS img.referrerPolicy: setAttribute() to "xstrict-origin" 1010 PASS img.referrerPolicy: setAttribute() to "strict-origin\0" 1011 PASS img.referrerPolicy: setAttribute() to "trict-origin" 1012 PASS img.referrerPolicy: setAttribute() to "STRICT-ORIGIN" 1013 PASS img.referrerPolicy: setAttribute() to "ſtrict-origin" 1014 PASS img.referrerPolicy: setAttribute() to "origin-when-cross-origin" 1015 PASS img.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" 1016 PASS img.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" 1017 PASS img.referrerPolicy: setAttribute() to "rigin-when-cross-origin" 1018 PASS img.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" 1019 PASS img.referrerPolicy: setAttribute() to "origin-when-croſſ-origin" 1020 PASS img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" 1021 PASS img.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" 1022 PASS img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" 1023 PASS img.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" 1024 PASS img.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 1025 PASS img.referrerPolicy: setAttribute() to "ſtrict-origin-when-croſſ-origin" 1026 PASS img.referrerPolicy: setAttribute() to "unsafe-url" 1027 PASS img.referrerPolicy: setAttribute() to "xunsafe-url" 1028 PASS img.referrerPolicy: setAttribute() to "unsafe-url\0" 1029 PASS img.referrerPolicy: setAttribute() to "nsafe-url" 1030 PASS img.referrerPolicy: setAttribute() to "UNSAFE-URL" 1031 PASS img.referrerPolicy: setAttribute() to "unſafe-url" 1032 PASS img.referrerPolicy: IDL set to "" 1033 PASS img.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 " 1034 PASS img.referrerPolicy: IDL set to undefined 1035 PASS img.referrerPolicy: IDL set to 7 1036 PASS img.referrerPolicy: IDL set to 1.5 1037 PASS img.referrerPolicy: IDL set to "5%" 1038 PASS img.referrerPolicy: IDL set to "+100" 1039 PASS img.referrerPolicy: IDL set to ".5" 1040 PASS img.referrerPolicy: IDL set to true 1041 PASS img.referrerPolicy: IDL set to false 1042 PASS img.referrerPolicy: IDL set to object "[object Object]" 1043 PASS img.referrerPolicy: IDL set to NaN 1044 PASS img.referrerPolicy: IDL set to Infinity 1045 PASS img.referrerPolicy: IDL set to -Infinity 1046 PASS img.referrerPolicy: IDL set to "\0" 1047 PASS img.referrerPolicy: IDL set to null 1048 PASS img.referrerPolicy: IDL set to object "test-toString" 1049 PASS img.referrerPolicy: IDL set to object "test-valueOf" 1050 PASS img.referrerPolicy: IDL set to "no-referrer" 1051 PASS img.referrerPolicy: IDL set to "xno-referrer" 1052 PASS img.referrerPolicy: IDL set to "no-referrer\0" 1053 PASS img.referrerPolicy: IDL set to "o-referrer" 1054 PASS img.referrerPolicy: IDL set to "NO-REFERRER" 1055 PASS img.referrerPolicy: IDL set to "no-referrer-when-downgrade" 1056 PASS img.referrerPolicy: IDL set to "xno-referrer-when-downgrade" 1057 PASS img.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" 1058 PASS img.referrerPolicy: IDL set to "o-referrer-when-downgrade" 1059 PASS img.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" 1060 PASS img.referrerPolicy: IDL set to "same-origin" 1061 PASS img.referrerPolicy: IDL set to "xsame-origin" 1062 PASS img.referrerPolicy: IDL set to "same-origin\0" 1063 PASS img.referrerPolicy: IDL set to "ame-origin" 1064 PASS img.referrerPolicy: IDL set to "SAME-ORIGIN" 1065 PASS img.referrerPolicy: IDL set to "ſame-origin" 1066 PASS img.referrerPolicy: IDL set to "origin" 1067 PASS img.referrerPolicy: IDL set to "xorigin" 1068 PASS img.referrerPolicy: IDL set to "origin\0" 1069 PASS img.referrerPolicy: IDL set to "rigin" 1070 PASS img.referrerPolicy: IDL set to "ORIGIN" 1071 PASS img.referrerPolicy: IDL set to "strict-origin" 1072 PASS img.referrerPolicy: IDL set to "xstrict-origin" 1073 PASS img.referrerPolicy: IDL set to "strict-origin\0" 1074 PASS img.referrerPolicy: IDL set to "trict-origin" 1075 PASS img.referrerPolicy: IDL set to "STRICT-ORIGIN" 1076 PASS img.referrerPolicy: IDL set to "ſtrict-origin" 1077 PASS img.referrerPolicy: IDL set to "origin-when-cross-origin" 1078 PASS img.referrerPolicy: IDL set to "xorigin-when-cross-origin" 1079 PASS img.referrerPolicy: IDL set to "origin-when-cross-origin\0" 1080 PASS img.referrerPolicy: IDL set to "rigin-when-cross-origin" 1081 PASS img.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" 1082 PASS img.referrerPolicy: IDL set to "origin-when-croſſ-origin" 1083 PASS img.referrerPolicy: IDL set to "strict-origin-when-cross-origin" 1084 PASS img.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" 1085 PASS img.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" 1086 PASS img.referrerPolicy: IDL set to "trict-origin-when-cross-origin" 1087 PASS img.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 1088 PASS img.referrerPolicy: IDL set to "ſtrict-origin-when-croſſ-origin" 1089 PASS img.referrerPolicy: IDL set to "unsafe-url" 1090 PASS img.referrerPolicy: IDL set to "xunsafe-url" 1091 PASS img.referrerPolicy: IDL set to "unsafe-url\0" 1092 PASS img.referrerPolicy: IDL set to "nsafe-url" 1093 PASS img.referrerPolicy: IDL set to "UNSAFE-URL" 1094 PASS img.referrerPolicy: IDL set to "unſafe-url" 1095 1095 PASS img.decoding: typeof IDL attribute 1096 1096 FAIL img.decoding: IDL get with DOM attribute unset assert_equals: expected "auto" but got "" -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/original-referrer-policy-applied.sub-expected.txt
r256916 r257572 2 2 3 3 PASS Test that when deferred iframe is loaded, it uses the referrer-policy specified at parse time. 4 FAIL Test that when deferred img is loaded, it uses the referrer-policy specified at parse time. assert_unreached: The image load should not fail, by sending the wrong referer header. Reached unreachable code 4 PASS Test that when deferred img is loaded, it uses the referrer-policy specified at parse time. 5 5 -
trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
r254486 r257572 889 889 PASS HTMLImageElement interface: attribute complete 890 890 PASS HTMLImageElement interface: attribute currentSrc 891 FAIL HTMLImageElement interface: attribute referrerPolicy assert_true: The prototype object must have a property "referrerPolicy" expected true got false 891 PASS HTMLImageElement interface: attribute referrerPolicy 892 892 PASS HTMLImageElement interface: attribute decoding 893 893 PASS HTMLImageElement interface: operation decode() … … 914 914 PASS HTMLImageElement interface: document.createElement("img") must inherit property "complete" with the proper type 915 915 PASS HTMLImageElement interface: document.createElement("img") must inherit property "currentSrc" with the proper type 916 FAIL HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 916 PASS HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type 917 917 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decoding" with the proper type 918 918 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decode()" with the proper type … … 939 939 PASS HTMLImageElement interface: new Image() must inherit property "complete" with the proper type 940 940 PASS HTMLImageElement interface: new Image() must inherit property "currentSrc" with the proper type 941 FAIL HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 941 PASS HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type 942 942 PASS HTMLImageElement interface: new Image() must inherit property "decoding" with the proper type 943 943 PASS HTMLImageElement interface: new Image() must inherit property "decode()" with the proper type -
trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
r254053 r257572 889 889 PASS HTMLImageElement interface: attribute complete 890 890 PASS HTMLImageElement interface: attribute currentSrc 891 FAIL HTMLImageElement interface: attribute referrerPolicy assert_true: The prototype object must have a property "referrerPolicy" expected true got false 891 PASS HTMLImageElement interface: attribute referrerPolicy 892 892 PASS HTMLImageElement interface: attribute decoding 893 893 PASS HTMLImageElement interface: operation decode() … … 914 914 PASS HTMLImageElement interface: document.createElement("img") must inherit property "complete" with the proper type 915 915 PASS HTMLImageElement interface: document.createElement("img") must inherit property "currentSrc" with the proper type 916 FAIL HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 916 PASS HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type 917 917 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decoding" with the proper type 918 918 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decode()" with the proper type … … 939 939 PASS HTMLImageElement interface: new Image() must inherit property "complete" with the proper type 940 940 PASS HTMLImageElement interface: new Image() must inherit property "currentSrc" with the proper type 941 FAIL HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 941 PASS HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type 942 942 PASS HTMLImageElement interface: new Image() must inherit property "decoding" with the proper type 943 943 PASS HTMLImageElement interface: new Image() must inherit property "decode()" with the proper type -
trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt
r253793 r257572 965 965 PASS img.height: IDL set to 2147483648 966 966 PASS img.height: IDL set to 4294967295 967 FAIL img.referrerPolicy: typeof IDL attribute assert_equals: expected "string" but got "undefined" 968 FAIL img.referrerPolicy: IDL get with DOM attribute unset assert_equals: expected (string) "" but got (undefined) undefined 969 FAIL img.referrerPolicy: setAttribute() to "" assert_equals: IDL get expected (string) "" but got (undefined) undefined 970 FAIL img.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 971 FAIL img.referrerPolicy: setAttribute() to undefined assert_equals: IDL get expected (string) "" but got (undefined) undefined 972 FAIL img.referrerPolicy: setAttribute() to 7 assert_equals: IDL get expected (string) "" but got (undefined) undefined 973 FAIL img.referrerPolicy: setAttribute() to 1.5 assert_equals: IDL get expected (string) "" but got (undefined) undefined 974 FAIL img.referrerPolicy: setAttribute() to "5%" assert_equals: IDL get expected (string) "" but got (undefined) undefined 975 FAIL img.referrerPolicy: setAttribute() to "+100" assert_equals: IDL get expected (string) "" but got (undefined) undefined 976 FAIL img.referrerPolicy: setAttribute() to ".5" assert_equals: IDL get expected (string) "" but got (undefined) undefined 977 FAIL img.referrerPolicy: setAttribute() to true assert_equals: IDL get expected (string) "" but got (undefined) undefined 978 FAIL img.referrerPolicy: setAttribute() to false assert_equals: IDL get expected (string) "" but got (undefined) undefined 979 FAIL img.referrerPolicy: setAttribute() to object "[object Object]" assert_equals: IDL get expected (string) "" but got (undefined) undefined 980 FAIL img.referrerPolicy: setAttribute() to NaN assert_equals: IDL get expected (string) "" but got (undefined) undefined 981 FAIL img.referrerPolicy: setAttribute() to Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined 982 FAIL img.referrerPolicy: setAttribute() to -Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined 983 FAIL img.referrerPolicy: setAttribute() to "\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 984 FAIL img.referrerPolicy: setAttribute() to null assert_equals: IDL get expected (string) "" but got (undefined) undefined 985 FAIL img.referrerPolicy: setAttribute() to object "test-toString" assert_equals: IDL get expected (string) "" but got (undefined) undefined 986 FAIL img.referrerPolicy: setAttribute() to object "test-valueOf" assert_equals: IDL get expected (string) "" but got (undefined) undefined 987 FAIL img.referrerPolicy: setAttribute() to "no-referrer" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined 988 FAIL img.referrerPolicy: setAttribute() to "xno-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined 989 FAIL img.referrerPolicy: setAttribute() to "no-referrer\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 990 FAIL img.referrerPolicy: setAttribute() to "o-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined 991 FAIL img.referrerPolicy: setAttribute() to "NO-REFERRER" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined 992 FAIL img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined 993 FAIL img.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined 994 FAIL img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 995 FAIL img.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined 996 FAIL img.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined 997 FAIL img.referrerPolicy: setAttribute() to "same-origin" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined 998 FAIL img.referrerPolicy: setAttribute() to "xsame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 999 FAIL img.referrerPolicy: setAttribute() to "same-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1000 FAIL img.referrerPolicy: setAttribute() to "ame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1001 FAIL img.referrerPolicy: setAttribute() to "SAME-ORIGIN" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined 1002 FAIL img.referrerPolicy: setAttribute() to "ſame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1003 FAIL img.referrerPolicy: setAttribute() to "origin" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined 1004 FAIL img.referrerPolicy: setAttribute() to "xorigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1005 FAIL img.referrerPolicy: setAttribute() to "origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1006 FAIL img.referrerPolicy: setAttribute() to "rigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1007 FAIL img.referrerPolicy: setAttribute() to "ORIGIN" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined 1008 FAIL img.referrerPolicy: setAttribute() to "strict-origin" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined 1009 FAIL img.referrerPolicy: setAttribute() to "xstrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1010 FAIL img.referrerPolicy: setAttribute() to "strict-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1011 FAIL img.referrerPolicy: setAttribute() to "trict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1012 FAIL img.referrerPolicy: setAttribute() to "STRICT-ORIGIN" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined 1013 FAIL img.referrerPolicy: setAttribute() to "ſtrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1014 FAIL img.referrerPolicy: setAttribute() to "origin-when-cross-origin" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined 1015 FAIL img.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1016 FAIL img.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1017 FAIL img.referrerPolicy: setAttribute() to "rigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1018 FAIL img.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined 1019 FAIL img.referrerPolicy: setAttribute() to "origin-when-croſſ-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1020 FAIL img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined 1021 FAIL img.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1022 FAIL img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1023 FAIL img.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1024 FAIL img.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined 1025 FAIL img.referrerPolicy: setAttribute() to "ſtrict-origin-when-croſſ-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1026 FAIL img.referrerPolicy: setAttribute() to "unsafe-url" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined 1027 FAIL img.referrerPolicy: setAttribute() to "xunsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1028 FAIL img.referrerPolicy: setAttribute() to "unsafe-url\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1029 FAIL img.referrerPolicy: setAttribute() to "nsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1030 FAIL img.referrerPolicy: setAttribute() to "UNSAFE-URL" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined 1031 FAIL img.referrerPolicy: setAttribute() to "unſafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1032 FAIL img.referrerPolicy: IDL set to "" assert_equals: getAttribute() expected "" but got "unſafe-url" 1033 FAIL img.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 "unſafe-url" 1034 FAIL img.referrerPolicy: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "unſafe-url" 1035 FAIL img.referrerPolicy: IDL set to 7 assert_equals: getAttribute() expected "7" but got "unſafe-url" 1036 FAIL img.referrerPolicy: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "unſafe-url" 1037 FAIL img.referrerPolicy: IDL set to "5%" assert_equals: getAttribute() expected "5%" but got "unſafe-url" 1038 FAIL img.referrerPolicy: IDL set to "+100" assert_equals: getAttribute() expected "+100" but got "unſafe-url" 1039 FAIL img.referrerPolicy: IDL set to ".5" assert_equals: getAttribute() expected ".5" but got "unſafe-url" 1040 FAIL img.referrerPolicy: IDL set to true assert_equals: getAttribute() expected "true" but got "unſafe-url" 1041 FAIL img.referrerPolicy: IDL set to false assert_equals: getAttribute() expected "false" but got "unſafe-url" 1042 FAIL img.referrerPolicy: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "unſafe-url" 1043 FAIL img.referrerPolicy: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "unſafe-url" 1044 FAIL img.referrerPolicy: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "unſafe-url" 1045 FAIL img.referrerPolicy: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "unſafe-url" 1046 FAIL img.referrerPolicy: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "unſafe-url" 1047 FAIL img.referrerPolicy: IDL set to null assert_equals: IDL get expected (string) "" but got (object) null 1048 FAIL img.referrerPolicy: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "unſafe-url" 1049 FAIL img.referrerPolicy: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "unſafe-url" 1050 FAIL img.referrerPolicy: IDL set to "no-referrer" assert_equals: getAttribute() expected "no-referrer" but got "unſafe-url" 1051 FAIL img.referrerPolicy: IDL set to "xno-referrer" assert_equals: getAttribute() expected "xno-referrer" but got "unſafe-url" 1052 FAIL img.referrerPolicy: IDL set to "no-referrer\0" assert_equals: getAttribute() expected "no-referrer\0" but got "unſafe-url" 1053 FAIL img.referrerPolicy: IDL set to "o-referrer" assert_equals: getAttribute() expected "o-referrer" but got "unſafe-url" 1054 FAIL img.referrerPolicy: IDL set to "NO-REFERRER" assert_equals: getAttribute() expected "NO-REFERRER" but got "unſafe-url" 1055 FAIL img.referrerPolicy: IDL set to "no-referrer-when-downgrade" assert_equals: getAttribute() expected "no-referrer-when-downgrade" but got "unſafe-url" 1056 FAIL img.referrerPolicy: IDL set to "xno-referrer-when-downgrade" assert_equals: getAttribute() expected "xno-referrer-when-downgrade" but got "unſafe-url" 1057 FAIL img.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" assert_equals: getAttribute() expected "no-referrer-when-downgrade\0" but got "unſafe-url" 1058 FAIL img.referrerPolicy: IDL set to "o-referrer-when-downgrade" assert_equals: getAttribute() expected "o-referrer-when-downgrade" but got "unſafe-url" 1059 FAIL img.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: getAttribute() expected "NO-REFERRER-WHEN-DOWNGRADE" but got "unſafe-url" 1060 FAIL img.referrerPolicy: IDL set to "same-origin" assert_equals: getAttribute() expected "same-origin" but got "unſafe-url" 1061 FAIL img.referrerPolicy: IDL set to "xsame-origin" assert_equals: getAttribute() expected "xsame-origin" but got "unſafe-url" 1062 FAIL img.referrerPolicy: IDL set to "same-origin\0" assert_equals: getAttribute() expected "same-origin\0" but got "unſafe-url" 1063 FAIL img.referrerPolicy: IDL set to "ame-origin" assert_equals: getAttribute() expected "ame-origin" but got "unſafe-url" 1064 FAIL img.referrerPolicy: IDL set to "SAME-ORIGIN" assert_equals: getAttribute() expected "SAME-ORIGIN" but got "unſafe-url" 1065 FAIL img.referrerPolicy: IDL set to "ſame-origin" assert_equals: getAttribute() expected "ſame-origin" but got "unſafe-url" 1066 FAIL img.referrerPolicy: IDL set to "origin" assert_equals: getAttribute() expected "origin" but got "unſafe-url" 1067 FAIL img.referrerPolicy: IDL set to "xorigin" assert_equals: getAttribute() expected "xorigin" but got "unſafe-url" 1068 FAIL img.referrerPolicy: IDL set to "origin\0" assert_equals: getAttribute() expected "origin\0" but got "unſafe-url" 1069 FAIL img.referrerPolicy: IDL set to "rigin" assert_equals: getAttribute() expected "rigin" but got "unſafe-url" 1070 FAIL img.referrerPolicy: IDL set to "ORIGIN" assert_equals: getAttribute() expected "ORIGIN" but got "unſafe-url" 1071 FAIL img.referrerPolicy: IDL set to "strict-origin" assert_equals: getAttribute() expected "strict-origin" but got "unſafe-url" 1072 FAIL img.referrerPolicy: IDL set to "xstrict-origin" assert_equals: getAttribute() expected "xstrict-origin" but got "unſafe-url" 1073 FAIL img.referrerPolicy: IDL set to "strict-origin\0" assert_equals: getAttribute() expected "strict-origin\0" but got "unſafe-url" 1074 FAIL img.referrerPolicy: IDL set to "trict-origin" assert_equals: getAttribute() expected "trict-origin" but got "unſafe-url" 1075 FAIL img.referrerPolicy: IDL set to "STRICT-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN" but got "unſafe-url" 1076 FAIL img.referrerPolicy: IDL set to "ſtrict-origin" assert_equals: getAttribute() expected "ſtrict-origin" but got "unſafe-url" 1077 FAIL img.referrerPolicy: IDL set to "origin-when-cross-origin" assert_equals: getAttribute() expected "origin-when-cross-origin" but got "unſafe-url" 1078 FAIL img.referrerPolicy: IDL set to "xorigin-when-cross-origin" assert_equals: getAttribute() expected "xorigin-when-cross-origin" but got "unſafe-url" 1079 FAIL img.referrerPolicy: IDL set to "origin-when-cross-origin\0" assert_equals: getAttribute() expected "origin-when-cross-origin\0" but got "unſafe-url" 1080 FAIL img.referrerPolicy: IDL set to "rigin-when-cross-origin" assert_equals: getAttribute() expected "rigin-when-cross-origin" but got "unſafe-url" 1081 FAIL img.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "ORIGIN-WHEN-CROSS-ORIGIN" but got "unſafe-url" 1082 FAIL img.referrerPolicy: IDL set to "origin-when-croſſ-origin" assert_equals: getAttribute() expected "origin-when-croſſ-origin" but got "unſafe-url" 1083 FAIL img.referrerPolicy: IDL set to "strict-origin-when-cross-origin" assert_equals: getAttribute() expected "strict-origin-when-cross-origin" but got "unſafe-url" 1084 FAIL img.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" assert_equals: getAttribute() expected "xstrict-origin-when-cross-origin" but got "unſafe-url" 1085 FAIL img.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" assert_equals: getAttribute() expected "strict-origin-when-cross-origin\0" but got "unſafe-url" 1086 FAIL img.referrerPolicy: IDL set to "trict-origin-when-cross-origin" assert_equals: getAttribute() expected "trict-origin-when-cross-origin" but got "unſafe-url" 1087 FAIL img.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" but got "unſafe-url" 1088 FAIL img.referrerPolicy: IDL set to "ſtrict-origin-when-croſſ-origin" assert_equals: getAttribute() expected "ſtrict-origin-when-croſſ-origin" but got "unſafe-url" 1089 FAIL img.referrerPolicy: IDL set to "unsafe-url" assert_equals: getAttribute() expected "unsafe-url" but got "unſafe-url" 1090 FAIL img.referrerPolicy: IDL set to "xunsafe-url" assert_equals: getAttribute() expected "xunsafe-url" but got "unſafe-url" 1091 FAIL img.referrerPolicy: IDL set to "unsafe-url\0" assert_equals: getAttribute() expected "unsafe-url\0" but got "unſafe-url" 1092 FAIL img.referrerPolicy: IDL set to "nsafe-url" assert_equals: getAttribute() expected "nsafe-url" but got "unſafe-url" 1093 FAIL img.referrerPolicy: IDL set to "UNSAFE-URL" assert_equals: getAttribute() expected "UNSAFE-URL" but got "unſafe-url" 1094 FAIL img.referrerPolicy: IDL set to "unſafe-url" assert_equals: IDL get expected "" but got "unſafe-url" 967 PASS img.referrerPolicy: typeof IDL attribute 968 PASS img.referrerPolicy: IDL get with DOM attribute unset 969 PASS img.referrerPolicy: setAttribute() to "" 970 PASS img.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 " 971 PASS img.referrerPolicy: setAttribute() to undefined 972 PASS img.referrerPolicy: setAttribute() to 7 973 PASS img.referrerPolicy: setAttribute() to 1.5 974 PASS img.referrerPolicy: setAttribute() to "5%" 975 PASS img.referrerPolicy: setAttribute() to "+100" 976 PASS img.referrerPolicy: setAttribute() to ".5" 977 PASS img.referrerPolicy: setAttribute() to true 978 PASS img.referrerPolicy: setAttribute() to false 979 PASS img.referrerPolicy: setAttribute() to object "[object Object]" 980 PASS img.referrerPolicy: setAttribute() to NaN 981 PASS img.referrerPolicy: setAttribute() to Infinity 982 PASS img.referrerPolicy: setAttribute() to -Infinity 983 PASS img.referrerPolicy: setAttribute() to "\0" 984 PASS img.referrerPolicy: setAttribute() to null 985 PASS img.referrerPolicy: setAttribute() to object "test-toString" 986 PASS img.referrerPolicy: setAttribute() to object "test-valueOf" 987 PASS img.referrerPolicy: setAttribute() to "no-referrer" 988 PASS img.referrerPolicy: setAttribute() to "xno-referrer" 989 PASS img.referrerPolicy: setAttribute() to "no-referrer\0" 990 PASS img.referrerPolicy: setAttribute() to "o-referrer" 991 PASS img.referrerPolicy: setAttribute() to "NO-REFERRER" 992 PASS img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" 993 PASS img.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" 994 PASS img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" 995 PASS img.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" 996 PASS img.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" 997 PASS img.referrerPolicy: setAttribute() to "same-origin" 998 PASS img.referrerPolicy: setAttribute() to "xsame-origin" 999 PASS img.referrerPolicy: setAttribute() to "same-origin\0" 1000 PASS img.referrerPolicy: setAttribute() to "ame-origin" 1001 PASS img.referrerPolicy: setAttribute() to "SAME-ORIGIN" 1002 PASS img.referrerPolicy: setAttribute() to "ſame-origin" 1003 PASS img.referrerPolicy: setAttribute() to "origin" 1004 PASS img.referrerPolicy: setAttribute() to "xorigin" 1005 PASS img.referrerPolicy: setAttribute() to "origin\0" 1006 PASS img.referrerPolicy: setAttribute() to "rigin" 1007 PASS img.referrerPolicy: setAttribute() to "ORIGIN" 1008 PASS img.referrerPolicy: setAttribute() to "strict-origin" 1009 PASS img.referrerPolicy: setAttribute() to "xstrict-origin" 1010 PASS img.referrerPolicy: setAttribute() to "strict-origin\0" 1011 PASS img.referrerPolicy: setAttribute() to "trict-origin" 1012 PASS img.referrerPolicy: setAttribute() to "STRICT-ORIGIN" 1013 PASS img.referrerPolicy: setAttribute() to "ſtrict-origin" 1014 PASS img.referrerPolicy: setAttribute() to "origin-when-cross-origin" 1015 PASS img.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" 1016 PASS img.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" 1017 PASS img.referrerPolicy: setAttribute() to "rigin-when-cross-origin" 1018 PASS img.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" 1019 PASS img.referrerPolicy: setAttribute() to "origin-when-croſſ-origin" 1020 PASS img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" 1021 PASS img.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" 1022 PASS img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" 1023 PASS img.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" 1024 PASS img.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 1025 PASS img.referrerPolicy: setAttribute() to "ſtrict-origin-when-croſſ-origin" 1026 PASS img.referrerPolicy: setAttribute() to "unsafe-url" 1027 PASS img.referrerPolicy: setAttribute() to "xunsafe-url" 1028 PASS img.referrerPolicy: setAttribute() to "unsafe-url\0" 1029 PASS img.referrerPolicy: setAttribute() to "nsafe-url" 1030 PASS img.referrerPolicy: setAttribute() to "UNSAFE-URL" 1031 PASS img.referrerPolicy: setAttribute() to "unſafe-url" 1032 PASS img.referrerPolicy: IDL set to "" 1033 PASS img.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 " 1034 PASS img.referrerPolicy: IDL set to undefined 1035 PASS img.referrerPolicy: IDL set to 7 1036 PASS img.referrerPolicy: IDL set to 1.5 1037 PASS img.referrerPolicy: IDL set to "5%" 1038 PASS img.referrerPolicy: IDL set to "+100" 1039 PASS img.referrerPolicy: IDL set to ".5" 1040 PASS img.referrerPolicy: IDL set to true 1041 PASS img.referrerPolicy: IDL set to false 1042 PASS img.referrerPolicy: IDL set to object "[object Object]" 1043 PASS img.referrerPolicy: IDL set to NaN 1044 PASS img.referrerPolicy: IDL set to Infinity 1045 PASS img.referrerPolicy: IDL set to -Infinity 1046 PASS img.referrerPolicy: IDL set to "\0" 1047 PASS img.referrerPolicy: IDL set to null 1048 PASS img.referrerPolicy: IDL set to object "test-toString" 1049 PASS img.referrerPolicy: IDL set to object "test-valueOf" 1050 PASS img.referrerPolicy: IDL set to "no-referrer" 1051 PASS img.referrerPolicy: IDL set to "xno-referrer" 1052 PASS img.referrerPolicy: IDL set to "no-referrer\0" 1053 PASS img.referrerPolicy: IDL set to "o-referrer" 1054 PASS img.referrerPolicy: IDL set to "NO-REFERRER" 1055 PASS img.referrerPolicy: IDL set to "no-referrer-when-downgrade" 1056 PASS img.referrerPolicy: IDL set to "xno-referrer-when-downgrade" 1057 PASS img.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" 1058 PASS img.referrerPolicy: IDL set to "o-referrer-when-downgrade" 1059 PASS img.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" 1060 PASS img.referrerPolicy: IDL set to "same-origin" 1061 PASS img.referrerPolicy: IDL set to "xsame-origin" 1062 PASS img.referrerPolicy: IDL set to "same-origin\0" 1063 PASS img.referrerPolicy: IDL set to "ame-origin" 1064 PASS img.referrerPolicy: IDL set to "SAME-ORIGIN" 1065 PASS img.referrerPolicy: IDL set to "ſame-origin" 1066 PASS img.referrerPolicy: IDL set to "origin" 1067 PASS img.referrerPolicy: IDL set to "xorigin" 1068 PASS img.referrerPolicy: IDL set to "origin\0" 1069 PASS img.referrerPolicy: IDL set to "rigin" 1070 PASS img.referrerPolicy: IDL set to "ORIGIN" 1071 PASS img.referrerPolicy: IDL set to "strict-origin" 1072 PASS img.referrerPolicy: IDL set to "xstrict-origin" 1073 PASS img.referrerPolicy: IDL set to "strict-origin\0" 1074 PASS img.referrerPolicy: IDL set to "trict-origin" 1075 PASS img.referrerPolicy: IDL set to "STRICT-ORIGIN" 1076 PASS img.referrerPolicy: IDL set to "ſtrict-origin" 1077 PASS img.referrerPolicy: IDL set to "origin-when-cross-origin" 1078 PASS img.referrerPolicy: IDL set to "xorigin-when-cross-origin" 1079 PASS img.referrerPolicy: IDL set to "origin-when-cross-origin\0" 1080 PASS img.referrerPolicy: IDL set to "rigin-when-cross-origin" 1081 PASS img.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" 1082 PASS img.referrerPolicy: IDL set to "origin-when-croſſ-origin" 1083 PASS img.referrerPolicy: IDL set to "strict-origin-when-cross-origin" 1084 PASS img.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" 1085 PASS img.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" 1086 PASS img.referrerPolicy: IDL set to "trict-origin-when-cross-origin" 1087 PASS img.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 1088 PASS img.referrerPolicy: IDL set to "ſtrict-origin-when-croſſ-origin" 1089 PASS img.referrerPolicy: IDL set to "unsafe-url" 1090 PASS img.referrerPolicy: IDL set to "xunsafe-url" 1091 PASS img.referrerPolicy: IDL set to "unsafe-url\0" 1092 PASS img.referrerPolicy: IDL set to "nsafe-url" 1093 PASS img.referrerPolicy: IDL set to "UNSAFE-URL" 1094 PASS img.referrerPolicy: IDL set to "unſafe-url" 1095 1095 PASS img.decoding: typeof IDL attribute 1096 1096 FAIL img.decoding: IDL get with DOM attribute unset assert_equals: expected "auto" but got "" -
trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt
r242534 r257572 520 520 PASS img.height: IDL set to 2147483648 521 521 PASS img.height: IDL set to 4294967295 522 FAIL img.referrerPolicy: typeof IDL attribute assert_equals: expected "string" but got "undefined" 523 FAIL img.referrerPolicy: IDL get with DOM attribute unset assert_equals: expected (string) "" but got (undefined) undefined 524 FAIL img.referrerPolicy: setAttribute() to "" assert_equals: IDL get expected (string) "" but got (undefined) undefined 525 FAIL img.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 526 FAIL img.referrerPolicy: setAttribute() to undefined assert_equals: IDL get expected (string) "" but got (undefined) undefined 527 FAIL img.referrerPolicy: setAttribute() to 7 assert_equals: IDL get expected (string) "" but got (undefined) undefined 528 FAIL img.referrerPolicy: setAttribute() to 1.5 assert_equals: IDL get expected (string) "" but got (undefined) undefined 529 FAIL img.referrerPolicy: setAttribute() to true assert_equals: IDL get expected (string) "" but got (undefined) undefined 530 FAIL img.referrerPolicy: setAttribute() to false assert_equals: IDL get expected (string) "" but got (undefined) undefined 531 FAIL img.referrerPolicy: setAttribute() to object "[object Object]" assert_equals: IDL get expected (string) "" but got (undefined) undefined 532 FAIL img.referrerPolicy: setAttribute() to NaN assert_equals: IDL get expected (string) "" but got (undefined) undefined 533 FAIL img.referrerPolicy: setAttribute() to Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined 534 FAIL img.referrerPolicy: setAttribute() to -Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined 535 FAIL img.referrerPolicy: setAttribute() to "\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 536 FAIL img.referrerPolicy: setAttribute() to null assert_equals: IDL get expected (string) "" but got (undefined) undefined 537 FAIL img.referrerPolicy: setAttribute() to object "test-toString" assert_equals: IDL get expected (string) "" but got (undefined) undefined 538 FAIL img.referrerPolicy: setAttribute() to object "test-valueOf" assert_equals: IDL get expected (string) "" but got (undefined) undefined 539 FAIL img.referrerPolicy: setAttribute() to "no-referrer" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined 540 FAIL img.referrerPolicy: setAttribute() to "xno-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined 541 FAIL img.referrerPolicy: setAttribute() to "no-referrer\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 542 FAIL img.referrerPolicy: setAttribute() to "o-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined 543 FAIL img.referrerPolicy: setAttribute() to "NO-REFERRER" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined 544 FAIL img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined 545 FAIL img.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined 546 FAIL img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 547 FAIL img.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined 548 FAIL img.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined 549 FAIL img.referrerPolicy: setAttribute() to "same-origin" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined 550 FAIL img.referrerPolicy: setAttribute() to "xsame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 551 FAIL img.referrerPolicy: setAttribute() to "same-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 552 FAIL img.referrerPolicy: setAttribute() to "ame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 553 FAIL img.referrerPolicy: setAttribute() to "SAME-ORIGIN" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined 554 FAIL img.referrerPolicy: setAttribute() to "origin" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined 555 FAIL img.referrerPolicy: setAttribute() to "xorigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 556 FAIL img.referrerPolicy: setAttribute() to "origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 557 FAIL img.referrerPolicy: setAttribute() to "rigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 558 FAIL img.referrerPolicy: setAttribute() to "ORIGIN" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined 559 FAIL img.referrerPolicy: setAttribute() to "strict-origin" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined 560 FAIL img.referrerPolicy: setAttribute() to "xstrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 561 FAIL img.referrerPolicy: setAttribute() to "strict-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 562 FAIL img.referrerPolicy: setAttribute() to "trict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 563 FAIL img.referrerPolicy: setAttribute() to "STRICT-ORIGIN" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined 564 FAIL img.referrerPolicy: setAttribute() to "origin-when-cross-origin" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined 565 FAIL img.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 566 FAIL img.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 567 FAIL img.referrerPolicy: setAttribute() to "rigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 568 FAIL img.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined 569 FAIL img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined 570 FAIL img.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 571 FAIL img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 572 FAIL img.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 573 FAIL img.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined 574 FAIL img.referrerPolicy: setAttribute() to "unsafe-url" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined 575 FAIL img.referrerPolicy: setAttribute() to "xunsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined 576 FAIL img.referrerPolicy: setAttribute() to "unsafe-url\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 577 FAIL img.referrerPolicy: setAttribute() to "nsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined 578 FAIL img.referrerPolicy: setAttribute() to "UNSAFE-URL" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined 579 FAIL img.referrerPolicy: IDL set to "" assert_equals: getAttribute() expected "" but got "UNSAFE-URL" 580 FAIL img.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" 581 FAIL img.referrerPolicy: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "UNSAFE-URL" 582 FAIL img.referrerPolicy: IDL set to 7 assert_equals: getAttribute() expected "7" but got "UNSAFE-URL" 583 FAIL img.referrerPolicy: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "UNSAFE-URL" 584 FAIL img.referrerPolicy: IDL set to true assert_equals: getAttribute() expected "true" but got "UNSAFE-URL" 585 FAIL img.referrerPolicy: IDL set to false assert_equals: getAttribute() expected "false" but got "UNSAFE-URL" 586 FAIL img.referrerPolicy: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "UNSAFE-URL" 587 FAIL img.referrerPolicy: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "UNSAFE-URL" 588 FAIL img.referrerPolicy: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "UNSAFE-URL" 589 FAIL img.referrerPolicy: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "UNSAFE-URL" 590 FAIL img.referrerPolicy: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "UNSAFE-URL" 591 FAIL img.referrerPolicy: IDL set to null assert_equals: IDL get expected (string) "" but got (object) null 592 FAIL img.referrerPolicy: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "UNSAFE-URL" 593 FAIL img.referrerPolicy: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "UNSAFE-URL" 594 FAIL img.referrerPolicy: IDL set to "no-referrer" assert_equals: getAttribute() expected "no-referrer" but got "UNSAFE-URL" 595 FAIL img.referrerPolicy: IDL set to "xno-referrer" assert_equals: getAttribute() expected "xno-referrer" but got "UNSAFE-URL" 596 FAIL img.referrerPolicy: IDL set to "no-referrer\0" assert_equals: getAttribute() expected "no-referrer\0" but got "UNSAFE-URL" 597 FAIL img.referrerPolicy: IDL set to "o-referrer" assert_equals: getAttribute() expected "o-referrer" but got "UNSAFE-URL" 598 FAIL img.referrerPolicy: IDL set to "NO-REFERRER" assert_equals: getAttribute() expected "NO-REFERRER" but got "UNSAFE-URL" 599 FAIL img.referrerPolicy: IDL set to "no-referrer-when-downgrade" assert_equals: getAttribute() expected "no-referrer-when-downgrade" but got "UNSAFE-URL" 600 FAIL img.referrerPolicy: IDL set to "xno-referrer-when-downgrade" assert_equals: getAttribute() expected "xno-referrer-when-downgrade" but got "UNSAFE-URL" 601 FAIL img.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" assert_equals: getAttribute() expected "no-referrer-when-downgrade\0" but got "UNSAFE-URL" 602 FAIL img.referrerPolicy: IDL set to "o-referrer-when-downgrade" assert_equals: getAttribute() expected "o-referrer-when-downgrade" but got "UNSAFE-URL" 603 FAIL img.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: getAttribute() expected "NO-REFERRER-WHEN-DOWNGRADE" but got "UNSAFE-URL" 604 FAIL img.referrerPolicy: IDL set to "same-origin" assert_equals: getAttribute() expected "same-origin" but got "UNSAFE-URL" 605 FAIL img.referrerPolicy: IDL set to "xsame-origin" assert_equals: getAttribute() expected "xsame-origin" but got "UNSAFE-URL" 606 FAIL img.referrerPolicy: IDL set to "same-origin\0" assert_equals: getAttribute() expected "same-origin\0" but got "UNSAFE-URL" 607 FAIL img.referrerPolicy: IDL set to "ame-origin" assert_equals: getAttribute() expected "ame-origin" but got "UNSAFE-URL" 608 FAIL img.referrerPolicy: IDL set to "SAME-ORIGIN" assert_equals: getAttribute() expected "SAME-ORIGIN" but got "UNSAFE-URL" 609 FAIL img.referrerPolicy: IDL set to "origin" assert_equals: getAttribute() expected "origin" but got "UNSAFE-URL" 610 FAIL img.referrerPolicy: IDL set to "xorigin" assert_equals: getAttribute() expected "xorigin" but got "UNSAFE-URL" 611 FAIL img.referrerPolicy: IDL set to "origin\0" assert_equals: getAttribute() expected "origin\0" but got "UNSAFE-URL" 612 FAIL img.referrerPolicy: IDL set to "rigin" assert_equals: getAttribute() expected "rigin" but got "UNSAFE-URL" 613 FAIL img.referrerPolicy: IDL set to "ORIGIN" assert_equals: getAttribute() expected "ORIGIN" but got "UNSAFE-URL" 614 FAIL img.referrerPolicy: IDL set to "strict-origin" assert_equals: getAttribute() expected "strict-origin" but got "UNSAFE-URL" 615 FAIL img.referrerPolicy: IDL set to "xstrict-origin" assert_equals: getAttribute() expected "xstrict-origin" but got "UNSAFE-URL" 616 FAIL img.referrerPolicy: IDL set to "strict-origin\0" assert_equals: getAttribute() expected "strict-origin\0" but got "UNSAFE-URL" 617 FAIL img.referrerPolicy: IDL set to "trict-origin" assert_equals: getAttribute() expected "trict-origin" but got "UNSAFE-URL" 618 FAIL img.referrerPolicy: IDL set to "STRICT-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN" but got "UNSAFE-URL" 619 FAIL img.referrerPolicy: IDL set to "origin-when-cross-origin" assert_equals: getAttribute() expected "origin-when-cross-origin" but got "UNSAFE-URL" 620 FAIL img.referrerPolicy: IDL set to "xorigin-when-cross-origin" assert_equals: getAttribute() expected "xorigin-when-cross-origin" but got "UNSAFE-URL" 621 FAIL img.referrerPolicy: IDL set to "origin-when-cross-origin\0" assert_equals: getAttribute() expected "origin-when-cross-origin\0" but got "UNSAFE-URL" 622 FAIL img.referrerPolicy: IDL set to "rigin-when-cross-origin" assert_equals: getAttribute() expected "rigin-when-cross-origin" but got "UNSAFE-URL" 623 FAIL img.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL" 624 FAIL img.referrerPolicy: IDL set to "strict-origin-when-cross-origin" assert_equals: getAttribute() expected "strict-origin-when-cross-origin" but got "UNSAFE-URL" 625 FAIL img.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" assert_equals: getAttribute() expected "xstrict-origin-when-cross-origin" but got "UNSAFE-URL" 626 FAIL img.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" assert_equals: getAttribute() expected "strict-origin-when-cross-origin\0" but got "UNSAFE-URL" 627 FAIL img.referrerPolicy: IDL set to "trict-origin-when-cross-origin" assert_equals: getAttribute() expected "trict-origin-when-cross-origin" but got "UNSAFE-URL" 628 FAIL img.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL" 629 FAIL img.referrerPolicy: IDL set to "unsafe-url" assert_equals: getAttribute() expected "unsafe-url" but got "UNSAFE-URL" 630 FAIL img.referrerPolicy: IDL set to "xunsafe-url" assert_equals: getAttribute() expected "xunsafe-url" but got "UNSAFE-URL" 631 FAIL img.referrerPolicy: IDL set to "unsafe-url\0" assert_equals: getAttribute() expected "unsafe-url\0" but got "UNSAFE-URL" 632 FAIL img.referrerPolicy: IDL set to "nsafe-url" assert_equals: getAttribute() expected "nsafe-url" but got "UNSAFE-URL" 633 FAIL img.referrerPolicy: IDL set to "UNSAFE-URL" assert_equals: IDL get expected "unsafe-url" but got "UNSAFE-URL" 522 PASS img.referrerPolicy: typeof IDL attribute 523 PASS img.referrerPolicy: IDL get with DOM attribute unset 524 PASS img.referrerPolicy: setAttribute() to "" 525 PASS img.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 " 526 PASS img.referrerPolicy: setAttribute() to undefined 527 PASS img.referrerPolicy: setAttribute() to 7 528 PASS img.referrerPolicy: setAttribute() to 1.5 529 PASS img.referrerPolicy: setAttribute() to true 530 PASS img.referrerPolicy: setAttribute() to false 531 PASS img.referrerPolicy: setAttribute() to object "[object Object]" 532 PASS img.referrerPolicy: setAttribute() to NaN 533 PASS img.referrerPolicy: setAttribute() to Infinity 534 PASS img.referrerPolicy: setAttribute() to -Infinity 535 PASS img.referrerPolicy: setAttribute() to "\0" 536 PASS img.referrerPolicy: setAttribute() to null 537 PASS img.referrerPolicy: setAttribute() to object "test-toString" 538 PASS img.referrerPolicy: setAttribute() to object "test-valueOf" 539 PASS img.referrerPolicy: setAttribute() to "no-referrer" 540 PASS img.referrerPolicy: setAttribute() to "xno-referrer" 541 PASS img.referrerPolicy: setAttribute() to "no-referrer\0" 542 PASS img.referrerPolicy: setAttribute() to "o-referrer" 543 PASS img.referrerPolicy: setAttribute() to "NO-REFERRER" 544 PASS img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" 545 PASS img.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" 546 PASS img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" 547 PASS img.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" 548 PASS img.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" 549 PASS img.referrerPolicy: setAttribute() to "same-origin" 550 PASS img.referrerPolicy: setAttribute() to "xsame-origin" 551 PASS img.referrerPolicy: setAttribute() to "same-origin\0" 552 PASS img.referrerPolicy: setAttribute() to "ame-origin" 553 PASS img.referrerPolicy: setAttribute() to "SAME-ORIGIN" 554 PASS img.referrerPolicy: setAttribute() to "origin" 555 PASS img.referrerPolicy: setAttribute() to "xorigin" 556 PASS img.referrerPolicy: setAttribute() to "origin\0" 557 PASS img.referrerPolicy: setAttribute() to "rigin" 558 PASS img.referrerPolicy: setAttribute() to "ORIGIN" 559 PASS img.referrerPolicy: setAttribute() to "strict-origin" 560 PASS img.referrerPolicy: setAttribute() to "xstrict-origin" 561 PASS img.referrerPolicy: setAttribute() to "strict-origin\0" 562 PASS img.referrerPolicy: setAttribute() to "trict-origin" 563 PASS img.referrerPolicy: setAttribute() to "STRICT-ORIGIN" 564 PASS img.referrerPolicy: setAttribute() to "origin-when-cross-origin" 565 PASS img.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" 566 PASS img.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" 567 PASS img.referrerPolicy: setAttribute() to "rigin-when-cross-origin" 568 PASS img.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" 569 PASS img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" 570 PASS img.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" 571 PASS img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" 572 PASS img.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" 573 PASS img.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 574 PASS img.referrerPolicy: setAttribute() to "unsafe-url" 575 PASS img.referrerPolicy: setAttribute() to "xunsafe-url" 576 PASS img.referrerPolicy: setAttribute() to "unsafe-url\0" 577 PASS img.referrerPolicy: setAttribute() to "nsafe-url" 578 PASS img.referrerPolicy: setAttribute() to "UNSAFE-URL" 579 PASS img.referrerPolicy: IDL set to "" 580 PASS img.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 " 581 PASS img.referrerPolicy: IDL set to undefined 582 PASS img.referrerPolicy: IDL set to 7 583 PASS img.referrerPolicy: IDL set to 1.5 584 PASS img.referrerPolicy: IDL set to true 585 PASS img.referrerPolicy: IDL set to false 586 PASS img.referrerPolicy: IDL set to object "[object Object]" 587 PASS img.referrerPolicy: IDL set to NaN 588 PASS img.referrerPolicy: IDL set to Infinity 589 PASS img.referrerPolicy: IDL set to -Infinity 590 PASS img.referrerPolicy: IDL set to "\0" 591 PASS img.referrerPolicy: IDL set to null 592 PASS img.referrerPolicy: IDL set to object "test-toString" 593 PASS img.referrerPolicy: IDL set to object "test-valueOf" 594 PASS img.referrerPolicy: IDL set to "no-referrer" 595 PASS img.referrerPolicy: IDL set to "xno-referrer" 596 PASS img.referrerPolicy: IDL set to "no-referrer\0" 597 PASS img.referrerPolicy: IDL set to "o-referrer" 598 PASS img.referrerPolicy: IDL set to "NO-REFERRER" 599 PASS img.referrerPolicy: IDL set to "no-referrer-when-downgrade" 600 PASS img.referrerPolicy: IDL set to "xno-referrer-when-downgrade" 601 PASS img.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" 602 PASS img.referrerPolicy: IDL set to "o-referrer-when-downgrade" 603 PASS img.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" 604 PASS img.referrerPolicy: IDL set to "same-origin" 605 PASS img.referrerPolicy: IDL set to "xsame-origin" 606 PASS img.referrerPolicy: IDL set to "same-origin\0" 607 PASS img.referrerPolicy: IDL set to "ame-origin" 608 PASS img.referrerPolicy: IDL set to "SAME-ORIGIN" 609 PASS img.referrerPolicy: IDL set to "origin" 610 PASS img.referrerPolicy: IDL set to "xorigin" 611 PASS img.referrerPolicy: IDL set to "origin\0" 612 PASS img.referrerPolicy: IDL set to "rigin" 613 PASS img.referrerPolicy: IDL set to "ORIGIN" 614 PASS img.referrerPolicy: IDL set to "strict-origin" 615 PASS img.referrerPolicy: IDL set to "xstrict-origin" 616 PASS img.referrerPolicy: IDL set to "strict-origin\0" 617 PASS img.referrerPolicy: IDL set to "trict-origin" 618 PASS img.referrerPolicy: IDL set to "STRICT-ORIGIN" 619 PASS img.referrerPolicy: IDL set to "origin-when-cross-origin" 620 PASS img.referrerPolicy: IDL set to "xorigin-when-cross-origin" 621 PASS img.referrerPolicy: IDL set to "origin-when-cross-origin\0" 622 PASS img.referrerPolicy: IDL set to "rigin-when-cross-origin" 623 PASS img.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" 624 PASS img.referrerPolicy: IDL set to "strict-origin-when-cross-origin" 625 PASS img.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" 626 PASS img.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" 627 PASS img.referrerPolicy: IDL set to "trict-origin-when-cross-origin" 628 PASS img.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 629 PASS img.referrerPolicy: IDL set to "unsafe-url" 630 PASS img.referrerPolicy: IDL set to "xunsafe-url" 631 PASS img.referrerPolicy: IDL set to "unsafe-url\0" 632 PASS img.referrerPolicy: IDL set to "nsafe-url" 633 PASS img.referrerPolicy: IDL set to "UNSAFE-URL" 634 634 PASS img.name: typeof IDL attribute 635 635 PASS img.name: IDL get with DOM attribute unset -
trunk/LayoutTests/platform/mac-wk1/TestExpectations
r257377 r257572 154 154 http/tests/referrer-policy/unsafe-url/cross-origin-http-http.html [ Skip ] 155 155 http/tests/referrer-policy/unsafe-url/cross-origin-http.https.html [ Skip ] 156 http/tests/referrer-policy-img/no-referrer-when-downgrade/ [ Skip ] 157 http/tests/referrer-policy-img/unsafe-url/cross-origin-http-http.html [ Skip ] 158 http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https.html [ Skip ] 156 159 157 160 # Not supported on WK1 -
trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
r254029 r257572 889 889 PASS HTMLImageElement interface: attribute complete 890 890 PASS HTMLImageElement interface: attribute currentSrc 891 FAIL HTMLImageElement interface: attribute referrerPolicy assert_true: The prototype object must have a property "referrerPolicy" expected true got false 891 PASS HTMLImageElement interface: attribute referrerPolicy 892 892 PASS HTMLImageElement interface: attribute decoding 893 893 PASS HTMLImageElement interface: operation decode() … … 914 914 PASS HTMLImageElement interface: document.createElement("img") must inherit property "complete" with the proper type 915 915 PASS HTMLImageElement interface: document.createElement("img") must inherit property "currentSrc" with the proper type 916 FAIL HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 916 PASS HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type 917 917 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decoding" with the proper type 918 918 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decode()" with the proper type … … 939 939 PASS HTMLImageElement interface: new Image() must inherit property "complete" with the proper type 940 940 PASS HTMLImageElement interface: new Image() must inherit property "currentSrc" with the proper type 941 FAIL HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 941 PASS HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type 942 942 PASS HTMLImageElement interface: new Image() must inherit property "decoding" with the proper type 943 943 PASS HTMLImageElement interface: new Image() must inherit property "decode()" with the proper type -
trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
r254029 r257572 889 889 PASS HTMLImageElement interface: attribute complete 890 890 PASS HTMLImageElement interface: attribute currentSrc 891 FAIL HTMLImageElement interface: attribute referrerPolicy assert_true: The prototype object must have a property "referrerPolicy" expected true got false 891 PASS HTMLImageElement interface: attribute referrerPolicy 892 892 PASS HTMLImageElement interface: attribute decoding 893 893 PASS HTMLImageElement interface: operation decode() … … 914 914 PASS HTMLImageElement interface: document.createElement("img") must inherit property "complete" with the proper type 915 915 PASS HTMLImageElement interface: document.createElement("img") must inherit property "currentSrc" with the proper type 916 FAIL HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 916 PASS HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type 917 917 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decoding" with the proper type 918 918 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decode()" with the proper type … … 939 939 PASS HTMLImageElement interface: new Image() must inherit property "complete" with the proper type 940 940 PASS HTMLImageElement interface: new Image() must inherit property "currentSrc" with the proper type 941 FAIL HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 941 PASS HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type 942 942 PASS HTMLImageElement interface: new Image() must inherit property "decoding" with the proper type 943 943 PASS HTMLImageElement interface: new Image() must inherit property "decode()" with the proper type -
trunk/LayoutTests/platform/win/TestExpectations
r257211 r257572 152 152 http/tests/referrer-policy/unsafe-url/cross-origin-http-http.html [ Skip ] 153 153 http/tests/referrer-policy/unsafe-url/cross-origin-http.https.html [ Skip ] 154 http/tests/referrer-policy-img/no-referrer-when-downgrade/ [ Skip ] 155 http/tests/referrer-policy-img/unsafe-url/cross-origin-http-http.html [ Skip ] 156 http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https.html [ Skip ] 154 157 155 158 # Dark mode not supported on Windows … … 4165 4168 webkit.org/b/189194 http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html [ Failure ] 4166 4169 4170 webkit.org/b/189194 http/tests/referrer-policy-img/no-referrer/cross-origin-http-http.html [ Failure ] 4171 webkit.org/b/189194 http/tests/referrer-policy-img/no-referrer/same-origin.html [ Failure ] 4172 webkit.org/b/189194 http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http-http.html [ Failure ] 4173 webkit.org/b/189194 http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https.html [ Failure ] 4174 webkit.org/b/189194 http/tests/referrer-policy-img/origin/cross-origin-http-http.html [ Failure ] 4175 webkit.org/b/189194 http/tests/referrer-policy-img/origin/cross-origin-http.https.html [ Failure ] 4176 webkit.org/b/189194 http/tests/referrer-policy-img/origin/same-origin.html [ Failure ] 4177 webkit.org/b/189194 http/tests/referrer-policy-img/same-origin/cross-origin-http-http.html [ Failure ] 4178 webkit.org/b/189194 http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http-http.html [ Failure ] 4179 webkit.org/b/189194 http/tests/referrer-policy-img/strict-origin/cross-origin-http-http.html [ Failure ] 4180 webkit.org/b/189194 http/tests/referrer-policy-img/strict-origin/same-origin.html [ Failure ] 4181 4167 4182 webkit.org/b/189550 fast/text/variations/ipc2.html [ Skip ] 4168 4183 -
trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
r255152 r257572 889 889 PASS HTMLImageElement interface: attribute complete 890 890 PASS HTMLImageElement interface: attribute currentSrc 891 FAIL HTMLImageElement interface: attribute referrerPolicy assert_true: The prototype object must have a property "referrerPolicy" expected true got false 891 PASS HTMLImageElement interface: attribute referrerPolicy 892 892 PASS HTMLImageElement interface: attribute decoding 893 893 PASS HTMLImageElement interface: operation decode() … … 914 914 PASS HTMLImageElement interface: document.createElement("img") must inherit property "complete" with the proper type 915 915 PASS HTMLImageElement interface: document.createElement("img") must inherit property "currentSrc" with the proper type 916 FAIL HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 916 PASS HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type 917 917 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decoding" with the proper type 918 918 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decode()" with the proper type … … 939 939 PASS HTMLImageElement interface: new Image() must inherit property "complete" with the proper type 940 940 PASS HTMLImageElement interface: new Image() must inherit property "currentSrc" with the proper type 941 FAIL HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 941 PASS HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type 942 942 PASS HTMLImageElement interface: new Image() must inherit property "decoding" with the proper type 943 943 PASS HTMLImageElement interface: new Image() must inherit property "decode()" with the proper type -
trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt
r230760 r257572 1537 1537 PASS HTMLImageElement interface: document.createElement("img") must inherit property "complete" with the proper type 1538 1538 PASS HTMLImageElement interface: document.createElement("img") must inherit property "currentSrc" with the proper type 1539 FAIL HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 1539 PASS HTMLImageElement interface: document.createElement("img") must inherit property "referrerPolicy" with the proper type 1540 1540 PASS HTMLImageElement interface: document.createElement("img") must inherit property "decode()" with the proper type 1541 1541 PASS HTMLImageElement interface: document.createElement("img") must inherit property "name" with the proper type … … 1561 1561 PASS HTMLImageElement interface: new Image() must inherit property "complete" with the proper type 1562 1562 PASS HTMLImageElement interface: new Image() must inherit property "currentSrc" with the proper type 1563 FAIL HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain 1563 PASS HTMLImageElement interface: new Image() must inherit property "referrerPolicy" with the proper type 1564 1564 PASS HTMLImageElement interface: new Image() must inherit property "decode()" with the proper type 1565 1565 PASS HTMLImageElement interface: new Image() must inherit property "name" with the proper type -
trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt
r255152 r257572 965 965 PASS img.height: IDL set to 2147483648 966 966 PASS img.height: IDL set to 4294967295 967 FAIL img.referrerPolicy: typeof IDL attribute assert_equals: expected "string" but got "undefined" 968 FAIL img.referrerPolicy: IDL get with DOM attribute unset assert_equals: expected (string) "" but got (undefined) undefined 969 FAIL img.referrerPolicy: setAttribute() to "" assert_equals: IDL get expected (string) "" but got (undefined) undefined 970 FAIL img.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 971 FAIL img.referrerPolicy: setAttribute() to undefined assert_equals: IDL get expected (string) "" but got (undefined) undefined 972 FAIL img.referrerPolicy: setAttribute() to 7 assert_equals: IDL get expected (string) "" but got (undefined) undefined 973 FAIL img.referrerPolicy: setAttribute() to 1.5 assert_equals: IDL get expected (string) "" but got (undefined) undefined 974 FAIL img.referrerPolicy: setAttribute() to "5%" assert_equals: IDL get expected (string) "" but got (undefined) undefined 975 FAIL img.referrerPolicy: setAttribute() to "+100" assert_equals: IDL get expected (string) "" but got (undefined) undefined 976 FAIL img.referrerPolicy: setAttribute() to ".5" assert_equals: IDL get expected (string) "" but got (undefined) undefined 977 FAIL img.referrerPolicy: setAttribute() to true assert_equals: IDL get expected (string) "" but got (undefined) undefined 978 FAIL img.referrerPolicy: setAttribute() to false assert_equals: IDL get expected (string) "" but got (undefined) undefined 979 FAIL img.referrerPolicy: setAttribute() to object "[object Object]" assert_equals: IDL get expected (string) "" but got (undefined) undefined 980 FAIL img.referrerPolicy: setAttribute() to NaN assert_equals: IDL get expected (string) "" but got (undefined) undefined 981 FAIL img.referrerPolicy: setAttribute() to Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined 982 FAIL img.referrerPolicy: setAttribute() to -Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined 983 FAIL img.referrerPolicy: setAttribute() to "\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 984 FAIL img.referrerPolicy: setAttribute() to null assert_equals: IDL get expected (string) "" but got (undefined) undefined 985 FAIL img.referrerPolicy: setAttribute() to object "test-toString" assert_equals: IDL get expected (string) "" but got (undefined) undefined 986 FAIL img.referrerPolicy: setAttribute() to object "test-valueOf" assert_equals: IDL get expected (string) "" but got (undefined) undefined 987 FAIL img.referrerPolicy: setAttribute() to "no-referrer" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined 988 FAIL img.referrerPolicy: setAttribute() to "xno-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined 989 FAIL img.referrerPolicy: setAttribute() to "no-referrer\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 990 FAIL img.referrerPolicy: setAttribute() to "o-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined 991 FAIL img.referrerPolicy: setAttribute() to "NO-REFERRER" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined 992 FAIL img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined 993 FAIL img.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined 994 FAIL img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 995 FAIL img.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined 996 FAIL img.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined 997 FAIL img.referrerPolicy: setAttribute() to "same-origin" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined 998 FAIL img.referrerPolicy: setAttribute() to "xsame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 999 FAIL img.referrerPolicy: setAttribute() to "same-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1000 FAIL img.referrerPolicy: setAttribute() to "ame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1001 FAIL img.referrerPolicy: setAttribute() to "SAME-ORIGIN" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined 1002 FAIL img.referrerPolicy: setAttribute() to "ſame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1003 FAIL img.referrerPolicy: setAttribute() to "origin" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined 1004 FAIL img.referrerPolicy: setAttribute() to "xorigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1005 FAIL img.referrerPolicy: setAttribute() to "origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1006 FAIL img.referrerPolicy: setAttribute() to "rigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1007 FAIL img.referrerPolicy: setAttribute() to "ORIGIN" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined 1008 FAIL img.referrerPolicy: setAttribute() to "strict-origin" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined 1009 FAIL img.referrerPolicy: setAttribute() to "xstrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1010 FAIL img.referrerPolicy: setAttribute() to "strict-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1011 FAIL img.referrerPolicy: setAttribute() to "trict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1012 FAIL img.referrerPolicy: setAttribute() to "STRICT-ORIGIN" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined 1013 FAIL img.referrerPolicy: setAttribute() to "ſtrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1014 FAIL img.referrerPolicy: setAttribute() to "origin-when-cross-origin" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined 1015 FAIL img.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1016 FAIL img.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1017 FAIL img.referrerPolicy: setAttribute() to "rigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1018 FAIL img.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined 1019 FAIL img.referrerPolicy: setAttribute() to "origin-when-croſſ-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1020 FAIL img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined 1021 FAIL img.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1022 FAIL img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1023 FAIL img.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1024 FAIL img.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined 1025 FAIL img.referrerPolicy: setAttribute() to "ſtrict-origin-when-croſſ-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1026 FAIL img.referrerPolicy: setAttribute() to "unsafe-url" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined 1027 FAIL img.referrerPolicy: setAttribute() to "xunsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1028 FAIL img.referrerPolicy: setAttribute() to "unsafe-url\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1029 FAIL img.referrerPolicy: setAttribute() to "nsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1030 FAIL img.referrerPolicy: setAttribute() to "UNSAFE-URL" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined 1031 FAIL img.referrerPolicy: setAttribute() to "unſafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined 1032 FAIL img.referrerPolicy: IDL set to "" assert_equals: getAttribute() expected "" but got "unſafe-url" 1033 FAIL img.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 "unſafe-url" 1034 FAIL img.referrerPolicy: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "unſafe-url" 1035 FAIL img.referrerPolicy: IDL set to 7 assert_equals: getAttribute() expected "7" but got "unſafe-url" 1036 FAIL img.referrerPolicy: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "unſafe-url" 1037 FAIL img.referrerPolicy: IDL set to "5%" assert_equals: getAttribute() expected "5%" but got "unſafe-url" 1038 FAIL img.referrerPolicy: IDL set to "+100" assert_equals: getAttribute() expected "+100" but got "unſafe-url" 1039 FAIL img.referrerPolicy: IDL set to ".5" assert_equals: getAttribute() expected ".5" but got "unſafe-url" 1040 FAIL img.referrerPolicy: IDL set to true assert_equals: getAttribute() expected "true" but got "unſafe-url" 1041 FAIL img.referrerPolicy: IDL set to false assert_equals: getAttribute() expected "false" but got "unſafe-url" 1042 FAIL img.referrerPolicy: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "unſafe-url" 1043 FAIL img.referrerPolicy: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "unſafe-url" 1044 FAIL img.referrerPolicy: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "unſafe-url" 1045 FAIL img.referrerPolicy: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "unſafe-url" 1046 FAIL img.referrerPolicy: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "unſafe-url" 1047 FAIL img.referrerPolicy: IDL set to null assert_equals: IDL get expected (string) "" but got (object) null 1048 FAIL img.referrerPolicy: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "unſafe-url" 1049 FAIL img.referrerPolicy: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "unſafe-url" 1050 FAIL img.referrerPolicy: IDL set to "no-referrer" assert_equals: getAttribute() expected "no-referrer" but got "unſafe-url" 1051 FAIL img.referrerPolicy: IDL set to "xno-referrer" assert_equals: getAttribute() expected "xno-referrer" but got "unſafe-url" 1052 FAIL img.referrerPolicy: IDL set to "no-referrer\0" assert_equals: getAttribute() expected "no-referrer\0" but got "unſafe-url" 1053 FAIL img.referrerPolicy: IDL set to "o-referrer" assert_equals: getAttribute() expected "o-referrer" but got "unſafe-url" 1054 FAIL img.referrerPolicy: IDL set to "NO-REFERRER" assert_equals: getAttribute() expected "NO-REFERRER" but got "unſafe-url" 1055 FAIL img.referrerPolicy: IDL set to "no-referrer-when-downgrade" assert_equals: getAttribute() expected "no-referrer-when-downgrade" but got "unſafe-url" 1056 FAIL img.referrerPolicy: IDL set to "xno-referrer-when-downgrade" assert_equals: getAttribute() expected "xno-referrer-when-downgrade" but got "unſafe-url" 1057 FAIL img.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" assert_equals: getAttribute() expected "no-referrer-when-downgrade\0" but got "unſafe-url" 1058 FAIL img.referrerPolicy: IDL set to "o-referrer-when-downgrade" assert_equals: getAttribute() expected "o-referrer-when-downgrade" but got "unſafe-url" 1059 FAIL img.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: getAttribute() expected "NO-REFERRER-WHEN-DOWNGRADE" but got "unſafe-url" 1060 FAIL img.referrerPolicy: IDL set to "same-origin" assert_equals: getAttribute() expected "same-origin" but got "unſafe-url" 1061 FAIL img.referrerPolicy: IDL set to "xsame-origin" assert_equals: getAttribute() expected "xsame-origin" but got "unſafe-url" 1062 FAIL img.referrerPolicy: IDL set to "same-origin\0" assert_equals: getAttribute() expected "same-origin\0" but got "unſafe-url" 1063 FAIL img.referrerPolicy: IDL set to "ame-origin" assert_equals: getAttribute() expected "ame-origin" but got "unſafe-url" 1064 FAIL img.referrerPolicy: IDL set to "SAME-ORIGIN" assert_equals: getAttribute() expected "SAME-ORIGIN" but got "unſafe-url" 1065 FAIL img.referrerPolicy: IDL set to "ſame-origin" assert_equals: getAttribute() expected "ſame-origin" but got "unſafe-url" 1066 FAIL img.referrerPolicy: IDL set to "origin" assert_equals: getAttribute() expected "origin" but got "unſafe-url" 1067 FAIL img.referrerPolicy: IDL set to "xorigin" assert_equals: getAttribute() expected "xorigin" but got "unſafe-url" 1068 FAIL img.referrerPolicy: IDL set to "origin\0" assert_equals: getAttribute() expected "origin\0" but got "unſafe-url" 1069 FAIL img.referrerPolicy: IDL set to "rigin" assert_equals: getAttribute() expected "rigin" but got "unſafe-url" 1070 FAIL img.referrerPolicy: IDL set to "ORIGIN" assert_equals: getAttribute() expected "ORIGIN" but got "unſafe-url" 1071 FAIL img.referrerPolicy: IDL set to "strict-origin" assert_equals: getAttribute() expected "strict-origin" but got "unſafe-url" 1072 FAIL img.referrerPolicy: IDL set to "xstrict-origin" assert_equals: getAttribute() expected "xstrict-origin" but got "unſafe-url" 1073 FAIL img.referrerPolicy: IDL set to "strict-origin\0" assert_equals: getAttribute() expected "strict-origin\0" but got "unſafe-url" 1074 FAIL img.referrerPolicy: IDL set to "trict-origin" assert_equals: getAttribute() expected "trict-origin" but got "unſafe-url" 1075 FAIL img.referrerPolicy: IDL set to "STRICT-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN" but got "unſafe-url" 1076 FAIL img.referrerPolicy: IDL set to "ſtrict-origin" assert_equals: getAttribute() expected "ſtrict-origin" but got "unſafe-url" 1077 FAIL img.referrerPolicy: IDL set to "origin-when-cross-origin" assert_equals: getAttribute() expected "origin-when-cross-origin" but got "unſafe-url" 1078 FAIL img.referrerPolicy: IDL set to "xorigin-when-cross-origin" assert_equals: getAttribute() expected "xorigin-when-cross-origin" but got "unſafe-url" 1079 FAIL img.referrerPolicy: IDL set to "origin-when-cross-origin\0" assert_equals: getAttribute() expected "origin-when-cross-origin\0" but got "unſafe-url" 1080 FAIL img.referrerPolicy: IDL set to "rigin-when-cross-origin" assert_equals: getAttribute() expected "rigin-when-cross-origin" but got "unſafe-url" 1081 FAIL img.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "ORIGIN-WHEN-CROSS-ORIGIN" but got "unſafe-url" 1082 FAIL img.referrerPolicy: IDL set to "origin-when-croſſ-origin" assert_equals: getAttribute() expected "origin-when-croſſ-origin" but got "unſafe-url" 1083 FAIL img.referrerPolicy: IDL set to "strict-origin-when-cross-origin" assert_equals: getAttribute() expected "strict-origin-when-cross-origin" but got "unſafe-url" 1084 FAIL img.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" assert_equals: getAttribute() expected "xstrict-origin-when-cross-origin" but got "unſafe-url" 1085 FAIL img.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" assert_equals: getAttribute() expected "strict-origin-when-cross-origin\0" but got "unſafe-url" 1086 FAIL img.referrerPolicy: IDL set to "trict-origin-when-cross-origin" assert_equals: getAttribute() expected "trict-origin-when-cross-origin" but got "unſafe-url" 1087 FAIL img.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" but got "unſafe-url" 1088 FAIL img.referrerPolicy: IDL set to "ſtrict-origin-when-croſſ-origin" assert_equals: getAttribute() expected "ſtrict-origin-when-croſſ-origin" but got "unſafe-url" 1089 FAIL img.referrerPolicy: IDL set to "unsafe-url" assert_equals: getAttribute() expected "unsafe-url" but got "unſafe-url" 1090 FAIL img.referrerPolicy: IDL set to "xunsafe-url" assert_equals: getAttribute() expected "xunsafe-url" but got "unſafe-url" 1091 FAIL img.referrerPolicy: IDL set to "unsafe-url\0" assert_equals: getAttribute() expected "unsafe-url\0" but got "unſafe-url" 1092 FAIL img.referrerPolicy: IDL set to "nsafe-url" assert_equals: getAttribute() expected "nsafe-url" but got "unſafe-url" 1093 FAIL img.referrerPolicy: IDL set to "UNSAFE-URL" assert_equals: getAttribute() expected "UNSAFE-URL" but got "unſafe-url" 1094 FAIL img.referrerPolicy: IDL set to "unſafe-url" assert_equals: IDL get expected "" but got "unſafe-url" 967 PASS img.referrerPolicy: typeof IDL attribute 968 PASS img.referrerPolicy: IDL get with DOM attribute unset 969 PASS img.referrerPolicy: setAttribute() to "" 970 PASS img.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 " 971 PASS img.referrerPolicy: setAttribute() to undefined 972 PASS img.referrerPolicy: setAttribute() to 7 973 PASS img.referrerPolicy: setAttribute() to 1.5 974 PASS img.referrerPolicy: setAttribute() to "5%" 975 PASS img.referrerPolicy: setAttribute() to "+100" 976 PASS img.referrerPolicy: setAttribute() to ".5" 977 PASS img.referrerPolicy: setAttribute() to true 978 PASS img.referrerPolicy: setAttribute() to false 979 PASS img.referrerPolicy: setAttribute() to object "[object Object]" 980 PASS img.referrerPolicy: setAttribute() to NaN 981 PASS img.referrerPolicy: setAttribute() to Infinity 982 PASS img.referrerPolicy: setAttribute() to -Infinity 983 PASS img.referrerPolicy: setAttribute() to "\0" 984 PASS img.referrerPolicy: setAttribute() to null 985 PASS img.referrerPolicy: setAttribute() to object "test-toString" 986 PASS img.referrerPolicy: setAttribute() to object "test-valueOf" 987 PASS img.referrerPolicy: setAttribute() to "no-referrer" 988 PASS img.referrerPolicy: setAttribute() to "xno-referrer" 989 PASS img.referrerPolicy: setAttribute() to "no-referrer\0" 990 PASS img.referrerPolicy: setAttribute() to "o-referrer" 991 PASS img.referrerPolicy: setAttribute() to "NO-REFERRER" 992 PASS img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" 993 PASS img.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" 994 PASS img.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" 995 PASS img.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" 996 PASS img.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" 997 PASS img.referrerPolicy: setAttribute() to "same-origin" 998 PASS img.referrerPolicy: setAttribute() to "xsame-origin" 999 PASS img.referrerPolicy: setAttribute() to "same-origin\0" 1000 PASS img.referrerPolicy: setAttribute() to "ame-origin" 1001 PASS img.referrerPolicy: setAttribute() to "SAME-ORIGIN" 1002 PASS img.referrerPolicy: setAttribute() to "ſame-origin" 1003 PASS img.referrerPolicy: setAttribute() to "origin" 1004 PASS img.referrerPolicy: setAttribute() to "xorigin" 1005 PASS img.referrerPolicy: setAttribute() to "origin\0" 1006 PASS img.referrerPolicy: setAttribute() to "rigin" 1007 PASS img.referrerPolicy: setAttribute() to "ORIGIN" 1008 PASS img.referrerPolicy: setAttribute() to "strict-origin" 1009 PASS img.referrerPolicy: setAttribute() to "xstrict-origin" 1010 PASS img.referrerPolicy: setAttribute() to "strict-origin\0" 1011 PASS img.referrerPolicy: setAttribute() to "trict-origin" 1012 PASS img.referrerPolicy: setAttribute() to "STRICT-ORIGIN" 1013 PASS img.referrerPolicy: setAttribute() to "ſtrict-origin" 1014 PASS img.referrerPolicy: setAttribute() to "origin-when-cross-origin" 1015 PASS img.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" 1016 PASS img.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" 1017 PASS img.referrerPolicy: setAttribute() to "rigin-when-cross-origin" 1018 PASS img.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" 1019 PASS img.referrerPolicy: setAttribute() to "origin-when-croſſ-origin" 1020 PASS img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" 1021 PASS img.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" 1022 PASS img.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" 1023 PASS img.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" 1024 PASS img.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 1025 PASS img.referrerPolicy: setAttribute() to "ſtrict-origin-when-croſſ-origin" 1026 PASS img.referrerPolicy: setAttribute() to "unsafe-url" 1027 PASS img.referrerPolicy: setAttribute() to "xunsafe-url" 1028 PASS img.referrerPolicy: setAttribute() to "unsafe-url\0" 1029 PASS img.referrerPolicy: setAttribute() to "nsafe-url" 1030 PASS img.referrerPolicy: setAttribute() to "UNSAFE-URL" 1031 PASS img.referrerPolicy: setAttribute() to "unſafe-url" 1032 PASS img.referrerPolicy: IDL set to "" 1033 PASS img.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 " 1034 PASS img.referrerPolicy: IDL set to undefined 1035 PASS img.referrerPolicy: IDL set to 7 1036 PASS img.referrerPolicy: IDL set to 1.5 1037 PASS img.referrerPolicy: IDL set to "5%" 1038 PASS img.referrerPolicy: IDL set to "+100" 1039 PASS img.referrerPolicy: IDL set to ".5" 1040 PASS img.referrerPolicy: IDL set to true 1041 PASS img.referrerPolicy: IDL set to false 1042 PASS img.referrerPolicy: IDL set to object "[object Object]" 1043 PASS img.referrerPolicy: IDL set to NaN 1044 PASS img.referrerPolicy: IDL set to Infinity 1045 PASS img.referrerPolicy: IDL set to -Infinity 1046 PASS img.referrerPolicy: IDL set to "\0" 1047 PASS img.referrerPolicy: IDL set to null 1048 PASS img.referrerPolicy: IDL set to object "test-toString" 1049 PASS img.referrerPolicy: IDL set to object "test-valueOf" 1050 PASS img.referrerPolicy: IDL set to "no-referrer" 1051 PASS img.referrerPolicy: IDL set to "xno-referrer" 1052 PASS img.referrerPolicy: IDL set to "no-referrer\0" 1053 PASS img.referrerPolicy: IDL set to "o-referrer" 1054 PASS img.referrerPolicy: IDL set to "NO-REFERRER" 1055 PASS img.referrerPolicy: IDL set to "no-referrer-when-downgrade" 1056 PASS img.referrerPolicy: IDL set to "xno-referrer-when-downgrade" 1057 PASS img.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" 1058 PASS img.referrerPolicy: IDL set to "o-referrer-when-downgrade" 1059 PASS img.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" 1060 PASS img.referrerPolicy: IDL set to "same-origin" 1061 PASS img.referrerPolicy: IDL set to "xsame-origin" 1062 PASS img.referrerPolicy: IDL set to "same-origin\0" 1063 PASS img.referrerPolicy: IDL set to "ame-origin" 1064 PASS img.referrerPolicy: IDL set to "SAME-ORIGIN" 1065 PASS img.referrerPolicy: IDL set to "ſame-origin" 1066 PASS img.referrerPolicy: IDL set to "origin" 1067 PASS img.referrerPolicy: IDL set to "xorigin" 1068 PASS img.referrerPolicy: IDL set to "origin\0" 1069 PASS img.referrerPolicy: IDL set to "rigin" 1070 PASS img.referrerPolicy: IDL set to "ORIGIN" 1071 PASS img.referrerPolicy: IDL set to "strict-origin" 1072 PASS img.referrerPolicy: IDL set to "xstrict-origin" 1073 PASS img.referrerPolicy: IDL set to "strict-origin\0" 1074 PASS img.referrerPolicy: IDL set to "trict-origin" 1075 PASS img.referrerPolicy: IDL set to "STRICT-ORIGIN" 1076 PASS img.referrerPolicy: IDL set to "ſtrict-origin" 1077 PASS img.referrerPolicy: IDL set to "origin-when-cross-origin" 1078 PASS img.referrerPolicy: IDL set to "xorigin-when-cross-origin" 1079 PASS img.referrerPolicy: IDL set to "origin-when-cross-origin\0" 1080 PASS img.referrerPolicy: IDL set to "rigin-when-cross-origin" 1081 PASS img.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" 1082 PASS img.referrerPolicy: IDL set to "origin-when-croſſ-origin" 1083 PASS img.referrerPolicy: IDL set to "strict-origin-when-cross-origin" 1084 PASS img.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" 1085 PASS img.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" 1086 PASS img.referrerPolicy: IDL set to "trict-origin-when-cross-origin" 1087 PASS img.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 1088 PASS img.referrerPolicy: IDL set to "ſtrict-origin-when-croſſ-origin" 1089 PASS img.referrerPolicy: IDL set to "unsafe-url" 1090 PASS img.referrerPolicy: IDL set to "xunsafe-url" 1091 PASS img.referrerPolicy: IDL set to "unsafe-url\0" 1092 PASS img.referrerPolicy: IDL set to "nsafe-url" 1093 PASS img.referrerPolicy: IDL set to "UNSAFE-URL" 1094 PASS img.referrerPolicy: IDL set to "unſafe-url" 1095 1095 PASS img.decoding: typeof IDL attribute 1096 1096 FAIL img.decoding: IDL get with DOM attribute unset assert_equals: expected "auto" but got "" -
trunk/Source/WebCore/ChangeLog
r257569 r257572 1 2020-02-27 Rob Buis <rbuis@igalia.com> 2 3 Add referrerpolicy attribute support for images 4 https://bugs.webkit.org/show_bug.cgi?id=207901 5 6 Reviewed by Darin Adler. 7 8 This patch adds 'referrerpolicy' attribute support for img elements. 9 If set, the value is restricted to the ReferrerPolicy enum, and 10 if valid it is used for the script fetch. 11 If not set or invalid, the current behavior is kept. 12 13 Tests: http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http-http.html 14 http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https.html 15 http/tests/referrer-policy-img/no-referrer-when-downgrade/same-origin.html 16 http/tests/referrer-policy-img/no-referrer/cross-origin-http-http.html 17 http/tests/referrer-policy-img/no-referrer/cross-origin-http.https.html 18 http/tests/referrer-policy-img/no-referrer/same-origin.html 19 http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http-http.html 20 http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https.html 21 http/tests/referrer-policy-img/origin-when-cross-origin/same-origin.html 22 http/tests/referrer-policy-img/origin/cross-origin-http-http.html 23 http/tests/referrer-policy-img/origin/cross-origin-http.https.html 24 http/tests/referrer-policy-img/origin/same-origin.html 25 http/tests/referrer-policy-img/same-origin/cross-origin-http-http.html 26 http/tests/referrer-policy-img/same-origin/cross-origin-http.https.html 27 http/tests/referrer-policy-img/same-origin/same-origin.html 28 http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http-http.html 29 http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https.html 30 http/tests/referrer-policy-img/strict-origin-when-cross-origin/same-origin.html 31 http/tests/referrer-policy-img/strict-origin/cross-origin-http-http.html 32 http/tests/referrer-policy-img/strict-origin/cross-origin-http.https.html 33 http/tests/referrer-policy-img/strict-origin/same-origin.html 34 http/tests/referrer-policy-img/unsafe-url/cross-origin-http-http.html 35 http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https.html 36 http/tests/referrer-policy-img/unsafe-url/same-origin.html 37 38 * html/HTMLImageElement.cpp: 39 (WebCore::HTMLImageElement::setReferrerPolicyForBindings): 40 (WebCore::HTMLImageElement::referrerPolicyForBindings const): 41 (WebCore::HTMLImageElement::referrerPolicy const): 42 * html/HTMLImageElement.h: 43 * html/HTMLImageElement.idl: 44 * loader/ImageLoader.cpp: 45 (WebCore::ImageLoader::updateFromElement): 46 1 47 2020-02-27 Daniel Bates <dabates@apple.com> 2 48 -
trunk/Source/WebCore/html/HTMLImageElement.cpp
r257196 r257572 927 927 } 928 928 929 } 929 void HTMLImageElement::setReferrerPolicyForBindings(const AtomString& value) 930 { 931 setAttributeWithoutSynchronization(referrerpolicyAttr, value); 932 } 933 934 String HTMLImageElement::referrerPolicyForBindings() const 935 { 936 return referrerPolicyToString(referrerPolicy()); 937 } 938 939 ReferrerPolicy HTMLImageElement::referrerPolicy() const 940 { 941 if (RuntimeEnabledFeatures::sharedFeatures().referrerPolicyAttributeEnabled()) 942 return parseReferrerPolicy(attributeWithoutSynchronization(referrerpolicyAttr), ReferrerPolicySource::ReferrerPolicyAttribute).valueOr(ReferrerPolicy::EmptyString); 943 return ReferrerPolicy::EmptyString; 944 } 945 946 } -
trunk/Source/WebCore/html/HTMLImageElement.h
r256786 r257572 143 143 144 144 void evaluateDynamicMediaQueryDependencies(); 145 146 void setReferrerPolicyForBindings(const AtomString&); 147 String referrerPolicyForBindings() const; 148 ReferrerPolicy referrerPolicy() const; 145 149 146 150 protected: -
trunk/Source/WebCore/html/HTMLImageElement.idl
r256786 r257572 45 45 [Conditional=ATTACHMENT_ELEMENT, EnabledAtRuntime=AttachmentElement] readonly attribute DOMString attachmentIdentifier; 46 46 47 [EnabledAtRuntime=ReferrerPolicyAttribute, ImplementedAs=referrerPolicyForBindings, CEReactions=NotNeeded] attribute DOMString referrerPolicy; 47 48 [CEReactions, EnabledAtRuntime=LazyImageLoading, ImplementedAs=loadingForBindings] attribute DOMString loading; 48 49 -
trunk/Source/WebCore/loader/ImageLoader.cpp
r257054 r257572 182 182 options.contentSecurityPolicyImposition = element().isInUserAgentShadowTree() ? ContentSecurityPolicyImposition::SkipPolicyCheck : ContentSecurityPolicyImposition::DoPolicyCheck; 183 183 options.sameOriginDataURLFlag = SameOriginDataURLFlag::Set; 184 bool isImageElement = is<HTMLImageElement>(element()); 185 if (isImageElement) 186 options.referrerPolicy = downcast<HTMLImageElement>(element()).referrerPolicy(); 184 187 185 188 auto crossOriginAttribute = element().attributeWithoutSynchronization(HTMLNames::crossoriginAttr); … … 204 207 document.cachedResourceLoader().setAutoLoadImages(autoLoadOtherImages); 205 208 } else { 206 if (m_lazyImageLoadState == LazyImageLoadState::None && is <HTMLImageElement>(element())) {209 if (m_lazyImageLoadState == LazyImageLoadState::None && isImageElement) { 207 210 auto& imageElement = downcast<HTMLImageElement>(element()); 208 211 if (imageElement.isLazyLoadable() && RuntimeEnabledFeatures::sharedFeatures().lazyImageLoadingEnabled()) {
Note: See TracChangeset
for help on using the changeset viewer.