WebKit Bugzilla
Attachment 362265 Details for
Bug 179053
: Consider supporting the `referrerpolicy` attribute.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-179053-20190218091404.patch (text/plain), 90.80 KB, created by
Rob Buis
on 2019-02-18 00:14:06 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Rob Buis
Created:
2019-02-18 00:14:06 PST
Size:
90.80 KB
patch
obsolete
>Subversion Revision: 241658 >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index 2141a8fc3dfb31427975501667bd3751a04b2ce6..b33e07e22901c01ade5d1bf3e71ed28bb5362faf 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,32 @@ >+2019-02-17 Rob Buis <rbuis@igalia.com> >+ >+ Consider supporting the `referrerpolicy` attribute. >+ https://bugs.webkit.org/show_bug.cgi?id=179053 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ This patch adds 'referrerpolicy' attribute support for iframe. >+ If set, the value is restricted to the ReferrerPolicy enum, and >+ if valid it is used for the subframe load. >+ If not set or invalid, the current behavior is kept. >+ >+ Test: web-platform-tests/html/dom/reflection-embedded.html >+ >+ * html/HTMLAttributeNames.in: >+ * html/HTMLFrameOwnerElement.h: >+ (WebCore::HTMLFrameOwnerElement::referrerPolicy const): >+ * html/HTMLIFrameElement.cpp: >+ (WebCore::HTMLIFrameElement::parseAttribute): >+ (WebCore::HTMLIFrameElement::setReferrerPolicyForBindings): >+ (WebCore::HTMLIFrameElement::referrerPolicyForBindings const): >+ * html/HTMLIFrameElement.h: >+ * html/HTMLIFrameElement.idl: >+ * loader/SubframeLoader.cpp: >+ (WebCore::SubframeLoader::loadSubframe): >+ * page/RuntimeEnabledFeatures.h: >+ (WebCore::RuntimeEnabledFeatures::referrerPolicyAttributeEnabled const): >+ (WebCore::RuntimeEnabledFeatures::setReferrerPolicyAttributeEnabled): >+ > 2019-02-17 David Kilzer <ddkilzer@apple.com> > > Unreviewed, rolling out r241620. >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index 75c76adadc96ed1e361b0e6b2e4811a44e8208f4..dbd0b56ae0ac273613200f9dc8e76fe886d5bcd4 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,20 @@ >+2019-02-17 Rob Buis <rbuis@igalia.com> >+ >+ Consider supporting the `referrerpolicy` attribute. >+ https://bugs.webkit.org/show_bug.cgi?id=179053 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Add a runtime flag for referrerpolicy attribute. >+ >+ * Shared/WebPreferences.yaml: >+ * UIProcess/API/C/WKPreferences.cpp: >+ (WKPreferencesSetReferrerPolicyAttributeEnabled): >+ (WKPreferencesGetReferrerPolicyAttributeEnabled): >+ * UIProcess/API/C/WKPreferencesRefPrivate.h: >+ * WebProcess/Network/WebLoaderStrategy.cpp: >+ (WebKit::WebLoaderStrategy::loadResource): >+ > 2019-02-17 Youenn Fablet <youenn@apple.com> > > https://device.login.microsoftonline.com is hanging on STP75 >diff --git a/Source/WebKitLegacy/mac/ChangeLog b/Source/WebKitLegacy/mac/ChangeLog >index d7a3f6fb90f8c807dffbb0ede0b11f8d9f428afe..47f3eb69c1f8b7a423fca7c809eff45b33d47375 100644 >--- a/Source/WebKitLegacy/mac/ChangeLog >+++ b/Source/WebKitLegacy/mac/ChangeLog >@@ -1,3 +1,19 @@ >+2019-02-17 Rob Buis <rbuis@igalia.com> >+ >+ Consider supporting the `referrerpolicy` attribute. >+ https://bugs.webkit.org/show_bug.cgi?id=179053 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * WebView/WebPreferenceKeysPrivate.h: >+ * WebView/WebPreferences.mm: >+ (+[WebPreferences initialize]): >+ (-[WebPreferences referrerPolicyAttributeEnabled]): >+ (-[WebPreferences setReferrerPolicyAttributeEnabled:]): >+ * WebView/WebPreferencesPrivate.h: >+ * WebView/WebView.mm: >+ (-[WebView _preferencesChanged:]): >+ > 2019-02-17 David Kilzer <ddkilzer@apple.com> > > Unreviewed, rolling out r241620. >diff --git a/Source/WebCore/html/HTMLAttributeNames.in b/Source/WebCore/html/HTMLAttributeNames.in >index ec0978dd7372023c50cb63f8157d8a2436d77c95..ca64447313846943693491b86bee643c706c25ae 100644 >--- a/Source/WebCore/html/HTMLAttributeNames.in >+++ b/Source/WebCore/html/HTMLAttributeNames.in >@@ -342,6 +342,7 @@ progress > prompt > pseudo > readonly >+referrerpolicy > rel > required > results >diff --git a/Source/WebCore/html/HTMLFrameOwnerElement.h b/Source/WebCore/html/HTMLFrameOwnerElement.h >index 80f18200df0d4a74d7f0e3dbca1524560224ab39..0e9bf36d29da15e79d80e68b239cebb6c7f2478d 100644 >--- a/Source/WebCore/html/HTMLFrameOwnerElement.h >+++ b/Source/WebCore/html/HTMLFrameOwnerElement.h >@@ -21,6 +21,7 @@ > #pragma once > > #include "HTMLElement.h" >+#include "ReferrerPolicy.h" > #include <wtf/HashCountedSet.h> > #include <wtf/NeverDestroyed.h> > >@@ -60,6 +61,8 @@ public: > > virtual bool isURLAllowed(const URL&) const { return true; } > >+ virtual ReferrerPolicy referrerPolicy() const { return ReferrerPolicy::EmptyString; } >+ > protected: > HTMLFrameOwnerElement(const QualifiedName& tagName, Document&); > void setSandboxFlags(SandboxFlags); >diff --git a/Source/WebCore/html/HTMLIFrameElement.cpp b/Source/WebCore/html/HTMLIFrameElement.cpp >index 4e7319b80da63babced98774b9ab5c13d9d319a3..0242f5edfd8f7b8290353ef9c86bab3a5b7c064b 100644 >--- a/Source/WebCore/html/HTMLIFrameElement.cpp >+++ b/Source/WebCore/html/HTMLIFrameElement.cpp >@@ -95,9 +95,13 @@ void HTMLIFrameElement::parseAttribute(const QualifiedName& name, const AtomicSt > setSandboxFlags(value.isNull() ? SandboxNone : SecurityContext::parseSandboxPolicy(value, invalidTokens)); > if (!invalidTokens.isNull()) > document().addConsoleMessage(MessageSource::Other, MessageLevel::Error, "Error while parsing the 'sandbox' attribute: " + invalidTokens); >- } else if (name == allowAttr) >+ } else if (name == allowAttr) { > m_allow = value; >- else >+ } else if (name == referrerpolicyAttr) { >+ m_referrerPolicy = ReferrerPolicy::EmptyString; >+ if (auto policy = parseReferrerPolicy(value, ReferrerPolicySource::HTTPHeader)) >+ m_referrerPolicy = *policy; >+ } else > HTMLFrameElementBase::parseAttribute(name, value); > } > >@@ -111,4 +115,16 @@ RenderPtr<RenderElement> HTMLIFrameElement::createElementRenderer(RenderStyle&& > return createRenderer<RenderIFrame>(*this, WTFMove(style)); > } > >+void HTMLIFrameElement::setReferrerPolicyForBindings(const AtomicString& value) >+{ >+ setAttributeWithoutSynchronization(referrerpolicyAttr, value); >+} >+ >+String HTMLIFrameElement::referrerPolicyForBindings() const >+{ >+ if (m_referrerPolicy != ReferrerPolicy::EmptyString) >+ return attributeWithoutSynchronization(referrerpolicyAttr).convertToASCIILowercase(); >+ return String(); >+} >+ > } >diff --git a/Source/WebCore/html/HTMLIFrameElement.h b/Source/WebCore/html/HTMLIFrameElement.h >index 4521c1974a515c70e1eef7ec361a565910556ddf..8c5d356734ef96f54a2c1d7bd94f61c7d292c725 100644 >--- a/Source/WebCore/html/HTMLIFrameElement.h >+++ b/Source/WebCore/html/HTMLIFrameElement.h >@@ -40,6 +40,10 @@ public: > RenderIFrame* renderer() const; > const String& allow() const { return m_allow; } > >+ void setReferrerPolicyForBindings(const AtomicString&); >+ String referrerPolicyForBindings() const; >+ ReferrerPolicy referrerPolicy() const override { return m_referrerPolicy; } >+ > private: > HTMLIFrameElement(const QualifiedName&, Document&); > >@@ -56,6 +60,7 @@ private: > > std::unique_ptr<DOMTokenList> m_sandbox; > String m_allow; >+ ReferrerPolicy m_referrerPolicy { ReferrerPolicy::EmptyString }; > }; > > } // namespace WebCore >diff --git a/Source/WebCore/html/HTMLIFrameElement.idl b/Source/WebCore/html/HTMLIFrameElement.idl >index 21d38d05cb5fe7180b00bb8af1bf8dd9aa703507..22e40fa6f8744344367f397c2885deb93278b996 100644 >--- a/Source/WebCore/html/HTMLIFrameElement.idl >+++ b/Source/WebCore/html/HTMLIFrameElement.idl >@@ -41,4 +41,6 @@ interface HTMLIFrameElement : HTMLElement { > readonly attribute WindowProxy contentWindow; > > [CheckSecurityForNode, MayThrowException] Document getSVGDocument(); >+ >+ [EnabledAtRuntime=ReferrerPolicyAttribute, ImplementedAs=referrerPolicyForBindings, CEReactions=NotNeeded] attribute DOMString referrerPolicy; > }; >diff --git a/Source/WebCore/loader/SubframeLoader.cpp b/Source/WebCore/loader/SubframeLoader.cpp >index 78ce7c1ed4e3fd03fb6f3291f74420b25779ac8b..a38324733e6ec78474179bf29438ae63d179191a 100644 >--- a/Source/WebCore/loader/SubframeLoader.cpp >+++ b/Source/WebCore/loader/SubframeLoader.cpp >@@ -318,7 +318,12 @@ Frame* SubframeLoader::loadSubframe(HTMLFrameOwnerElement& ownerElement, const U > if (!SubframeLoadingDisabler::canLoadFrame(ownerElement)) > return nullptr; > >- String referrerToUse = SecurityPolicy::generateReferrerHeader(document->referrerPolicy(), url, referrer); >+ ReferrerPolicy policy = ReferrerPolicy::EmptyString; >+ if (RuntimeEnabledFeatures::sharedFeatures().referrerPolicyAttributeEnabled()) >+ policy = ownerElement.referrerPolicy(); >+ if (policy == ReferrerPolicy::EmptyString) >+ policy = document->referrerPolicy(); >+ String referrerToUse = SecurityPolicy::generateReferrerHeader(policy, url, referrer); > > // Prevent initial empty document load from triggering load events. > document->incrementLoadEventDelayCount(); >diff --git a/Source/WebCore/page/RuntimeEnabledFeatures.h b/Source/WebCore/page/RuntimeEnabledFeatures.h >index 7176d2ff6be776b98f9c254ecac861fb0c02637c..89c8ab7c765f88c2a0c16e83038361bf23eea162 100644 >--- a/Source/WebCore/page/RuntimeEnabledFeatures.h >+++ b/Source/WebCore/page/RuntimeEnabledFeatures.h >@@ -352,6 +352,9 @@ public: > void setMousemoveEventHandlingPreventsDefaultEnabled(bool isEnabled) { m_mousemoveEventHandlingPreventsDefaultEnabled = isEnabled; } > #endif > >+ bool referrerPolicyAttributeEnabled() const { return m_referrerPolicyAttributeEnabled; } >+ void setReferrerPolicyAttributeEnabled(bool isEnabled) { m_referrerPolicyAttributeEnabled = isEnabled; } >+ > WEBCORE_EXPORT static RuntimeEnabledFeatures& sharedFeatures(); > > private: >@@ -534,6 +537,8 @@ private: > bool m_mousemoveEventHandlingPreventsDefaultEnabled { false }; > #endif > >+ bool m_referrerPolicyAttributeEnabled { false }; >+ > friend class WTF::NeverDestroyed<RuntimeEnabledFeatures>; > }; > >diff --git a/Source/WebKit/Shared/WebPreferences.yaml b/Source/WebKit/Shared/WebPreferences.yaml >index a3c01b8ed4142653a8420c5c24953ce9b2ad5c0e..96bc15233056f225e3c9efcdf0929657835c037e 100644 >--- a/Source/WebKit/Shared/WebPreferences.yaml >+++ b/Source/WebKit/Shared/WebPreferences.yaml >@@ -1559,6 +1559,14 @@ MousemoveEventHandlingPreventsDefaultEnabled: > category: internal > condition: ENABLE(TOUCH_EVENTS) > >+ReferrerPolicyAttributeEnabled: >+ type: bool >+ defaultValue: false >+ humanReadableName: "Referrer Policy attribute" >+ humanReadableDescription: "Enable Referrer Policy attribute" >+ category: experimental >+ webcoreBinding: RuntimeEnabledFeatures >+ > # Deprecated > > ICECandidateFilteringEnabled: >diff --git a/Source/WebKit/UIProcess/API/C/WKPreferences.cpp b/Source/WebKit/UIProcess/API/C/WKPreferences.cpp >index 3051330c0c6732395a3ebe5db820279fc158f381..cfd7ed678622b048b92c47c7f8715c50b6408c02 100644 >--- a/Source/WebKit/UIProcess/API/C/WKPreferences.cpp >+++ b/Source/WebKit/UIProcess/API/C/WKPreferences.cpp >@@ -2109,3 +2109,13 @@ bool WKPreferencesGetCaptureVideoInUIProcessEnabled(WKPreferencesRef preferences > { > return toImpl(preferencesRef)->captureVideoInUIProcessEnabled(); > } >+ >+void WKPreferencesSetReferrerPolicyAttributeEnabled(WKPreferencesRef preferencesRef, bool flag) >+{ >+ toImpl(preferencesRef)->setReferrerPolicyAttributeEnabled(flag); >+} >+ >+bool WKPreferencesGetReferrerPolicyAttributeEnabled(WKPreferencesRef preferencesRef) >+{ >+ return toImpl(preferencesRef)->referrerPolicyAttributeEnabled(); >+} >diff --git a/Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h b/Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h >index 7c135d83942195756b7d67325d8b8168a9023c41..3a61bd93ff75ff07362d6f43ef1c3468b90dba0b 100644 >--- a/Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h >+++ b/Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h >@@ -580,6 +580,10 @@ WK_EXPORT bool WKPreferencesGetColorFilterEnabled(WKPreferencesRef); > WK_EXPORT void WKPreferencesSetPunchOutWhiteBackgroundsInDarkMode(WKPreferencesRef, bool flag); > WK_EXPORT bool WKPreferencesGetPunchOutWhiteBackgroundsInDarkMode(WKPreferencesRef); > >+// Defaults to false >+WK_EXPORT void WKPreferencesSetReferrerPolicyAttributeEnabled(WKPreferencesRef, bool flag); >+WK_EXPORT bool WKPreferencesGetReferrerPolicyAttributeEnabled(WKPreferencesRef); >+ > #ifdef __cplusplus > } > #endif >diff --git a/Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp b/Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp >index 0aca4d4c3c2f86164a61040e578854ca528e12c8..6a15195c4fb2b87ada4c5cd754b836238a39631d 100644 >--- a/Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp >+++ b/Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp >@@ -91,9 +91,9 @@ WebLoaderStrategy::~WebLoaderStrategy() > > void WebLoaderStrategy::loadResource(Frame& frame, CachedResource& resource, ResourceRequest&& request, const ResourceLoaderOptions& options, CompletionHandler<void(RefPtr<SubresourceLoader>&&)>&& completionHandler) > { >- SubresourceLoader::create(frame, resource, WTFMove(request), options, [this, completionHandler = WTFMove(completionHandler), resource = CachedResourceHandle<CachedResource>(&resource), frame = makeRef(frame)] (RefPtr<SubresourceLoader>&& loader) mutable { >+ SubresourceLoader::create(frame, resource, WTFMove(request), options, [this, referrerPolicy = options.referrerPolicy, completionHandler = WTFMove(completionHandler), resource = CachedResourceHandle<CachedResource>(&resource), frame = makeRef(frame)] (RefPtr<SubresourceLoader>&& loader) mutable { > if (loader) >- scheduleLoad(*loader, resource.get(), frame->document()->referrerPolicy() == ReferrerPolicy::NoReferrerWhenDowngrade); >+ scheduleLoad(*loader, resource.get(), referrerPolicy == ReferrerPolicy::NoReferrerWhenDowngrade); > else > RELEASE_LOG_IF_ALLOWED(frame.get(), "loadResource: Unable to create SubresourceLoader (frame = %p", &frame); > completionHandler(WTFMove(loader)); >diff --git a/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h b/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h >index da4d627ce823316547171406c374cb9f9a078430..e29f52af79e7db56027abd73110f5d6b3f0d1f04 100644 >--- a/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h >+++ b/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h >@@ -266,3 +266,4 @@ > #define WebKitSelectionAcrossShadowBoundariesEnabledPreferenceKey @"WebKitSelectionAcrossShadowBoundariesEnabled" > #define WebKitCSSLogicalEnabledPreferenceKey @"WebKitCSSLogicalEnabled" > #define WebKitAdClickAttributionEnabledPreferenceKey @"WebKitAdClickAttributionEnabled" >+#define WebKitReferrerPolicyAttributeEnabledPreferenceKey @"WebKitReferrerPolicyAttributeEnabled" >diff --git a/Source/WebKitLegacy/mac/WebView/WebPreferences.mm b/Source/WebKitLegacy/mac/WebView/WebPreferences.mm >index 261ff1758d57f9db80ff85703a4e4a0ffe2ba054..e05b0dfe5989978227f27223379488beea6c181b 100644 >--- a/Source/WebKitLegacy/mac/WebView/WebPreferences.mm >+++ b/Source/WebKitLegacy/mac/WebView/WebPreferences.mm >@@ -693,6 +693,7 @@ public: > @NO, WebKitMediaCapabilitiesEnabledPreferenceKey, > @NO, WebKitFetchAPIKeepAliveEnabledPreferenceKey, > @NO, WebKitServerTimingEnabledPreferenceKey, >+ @NO, WebKitReferrerPolicyAttributeEnabledPreferenceKey, > nil]; > > #if !PLATFORM(IOS_FAMILY) >@@ -3441,6 +3442,16 @@ static NSString *classIBCreatorID = nil; > [self _setBoolValue:flag forKey:WebKitAdClickAttributionEnabledPreferenceKey]; > } > >+- (BOOL)referrerPolicyAttributeEnabled >+{ >+ return [self _boolValueForKey:WebKitReferrerPolicyAttributeEnabledPreferenceKey]; >+} >+ >+- (void)setReferrerPolicyAttributeEnabled:(BOOL)flag >+{ >+ [self _setBoolValue:flag forKey:WebKitReferrerPolicyAttributeEnabledPreferenceKey]; >+} >+ > @end > > @implementation WebPreferences (WebInternal) >diff --git a/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h b/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h >index ffaf05a58c6c4f709e2758072f982412e3f3c308..3eec8e70e948e921b36eb10c8522c46534c111cf 100644 >--- a/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h >+++ b/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h >@@ -588,6 +588,9 @@ extern NSString *WebPreferencesCacheModelChangedInternalNotification WEBKIT_DEPR > - (BOOL)adClickAttributionEnabled; > - (void)setAdClickAttributionEnabled:(BOOL)flag; > >+- (void)setReferrerPolicyAttributeEnabled:(BOOL)flag; >+- (BOOL)referrerPolicyAttributeEnabled; >+ > @property (nonatomic) BOOL visualViewportEnabled; > @property (nonatomic) BOOL visualViewportAPIEnabled; > @property (nonatomic) BOOL CSSOMViewScrollingAPIEnabled; >@@ -619,6 +622,7 @@ extern NSString *WebPreferencesCacheModelChangedInternalNotification WEBKIT_DEPR > @property (nonatomic) BOOL mediaRecorderEnabled; > @property (nonatomic) BOOL allowCrossOriginSubresourcesToAskForCredentials; > @property (nonatomic) BOOL sourceBufferChangeTypeEnabled; >+@property (nonatomic) BOOL referrerPolicyAttributeEnabled; > > #if TARGET_OS_IPHONE > @property (nonatomic) BOOL quickLookDocumentSavingEnabled; >diff --git a/Source/WebKitLegacy/mac/WebView/WebView.mm b/Source/WebKitLegacy/mac/WebView/WebView.mm >index 480f88502cb5bd55d7ea6d6702a6c6976520c018..0128cd96826e2cf6925b5025a805047597e38ce2 100644 >--- a/Source/WebKitLegacy/mac/WebView/WebView.mm >+++ b/Source/WebKitLegacy/mac/WebView/WebView.mm >@@ -3166,6 +3166,7 @@ static bool needsSelfRetainWhileLoadingQuirk() > RuntimeEnabledFeatures::sharedFeatures().setAccessibilityObjectModelEnabled([preferences accessibilityObjectModelEnabled]); > RuntimeEnabledFeatures::sharedFeatures().setAriaReflectionEnabled([preferences ariaReflectionEnabled]); > RuntimeEnabledFeatures::sharedFeatures().setFetchAPIKeepAliveEnabled([preferences fetchAPIKeepAliveEnabled]); >+ RuntimeEnabledFeatures::sharedFeatures().setReferrerPolicyAttributeEnabled([preferences referrerPolicyAttributeEnabled]); > > #if ENABLE(LEGACY_ENCRYPTED_MEDIA) > RuntimeEnabledFeatures::sharedFeatures().setLegacyEncryptedMediaAPIEnabled(preferences.legacyEncryptedMediaAPIEnabled); >diff --git a/Tools/DumpRenderTree/mac/DumpRenderTree.mm b/Tools/DumpRenderTree/mac/DumpRenderTree.mm >index b052412b0fc3d1b9a9df1340f2f56cf8394bcf6a..5c6e16849a26e7bbdb8e05f685f9a580c41ab4e7 100644 >--- a/Tools/DumpRenderTree/mac/DumpRenderTree.mm >+++ b/Tools/DumpRenderTree/mac/DumpRenderTree.mm >@@ -875,6 +875,7 @@ static void enableExperimentalFeatures(WebPreferences* preferences) > preferences.sourceBufferChangeTypeEnabled = YES; > [preferences setCSSOMViewScrollingAPIEnabled:YES]; > [preferences setMediaRecorderEnabled:YES]; >+ [preferences setReferrerPolicyAttributeEnabled:YES]; > } > > // Called before each test. >diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog >index aff6228eb60819cc69266067fa02eada18d9bc28..71f3a1082245135afbb7b5d32c0b228eff94de12 100644 >--- a/LayoutTests/ChangeLog >+++ b/LayoutTests/ChangeLog >@@ -1,3 +1,15 @@ >+2019-02-17 Rob Buis <rbuis@igalia.com> >+ >+ Consider supporting the `referrerpolicy` attribute. >+ https://bugs.webkit.org/show_bug.cgi?id=179053 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Update improved results. >+ >+ * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt: >+ * platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt: >+ > 2019-02-17 Fujii Hironori <Hironori.Fujii@sony.com> > > Use dumpJSConsoleLogInStdErr=true webkit-test-runner option for non-imported tests instead of using DumpJSConsoleLogInStdErr expectation in TestExpectations >diff --git a/LayoutTests/imported/w3c/ChangeLog b/LayoutTests/imported/w3c/ChangeLog >index ce0540cfd917401df3c0d21ea179995c63b0ba92..5b8583c00a4e7f55bebe275d6e551006acaf7e26 100644 >--- a/LayoutTests/imported/w3c/ChangeLog >+++ b/LayoutTests/imported/w3c/ChangeLog >@@ -1,3 +1,15 @@ >+2019-02-17 Rob Buis <rbuis@igalia.com> >+ >+ Consider supporting the `referrerpolicy` attribute. >+ https://bugs.webkit.org/show_bug.cgi?id=179053 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Update improved results. >+ >+ * web-platform-tests/html/dom/reflection-embedded-expected.txt: >+ * web-platform-tests/html/dom/reflection-embedded.html: >+ > 2019-02-12 Rob Buis <rbuis@igalia.com> > > Align with Fetch on data: URLs >diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt >index 28d583b99999061e0f94b93fb5e3e62d14d60481..27fcdf7b9c65a2df7fb62b10aa9c2a2644802f88 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt >@@ -1746,118 +1746,118 @@ PASS iframe.height: IDL set to "\0" > PASS iframe.height: IDL set to null > PASS iframe.height: IDL set to object "test-toString" > PASS iframe.height: IDL set to object "test-valueOf" >-FAIL iframe.referrerPolicy: typeof IDL attribute assert_equals: expected "string" but got "undefined" >-FAIL iframe.referrerPolicy: IDL get with DOM attribute unset assert_equals: expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to undefined assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to 7 assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to 1.5 assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to true assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to false assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to object "[object Object]" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to NaN assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to -Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to null assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to object "test-toString" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to object "test-valueOf" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "no-referrer" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "no-referrer\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "o-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "same-origin" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xsame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "same-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "ame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "origin" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xorigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "rigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "strict-origin" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "strict-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "trict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xunsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "nsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined >-FAIL iframe.referrerPolicy: IDL set to "" assert_equals: getAttribute() expected "" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " assert_equals: getAttribute() expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to 7 assert_equals: getAttribute() expected "7" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to true assert_equals: getAttribute() expected "true" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to false assert_equals: getAttribute() expected "false" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to null assert_equals: IDL get expected (string) "" but got (object) null >-FAIL iframe.referrerPolicy: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "no-referrer" assert_equals: getAttribute() expected "no-referrer" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xno-referrer" assert_equals: getAttribute() expected "xno-referrer" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "no-referrer\0" assert_equals: getAttribute() expected "no-referrer\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "o-referrer" assert_equals: getAttribute() expected "o-referrer" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER" assert_equals: getAttribute() expected "NO-REFERRER" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" assert_equals: getAttribute() expected "no-referrer-when-downgrade" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" assert_equals: getAttribute() expected "xno-referrer-when-downgrade" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" assert_equals: getAttribute() expected "no-referrer-when-downgrade\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" assert_equals: getAttribute() expected "o-referrer-when-downgrade" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: getAttribute() expected "NO-REFERRER-WHEN-DOWNGRADE" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "same-origin" assert_equals: getAttribute() expected "same-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xsame-origin" assert_equals: getAttribute() expected "xsame-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "same-origin\0" assert_equals: getAttribute() expected "same-origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "ame-origin" assert_equals: getAttribute() expected "ame-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "SAME-ORIGIN" assert_equals: getAttribute() expected "SAME-ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "origin" assert_equals: getAttribute() expected "origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xorigin" assert_equals: getAttribute() expected "xorigin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "origin\0" assert_equals: getAttribute() expected "origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "rigin" assert_equals: getAttribute() expected "rigin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "ORIGIN" assert_equals: getAttribute() expected "ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "strict-origin" assert_equals: getAttribute() expected "strict-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xstrict-origin" assert_equals: getAttribute() expected "xstrict-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "strict-origin\0" assert_equals: getAttribute() expected "strict-origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "trict-origin" assert_equals: getAttribute() expected "trict-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin" assert_equals: getAttribute() expected "origin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" assert_equals: getAttribute() expected "xorigin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" assert_equals: getAttribute() expected "origin-when-cross-origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" assert_equals: getAttribute() expected "rigin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" assert_equals: getAttribute() expected "strict-origin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" assert_equals: getAttribute() expected "xstrict-origin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" assert_equals: getAttribute() expected "strict-origin-when-cross-origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" assert_equals: getAttribute() expected "trict-origin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "unsafe-url" assert_equals: getAttribute() expected "unsafe-url" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xunsafe-url" assert_equals: getAttribute() expected "xunsafe-url" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "unsafe-url\0" assert_equals: getAttribute() expected "unsafe-url\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "nsafe-url" assert_equals: getAttribute() expected "nsafe-url" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "UNSAFE-URL" assert_equals: IDL get expected "unsafe-url" but got "UNSAFE-URL" >+PASS iframe.referrerPolicy: typeof IDL attribute >+PASS iframe.referrerPolicy: IDL get with DOM attribute unset >+PASS iframe.referrerPolicy: setAttribute() to "" >+PASS iframe.referrerPolicy: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " >+PASS iframe.referrerPolicy: setAttribute() to undefined >+PASS iframe.referrerPolicy: setAttribute() to 7 >+PASS iframe.referrerPolicy: setAttribute() to 1.5 >+PASS iframe.referrerPolicy: setAttribute() to true >+PASS iframe.referrerPolicy: setAttribute() to false >+PASS iframe.referrerPolicy: setAttribute() to object "[object Object]" >+PASS iframe.referrerPolicy: setAttribute() to NaN >+PASS iframe.referrerPolicy: setAttribute() to Infinity >+PASS iframe.referrerPolicy: setAttribute() to -Infinity >+PASS iframe.referrerPolicy: setAttribute() to "\0" >+PASS iframe.referrerPolicy: setAttribute() to null >+PASS iframe.referrerPolicy: setAttribute() to object "test-toString" >+PASS iframe.referrerPolicy: setAttribute() to object "test-valueOf" >+PASS iframe.referrerPolicy: setAttribute() to "no-referrer" >+PASS iframe.referrerPolicy: setAttribute() to "xno-referrer" >+PASS iframe.referrerPolicy: setAttribute() to "no-referrer\0" >+PASS iframe.referrerPolicy: setAttribute() to "o-referrer" >+PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER" >+PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" >+PASS iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" >+PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" >+PASS iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" >+PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" >+PASS iframe.referrerPolicy: setAttribute() to "same-origin" >+PASS iframe.referrerPolicy: setAttribute() to "xsame-origin" >+PASS iframe.referrerPolicy: setAttribute() to "same-origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "ame-origin" >+PASS iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "origin" >+PASS iframe.referrerPolicy: setAttribute() to "xorigin" >+PASS iframe.referrerPolicy: setAttribute() to "origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "rigin" >+PASS iframe.referrerPolicy: setAttribute() to "ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "strict-origin" >+PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin" >+PASS iframe.referrerPolicy: setAttribute() to "strict-origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "trict-origin" >+PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "unsafe-url" >+PASS iframe.referrerPolicy: setAttribute() to "xunsafe-url" >+PASS iframe.referrerPolicy: setAttribute() to "unsafe-url\0" >+PASS iframe.referrerPolicy: setAttribute() to "nsafe-url" >+PASS iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" >+PASS iframe.referrerPolicy: IDL set to "" >+PASS iframe.referrerPolicy: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " >+PASS iframe.referrerPolicy: IDL set to undefined >+PASS iframe.referrerPolicy: IDL set to 7 >+PASS iframe.referrerPolicy: IDL set to 1.5 >+PASS iframe.referrerPolicy: IDL set to true >+PASS iframe.referrerPolicy: IDL set to false >+PASS iframe.referrerPolicy: IDL set to object "[object Object]" >+PASS iframe.referrerPolicy: IDL set to NaN >+PASS iframe.referrerPolicy: IDL set to Infinity >+PASS iframe.referrerPolicy: IDL set to -Infinity >+PASS iframe.referrerPolicy: IDL set to "\0" >+PASS iframe.referrerPolicy: IDL set to null >+PASS iframe.referrerPolicy: IDL set to object "test-toString" >+PASS iframe.referrerPolicy: IDL set to object "test-valueOf" >+PASS iframe.referrerPolicy: IDL set to "no-referrer" >+PASS iframe.referrerPolicy: IDL set to "xno-referrer" >+PASS iframe.referrerPolicy: IDL set to "no-referrer\0" >+PASS iframe.referrerPolicy: IDL set to "o-referrer" >+PASS iframe.referrerPolicy: IDL set to "NO-REFERRER" >+PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" >+PASS iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" >+PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" >+PASS iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" >+PASS iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" >+PASS iframe.referrerPolicy: IDL set to "same-origin" >+PASS iframe.referrerPolicy: IDL set to "xsame-origin" >+PASS iframe.referrerPolicy: IDL set to "same-origin\0" >+PASS iframe.referrerPolicy: IDL set to "ame-origin" >+PASS iframe.referrerPolicy: IDL set to "SAME-ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "origin" >+PASS iframe.referrerPolicy: IDL set to "xorigin" >+PASS iframe.referrerPolicy: IDL set to "origin\0" >+PASS iframe.referrerPolicy: IDL set to "rigin" >+PASS iframe.referrerPolicy: IDL set to "ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "strict-origin" >+PASS iframe.referrerPolicy: IDL set to "xstrict-origin" >+PASS iframe.referrerPolicy: IDL set to "strict-origin\0" >+PASS iframe.referrerPolicy: IDL set to "trict-origin" >+PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" >+PASS iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" >+PASS iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "unsafe-url" >+PASS iframe.referrerPolicy: IDL set to "xunsafe-url" >+PASS iframe.referrerPolicy: IDL set to "unsafe-url\0" >+PASS iframe.referrerPolicy: IDL set to "nsafe-url" >+PASS iframe.referrerPolicy: IDL set to "UNSAFE-URL" > FAIL iframe.delegateStickyUserActivation: typeof IDL attribute assert_equals: expected "string" but got "undefined" > FAIL iframe.delegateStickyUserActivation: setAttribute() to "vibration" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined > FAIL iframe.delegateStickyUserActivation: setAttribute() to "VIBRATION" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined >diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded.html b/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded.html >index 0a362f817a5e7fb630cc4c0317fc80fe59cf4ab3..49b8051b129e70f60407801a98f0cbc821469913 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded.html >@@ -1,4 +1,4 @@ >-<!doctype html> >+<!DOCTYPE html> > <title>HTML5 reflection tests: embedded elements</title> > <meta name=timeout content=long> > <p>Implementers looking to fix bugs might want to use the <a >diff --git a/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt b/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt >index 28d583b99999061e0f94b93fb5e3e62d14d60481..27fcdf7b9c65a2df7fb62b10aa9c2a2644802f88 100644 >--- a/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt >+++ b/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt >@@ -1746,118 +1746,118 @@ PASS iframe.height: IDL set to "\0" > PASS iframe.height: IDL set to null > PASS iframe.height: IDL set to object "test-toString" > PASS iframe.height: IDL set to object "test-valueOf" >-FAIL iframe.referrerPolicy: typeof IDL attribute assert_equals: expected "string" but got "undefined" >-FAIL iframe.referrerPolicy: IDL get with DOM attribute unset assert_equals: expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to undefined assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to 7 assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to 1.5 assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to true assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to false assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to object "[object Object]" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to NaN assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to -Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to null assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to object "test-toString" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to object "test-valueOf" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "no-referrer" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "no-referrer\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "o-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "same-origin" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xsame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "same-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "ame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "origin" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xorigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "rigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "strict-origin" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "strict-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "trict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xunsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "nsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined >-FAIL iframe.referrerPolicy: IDL set to "" assert_equals: getAttribute() expected "" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " assert_equals: getAttribute() expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to 7 assert_equals: getAttribute() expected "7" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to true assert_equals: getAttribute() expected "true" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to false assert_equals: getAttribute() expected "false" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to null assert_equals: IDL get expected (string) "" but got (object) null >-FAIL iframe.referrerPolicy: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "no-referrer" assert_equals: getAttribute() expected "no-referrer" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xno-referrer" assert_equals: getAttribute() expected "xno-referrer" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "no-referrer\0" assert_equals: getAttribute() expected "no-referrer\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "o-referrer" assert_equals: getAttribute() expected "o-referrer" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER" assert_equals: getAttribute() expected "NO-REFERRER" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" assert_equals: getAttribute() expected "no-referrer-when-downgrade" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" assert_equals: getAttribute() expected "xno-referrer-when-downgrade" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" assert_equals: getAttribute() expected "no-referrer-when-downgrade\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" assert_equals: getAttribute() expected "o-referrer-when-downgrade" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: getAttribute() expected "NO-REFERRER-WHEN-DOWNGRADE" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "same-origin" assert_equals: getAttribute() expected "same-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xsame-origin" assert_equals: getAttribute() expected "xsame-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "same-origin\0" assert_equals: getAttribute() expected "same-origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "ame-origin" assert_equals: getAttribute() expected "ame-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "SAME-ORIGIN" assert_equals: getAttribute() expected "SAME-ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "origin" assert_equals: getAttribute() expected "origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xorigin" assert_equals: getAttribute() expected "xorigin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "origin\0" assert_equals: getAttribute() expected "origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "rigin" assert_equals: getAttribute() expected "rigin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "ORIGIN" assert_equals: getAttribute() expected "ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "strict-origin" assert_equals: getAttribute() expected "strict-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xstrict-origin" assert_equals: getAttribute() expected "xstrict-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "strict-origin\0" assert_equals: getAttribute() expected "strict-origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "trict-origin" assert_equals: getAttribute() expected "trict-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin" assert_equals: getAttribute() expected "origin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" assert_equals: getAttribute() expected "xorigin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" assert_equals: getAttribute() expected "origin-when-cross-origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" assert_equals: getAttribute() expected "rigin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" assert_equals: getAttribute() expected "strict-origin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" assert_equals: getAttribute() expected "xstrict-origin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" assert_equals: getAttribute() expected "strict-origin-when-cross-origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" assert_equals: getAttribute() expected "trict-origin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "unsafe-url" assert_equals: getAttribute() expected "unsafe-url" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xunsafe-url" assert_equals: getAttribute() expected "xunsafe-url" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "unsafe-url\0" assert_equals: getAttribute() expected "unsafe-url\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "nsafe-url" assert_equals: getAttribute() expected "nsafe-url" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "UNSAFE-URL" assert_equals: IDL get expected "unsafe-url" but got "UNSAFE-URL" >+PASS iframe.referrerPolicy: typeof IDL attribute >+PASS iframe.referrerPolicy: IDL get with DOM attribute unset >+PASS iframe.referrerPolicy: setAttribute() to "" >+PASS iframe.referrerPolicy: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " >+PASS iframe.referrerPolicy: setAttribute() to undefined >+PASS iframe.referrerPolicy: setAttribute() to 7 >+PASS iframe.referrerPolicy: setAttribute() to 1.5 >+PASS iframe.referrerPolicy: setAttribute() to true >+PASS iframe.referrerPolicy: setAttribute() to false >+PASS iframe.referrerPolicy: setAttribute() to object "[object Object]" >+PASS iframe.referrerPolicy: setAttribute() to NaN >+PASS iframe.referrerPolicy: setAttribute() to Infinity >+PASS iframe.referrerPolicy: setAttribute() to -Infinity >+PASS iframe.referrerPolicy: setAttribute() to "\0" >+PASS iframe.referrerPolicy: setAttribute() to null >+PASS iframe.referrerPolicy: setAttribute() to object "test-toString" >+PASS iframe.referrerPolicy: setAttribute() to object "test-valueOf" >+PASS iframe.referrerPolicy: setAttribute() to "no-referrer" >+PASS iframe.referrerPolicy: setAttribute() to "xno-referrer" >+PASS iframe.referrerPolicy: setAttribute() to "no-referrer\0" >+PASS iframe.referrerPolicy: setAttribute() to "o-referrer" >+PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER" >+PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" >+PASS iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" >+PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" >+PASS iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" >+PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" >+PASS iframe.referrerPolicy: setAttribute() to "same-origin" >+PASS iframe.referrerPolicy: setAttribute() to "xsame-origin" >+PASS iframe.referrerPolicy: setAttribute() to "same-origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "ame-origin" >+PASS iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "origin" >+PASS iframe.referrerPolicy: setAttribute() to "xorigin" >+PASS iframe.referrerPolicy: setAttribute() to "origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "rigin" >+PASS iframe.referrerPolicy: setAttribute() to "ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "strict-origin" >+PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin" >+PASS iframe.referrerPolicy: setAttribute() to "strict-origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "trict-origin" >+PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "unsafe-url" >+PASS iframe.referrerPolicy: setAttribute() to "xunsafe-url" >+PASS iframe.referrerPolicy: setAttribute() to "unsafe-url\0" >+PASS iframe.referrerPolicy: setAttribute() to "nsafe-url" >+PASS iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" >+PASS iframe.referrerPolicy: IDL set to "" >+PASS iframe.referrerPolicy: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " >+PASS iframe.referrerPolicy: IDL set to undefined >+PASS iframe.referrerPolicy: IDL set to 7 >+PASS iframe.referrerPolicy: IDL set to 1.5 >+PASS iframe.referrerPolicy: IDL set to true >+PASS iframe.referrerPolicy: IDL set to false >+PASS iframe.referrerPolicy: IDL set to object "[object Object]" >+PASS iframe.referrerPolicy: IDL set to NaN >+PASS iframe.referrerPolicy: IDL set to Infinity >+PASS iframe.referrerPolicy: IDL set to -Infinity >+PASS iframe.referrerPolicy: IDL set to "\0" >+PASS iframe.referrerPolicy: IDL set to null >+PASS iframe.referrerPolicy: IDL set to object "test-toString" >+PASS iframe.referrerPolicy: IDL set to object "test-valueOf" >+PASS iframe.referrerPolicy: IDL set to "no-referrer" >+PASS iframe.referrerPolicy: IDL set to "xno-referrer" >+PASS iframe.referrerPolicy: IDL set to "no-referrer\0" >+PASS iframe.referrerPolicy: IDL set to "o-referrer" >+PASS iframe.referrerPolicy: IDL set to "NO-REFERRER" >+PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" >+PASS iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" >+PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" >+PASS iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" >+PASS iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" >+PASS iframe.referrerPolicy: IDL set to "same-origin" >+PASS iframe.referrerPolicy: IDL set to "xsame-origin" >+PASS iframe.referrerPolicy: IDL set to "same-origin\0" >+PASS iframe.referrerPolicy: IDL set to "ame-origin" >+PASS iframe.referrerPolicy: IDL set to "SAME-ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "origin" >+PASS iframe.referrerPolicy: IDL set to "xorigin" >+PASS iframe.referrerPolicy: IDL set to "origin\0" >+PASS iframe.referrerPolicy: IDL set to "rigin" >+PASS iframe.referrerPolicy: IDL set to "ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "strict-origin" >+PASS iframe.referrerPolicy: IDL set to "xstrict-origin" >+PASS iframe.referrerPolicy: IDL set to "strict-origin\0" >+PASS iframe.referrerPolicy: IDL set to "trict-origin" >+PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" >+PASS iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" >+PASS iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "unsafe-url" >+PASS iframe.referrerPolicy: IDL set to "xunsafe-url" >+PASS iframe.referrerPolicy: IDL set to "unsafe-url\0" >+PASS iframe.referrerPolicy: IDL set to "nsafe-url" >+PASS iframe.referrerPolicy: IDL set to "UNSAFE-URL" > FAIL iframe.delegateStickyUserActivation: typeof IDL attribute assert_equals: expected "string" but got "undefined" > FAIL iframe.delegateStickyUserActivation: setAttribute() to "vibration" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined > FAIL iframe.delegateStickyUserActivation: setAttribute() to "VIBRATION" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined >diff --git a/LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt b/LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt >index 1a36ecb5ffe925266eafe41a4420e3150a55191c..446e8a145062e2a6b7d95033d91b9a3560f45c0b 100644 >--- a/LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt >+++ b/LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt >@@ -1439,118 +1439,118 @@ PASS iframe.height: IDL set to "\0" > PASS iframe.height: IDL set to null > PASS iframe.height: IDL set to object "test-toString" > PASS iframe.height: IDL set to object "test-valueOf" >-FAIL iframe.referrerPolicy: typeof IDL attribute assert_equals: expected "string" but got "undefined" >-FAIL iframe.referrerPolicy: IDL get with DOM attribute unset assert_equals: expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to undefined assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to 7 assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to 1.5 assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to true assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to false assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to object "[object Object]" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to NaN assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to -Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to null assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to object "test-toString" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to object "test-valueOf" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "no-referrer" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "no-referrer\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "o-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "same-origin" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xsame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "same-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "ame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "origin" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xorigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "rigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "strict-origin" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "strict-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "trict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "xunsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "nsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined >-FAIL iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined >-FAIL iframe.referrerPolicy: IDL set to "" assert_equals: getAttribute() expected "" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " assert_equals: getAttribute() expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to 7 assert_equals: getAttribute() expected "7" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to true assert_equals: getAttribute() expected "true" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to false assert_equals: getAttribute() expected "false" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to null assert_equals: IDL get expected (string) "" but got (object) null >-FAIL iframe.referrerPolicy: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "no-referrer" assert_equals: getAttribute() expected "no-referrer" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xno-referrer" assert_equals: getAttribute() expected "xno-referrer" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "no-referrer\0" assert_equals: getAttribute() expected "no-referrer\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "o-referrer" assert_equals: getAttribute() expected "o-referrer" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER" assert_equals: getAttribute() expected "NO-REFERRER" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" assert_equals: getAttribute() expected "no-referrer-when-downgrade" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" assert_equals: getAttribute() expected "xno-referrer-when-downgrade" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" assert_equals: getAttribute() expected "no-referrer-when-downgrade\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" assert_equals: getAttribute() expected "o-referrer-when-downgrade" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: getAttribute() expected "NO-REFERRER-WHEN-DOWNGRADE" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "same-origin" assert_equals: getAttribute() expected "same-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xsame-origin" assert_equals: getAttribute() expected "xsame-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "same-origin\0" assert_equals: getAttribute() expected "same-origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "ame-origin" assert_equals: getAttribute() expected "ame-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "SAME-ORIGIN" assert_equals: getAttribute() expected "SAME-ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "origin" assert_equals: getAttribute() expected "origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xorigin" assert_equals: getAttribute() expected "xorigin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "origin\0" assert_equals: getAttribute() expected "origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "rigin" assert_equals: getAttribute() expected "rigin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "ORIGIN" assert_equals: getAttribute() expected "ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "strict-origin" assert_equals: getAttribute() expected "strict-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xstrict-origin" assert_equals: getAttribute() expected "xstrict-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "strict-origin\0" assert_equals: getAttribute() expected "strict-origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "trict-origin" assert_equals: getAttribute() expected "trict-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin" assert_equals: getAttribute() expected "origin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" assert_equals: getAttribute() expected "xorigin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" assert_equals: getAttribute() expected "origin-when-cross-origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" assert_equals: getAttribute() expected "rigin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" assert_equals: getAttribute() expected "strict-origin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" assert_equals: getAttribute() expected "xstrict-origin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" assert_equals: getAttribute() expected "strict-origin-when-cross-origin\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" assert_equals: getAttribute() expected "trict-origin-when-cross-origin" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "unsafe-url" assert_equals: getAttribute() expected "unsafe-url" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "xunsafe-url" assert_equals: getAttribute() expected "xunsafe-url" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "unsafe-url\0" assert_equals: getAttribute() expected "unsafe-url\0" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "nsafe-url" assert_equals: getAttribute() expected "nsafe-url" but got "UNSAFE-URL" >-FAIL iframe.referrerPolicy: IDL set to "UNSAFE-URL" assert_equals: IDL get expected "unsafe-url" but got "UNSAFE-URL" >+PASS iframe.referrerPolicy: typeof IDL attribute >+PASS iframe.referrerPolicy: IDL get with DOM attribute unset >+PASS iframe.referrerPolicy: setAttribute() to "" >+PASS iframe.referrerPolicy: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " >+PASS iframe.referrerPolicy: setAttribute() to undefined >+PASS iframe.referrerPolicy: setAttribute() to 7 >+PASS iframe.referrerPolicy: setAttribute() to 1.5 >+PASS iframe.referrerPolicy: setAttribute() to true >+PASS iframe.referrerPolicy: setAttribute() to false >+PASS iframe.referrerPolicy: setAttribute() to object "[object Object]" >+PASS iframe.referrerPolicy: setAttribute() to NaN >+PASS iframe.referrerPolicy: setAttribute() to Infinity >+PASS iframe.referrerPolicy: setAttribute() to -Infinity >+PASS iframe.referrerPolicy: setAttribute() to "\0" >+PASS iframe.referrerPolicy: setAttribute() to null >+PASS iframe.referrerPolicy: setAttribute() to object "test-toString" >+PASS iframe.referrerPolicy: setAttribute() to object "test-valueOf" >+PASS iframe.referrerPolicy: setAttribute() to "no-referrer" >+PASS iframe.referrerPolicy: setAttribute() to "xno-referrer" >+PASS iframe.referrerPolicy: setAttribute() to "no-referrer\0" >+PASS iframe.referrerPolicy: setAttribute() to "o-referrer" >+PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER" >+PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" >+PASS iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" >+PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" >+PASS iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" >+PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" >+PASS iframe.referrerPolicy: setAttribute() to "same-origin" >+PASS iframe.referrerPolicy: setAttribute() to "xsame-origin" >+PASS iframe.referrerPolicy: setAttribute() to "same-origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "ame-origin" >+PASS iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "origin" >+PASS iframe.referrerPolicy: setAttribute() to "xorigin" >+PASS iframe.referrerPolicy: setAttribute() to "origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "rigin" >+PASS iframe.referrerPolicy: setAttribute() to "ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "strict-origin" >+PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin" >+PASS iframe.referrerPolicy: setAttribute() to "strict-origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "trict-origin" >+PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" >+PASS iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" >+PASS iframe.referrerPolicy: setAttribute() to "unsafe-url" >+PASS iframe.referrerPolicy: setAttribute() to "xunsafe-url" >+PASS iframe.referrerPolicy: setAttribute() to "unsafe-url\0" >+PASS iframe.referrerPolicy: setAttribute() to "nsafe-url" >+PASS iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" >+PASS iframe.referrerPolicy: IDL set to "" >+PASS iframe.referrerPolicy: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " >+PASS iframe.referrerPolicy: IDL set to undefined >+PASS iframe.referrerPolicy: IDL set to 7 >+PASS iframe.referrerPolicy: IDL set to 1.5 >+PASS iframe.referrerPolicy: IDL set to true >+PASS iframe.referrerPolicy: IDL set to false >+PASS iframe.referrerPolicy: IDL set to object "[object Object]" >+PASS iframe.referrerPolicy: IDL set to NaN >+PASS iframe.referrerPolicy: IDL set to Infinity >+PASS iframe.referrerPolicy: IDL set to -Infinity >+PASS iframe.referrerPolicy: IDL set to "\0" >+PASS iframe.referrerPolicy: IDL set to null >+PASS iframe.referrerPolicy: IDL set to object "test-toString" >+PASS iframe.referrerPolicy: IDL set to object "test-valueOf" >+PASS iframe.referrerPolicy: IDL set to "no-referrer" >+PASS iframe.referrerPolicy: IDL set to "xno-referrer" >+PASS iframe.referrerPolicy: IDL set to "no-referrer\0" >+PASS iframe.referrerPolicy: IDL set to "o-referrer" >+PASS iframe.referrerPolicy: IDL set to "NO-REFERRER" >+PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" >+PASS iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" >+PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" >+PASS iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" >+PASS iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" >+PASS iframe.referrerPolicy: IDL set to "same-origin" >+PASS iframe.referrerPolicy: IDL set to "xsame-origin" >+PASS iframe.referrerPolicy: IDL set to "same-origin\0" >+PASS iframe.referrerPolicy: IDL set to "ame-origin" >+PASS iframe.referrerPolicy: IDL set to "SAME-ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "origin" >+PASS iframe.referrerPolicy: IDL set to "xorigin" >+PASS iframe.referrerPolicy: IDL set to "origin\0" >+PASS iframe.referrerPolicy: IDL set to "rigin" >+PASS iframe.referrerPolicy: IDL set to "ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "strict-origin" >+PASS iframe.referrerPolicy: IDL set to "xstrict-origin" >+PASS iframe.referrerPolicy: IDL set to "strict-origin\0" >+PASS iframe.referrerPolicy: IDL set to "trict-origin" >+PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" >+PASS iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" >+PASS iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" >+PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" >+PASS iframe.referrerPolicy: IDL set to "unsafe-url" >+PASS iframe.referrerPolicy: IDL set to "xunsafe-url" >+PASS iframe.referrerPolicy: IDL set to "unsafe-url\0" >+PASS iframe.referrerPolicy: IDL set to "nsafe-url" >+PASS iframe.referrerPolicy: IDL set to "UNSAFE-URL" > PASS iframe.align: typeof IDL attribute > PASS iframe.align: IDL get with DOM attribute unset > PASS iframe.align: setAttribute() to ""
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 179053
:
361628
|
361629
|
361630
|
361631
|
361636
|
361640
|
361915
|
361918
|
361926
|
362107
|
362109
|
362123
|
362137
|
362265
|
362386
|
363320
|
363331
|
363338
|
363353
|
363369
|
363456
|
363620
|
363634
|
363640
|
363644
|
363647
|
363657
|
363665
|
363667
|
363735