| Differences between
and this patch
- a/Source/WebCore/ChangeLog +43 lines
Lines 1-3 a/Source/WebCore/ChangeLog_sec1
1
2019-03-05  Rob Buis  <rbuis@igalia.com>
2
3
        Consider supporting the `referrerpolicy` attribute.
4
        https://bugs.webkit.org/show_bug.cgi?id=179053
5
6
        Reviewed by Darin Adler.
7
8
        This patch adds 'referrerpolicy' attribute support for iframe.
9
        If set, the value is restricted to the ReferrerPolicy enum, and
10
        if valid it is used for the subframe load.
11
        If not set or invalid, the current behavior is kept.
12
13
        Tests: http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html
14
               http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html
15
               http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin.html
16
               http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html
17
               http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https.html
18
               http/tests/referrer-policy-iframe/same-origin/same-origin.html
19
               http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html
20
               http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https.html
21
               http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html
22
               http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html
23
               http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https.html
24
               http/tests/referrer-policy-iframe/strict-origin/same-origin.html
25
26
        * html/HTMLAttributeNames.in:
27
        * html/HTMLFrameOwnerElement.h:
28
        (WebCore::HTMLFrameOwnerElement::referrerPolicy const):
29
        * html/HTMLIFrameElement.cpp:
30
        (WebCore::HTMLIFrameElement::setReferrerPolicyForBindings):
31
        (WebCore::HTMLIFrameElement::referrerPolicyForBindings const):
32
        (WebCore::HTMLIFrameElement::referrerPolicy const):
33
        * html/HTMLIFrameElement.h:
34
        * html/HTMLIFrameElement.idl:
35
        * loader/SubframeLoader.cpp:
36
        (WebCore::SubframeLoader::loadSubframe):
37
        * page/RuntimeEnabledFeatures.h:
38
        (WebCore::RuntimeEnabledFeatures::referrerPolicyAttributeEnabled const):
39
        (WebCore::RuntimeEnabledFeatures::setReferrerPolicyAttributeEnabled):
40
        * platform/ReferrerPolicy.cpp:
41
        (WebCore::parseReferrerPolicy):
42
        * platform/ReferrerPolicy.h:
43
1
2019-03-05  Frederic Wang  <fwang@igalia.com>
44
2019-03-05  Frederic Wang  <fwang@igalia.com>
2
45
3
        Web Inspector: Better categorize CPU usage per-thread / worker
46
        Web Inspector: Better categorize CPU usage per-thread / worker
- a/Source/WebKit/ChangeLog +18 lines
Lines 1-3 a/Source/WebKit/ChangeLog_sec1
1
2019-03-05  Rob Buis  <rbuis@igalia.com>
2
3
        Consider supporting the `referrerpolicy` attribute.
4
        https://bugs.webkit.org/show_bug.cgi?id=179053
5
6
        Reviewed by Darin Adler.
7
8
        Add a runtime flag for referrerpolicy attribute.
9
10
        * Shared/WebPreferences.yaml:
11
        * UIProcess/API/C/WKPreferences.cpp:
12
        (WKPreferencesSetReferrerPolicyAttributeEnabled):
13
        (WKPreferencesGetReferrerPolicyAttributeEnabled):
14
        * UIProcess/API/C/WKPreferencesRefPrivate.h:
15
        * WebProcess/Network/WebLoaderStrategy.cpp:
16
        (WebKit::WebLoaderStrategy::loadResource): do not hardcode choosing
17
        the document referrer policy.
18
1
2019-03-05  Loïc Yhuel  <loic.yhuel@softathome.com>
19
2019-03-05  Loïc Yhuel  <loic.yhuel@softathome.com>
2
20
3
        [WPE] Do not create a PlatformDisplay in the Service Worker process
21
        [WPE] Do not create a PlatformDisplay in the Service Worker process
- a/Source/WebKitLegacy/mac/ChangeLog +18 lines
Lines 1-3 a/Source/WebKitLegacy/mac/ChangeLog_sec1
1
2019-03-05  Rob Buis  <rbuis@igalia.com>
2
3
        Consider supporting the `referrerpolicy` attribute.
4
        https://bugs.webkit.org/show_bug.cgi?id=179053
5
6
        Reviewed by Darin Adler.
7
8
        Add a runtime flag for referrerpolicy attribute.
9
10
        * WebView/WebPreferenceKeysPrivate.h:
11
        * WebView/WebPreferences.mm:
12
        (+[WebPreferences initialize]):
13
        (-[WebPreferences referrerPolicyAttributeEnabled]):
14
        (-[WebPreferences setReferrerPolicyAttributeEnabled:]):
15
        * WebView/WebPreferencesPrivate.h:
16
        * WebView/WebView.mm:
17
        (-[WebView _preferencesChanged:]):
18
1
2019-03-03  Tim Horton  <timothy_horton@apple.com>
19
2019-03-03  Tim Horton  <timothy_horton@apple.com>
2
20
3
        Remove some more unused 32-bit code
21
        Remove some more unused 32-bit code
- a/Source/WebCore/html/HTMLAttributeNames.in +1 lines
Lines 342-347 progress a/Source/WebCore/html/HTMLAttributeNames.in_sec1
342
prompt
342
prompt
343
pseudo
343
pseudo
344
readonly
344
readonly
345
referrerpolicy
345
rel
346
rel
346
required
347
required
347
results
348
results
- a/Source/WebCore/html/HTMLFrameOwnerElement.h +3 lines
Lines 21-26 a/Source/WebCore/html/HTMLFrameOwnerElement.h_sec1
21
#pragma once
21
#pragma once
22
22
23
#include "HTMLElement.h"
23
#include "HTMLElement.h"
24
#include "ReferrerPolicy.h"
24
#include <wtf/HashCountedSet.h>
25
#include <wtf/HashCountedSet.h>
25
#include <wtf/NeverDestroyed.h>
26
#include <wtf/NeverDestroyed.h>
26
27
Lines 60-65 public: a/Source/WebCore/html/HTMLFrameOwnerElement.h_sec2
60
61
61
    virtual bool isURLAllowed(const URL&) const { return true; }
62
    virtual bool isURLAllowed(const URL&) const { return true; }
62
63
64
    virtual ReferrerPolicy referrerPolicy() const { return ReferrerPolicy::EmptyString; }
65
63
protected:
66
protected:
64
    HTMLFrameOwnerElement(const QualifiedName& tagName, Document&);
67
    HTMLFrameOwnerElement(const QualifiedName& tagName, Document&);
65
    void setSandboxFlags(SandboxFlags);
68
    void setSandboxFlags(SandboxFlags);
- a/Source/WebCore/html/HTMLIFrameElement.cpp +39 lines
Lines 30-35 a/Source/WebCore/html/HTMLIFrameElement.cpp_sec1
30
#include "Frame.h"
30
#include "Frame.h"
31
#include "HTMLNames.h"
31
#include "HTMLNames.h"
32
#include "RenderIFrame.h"
32
#include "RenderIFrame.h"
33
#include "RuntimeEnabledFeatures.h"
33
#include "ScriptableDocumentParser.h"
34
#include "ScriptableDocumentParser.h"
34
#include <wtf/IsoMallocInlines.h>
35
#include <wtf/IsoMallocInlines.h>
35
36
Lines 111-114 RenderPtr<RenderElement> HTMLIFrameElement::createElementRenderer(RenderStyle&& a/Source/WebCore/html/HTMLIFrameElement.cpp_sec2
111
    return createRenderer<RenderIFrame>(*this, WTFMove(style));
112
    return createRenderer<RenderIFrame>(*this, WTFMove(style));
112
}
113
}
113
114
115
void HTMLIFrameElement::setReferrerPolicyForBindings(const AtomicString& value)
116
{
117
    setAttributeWithoutSynchronization(referrerpolicyAttr, value);
118
}
119
120
String HTMLIFrameElement::referrerPolicyForBindings() const
121
{
122
    switch (referrerPolicy()) {
123
    case ReferrerPolicy::NoReferrer:
124
        return "no-referrer"_s;
125
    case ReferrerPolicy::UnsafeUrl:
126
        return "unsafe-url"_s;
127
    case ReferrerPolicy::Origin:
128
        return "origin"_s;
129
    case ReferrerPolicy::OriginWhenCrossOrigin:
130
        return "origin-when-cross-origin"_s;
131
    case ReferrerPolicy::SameOrigin:
132
        return "same-origin"_s;
133
    case ReferrerPolicy::StrictOrigin:
134
        return "strict-origin"_s;
135
    case ReferrerPolicy::StrictOriginWhenCrossOrigin:
136
        return "strict-origin-when-cross-origin"_s;
137
    case ReferrerPolicy::NoReferrerWhenDowngrade:
138
        return "no-referrer-when-downgrade"_s;
139
    case ReferrerPolicy::EmptyString:
140
        return { };
141
    }
142
    ASSERT_NOT_REACHED();
143
    return { };
144
}
145
146
ReferrerPolicy HTMLIFrameElement::referrerPolicy() const
147
{
148
    if (RuntimeEnabledFeatures::sharedFeatures().referrerPolicyAttributeEnabled())
149
        return parseReferrerPolicy(attributeWithoutSynchronization(referrerpolicyAttr), ReferrerPolicySource::ReferrerPolicyAttribute).valueOr(ReferrerPolicy::EmptyString);
150
    return ReferrerPolicy::EmptyString;
151
}
152
114
}
153
}
- a/Source/WebCore/html/HTMLIFrameElement.h +4 lines
Lines 40-45 public: a/Source/WebCore/html/HTMLIFrameElement.h_sec1
40
    RenderIFrame* renderer() const;
40
    RenderIFrame* renderer() const;
41
    const String& allow() const { return m_allow; }
41
    const String& allow() const { return m_allow; }
42
42
43
    void setReferrerPolicyForBindings(const AtomicString&);
44
    String referrerPolicyForBindings() const;
45
    ReferrerPolicy referrerPolicy() const final;
46
43
private:
47
private:
44
    HTMLIFrameElement(const QualifiedName&, Document&);
48
    HTMLIFrameElement(const QualifiedName&, Document&);
45
49
- a/Source/WebCore/html/HTMLIFrameElement.idl +2 lines
Lines 41-44 interface HTMLIFrameElement : HTMLElement { a/Source/WebCore/html/HTMLIFrameElement.idl_sec1
41
    readonly attribute WindowProxy contentWindow;
41
    readonly attribute WindowProxy contentWindow;
42
42
43
    [CheckSecurityForNode, MayThrowException] Document getSVGDocument();
43
    [CheckSecurityForNode, MayThrowException] Document getSVGDocument();
44
45
    [EnabledAtRuntime=ReferrerPolicyAttribute, ImplementedAs=referrerPolicyForBindings, CEReactions=NotNeeded] attribute DOMString referrerPolicy;
44
};
46
};
- a/Source/WebCore/loader/SubframeLoader.cpp -1 / +4 lines
Lines 318-324 Frame* SubframeLoader::loadSubframe(HTMLFrameOwnerElement& ownerElement, const U a/Source/WebCore/loader/SubframeLoader.cpp_sec1
318
    if (!SubframeLoadingDisabler::canLoadFrame(ownerElement))
318
    if (!SubframeLoadingDisabler::canLoadFrame(ownerElement))
319
        return nullptr;
319
        return nullptr;
320
320
321
    String referrerToUse = SecurityPolicy::generateReferrerHeader(document->referrerPolicy(), url, referrer);
321
    ReferrerPolicy policy = ownerElement.referrerPolicy();
322
    if (policy == ReferrerPolicy::EmptyString)
323
        policy = document->referrerPolicy();
324
    String referrerToUse = SecurityPolicy::generateReferrerHeader(policy, url, referrer);
322
325
323
    // Prevent initial empty document load from triggering load events.
326
    // Prevent initial empty document load from triggering load events.
324
    document->incrementLoadEventDelayCount();
327
    document->incrementLoadEventDelayCount();
- a/Source/WebCore/page/RuntimeEnabledFeatures.h +5 lines
Lines 355-360 public: a/Source/WebCore/page/RuntimeEnabledFeatures.h_sec1
355
    void setMousemoveEventHandlingPreventsDefaultEnabled(bool isEnabled) { m_mousemoveEventHandlingPreventsDefaultEnabled = isEnabled; }
355
    void setMousemoveEventHandlingPreventsDefaultEnabled(bool isEnabled) { m_mousemoveEventHandlingPreventsDefaultEnabled = isEnabled; }
356
#endif
356
#endif
357
    
357
    
358
    bool referrerPolicyAttributeEnabled() const { return m_referrerPolicyAttributeEnabled; }
359
    void setReferrerPolicyAttributeEnabled(bool isEnabled) { m_referrerPolicyAttributeEnabled = isEnabled; }
360
358
    WEBCORE_EXPORT static RuntimeEnabledFeatures& sharedFeatures();
361
    WEBCORE_EXPORT static RuntimeEnabledFeatures& sharedFeatures();
359
362
360
private:
363
private:
Lines 539-544 private: a/Source/WebCore/page/RuntimeEnabledFeatures.h_sec2
539
542
540
    bool m_isITPDatabaseEnabled { false };
543
    bool m_isITPDatabaseEnabled { false };
541
544
545
    bool m_referrerPolicyAttributeEnabled { false };
546
542
    friend class WTF::NeverDestroyed<RuntimeEnabledFeatures>;
547
    friend class WTF::NeverDestroyed<RuntimeEnabledFeatures>;
543
};
548
};
544
549
- a/Source/WebCore/platform/ReferrerPolicy.cpp +2 lines
Lines 81-86 Optional<ReferrerPolicy> parseReferrerPolicy(StringView policyString, ReferrerPo a/Source/WebCore/platform/ReferrerPolicy.cpp_sec1
81
    }
81
    }
82
    case ReferrerPolicySource::MetaTag:
82
    case ReferrerPolicySource::MetaTag:
83
        return parseReferrerPolicyToken(policyString, ShouldParseLegacyKeywords::Yes);
83
        return parseReferrerPolicyToken(policyString, ShouldParseLegacyKeywords::Yes);
84
    case ReferrerPolicySource::ReferrerPolicyAttribute:
85
        return parseReferrerPolicyToken(policyString, ShouldParseLegacyKeywords::No);
84
    }
86
    }
85
    ASSERT_NOT_REACHED();
87
    ASSERT_NOT_REACHED();
86
    return WTF::nullopt;
88
    return WTF::nullopt;
- a/Source/WebCore/platform/ReferrerPolicy.h -1 / +1 lines
Lines 49-55 enum class ReferrerPolicy : uint8_t { a/Source/WebCore/platform/ReferrerPolicy.h_sec1
49
    UnsafeUrl
49
    UnsafeUrl
50
};
50
};
51
51
52
enum class ReferrerPolicySource : uint8_t { MetaTag, HTTPHeader };
52
enum class ReferrerPolicySource : uint8_t { MetaTag, HTTPHeader, ReferrerPolicyAttribute };
53
Optional<ReferrerPolicy> parseReferrerPolicy(StringView, ReferrerPolicySource);
53
Optional<ReferrerPolicy> parseReferrerPolicy(StringView, ReferrerPolicySource);
54
54
55
}
55
}
- a/Source/WebKit/Shared/WebPreferences.yaml +8 lines
Lines 1563-1568 MousemoveEventHandlingPreventsDefaultEnabled: a/Source/WebKit/Shared/WebPreferences.yaml_sec1
1563
  category: internal
1563
  category: internal
1564
  condition: ENABLE(TOUCH_EVENTS)
1564
  condition: ENABLE(TOUCH_EVENTS)
1565
1565
1566
ReferrerPolicyAttributeEnabled:
1567
  type: bool
1568
  defaultValue: false
1569
  humanReadableName: "Referrer Policy attribute"
1570
  humanReadableDescription: "Enable Referrer Policy attribute"
1571
  category: experimental
1572
  webcoreBinding: RuntimeEnabledFeatures
1573
1566
# Deprecated
1574
# Deprecated
1567
1575
1568
ICECandidateFilteringEnabled:
1576
ICECandidateFilteringEnabled:
- a/Source/WebKit/UIProcess/API/C/WKPreferences.cpp +10 lines
Lines 2109-2111 bool WKPreferencesGetCaptureVideoInUIProcessEnabled(WKPreferencesRef preferences a/Source/WebKit/UIProcess/API/C/WKPreferences.cpp_sec1
2109
{
2109
{
2110
    return toImpl(preferencesRef)->captureVideoInUIProcessEnabled();
2110
    return toImpl(preferencesRef)->captureVideoInUIProcessEnabled();
2111
}
2111
}
2112
2113
void WKPreferencesSetReferrerPolicyAttributeEnabled(WKPreferencesRef preferencesRef, bool flag)
2114
{
2115
    toImpl(preferencesRef)->setReferrerPolicyAttributeEnabled(flag);
2116
}
2117
2118
bool WKPreferencesGetReferrerPolicyAttributeEnabled(WKPreferencesRef preferencesRef)
2119
{
2120
    return toImpl(preferencesRef)->referrerPolicyAttributeEnabled();
2121
}
- a/Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h +4 lines
Lines 580-585 WK_EXPORT bool WKPreferencesGetColorFilterEnabled(WKPreferencesRef); a/Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h_sec1
580
WK_EXPORT void WKPreferencesSetPunchOutWhiteBackgroundsInDarkMode(WKPreferencesRef, bool flag);
580
WK_EXPORT void WKPreferencesSetPunchOutWhiteBackgroundsInDarkMode(WKPreferencesRef, bool flag);
581
WK_EXPORT bool WKPreferencesGetPunchOutWhiteBackgroundsInDarkMode(WKPreferencesRef);
581
WK_EXPORT bool WKPreferencesGetPunchOutWhiteBackgroundsInDarkMode(WKPreferencesRef);
582
582
583
// Defaults to false
584
WK_EXPORT void WKPreferencesSetReferrerPolicyAttributeEnabled(WKPreferencesRef, bool flag);
585
WK_EXPORT bool WKPreferencesGetReferrerPolicyAttributeEnabled(WKPreferencesRef);
586
583
#ifdef __cplusplus
587
#ifdef __cplusplus
584
}
588
}
585
#endif
589
#endif
- a/Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp -2 / +2 lines
Lines 91-99 WebLoaderStrategy::~WebLoaderStrategy() a/Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp_sec1
91
91
92
void WebLoaderStrategy::loadResource(Frame& frame, CachedResource& resource, ResourceRequest&& request, const ResourceLoaderOptions& options, CompletionHandler<void(RefPtr<SubresourceLoader>&&)>&& completionHandler)
92
void WebLoaderStrategy::loadResource(Frame& frame, CachedResource& resource, ResourceRequest&& request, const ResourceLoaderOptions& options, CompletionHandler<void(RefPtr<SubresourceLoader>&&)>&& completionHandler)
93
{
93
{
94
    SubresourceLoader::create(frame, resource, WTFMove(request), options, [this, completionHandler = WTFMove(completionHandler), resource = CachedResourceHandle<CachedResource>(&resource), frame = makeRef(frame)] (RefPtr<SubresourceLoader>&& loader) mutable {
94
    SubresourceLoader::create(frame, resource, WTFMove(request), options, [this, referrerPolicy = options.referrerPolicy, completionHandler = WTFMove(completionHandler), resource = CachedResourceHandle<CachedResource>(&resource), frame = makeRef(frame)] (RefPtr<SubresourceLoader>&& loader) mutable {
95
        if (loader)
95
        if (loader)
96
            scheduleLoad(*loader, resource.get(), frame->document()->referrerPolicy() == ReferrerPolicy::NoReferrerWhenDowngrade);
96
            scheduleLoad(*loader, resource.get(), referrerPolicy == ReferrerPolicy::NoReferrerWhenDowngrade);
97
        else
97
        else
98
            RELEASE_LOG_IF_ALLOWED(frame.get(), "loadResource: Unable to create SubresourceLoader (frame = %p", &frame);
98
            RELEASE_LOG_IF_ALLOWED(frame.get(), "loadResource: Unable to create SubresourceLoader (frame = %p", &frame);
99
        completionHandler(WTFMove(loader));
99
        completionHandler(WTFMove(loader));
- a/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h +1 lines
Lines 266-268 a/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h_sec1
266
#define WebKitSelectionAcrossShadowBoundariesEnabledPreferenceKey @"WebKitSelectionAcrossShadowBoundariesEnabled"
266
#define WebKitSelectionAcrossShadowBoundariesEnabledPreferenceKey @"WebKitSelectionAcrossShadowBoundariesEnabled"
267
#define WebKitCSSLogicalEnabledPreferenceKey @"WebKitCSSLogicalEnabled"
267
#define WebKitCSSLogicalEnabledPreferenceKey @"WebKitCSSLogicalEnabled"
268
#define WebKitAdClickAttributionEnabledPreferenceKey @"WebKitAdClickAttributionEnabled"
268
#define WebKitAdClickAttributionEnabledPreferenceKey @"WebKitAdClickAttributionEnabled"
269
#define WebKitReferrerPolicyAttributeEnabledPreferenceKey @"WebKitReferrerPolicyAttributeEnabled"
- a/Source/WebKitLegacy/mac/WebView/WebPreferences.mm +11 lines
Lines 693-698 public: a/Source/WebKitLegacy/mac/WebView/WebPreferences.mm_sec1
693
        @NO, WebKitMediaCapabilitiesEnabledPreferenceKey,
693
        @NO, WebKitMediaCapabilitiesEnabledPreferenceKey,
694
        @NO, WebKitFetchAPIKeepAliveEnabledPreferenceKey,
694
        @NO, WebKitFetchAPIKeepAliveEnabledPreferenceKey,
695
        @NO, WebKitServerTimingEnabledPreferenceKey,
695
        @NO, WebKitServerTimingEnabledPreferenceKey,
696
        @NO, WebKitReferrerPolicyAttributeEnabledPreferenceKey,
696
        nil];
697
        nil];
697
698
698
#if !PLATFORM(IOS_FAMILY)
699
#if !PLATFORM(IOS_FAMILY)
Lines 3441-3446 static NSString *classIBCreatorID = nil; a/Source/WebKitLegacy/mac/WebView/WebPreferences.mm_sec2
3441
    [self _setBoolValue:flag forKey:WebKitAdClickAttributionEnabledPreferenceKey];
3442
    [self _setBoolValue:flag forKey:WebKitAdClickAttributionEnabledPreferenceKey];
3442
}
3443
}
3443
3444
3445
- (BOOL)referrerPolicyAttributeEnabled
3446
{
3447
    return [self _boolValueForKey:WebKitReferrerPolicyAttributeEnabledPreferenceKey];
3448
}
3449
3450
- (void)setReferrerPolicyAttributeEnabled:(BOOL)flag
3451
{
3452
    [self _setBoolValue:flag forKey:WebKitReferrerPolicyAttributeEnabledPreferenceKey];
3453
}
3454
3444
@end
3455
@end
3445
3456
3446
@implementation WebPreferences (WebInternal)
3457
@implementation WebPreferences (WebInternal)
- a/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h +4 lines
Lines 591-596 extern NSString *WebPreferencesCacheModelChangedInternalNotification WEBKIT_DEPR a/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h_sec1
591
- (BOOL)adClickAttributionEnabled;
591
- (BOOL)adClickAttributionEnabled;
592
- (void)setAdClickAttributionEnabled:(BOOL)flag;
592
- (void)setAdClickAttributionEnabled:(BOOL)flag;
593
593
594
- (void)setReferrerPolicyAttributeEnabled:(BOOL)flag;
595
- (BOOL)referrerPolicyAttributeEnabled;
596
594
@property (nonatomic) BOOL visualViewportAPIEnabled;
597
@property (nonatomic) BOOL visualViewportAPIEnabled;
595
@property (nonatomic) BOOL CSSOMViewScrollingAPIEnabled;
598
@property (nonatomic) BOOL CSSOMViewScrollingAPIEnabled;
596
@property (nonatomic) BOOL largeImageAsyncDecodingEnabled;
599
@property (nonatomic) BOOL largeImageAsyncDecodingEnabled;
Lines 621-626 extern NSString *WebPreferencesCacheModelChangedInternalNotification WEBKIT_DEPR a/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h_sec2
621
@property (nonatomic) BOOL mediaRecorderEnabled;
624
@property (nonatomic) BOOL mediaRecorderEnabled;
622
@property (nonatomic) BOOL allowCrossOriginSubresourcesToAskForCredentials;
625
@property (nonatomic) BOOL allowCrossOriginSubresourcesToAskForCredentials;
623
@property (nonatomic) BOOL sourceBufferChangeTypeEnabled;
626
@property (nonatomic) BOOL sourceBufferChangeTypeEnabled;
627
@property (nonatomic) BOOL referrerPolicyAttributeEnabled;
624
628
625
#if TARGET_OS_IPHONE
629
#if TARGET_OS_IPHONE
626
@property (nonatomic) BOOL quickLookDocumentSavingEnabled;
630
@property (nonatomic) BOOL quickLookDocumentSavingEnabled;
- a/Source/WebKitLegacy/mac/WebView/WebView.mm +1 lines
Lines 3171-3176 static bool needsSelfRetainWhileLoadingQuirk() a/Source/WebKitLegacy/mac/WebView/WebView.mm_sec1
3171
    RuntimeEnabledFeatures::sharedFeatures().setAccessibilityObjectModelEnabled([preferences accessibilityObjectModelEnabled]);
3171
    RuntimeEnabledFeatures::sharedFeatures().setAccessibilityObjectModelEnabled([preferences accessibilityObjectModelEnabled]);
3172
    RuntimeEnabledFeatures::sharedFeatures().setAriaReflectionEnabled([preferences ariaReflectionEnabled]);
3172
    RuntimeEnabledFeatures::sharedFeatures().setAriaReflectionEnabled([preferences ariaReflectionEnabled]);
3173
    RuntimeEnabledFeatures::sharedFeatures().setFetchAPIKeepAliveEnabled([preferences fetchAPIKeepAliveEnabled]);
3173
    RuntimeEnabledFeatures::sharedFeatures().setFetchAPIKeepAliveEnabled([preferences fetchAPIKeepAliveEnabled]);
3174
    RuntimeEnabledFeatures::sharedFeatures().setReferrerPolicyAttributeEnabled([preferences referrerPolicyAttributeEnabled]);
3174
3175
3175
#if ENABLE(LEGACY_ENCRYPTED_MEDIA)
3176
#if ENABLE(LEGACY_ENCRYPTED_MEDIA)
3176
    RuntimeEnabledFeatures::sharedFeatures().setLegacyEncryptedMediaAPIEnabled(preferences.legacyEncryptedMediaAPIEnabled);
3177
    RuntimeEnabledFeatures::sharedFeatures().setLegacyEncryptedMediaAPIEnabled(preferences.legacyEncryptedMediaAPIEnabled);
- a/Tools/ChangeLog +12 lines
Lines 1-3 a/Tools/ChangeLog_sec1
1
2019-03-05  Rob Buis  <rbuis@igalia.com>
2
3
        Consider supporting the `referrerpolicy` attribute.
4
        https://bugs.webkit.org/show_bug.cgi?id=179053
5
6
        Reviewed by Darin Adler.
7
8
        Add a runtime flag for referrerpolicy attribute.
9
10
        * DumpRenderTree/mac/DumpRenderTree.mm:
11
        (enableExperimentalFeatures):
12
1
2019-02-28  Ryosuke Niwa  <rniwa@webkit.org>
13
2019-02-28  Ryosuke Niwa  <rniwa@webkit.org>
2
14
3
        Add WeakHashSet
15
        Add WeakHashSet
- a/Tools/DumpRenderTree/mac/DumpRenderTree.mm +1 lines
Lines 875-880 static void enableExperimentalFeatures(WebPreferences* preferences) a/Tools/DumpRenderTree/mac/DumpRenderTree.mm_sec1
875
    preferences.sourceBufferChangeTypeEnabled = YES;
875
    preferences.sourceBufferChangeTypeEnabled = YES;
876
    [preferences setCSSOMViewScrollingAPIEnabled:YES];
876
    [preferences setCSSOMViewScrollingAPIEnabled:YES];
877
    [preferences setMediaRecorderEnabled:YES];
877
    [preferences setMediaRecorderEnabled:YES];
878
    [preferences setReferrerPolicyAttributeEnabled:YES];
878
}
879
}
879
880
880
// Called before each test.
881
// Called before each test.
- a/LayoutTests/ChangeLog +41 lines
Lines 1-3 a/LayoutTests/ChangeLog_sec1
1
2019-03-05  Rob Buis  <rbuis@igalia.com>
2
3
        Consider supporting the `referrerpolicy` attribute.
4
        https://bugs.webkit.org/show_bug.cgi?id=179053
5
6
        Reviewed by Darin Adler.
7
8
        Add tests for referrerpolicy attribute based on the referrer-policy
9
        meta referrer tests.
10
        Update improved results for reflection-embedded.html.
11
        Mark some of the tests as Failure on windows.
12
13
        * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http-expected.txt: Added.
14
        * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html: Added.
15
        * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https-expected.txt: Added.
16
        * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html: Added.
17
        * http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin-expected.txt: Added.
18
        * http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin.html: Added.
19
        * http/tests/referrer-policy-iframe/resources/document.html: Added.
20
        * http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http-expected.txt: Added.
21
        * http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html: Added.
22
        * http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https-expected.txt: Added.
23
        * http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https.html: Added.
24
        * http/tests/referrer-policy-iframe/same-origin/same-origin-expected.txt: Added.
25
        * http/tests/referrer-policy-iframe/same-origin/same-origin.html: Added.
26
        * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http-expected.txt: Added.
27
        * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html: Added.
28
        * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https-expected.txt: Added.
29
        * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https.html: Added.
30
        * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin-expected.txt: Added.
31
        * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html: Added.
32
        * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http-expected.txt: Added.
33
        * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html: Added.
34
        * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https-expected.txt: Added.
35
        * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https.html: Added.
36
        * http/tests/referrer-policy-iframe/strict-origin/same-origin-expected.txt: Added.
37
        * http/tests/referrer-policy-iframe/strict-origin/same-origin.html: Added.
38
        * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
39
        * platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
40
        * platform/win/TestExpectations:
41
1
2019-03-04  Diego Pino Garcia  <dpino@igalia.com>
42
2019-03-04  Diego Pino Garcia  <dpino@igalia.com>
2
43
3
        [GTK] Unreviewed test gardening
44
        [GTK] Unreviewed test gardening
- a/LayoutTests/imported/w3c/ChangeLog +11 lines
Lines 1-3 a/LayoutTests/imported/w3c/ChangeLog_sec1
1
2019-03-05  Rob Buis  <rbuis@igalia.com>
2
3
        Consider supporting the `referrerpolicy` attribute.
4
        https://bugs.webkit.org/show_bug.cgi?id=179053
5
6
        Reviewed by Darin Adler.
7
8
        Update improved results.
9
10
        * web-platform-tests/html/dom/reflection-embedded-expected.txt:
11
1
2019-03-02  Darin Adler  <darin@apple.com>
12
2019-03-02  Darin Adler  <darin@apple.com>
2
13
3
        Retire legacy dtoa function and DecimalNumber class
14
        Retire legacy dtoa function and DecimalNumber class
- a/LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http-expected.txt +10 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http-expected.txt_sec1
1
Tests the behavior of origin-when-cross-origin referrer policy when cross origin.
2
3
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6
PASS referrer is "http://127.0.0.1:8000/"
7
PASS successfullyParsed is true
8
9
TEST COMPLETE
10
- a/LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html +20 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html_sec1
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js-test-resources/js-test.js"></script>
5
</head>
6
<body>
7
<script>
8
description("Tests the behavior of origin-when-cross-origin referrer policy when cross origin.");
9
jsTestIsAsync = true;
10
11
window.onmessage = function(event) {
12
    referrer = event.data.referrer;
13
    // Should be the origin, not the full URL, because we are cross-origin.
14
    shouldBeEqualToString("referrer", "http://127.0.0.1:8000/");
15
    finishJSTest();
16
}
17
</script>
18
<iframe src="http://localhost:8000/referrer-policy/resources/document.html" referrerpolicy="origin-when-cross-origin"></iframe>
19
</body>
20
</html>
- a/LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https-expected.txt +12 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https-expected.txt_sec1
1
CONSOLE MESSAGE: The page at about:blank was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/document.html.
2
3
Tests the behavior of origin-when-cross-origin referrer policy when cross origin from HTTPS to HTTP.
4
5
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6
7
8
PASS referrer is "https://127.0.0.1:8443/"
9
PASS successfullyParsed is true
10
11
TEST COMPLETE
12
- a/LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html +23 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html_sec1
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js-test-resources/js-test.js"></script>
5
</head>
6
<body>
7
<script>
8
description("Tests the behavior of origin-when-cross-origin referrer policy when cross origin from HTTPS to HTTP.");
9
jsTestIsAsync = true;
10
11
if (window.internals)
12
    internals.settings.setAllowDisplayOfInsecureContent(true);
13
14
window.onmessage = function(event) {
15
    referrer = event.data.referrer;
16
    // Should be the origin, not the full URL, because we are cross-origin.
17
    shouldBeEqualToString("referrer", "https://127.0.0.1:8443/");
18
    finishJSTest();
19
}
20
</script>
21
<iframe src="http://localhost:8000/referrer-policy/resources/document.html" referrerpolicy="origin-when-cross-origin"></iframe>
22
</body>
23
</html>
- a/LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin-expected.txt +10 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin-expected.txt_sec1
1
Tests the behavior of origin-when-cross-origin referrer policy when same origin.
2
3
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6
PASS referrer is "http://127.0.0.1:8000/referrer-policy-iframe/origin-when-cross-origin/same-origin.html"
7
PASS successfullyParsed is true
8
9
TEST COMPLETE
10
- a/LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin.html +20 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin.html_sec1
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js-test-resources/js-test.js"></script>
5
</head>
6
<body>
7
<script>
8
description("Tests the behavior of origin-when-cross-origin referrer policy when same origin.");
9
jsTestIsAsync = true;
10
11
window.onmessage = function(event) {
12
    referrer = event.data.referrer;
13
    // Should be the full URL because we are same-origin.
14
    shouldBeEqualToString("referrer", "http://127.0.0.1:8000/referrer-policy-iframe/origin-when-cross-origin/same-origin.html");
15
    finishJSTest();
16
}
17
</script>
18
<iframe src="http://127.0.0.1:8000/referrer-policy/resources/document.html" referrerpolicy="origin-when-cross-origin"></iframe>
19
</body>
20
</html>
- a/LayoutTests/http/tests/referrer-policy-iframe/resources/document.html +8 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/resources/document.html_sec1
1
<!DOCTYPE html>
2
<html>
3
<body>
4
<script>
5
parent.postMessage({ referrer: document.referrer }, "*");
6
</script>
7
</body>
8
</html>
- a/LayoutTests/http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http-expected.txt +10 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http-expected.txt_sec1
1
Tests the behavior of same-origin referrer policy when cross origin.
2
3
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6
PASS referrer is ""
7
PASS successfullyParsed is true
8
9
TEST COMPLETE
10
- a/LayoutTests/http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html +20 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html_sec1
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js-test-resources/js-test.js"></script>
5
</head>
6
<body>
7
<script>
8
description("Tests the behavior of same-origin referrer policy when cross origin.");
9
jsTestIsAsync = true;
10
11
window.onmessage = function(event) {
12
    referrer = event.data.referrer;
13
    // Should be the empty string because we are cross-origin.
14
    shouldBeEqualToString("referrer", "");
15
    finishJSTest();
16
}
17
</script>
18
<iframe src="http://localhost:8000/referrer-policy/resources/document.html" referrerpolicy="same-origin"></iframe>
19
</body>
20
</html>
- a/LayoutTests/http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https-expected.txt +12 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https-expected.txt_sec1
1
CONSOLE MESSAGE: The page at about:blank was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/document.html.
2
3
Tests the behavior of same-origin referrer policy when cross origin from HTTPS to HTTP.
4
5
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6
7
8
PASS referrer is ""
9
PASS successfullyParsed is true
10
11
TEST COMPLETE
12
- a/LayoutTests/http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https.html +23 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https.html_sec1
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js-test-resources/js-test.js"></script>
5
</head>
6
<body>
7
<script>
8
description("Tests the behavior of same-origin referrer policy when cross origin from HTTPS to HTTP.");
9
jsTestIsAsync = true;
10
11
if (window.internals)
12
    internals.settings.setAllowDisplayOfInsecureContent(true);
13
14
window.onmessage = function(event) {
15
    referrer = event.data.referrer;
16
    // Should be the empty string because we are cross-origin.
17
    shouldBeEqualToString("referrer", "");
18
    finishJSTest();
19
}
20
</script>
21
<iframe src="http://localhost:8000/referrer-policy/resources/document.html" referrerpolicy="same-origin"></iframe>
22
</body>
23
</html>
- a/LayoutTests/http/tests/referrer-policy-iframe/same-origin/same-origin-expected.txt +10 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/same-origin/same-origin-expected.txt_sec1
1
Tests the behavior of same-origin referrer policy when same origin.
2
3
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6
PASS referrer is "http://127.0.0.1:8000/referrer-policy-iframe/same-origin/same-origin.html"
7
PASS successfullyParsed is true
8
9
TEST COMPLETE
10
- a/LayoutTests/http/tests/referrer-policy-iframe/same-origin/same-origin.html +20 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/same-origin/same-origin.html_sec1
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js-test-resources/js-test.js"></script>
5
</head>
6
<body>
7
<script>
8
description("Tests the behavior of same-origin referrer policy when same origin.");
9
jsTestIsAsync = true;
10
11
window.onmessage = function(event) {
12
    referrer = event.data.referrer;
13
    // Should be the full URL because we are same-origin.
14
    shouldBeEqualToString("referrer", "http://127.0.0.1:8000/referrer-policy-iframe/same-origin/same-origin.html");
15
    finishJSTest();
16
}
17
</script>
18
<iframe src="http://127.0.0.1:8000/referrer-policy/resources/document.html" referrerpolicy="same-origin"></iframe>
19
</body>
20
</html>
- a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http-expected.txt +10 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http-expected.txt_sec1
1
Tests the behavior of strict-origin-when-cross-origin referrer policy when cross origin.
2
3
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6
PASS referrer is "http://127.0.0.1:8000/"
7
PASS successfullyParsed is true
8
9
TEST COMPLETE
10
- a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html +20 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html_sec1
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js-test-resources/js-test.js"></script>
5
</head>
6
<body>
7
<script>
8
description("Tests the behavior of strict-origin-when-cross-origin referrer policy when cross origin.");
9
jsTestIsAsync = true;
10
11
window.onmessage = function(event) {
12
    referrer = event.data.referrer;
13
    // Should be the origin, not the full URL, because we are cross-origin.
14
    shouldBeEqualToString("referrer", "http://127.0.0.1:8000/");
15
    finishJSTest();
16
}
17
</script>
18
<iframe src="http://localhost:8000/referrer-policy/resources/document.html" referrerpolicy="strict-origin-when-cross-origin"></iframe>
19
</body>
20
</html>
- a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https-expected.txt +12 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https-expected.txt_sec1
1
CONSOLE MESSAGE: The page at about:blank was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/document.html.
2
3
Tests the behavior of strict-origin-when-cross-origin referrer policy when cross origin from HTTPS to HTTP.
4
5
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6
7
8
PASS referrer is ""
9
PASS successfullyParsed is true
10
11
TEST COMPLETE
12
- a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https.html +23 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https.html_sec1
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js-test-resources/js-test.js"></script>
5
</head>
6
<body>
7
<script>
8
description("Tests the behavior of strict-origin-when-cross-origin referrer policy when cross origin from HTTPS to HTTP.");
9
jsTestIsAsync = true;
10
11
if (window.internals)
12
    internals.settings.setAllowDisplayOfInsecureContent(true);
13
14
window.onmessage = function(event) {
15
    referrer = event.data.referrer;
16
    // Should be the empty string because we are cross-origin and going from HTTPS to HTTP.
17
    shouldBeEqualToString("referrer", "");
18
    finishJSTest();
19
}
20
</script>
21
<iframe src="http://localhost:8000/referrer-policy/resources/document.html" referrerpolicy="strict-origin-when-cross-origin"></iframe>
22
</body>
23
</html>
- a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin-expected.txt +10 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin-expected.txt_sec1
1
Tests the behavior of strict-origin-when-cross-origin referrer policy when same origin.
2
3
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6
PASS referrer is "http://127.0.0.1:8000/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html"
7
PASS successfullyParsed is true
8
9
TEST COMPLETE
10
- a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html +20 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html_sec1
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js-test-resources/js-test.js"></script>
5
</head>
6
<body>
7
<script>
8
description("Tests the behavior of strict-origin-when-cross-origin referrer policy when same origin.");
9
jsTestIsAsync = true;
10
11
window.onmessage = function(event) {
12
    referrer = event.data.referrer;
13
    // Should be the full URL because we are same-origin.
14
    shouldBeEqualToString("referrer", "http://127.0.0.1:8000/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html");
15
    finishJSTest();
16
}
17
</script>
18
<iframe src="http://127.0.0.1:8000/referrer-policy/resources/document.html" referrerpolicy="strict-origin-when-cross-origin"></iframe>
19
</body>
20
</html>
- a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http-expected.txt +10 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http-expected.txt_sec1
1
Tests the behavior of strict-origin referrer policy when cross origin.
2
3
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6
PASS referrer is "http://127.0.0.1:8000/"
7
PASS successfullyParsed is true
8
9
TEST COMPLETE
10
- a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html +20 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html_sec1
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js-test-resources/js-test.js"></script>
5
</head>
6
<body>
7
<script>
8
description("Tests the behavior of strict-origin referrer policy when cross origin.");
9
jsTestIsAsync = true;
10
11
window.onmessage = function(event) {
12
    referrer = event.data.referrer;
13
    // Should be the origin, not the full URL.
14
    shouldBeEqualToString("referrer", "http://127.0.0.1:8000/");
15
    finishJSTest();
16
}
17
</script>
18
<iframe src="http://localhost:8000/referrer-policy/resources/document.html" referrerpolicy="strict-origin"></iframe>
19
</body>
20
</html>
- a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https-expected.txt +12 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https-expected.txt_sec1
1
CONSOLE MESSAGE: The page at about:blank was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/document.html.
2
3
Tests the behavior of strict-origin referrer policy when cross origin from HTTPS to HTTP.
4
5
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6
7
8
PASS referrer is ""
9
PASS successfullyParsed is true
10
11
TEST COMPLETE
12
- a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https.html +23 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https.html_sec1
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js-test-resources/js-test.js"></script>
5
</head>
6
<body>
7
<script>
8
description("Tests the behavior of strict-origin referrer policy when cross origin from HTTPS to HTTP.");
9
jsTestIsAsync = true;
10
11
if (window.internals)
12
    internals.settings.setAllowDisplayOfInsecureContent(true);
13
14
window.onmessage = function(event) {
15
    referrer = event.data.referrer;
16
    // Should be the empty string because we are going from HTTPS to HTTP.
17
    shouldBeEqualToString("referrer", "");
18
    finishJSTest();
19
}
20
</script>
21
<iframe src="http://localhost:8000/referrer-policy/resources/document.html" referrerpolicy="strict-origin"></iframe>
22
</body>
23
</html>
- a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin/same-origin-expected.txt +10 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin/same-origin-expected.txt_sec1
1
Tests the behavior of strict-origin referrer policy when same origin.
2
3
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6
PASS referrer is "http://127.0.0.1:8000/"
7
PASS successfullyParsed is true
8
9
TEST COMPLETE
10
- a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin/same-origin.html +20 lines
Line 0 a/LayoutTests/http/tests/referrer-policy-iframe/strict-origin/same-origin.html_sec1
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js-test-resources/js-test.js"></script>
5
</head>
6
<body>
7
<script>
8
description("Tests the behavior of strict-origin referrer policy when same origin.");
9
jsTestIsAsync = true;
10
11
window.onmessage = function(event) {
12
    referrer = event.data.referrer;
13
    // Should be the origin, not the full URL.
14
    shouldBeEqualToString("referrer", "http://127.0.0.1:8000/");
15
    finishJSTest();
16
}
17
</script>
18
<iframe src="http://127.0.0.1:8000/referrer-policy/resources/document.html" referrerpolicy="strict-origin"></iframe>
19
</body>
20
</html>
- a/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt -112 / +112 lines
Lines 1746-1863 PASS iframe.height: IDL set to "\0" a/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt_sec1
1746
PASS iframe.height: IDL set to null 
1746
PASS iframe.height: IDL set to null 
1747
PASS iframe.height: IDL set to object "test-toString" 
1747
PASS iframe.height: IDL set to object "test-toString" 
1748
PASS iframe.height: IDL set to object "test-valueOf" 
1748
PASS iframe.height: IDL set to object "test-valueOf" 
1749
FAIL iframe.referrerPolicy: typeof IDL attribute assert_equals: expected "string" but got "undefined"
1749
PASS iframe.referrerPolicy: typeof IDL attribute 
1750
FAIL iframe.referrerPolicy: IDL get with DOM attribute unset assert_equals: expected (string) "" but got (undefined) undefined
1750
PASS iframe.referrerPolicy: IDL get with DOM attribute unset 
1751
FAIL iframe.referrerPolicy: setAttribute() to "" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1751
PASS iframe.referrerPolicy: setAttribute() to "" 
1752
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
1752
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 " 
1753
FAIL iframe.referrerPolicy: setAttribute() to undefined assert_equals: IDL get expected (string) "" but got (undefined) undefined
1753
PASS iframe.referrerPolicy: setAttribute() to undefined 
1754
FAIL iframe.referrerPolicy: setAttribute() to 7 assert_equals: IDL get expected (string) "" but got (undefined) undefined
1754
PASS iframe.referrerPolicy: setAttribute() to 7 
1755
FAIL iframe.referrerPolicy: setAttribute() to 1.5 assert_equals: IDL get expected (string) "" but got (undefined) undefined
1755
PASS iframe.referrerPolicy: setAttribute() to 1.5 
1756
FAIL iframe.referrerPolicy: setAttribute() to true assert_equals: IDL get expected (string) "" but got (undefined) undefined
1756
PASS iframe.referrerPolicy: setAttribute() to true 
1757
FAIL iframe.referrerPolicy: setAttribute() to false assert_equals: IDL get expected (string) "" but got (undefined) undefined
1757
PASS iframe.referrerPolicy: setAttribute() to false 
1758
FAIL iframe.referrerPolicy: setAttribute() to object "[object Object]" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1758
PASS iframe.referrerPolicy: setAttribute() to object "[object Object]" 
1759
FAIL iframe.referrerPolicy: setAttribute() to NaN assert_equals: IDL get expected (string) "" but got (undefined) undefined
1759
PASS iframe.referrerPolicy: setAttribute() to NaN 
1760
FAIL iframe.referrerPolicy: setAttribute() to Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined
1760
PASS iframe.referrerPolicy: setAttribute() to Infinity 
1761
FAIL iframe.referrerPolicy: setAttribute() to -Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined
1761
PASS iframe.referrerPolicy: setAttribute() to -Infinity 
1762
FAIL iframe.referrerPolicy: setAttribute() to "\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1762
PASS iframe.referrerPolicy: setAttribute() to "\0" 
1763
FAIL iframe.referrerPolicy: setAttribute() to null assert_equals: IDL get expected (string) "" but got (undefined) undefined
1763
PASS iframe.referrerPolicy: setAttribute() to null 
1764
FAIL iframe.referrerPolicy: setAttribute() to object "test-toString" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1764
PASS iframe.referrerPolicy: setAttribute() to object "test-toString" 
1765
FAIL iframe.referrerPolicy: setAttribute() to object "test-valueOf" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1765
PASS iframe.referrerPolicy: setAttribute() to object "test-valueOf" 
1766
FAIL iframe.referrerPolicy: setAttribute() to "no-referrer" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined
1766
PASS iframe.referrerPolicy: setAttribute() to "no-referrer" 
1767
FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1767
PASS iframe.referrerPolicy: setAttribute() to "xno-referrer" 
1768
FAIL iframe.referrerPolicy: setAttribute() to "no-referrer\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1768
PASS iframe.referrerPolicy: setAttribute() to "no-referrer\0" 
1769
FAIL iframe.referrerPolicy: setAttribute() to "o-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1769
PASS iframe.referrerPolicy: setAttribute() to "o-referrer" 
1770
FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined
1770
PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER" 
1771
FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined
1771
PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" 
1772
FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1772
PASS iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" 
1773
FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1773
PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" 
1774
FAIL iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1774
PASS iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" 
1775
FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined
1775
PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" 
1776
FAIL iframe.referrerPolicy: setAttribute() to "same-origin" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined
1776
PASS iframe.referrerPolicy: setAttribute() to "same-origin" 
1777
FAIL iframe.referrerPolicy: setAttribute() to "xsame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1777
PASS iframe.referrerPolicy: setAttribute() to "xsame-origin" 
1778
FAIL iframe.referrerPolicy: setAttribute() to "same-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1778
PASS iframe.referrerPolicy: setAttribute() to "same-origin\0" 
1779
FAIL iframe.referrerPolicy: setAttribute() to "ame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1779
PASS iframe.referrerPolicy: setAttribute() to "ame-origin" 
1780
FAIL iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined
1780
PASS iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" 
1781
FAIL iframe.referrerPolicy: setAttribute() to "origin" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined
1781
PASS iframe.referrerPolicy: setAttribute() to "origin" 
1782
FAIL iframe.referrerPolicy: setAttribute() to "xorigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1782
PASS iframe.referrerPolicy: setAttribute() to "xorigin" 
1783
FAIL iframe.referrerPolicy: setAttribute() to "origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1783
PASS iframe.referrerPolicy: setAttribute() to "origin\0" 
1784
FAIL iframe.referrerPolicy: setAttribute() to "rigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1784
PASS iframe.referrerPolicy: setAttribute() to "rigin" 
1785
FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined
1785
PASS iframe.referrerPolicy: setAttribute() to "ORIGIN" 
1786
FAIL iframe.referrerPolicy: setAttribute() to "strict-origin" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined
1786
PASS iframe.referrerPolicy: setAttribute() to "strict-origin" 
1787
FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1787
PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin" 
1788
FAIL iframe.referrerPolicy: setAttribute() to "strict-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1788
PASS iframe.referrerPolicy: setAttribute() to "strict-origin\0" 
1789
FAIL iframe.referrerPolicy: setAttribute() to "trict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1789
PASS iframe.referrerPolicy: setAttribute() to "trict-origin" 
1790
FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined
1790
PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" 
1791
FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined
1791
PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" 
1792
FAIL iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1792
PASS iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" 
1793
FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1793
PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" 
1794
FAIL iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1794
PASS iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" 
1795
FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined
1795
PASS iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" 
1796
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
1796
PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" 
1797
FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1797
PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" 
1798
FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1798
PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" 
1799
FAIL iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1799
PASS iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" 
1800
FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined
1800
PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 
1801
FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined
1801
PASS iframe.referrerPolicy: setAttribute() to "unsafe-url" 
1802
FAIL iframe.referrerPolicy: setAttribute() to "xunsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1802
PASS iframe.referrerPolicy: setAttribute() to "xunsafe-url" 
1803
FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1803
PASS iframe.referrerPolicy: setAttribute() to "unsafe-url\0" 
1804
FAIL iframe.referrerPolicy: setAttribute() to "nsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1804
PASS iframe.referrerPolicy: setAttribute() to "nsafe-url" 
1805
FAIL iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined
1805
PASS iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" 
1806
FAIL iframe.referrerPolicy: IDL set to "" assert_equals: getAttribute() expected "" but got "UNSAFE-URL"
1806
PASS iframe.referrerPolicy: IDL set to "" 
1807
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"
1807
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 " 
1808
FAIL iframe.referrerPolicy: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "UNSAFE-URL"
1808
PASS iframe.referrerPolicy: IDL set to undefined 
1809
FAIL iframe.referrerPolicy: IDL set to 7 assert_equals: getAttribute() expected "7" but got "UNSAFE-URL"
1809
PASS iframe.referrerPolicy: IDL set to 7 
1810
FAIL iframe.referrerPolicy: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "UNSAFE-URL"
1810
PASS iframe.referrerPolicy: IDL set to 1.5 
1811
FAIL iframe.referrerPolicy: IDL set to true assert_equals: getAttribute() expected "true" but got "UNSAFE-URL"
1811
PASS iframe.referrerPolicy: IDL set to true 
1812
FAIL iframe.referrerPolicy: IDL set to false assert_equals: getAttribute() expected "false" but got "UNSAFE-URL"
1812
PASS iframe.referrerPolicy: IDL set to false 
1813
FAIL iframe.referrerPolicy: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "UNSAFE-URL"
1813
PASS iframe.referrerPolicy: IDL set to object "[object Object]" 
1814
FAIL iframe.referrerPolicy: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "UNSAFE-URL"
1814
PASS iframe.referrerPolicy: IDL set to NaN 
1815
FAIL iframe.referrerPolicy: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "UNSAFE-URL"
1815
PASS iframe.referrerPolicy: IDL set to Infinity 
1816
FAIL iframe.referrerPolicy: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "UNSAFE-URL"
1816
PASS iframe.referrerPolicy: IDL set to -Infinity 
1817
FAIL iframe.referrerPolicy: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "UNSAFE-URL"
1817
PASS iframe.referrerPolicy: IDL set to "\0" 
1818
FAIL iframe.referrerPolicy: IDL set to null assert_equals: IDL get expected (string) "" but got (object) null
1818
PASS iframe.referrerPolicy: IDL set to null 
1819
FAIL iframe.referrerPolicy: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "UNSAFE-URL"
1819
PASS iframe.referrerPolicy: IDL set to object "test-toString" 
1820
FAIL iframe.referrerPolicy: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "UNSAFE-URL"
1820
PASS iframe.referrerPolicy: IDL set to object "test-valueOf" 
1821
FAIL iframe.referrerPolicy: IDL set to "no-referrer" assert_equals: getAttribute() expected "no-referrer" but got "UNSAFE-URL"
1821
PASS iframe.referrerPolicy: IDL set to "no-referrer" 
1822
FAIL iframe.referrerPolicy: IDL set to "xno-referrer" assert_equals: getAttribute() expected "xno-referrer" but got "UNSAFE-URL"
1822
PASS iframe.referrerPolicy: IDL set to "xno-referrer" 
1823
FAIL iframe.referrerPolicy: IDL set to "no-referrer\0" assert_equals: getAttribute() expected "no-referrer\0" but got "UNSAFE-URL"
1823
PASS iframe.referrerPolicy: IDL set to "no-referrer\0" 
1824
FAIL iframe.referrerPolicy: IDL set to "o-referrer" assert_equals: getAttribute() expected "o-referrer" but got "UNSAFE-URL"
1824
PASS iframe.referrerPolicy: IDL set to "o-referrer" 
1825
FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER" assert_equals: getAttribute() expected "NO-REFERRER" but got "UNSAFE-URL"
1825
PASS iframe.referrerPolicy: IDL set to "NO-REFERRER" 
1826
FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" assert_equals: getAttribute() expected "no-referrer-when-downgrade" but got "UNSAFE-URL"
1826
PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" 
1827
FAIL iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" assert_equals: getAttribute() expected "xno-referrer-when-downgrade" but got "UNSAFE-URL"
1827
PASS iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" 
1828
FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" assert_equals: getAttribute() expected "no-referrer-when-downgrade\0" but got "UNSAFE-URL"
1828
PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" 
1829
FAIL iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" assert_equals: getAttribute() expected "o-referrer-when-downgrade" but got "UNSAFE-URL"
1829
PASS iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" 
1830
FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: getAttribute() expected "NO-REFERRER-WHEN-DOWNGRADE" but got "UNSAFE-URL"
1830
PASS iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" 
1831
FAIL iframe.referrerPolicy: IDL set to "same-origin" assert_equals: getAttribute() expected "same-origin" but got "UNSAFE-URL"
1831
PASS iframe.referrerPolicy: IDL set to "same-origin" 
1832
FAIL iframe.referrerPolicy: IDL set to "xsame-origin" assert_equals: getAttribute() expected "xsame-origin" but got "UNSAFE-URL"
1832
PASS iframe.referrerPolicy: IDL set to "xsame-origin" 
1833
FAIL iframe.referrerPolicy: IDL set to "same-origin\0" assert_equals: getAttribute() expected "same-origin\0" but got "UNSAFE-URL"
1833
PASS iframe.referrerPolicy: IDL set to "same-origin\0" 
1834
FAIL iframe.referrerPolicy: IDL set to "ame-origin" assert_equals: getAttribute() expected "ame-origin" but got "UNSAFE-URL"
1834
PASS iframe.referrerPolicy: IDL set to "ame-origin" 
1835
FAIL iframe.referrerPolicy: IDL set to "SAME-ORIGIN" assert_equals: getAttribute() expected "SAME-ORIGIN" but got "UNSAFE-URL"
1835
PASS iframe.referrerPolicy: IDL set to "SAME-ORIGIN" 
1836
FAIL iframe.referrerPolicy: IDL set to "origin" assert_equals: getAttribute() expected "origin" but got "UNSAFE-URL"
1836
PASS iframe.referrerPolicy: IDL set to "origin" 
1837
FAIL iframe.referrerPolicy: IDL set to "xorigin" assert_equals: getAttribute() expected "xorigin" but got "UNSAFE-URL"
1837
PASS iframe.referrerPolicy: IDL set to "xorigin" 
1838
FAIL iframe.referrerPolicy: IDL set to "origin\0" assert_equals: getAttribute() expected "origin\0" but got "UNSAFE-URL"
1838
PASS iframe.referrerPolicy: IDL set to "origin\0" 
1839
FAIL iframe.referrerPolicy: IDL set to "rigin" assert_equals: getAttribute() expected "rigin" but got "UNSAFE-URL"
1839
PASS iframe.referrerPolicy: IDL set to "rigin" 
1840
FAIL iframe.referrerPolicy: IDL set to "ORIGIN" assert_equals: getAttribute() expected "ORIGIN" but got "UNSAFE-URL"
1840
PASS iframe.referrerPolicy: IDL set to "ORIGIN" 
1841
FAIL iframe.referrerPolicy: IDL set to "strict-origin" assert_equals: getAttribute() expected "strict-origin" but got "UNSAFE-URL"
1841
PASS iframe.referrerPolicy: IDL set to "strict-origin" 
1842
FAIL iframe.referrerPolicy: IDL set to "xstrict-origin" assert_equals: getAttribute() expected "xstrict-origin" but got "UNSAFE-URL"
1842
PASS iframe.referrerPolicy: IDL set to "xstrict-origin" 
1843
FAIL iframe.referrerPolicy: IDL set to "strict-origin\0" assert_equals: getAttribute() expected "strict-origin\0" but got "UNSAFE-URL"
1843
PASS iframe.referrerPolicy: IDL set to "strict-origin\0" 
1844
FAIL iframe.referrerPolicy: IDL set to "trict-origin" assert_equals: getAttribute() expected "trict-origin" but got "UNSAFE-URL"
1844
PASS iframe.referrerPolicy: IDL set to "trict-origin" 
1845
FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN" but got "UNSAFE-URL"
1845
PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" 
1846
FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin" assert_equals: getAttribute() expected "origin-when-cross-origin" but got "UNSAFE-URL"
1846
PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin" 
1847
FAIL iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" assert_equals: getAttribute() expected "xorigin-when-cross-origin" but got "UNSAFE-URL"
1847
PASS iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" 
1848
FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" assert_equals: getAttribute() expected "origin-when-cross-origin\0" but got "UNSAFE-URL"
1848
PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" 
1849
FAIL iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" assert_equals: getAttribute() expected "rigin-when-cross-origin" but got "UNSAFE-URL"
1849
PASS iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" 
1850
FAIL iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL"
1850
PASS iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" 
1851
FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" assert_equals: getAttribute() expected "strict-origin-when-cross-origin" but got "UNSAFE-URL"
1851
PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" 
1852
FAIL iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" assert_equals: getAttribute() expected "xstrict-origin-when-cross-origin" but got "UNSAFE-URL"
1852
PASS iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" 
1853
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"
1853
PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" 
1854
FAIL iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" assert_equals: getAttribute() expected "trict-origin-when-cross-origin" but got "UNSAFE-URL"
1854
PASS iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" 
1855
FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL"
1855
PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 
1856
FAIL iframe.referrerPolicy: IDL set to "unsafe-url" assert_equals: getAttribute() expected "unsafe-url" but got "UNSAFE-URL"
1856
PASS iframe.referrerPolicy: IDL set to "unsafe-url" 
1857
FAIL iframe.referrerPolicy: IDL set to "xunsafe-url" assert_equals: getAttribute() expected "xunsafe-url" but got "UNSAFE-URL"
1857
PASS iframe.referrerPolicy: IDL set to "xunsafe-url" 
1858
FAIL iframe.referrerPolicy: IDL set to "unsafe-url\0" assert_equals: getAttribute() expected "unsafe-url\0" but got "UNSAFE-URL"
1858
PASS iframe.referrerPolicy: IDL set to "unsafe-url\0" 
1859
FAIL iframe.referrerPolicy: IDL set to "nsafe-url" assert_equals: getAttribute() expected "nsafe-url" but got "UNSAFE-URL"
1859
PASS iframe.referrerPolicy: IDL set to "nsafe-url" 
1860
FAIL iframe.referrerPolicy: IDL set to "UNSAFE-URL" assert_equals: IDL get expected "unsafe-url" but got "UNSAFE-URL"
1860
PASS iframe.referrerPolicy: IDL set to "UNSAFE-URL" 
1861
FAIL iframe.delegateStickyUserActivation: typeof IDL attribute assert_equals: expected "string" but got "undefined"
1861
FAIL iframe.delegateStickyUserActivation: typeof IDL attribute assert_equals: expected "string" but got "undefined"
1862
FAIL iframe.delegateStickyUserActivation: setAttribute() to "vibration" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined
1862
FAIL iframe.delegateStickyUserActivation: setAttribute() to "vibration" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined
1863
FAIL iframe.delegateStickyUserActivation: setAttribute() to "VIBRATION" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined
1863
FAIL iframe.delegateStickyUserActivation: setAttribute() to "VIBRATION" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined
- a/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt -112 / +112 lines
Lines 1746-1863 PASS iframe.height: IDL set to "\0" a/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt_sec1
1746
PASS iframe.height: IDL set to null 
1746
PASS iframe.height: IDL set to null 
1747
PASS iframe.height: IDL set to object "test-toString" 
1747
PASS iframe.height: IDL set to object "test-toString" 
1748
PASS iframe.height: IDL set to object "test-valueOf" 
1748
PASS iframe.height: IDL set to object "test-valueOf" 
1749
FAIL iframe.referrerPolicy: typeof IDL attribute assert_equals: expected "string" but got "undefined"
1749
PASS iframe.referrerPolicy: typeof IDL attribute 
1750
FAIL iframe.referrerPolicy: IDL get with DOM attribute unset assert_equals: expected (string) "" but got (undefined) undefined
1750
PASS iframe.referrerPolicy: IDL get with DOM attribute unset 
1751
FAIL iframe.referrerPolicy: setAttribute() to "" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1751
PASS iframe.referrerPolicy: setAttribute() to "" 
1752
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
1752
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 " 
1753
FAIL iframe.referrerPolicy: setAttribute() to undefined assert_equals: IDL get expected (string) "" but got (undefined) undefined
1753
PASS iframe.referrerPolicy: setAttribute() to undefined 
1754
FAIL iframe.referrerPolicy: setAttribute() to 7 assert_equals: IDL get expected (string) "" but got (undefined) undefined
1754
PASS iframe.referrerPolicy: setAttribute() to 7 
1755
FAIL iframe.referrerPolicy: setAttribute() to 1.5 assert_equals: IDL get expected (string) "" but got (undefined) undefined
1755
PASS iframe.referrerPolicy: setAttribute() to 1.5 
1756
FAIL iframe.referrerPolicy: setAttribute() to true assert_equals: IDL get expected (string) "" but got (undefined) undefined
1756
PASS iframe.referrerPolicy: setAttribute() to true 
1757
FAIL iframe.referrerPolicy: setAttribute() to false assert_equals: IDL get expected (string) "" but got (undefined) undefined
1757
PASS iframe.referrerPolicy: setAttribute() to false 
1758
FAIL iframe.referrerPolicy: setAttribute() to object "[object Object]" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1758
PASS iframe.referrerPolicy: setAttribute() to object "[object Object]" 
1759
FAIL iframe.referrerPolicy: setAttribute() to NaN assert_equals: IDL get expected (string) "" but got (undefined) undefined
1759
PASS iframe.referrerPolicy: setAttribute() to NaN 
1760
FAIL iframe.referrerPolicy: setAttribute() to Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined
1760
PASS iframe.referrerPolicy: setAttribute() to Infinity 
1761
FAIL iframe.referrerPolicy: setAttribute() to -Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined
1761
PASS iframe.referrerPolicy: setAttribute() to -Infinity 
1762
FAIL iframe.referrerPolicy: setAttribute() to "\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1762
PASS iframe.referrerPolicy: setAttribute() to "\0" 
1763
FAIL iframe.referrerPolicy: setAttribute() to null assert_equals: IDL get expected (string) "" but got (undefined) undefined
1763
PASS iframe.referrerPolicy: setAttribute() to null 
1764
FAIL iframe.referrerPolicy: setAttribute() to object "test-toString" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1764
PASS iframe.referrerPolicy: setAttribute() to object "test-toString" 
1765
FAIL iframe.referrerPolicy: setAttribute() to object "test-valueOf" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1765
PASS iframe.referrerPolicy: setAttribute() to object "test-valueOf" 
1766
FAIL iframe.referrerPolicy: setAttribute() to "no-referrer" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined
1766
PASS iframe.referrerPolicy: setAttribute() to "no-referrer" 
1767
FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1767
PASS iframe.referrerPolicy: setAttribute() to "xno-referrer" 
1768
FAIL iframe.referrerPolicy: setAttribute() to "no-referrer\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1768
PASS iframe.referrerPolicy: setAttribute() to "no-referrer\0" 
1769
FAIL iframe.referrerPolicy: setAttribute() to "o-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1769
PASS iframe.referrerPolicy: setAttribute() to "o-referrer" 
1770
FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined
1770
PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER" 
1771
FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined
1771
PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" 
1772
FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1772
PASS iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" 
1773
FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1773
PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" 
1774
FAIL iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1774
PASS iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" 
1775
FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined
1775
PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" 
1776
FAIL iframe.referrerPolicy: setAttribute() to "same-origin" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined
1776
PASS iframe.referrerPolicy: setAttribute() to "same-origin" 
1777
FAIL iframe.referrerPolicy: setAttribute() to "xsame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1777
PASS iframe.referrerPolicy: setAttribute() to "xsame-origin" 
1778
FAIL iframe.referrerPolicy: setAttribute() to "same-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1778
PASS iframe.referrerPolicy: setAttribute() to "same-origin\0" 
1779
FAIL iframe.referrerPolicy: setAttribute() to "ame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1779
PASS iframe.referrerPolicy: setAttribute() to "ame-origin" 
1780
FAIL iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined
1780
PASS iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" 
1781
FAIL iframe.referrerPolicy: setAttribute() to "origin" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined
1781
PASS iframe.referrerPolicy: setAttribute() to "origin" 
1782
FAIL iframe.referrerPolicy: setAttribute() to "xorigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1782
PASS iframe.referrerPolicy: setAttribute() to "xorigin" 
1783
FAIL iframe.referrerPolicy: setAttribute() to "origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1783
PASS iframe.referrerPolicy: setAttribute() to "origin\0" 
1784
FAIL iframe.referrerPolicy: setAttribute() to "rigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1784
PASS iframe.referrerPolicy: setAttribute() to "rigin" 
1785
FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined
1785
PASS iframe.referrerPolicy: setAttribute() to "ORIGIN" 
1786
FAIL iframe.referrerPolicy: setAttribute() to "strict-origin" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined
1786
PASS iframe.referrerPolicy: setAttribute() to "strict-origin" 
1787
FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1787
PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin" 
1788
FAIL iframe.referrerPolicy: setAttribute() to "strict-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1788
PASS iframe.referrerPolicy: setAttribute() to "strict-origin\0" 
1789
FAIL iframe.referrerPolicy: setAttribute() to "trict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1789
PASS iframe.referrerPolicy: setAttribute() to "trict-origin" 
1790
FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined
1790
PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" 
1791
FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined
1791
PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" 
1792
FAIL iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1792
PASS iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" 
1793
FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1793
PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" 
1794
FAIL iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1794
PASS iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" 
1795
FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined
1795
PASS iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" 
1796
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
1796
PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" 
1797
FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1797
PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" 
1798
FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1798
PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" 
1799
FAIL iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1799
PASS iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" 
1800
FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined
1800
PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 
1801
FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined
1801
PASS iframe.referrerPolicy: setAttribute() to "unsafe-url" 
1802
FAIL iframe.referrerPolicy: setAttribute() to "xunsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1802
PASS iframe.referrerPolicy: setAttribute() to "xunsafe-url" 
1803
FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1803
PASS iframe.referrerPolicy: setAttribute() to "unsafe-url\0" 
1804
FAIL iframe.referrerPolicy: setAttribute() to "nsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1804
PASS iframe.referrerPolicy: setAttribute() to "nsafe-url" 
1805
FAIL iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined
1805
PASS iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" 
1806
FAIL iframe.referrerPolicy: IDL set to "" assert_equals: getAttribute() expected "" but got "UNSAFE-URL"
1806
PASS iframe.referrerPolicy: IDL set to "" 
1807
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"
1807
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 " 
1808
FAIL iframe.referrerPolicy: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "UNSAFE-URL"
1808
PASS iframe.referrerPolicy: IDL set to undefined 
1809
FAIL iframe.referrerPolicy: IDL set to 7 assert_equals: getAttribute() expected "7" but got "UNSAFE-URL"
1809
PASS iframe.referrerPolicy: IDL set to 7 
1810
FAIL iframe.referrerPolicy: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "UNSAFE-URL"
1810
PASS iframe.referrerPolicy: IDL set to 1.5 
1811
FAIL iframe.referrerPolicy: IDL set to true assert_equals: getAttribute() expected "true" but got "UNSAFE-URL"
1811
PASS iframe.referrerPolicy: IDL set to true 
1812
FAIL iframe.referrerPolicy: IDL set to false assert_equals: getAttribute() expected "false" but got "UNSAFE-URL"
1812
PASS iframe.referrerPolicy: IDL set to false 
1813
FAIL iframe.referrerPolicy: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "UNSAFE-URL"
1813
PASS iframe.referrerPolicy: IDL set to object "[object Object]" 
1814
FAIL iframe.referrerPolicy: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "UNSAFE-URL"
1814
PASS iframe.referrerPolicy: IDL set to NaN 
1815
FAIL iframe.referrerPolicy: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "UNSAFE-URL"
1815
PASS iframe.referrerPolicy: IDL set to Infinity 
1816
FAIL iframe.referrerPolicy: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "UNSAFE-URL"
1816
PASS iframe.referrerPolicy: IDL set to -Infinity 
1817
FAIL iframe.referrerPolicy: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "UNSAFE-URL"
1817
PASS iframe.referrerPolicy: IDL set to "\0" 
1818
FAIL iframe.referrerPolicy: IDL set to null assert_equals: IDL get expected (string) "" but got (object) null
1818
PASS iframe.referrerPolicy: IDL set to null 
1819
FAIL iframe.referrerPolicy: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "UNSAFE-URL"
1819
PASS iframe.referrerPolicy: IDL set to object "test-toString" 
1820
FAIL iframe.referrerPolicy: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "UNSAFE-URL"
1820
PASS iframe.referrerPolicy: IDL set to object "test-valueOf" 
1821
FAIL iframe.referrerPolicy: IDL set to "no-referrer" assert_equals: getAttribute() expected "no-referrer" but got "UNSAFE-URL"
1821
PASS iframe.referrerPolicy: IDL set to "no-referrer" 
1822
FAIL iframe.referrerPolicy: IDL set to "xno-referrer" assert_equals: getAttribute() expected "xno-referrer" but got "UNSAFE-URL"
1822
PASS iframe.referrerPolicy: IDL set to "xno-referrer" 
1823
FAIL iframe.referrerPolicy: IDL set to "no-referrer\0" assert_equals: getAttribute() expected "no-referrer\0" but got "UNSAFE-URL"
1823
PASS iframe.referrerPolicy: IDL set to "no-referrer\0" 
1824
FAIL iframe.referrerPolicy: IDL set to "o-referrer" assert_equals: getAttribute() expected "o-referrer" but got "UNSAFE-URL"
1824
PASS iframe.referrerPolicy: IDL set to "o-referrer" 
1825
FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER" assert_equals: getAttribute() expected "NO-REFERRER" but got "UNSAFE-URL"
1825
PASS iframe.referrerPolicy: IDL set to "NO-REFERRER" 
1826
FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" assert_equals: getAttribute() expected "no-referrer-when-downgrade" but got "UNSAFE-URL"
1826
PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" 
1827
FAIL iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" assert_equals: getAttribute() expected "xno-referrer-when-downgrade" but got "UNSAFE-URL"
1827
PASS iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" 
1828
FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" assert_equals: getAttribute() expected "no-referrer-when-downgrade\0" but got "UNSAFE-URL"
1828
PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" 
1829
FAIL iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" assert_equals: getAttribute() expected "o-referrer-when-downgrade" but got "UNSAFE-URL"
1829
PASS iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" 
1830
FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: getAttribute() expected "NO-REFERRER-WHEN-DOWNGRADE" but got "UNSAFE-URL"
1830
PASS iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" 
1831
FAIL iframe.referrerPolicy: IDL set to "same-origin" assert_equals: getAttribute() expected "same-origin" but got "UNSAFE-URL"
1831
PASS iframe.referrerPolicy: IDL set to "same-origin" 
1832
FAIL iframe.referrerPolicy: IDL set to "xsame-origin" assert_equals: getAttribute() expected "xsame-origin" but got "UNSAFE-URL"
1832
PASS iframe.referrerPolicy: IDL set to "xsame-origin" 
1833
FAIL iframe.referrerPolicy: IDL set to "same-origin\0" assert_equals: getAttribute() expected "same-origin\0" but got "UNSAFE-URL"
1833
PASS iframe.referrerPolicy: IDL set to "same-origin\0" 
1834
FAIL iframe.referrerPolicy: IDL set to "ame-origin" assert_equals: getAttribute() expected "ame-origin" but got "UNSAFE-URL"
1834
PASS iframe.referrerPolicy: IDL set to "ame-origin" 
1835
FAIL iframe.referrerPolicy: IDL set to "SAME-ORIGIN" assert_equals: getAttribute() expected "SAME-ORIGIN" but got "UNSAFE-URL"
1835
PASS iframe.referrerPolicy: IDL set to "SAME-ORIGIN" 
1836
FAIL iframe.referrerPolicy: IDL set to "origin" assert_equals: getAttribute() expected "origin" but got "UNSAFE-URL"
1836
PASS iframe.referrerPolicy: IDL set to "origin" 
1837
FAIL iframe.referrerPolicy: IDL set to "xorigin" assert_equals: getAttribute() expected "xorigin" but got "UNSAFE-URL"
1837
PASS iframe.referrerPolicy: IDL set to "xorigin" 
1838
FAIL iframe.referrerPolicy: IDL set to "origin\0" assert_equals: getAttribute() expected "origin\0" but got "UNSAFE-URL"
1838
PASS iframe.referrerPolicy: IDL set to "origin\0" 
1839
FAIL iframe.referrerPolicy: IDL set to "rigin" assert_equals: getAttribute() expected "rigin" but got "UNSAFE-URL"
1839
PASS iframe.referrerPolicy: IDL set to "rigin" 
1840
FAIL iframe.referrerPolicy: IDL set to "ORIGIN" assert_equals: getAttribute() expected "ORIGIN" but got "UNSAFE-URL"
1840
PASS iframe.referrerPolicy: IDL set to "ORIGIN" 
1841
FAIL iframe.referrerPolicy: IDL set to "strict-origin" assert_equals: getAttribute() expected "strict-origin" but got "UNSAFE-URL"
1841
PASS iframe.referrerPolicy: IDL set to "strict-origin" 
1842
FAIL iframe.referrerPolicy: IDL set to "xstrict-origin" assert_equals: getAttribute() expected "xstrict-origin" but got "UNSAFE-URL"
1842
PASS iframe.referrerPolicy: IDL set to "xstrict-origin" 
1843
FAIL iframe.referrerPolicy: IDL set to "strict-origin\0" assert_equals: getAttribute() expected "strict-origin\0" but got "UNSAFE-URL"
1843
PASS iframe.referrerPolicy: IDL set to "strict-origin\0" 
1844
FAIL iframe.referrerPolicy: IDL set to "trict-origin" assert_equals: getAttribute() expected "trict-origin" but got "UNSAFE-URL"
1844
PASS iframe.referrerPolicy: IDL set to "trict-origin" 
1845
FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN" but got "UNSAFE-URL"
1845
PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" 
1846
FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin" assert_equals: getAttribute() expected "origin-when-cross-origin" but got "UNSAFE-URL"
1846
PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin" 
1847
FAIL iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" assert_equals: getAttribute() expected "xorigin-when-cross-origin" but got "UNSAFE-URL"
1847
PASS iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" 
1848
FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" assert_equals: getAttribute() expected "origin-when-cross-origin\0" but got "UNSAFE-URL"
1848
PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" 
1849
FAIL iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" assert_equals: getAttribute() expected "rigin-when-cross-origin" but got "UNSAFE-URL"
1849
PASS iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" 
1850
FAIL iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL"
1850
PASS iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" 
1851
FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" assert_equals: getAttribute() expected "strict-origin-when-cross-origin" but got "UNSAFE-URL"
1851
PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" 
1852
FAIL iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" assert_equals: getAttribute() expected "xstrict-origin-when-cross-origin" but got "UNSAFE-URL"
1852
PASS iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" 
1853
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"
1853
PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" 
1854
FAIL iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" assert_equals: getAttribute() expected "trict-origin-when-cross-origin" but got "UNSAFE-URL"
1854
PASS iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" 
1855
FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL"
1855
PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 
1856
FAIL iframe.referrerPolicy: IDL set to "unsafe-url" assert_equals: getAttribute() expected "unsafe-url" but got "UNSAFE-URL"
1856
PASS iframe.referrerPolicy: IDL set to "unsafe-url" 
1857
FAIL iframe.referrerPolicy: IDL set to "xunsafe-url" assert_equals: getAttribute() expected "xunsafe-url" but got "UNSAFE-URL"
1857
PASS iframe.referrerPolicy: IDL set to "xunsafe-url" 
1858
FAIL iframe.referrerPolicy: IDL set to "unsafe-url\0" assert_equals: getAttribute() expected "unsafe-url\0" but got "UNSAFE-URL"
1858
PASS iframe.referrerPolicy: IDL set to "unsafe-url\0" 
1859
FAIL iframe.referrerPolicy: IDL set to "nsafe-url" assert_equals: getAttribute() expected "nsafe-url" but got "UNSAFE-URL"
1859
PASS iframe.referrerPolicy: IDL set to "nsafe-url" 
1860
FAIL iframe.referrerPolicy: IDL set to "UNSAFE-URL" assert_equals: IDL get expected "unsafe-url" but got "UNSAFE-URL"
1860
PASS iframe.referrerPolicy: IDL set to "UNSAFE-URL" 
1861
FAIL iframe.delegateStickyUserActivation: typeof IDL attribute assert_equals: expected "string" but got "undefined"
1861
FAIL iframe.delegateStickyUserActivation: typeof IDL attribute assert_equals: expected "string" but got "undefined"
1862
FAIL iframe.delegateStickyUserActivation: setAttribute() to "vibration" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined
1862
FAIL iframe.delegateStickyUserActivation: setAttribute() to "vibration" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined
1863
FAIL iframe.delegateStickyUserActivation: setAttribute() to "VIBRATION" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined
1863
FAIL iframe.delegateStickyUserActivation: setAttribute() to "VIBRATION" assert_equals: IDL get expected (string) "vibration" but got (undefined) undefined
- a/LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt -112 / +112 lines
Lines 1439-1556 PASS iframe.height: IDL set to "\0" a/LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt_sec1
1439
PASS iframe.height: IDL set to null 
1439
PASS iframe.height: IDL set to null 
1440
PASS iframe.height: IDL set to object "test-toString" 
1440
PASS iframe.height: IDL set to object "test-toString" 
1441
PASS iframe.height: IDL set to object "test-valueOf" 
1441
PASS iframe.height: IDL set to object "test-valueOf" 
1442
FAIL iframe.referrerPolicy: typeof IDL attribute assert_equals: expected "string" but got "undefined"
1442
PASS iframe.referrerPolicy: typeof IDL attribute 
1443
FAIL iframe.referrerPolicy: IDL get with DOM attribute unset assert_equals: expected (string) "" but got (undefined) undefined
1443
PASS iframe.referrerPolicy: IDL get with DOM attribute unset 
1444
FAIL iframe.referrerPolicy: setAttribute() to "" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1444
PASS iframe.referrerPolicy: setAttribute() to "" 
1445
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
1445
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 " 
1446
FAIL iframe.referrerPolicy: setAttribute() to undefined assert_equals: IDL get expected (string) "" but got (undefined) undefined
1446
PASS iframe.referrerPolicy: setAttribute() to undefined 
1447
FAIL iframe.referrerPolicy: setAttribute() to 7 assert_equals: IDL get expected (string) "" but got (undefined) undefined
1447
PASS iframe.referrerPolicy: setAttribute() to 7 
1448
FAIL iframe.referrerPolicy: setAttribute() to 1.5 assert_equals: IDL get expected (string) "" but got (undefined) undefined
1448
PASS iframe.referrerPolicy: setAttribute() to 1.5 
1449
FAIL iframe.referrerPolicy: setAttribute() to true assert_equals: IDL get expected (string) "" but got (undefined) undefined
1449
PASS iframe.referrerPolicy: setAttribute() to true 
1450
FAIL iframe.referrerPolicy: setAttribute() to false assert_equals: IDL get expected (string) "" but got (undefined) undefined
1450
PASS iframe.referrerPolicy: setAttribute() to false 
1451
FAIL iframe.referrerPolicy: setAttribute() to object "[object Object]" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1451
PASS iframe.referrerPolicy: setAttribute() to object "[object Object]" 
1452
FAIL iframe.referrerPolicy: setAttribute() to NaN assert_equals: IDL get expected (string) "" but got (undefined) undefined
1452
PASS iframe.referrerPolicy: setAttribute() to NaN 
1453
FAIL iframe.referrerPolicy: setAttribute() to Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined
1453
PASS iframe.referrerPolicy: setAttribute() to Infinity 
1454
FAIL iframe.referrerPolicy: setAttribute() to -Infinity assert_equals: IDL get expected (string) "" but got (undefined) undefined
1454
PASS iframe.referrerPolicy: setAttribute() to -Infinity 
1455
FAIL iframe.referrerPolicy: setAttribute() to "\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1455
PASS iframe.referrerPolicy: setAttribute() to "\0" 
1456
FAIL iframe.referrerPolicy: setAttribute() to null assert_equals: IDL get expected (string) "" but got (undefined) undefined
1456
PASS iframe.referrerPolicy: setAttribute() to null 
1457
FAIL iframe.referrerPolicy: setAttribute() to object "test-toString" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1457
PASS iframe.referrerPolicy: setAttribute() to object "test-toString" 
1458
FAIL iframe.referrerPolicy: setAttribute() to object "test-valueOf" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1458
PASS iframe.referrerPolicy: setAttribute() to object "test-valueOf" 
1459
FAIL iframe.referrerPolicy: setAttribute() to "no-referrer" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined
1459
PASS iframe.referrerPolicy: setAttribute() to "no-referrer" 
1460
FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1460
PASS iframe.referrerPolicy: setAttribute() to "xno-referrer" 
1461
FAIL iframe.referrerPolicy: setAttribute() to "no-referrer\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1461
PASS iframe.referrerPolicy: setAttribute() to "no-referrer\0" 
1462
FAIL iframe.referrerPolicy: setAttribute() to "o-referrer" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1462
PASS iframe.referrerPolicy: setAttribute() to "o-referrer" 
1463
FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER" assert_equals: IDL get expected (string) "no-referrer" but got (undefined) undefined
1463
PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER" 
1464
FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined
1464
PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade" 
1465
FAIL iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1465
PASS iframe.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade" 
1466
FAIL iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1466
PASS iframe.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\0" 
1467
FAIL iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1467
PASS iframe.referrerPolicy: setAttribute() to "o-referrer-when-downgrade" 
1468
FAIL iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: IDL get expected (string) "no-referrer-when-downgrade" but got (undefined) undefined
1468
PASS iframe.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE" 
1469
FAIL iframe.referrerPolicy: setAttribute() to "same-origin" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined
1469
PASS iframe.referrerPolicy: setAttribute() to "same-origin" 
1470
FAIL iframe.referrerPolicy: setAttribute() to "xsame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1470
PASS iframe.referrerPolicy: setAttribute() to "xsame-origin" 
1471
FAIL iframe.referrerPolicy: setAttribute() to "same-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1471
PASS iframe.referrerPolicy: setAttribute() to "same-origin\0" 
1472
FAIL iframe.referrerPolicy: setAttribute() to "ame-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1472
PASS iframe.referrerPolicy: setAttribute() to "ame-origin" 
1473
FAIL iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" assert_equals: IDL get expected (string) "same-origin" but got (undefined) undefined
1473
PASS iframe.referrerPolicy: setAttribute() to "SAME-ORIGIN" 
1474
FAIL iframe.referrerPolicy: setAttribute() to "origin" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined
1474
PASS iframe.referrerPolicy: setAttribute() to "origin" 
1475
FAIL iframe.referrerPolicy: setAttribute() to "xorigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1475
PASS iframe.referrerPolicy: setAttribute() to "xorigin" 
1476
FAIL iframe.referrerPolicy: setAttribute() to "origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1476
PASS iframe.referrerPolicy: setAttribute() to "origin\0" 
1477
FAIL iframe.referrerPolicy: setAttribute() to "rigin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1477
PASS iframe.referrerPolicy: setAttribute() to "rigin" 
1478
FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN" assert_equals: IDL get expected (string) "origin" but got (undefined) undefined
1478
PASS iframe.referrerPolicy: setAttribute() to "ORIGIN" 
1479
FAIL iframe.referrerPolicy: setAttribute() to "strict-origin" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined
1479
PASS iframe.referrerPolicy: setAttribute() to "strict-origin" 
1480
FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1480
PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin" 
1481
FAIL iframe.referrerPolicy: setAttribute() to "strict-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1481
PASS iframe.referrerPolicy: setAttribute() to "strict-origin\0" 
1482
FAIL iframe.referrerPolicy: setAttribute() to "trict-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1482
PASS iframe.referrerPolicy: setAttribute() to "trict-origin" 
1483
FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" assert_equals: IDL get expected (string) "strict-origin" but got (undefined) undefined
1483
PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN" 
1484
FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined
1484
PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin" 
1485
FAIL iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1485
PASS iframe.referrerPolicy: setAttribute() to "xorigin-when-cross-origin" 
1486
FAIL iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1486
PASS iframe.referrerPolicy: setAttribute() to "origin-when-cross-origin\0" 
1487
FAIL iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1487
PASS iframe.referrerPolicy: setAttribute() to "rigin-when-cross-origin" 
1488
FAIL iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "origin-when-cross-origin" but got (undefined) undefined
1488
PASS iframe.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN" 
1489
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
1489
PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin" 
1490
FAIL iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1490
PASS iframe.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin" 
1491
FAIL iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1491
PASS iframe.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\0" 
1492
FAIL iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1492
PASS iframe.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin" 
1493
FAIL iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: IDL get expected (string) "strict-origin-when-cross-origin" but got (undefined) undefined
1493
PASS iframe.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 
1494
FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined
1494
PASS iframe.referrerPolicy: setAttribute() to "unsafe-url" 
1495
FAIL iframe.referrerPolicy: setAttribute() to "xunsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1495
PASS iframe.referrerPolicy: setAttribute() to "xunsafe-url" 
1496
FAIL iframe.referrerPolicy: setAttribute() to "unsafe-url\0" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1496
PASS iframe.referrerPolicy: setAttribute() to "unsafe-url\0" 
1497
FAIL iframe.referrerPolicy: setAttribute() to "nsafe-url" assert_equals: IDL get expected (string) "" but got (undefined) undefined
1497
PASS iframe.referrerPolicy: setAttribute() to "nsafe-url" 
1498
FAIL iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" assert_equals: IDL get expected (string) "unsafe-url" but got (undefined) undefined
1498
PASS iframe.referrerPolicy: setAttribute() to "UNSAFE-URL" 
1499
FAIL iframe.referrerPolicy: IDL set to "" assert_equals: getAttribute() expected "" but got "UNSAFE-URL"
1499
PASS iframe.referrerPolicy: IDL set to "" 
1500
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"
1500
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 " 
1501
FAIL iframe.referrerPolicy: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "UNSAFE-URL"
1501
PASS iframe.referrerPolicy: IDL set to undefined 
1502
FAIL iframe.referrerPolicy: IDL set to 7 assert_equals: getAttribute() expected "7" but got "UNSAFE-URL"
1502
PASS iframe.referrerPolicy: IDL set to 7 
1503
FAIL iframe.referrerPolicy: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "UNSAFE-URL"
1503
PASS iframe.referrerPolicy: IDL set to 1.5 
1504
FAIL iframe.referrerPolicy: IDL set to true assert_equals: getAttribute() expected "true" but got "UNSAFE-URL"
1504
PASS iframe.referrerPolicy: IDL set to true 
1505
FAIL iframe.referrerPolicy: IDL set to false assert_equals: getAttribute() expected "false" but got "UNSAFE-URL"
1505
PASS iframe.referrerPolicy: IDL set to false 
1506
FAIL iframe.referrerPolicy: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "UNSAFE-URL"
1506
PASS iframe.referrerPolicy: IDL set to object "[object Object]" 
1507
FAIL iframe.referrerPolicy: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "UNSAFE-URL"
1507
PASS iframe.referrerPolicy: IDL set to NaN 
1508
FAIL iframe.referrerPolicy: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "UNSAFE-URL"
1508
PASS iframe.referrerPolicy: IDL set to Infinity 
1509
FAIL iframe.referrerPolicy: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "UNSAFE-URL"
1509
PASS iframe.referrerPolicy: IDL set to -Infinity 
1510
FAIL iframe.referrerPolicy: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "UNSAFE-URL"
1510
PASS iframe.referrerPolicy: IDL set to "\0" 
1511
FAIL iframe.referrerPolicy: IDL set to null assert_equals: IDL get expected (string) "" but got (object) null
1511
PASS iframe.referrerPolicy: IDL set to null 
1512
FAIL iframe.referrerPolicy: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "UNSAFE-URL"
1512
PASS iframe.referrerPolicy: IDL set to object "test-toString" 
1513
FAIL iframe.referrerPolicy: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "UNSAFE-URL"
1513
PASS iframe.referrerPolicy: IDL set to object "test-valueOf" 
1514
FAIL iframe.referrerPolicy: IDL set to "no-referrer" assert_equals: getAttribute() expected "no-referrer" but got "UNSAFE-URL"
1514
PASS iframe.referrerPolicy: IDL set to "no-referrer" 
1515
FAIL iframe.referrerPolicy: IDL set to "xno-referrer" assert_equals: getAttribute() expected "xno-referrer" but got "UNSAFE-URL"
1515
PASS iframe.referrerPolicy: IDL set to "xno-referrer" 
1516
FAIL iframe.referrerPolicy: IDL set to "no-referrer\0" assert_equals: getAttribute() expected "no-referrer\0" but got "UNSAFE-URL"
1516
PASS iframe.referrerPolicy: IDL set to "no-referrer\0" 
1517
FAIL iframe.referrerPolicy: IDL set to "o-referrer" assert_equals: getAttribute() expected "o-referrer" but got "UNSAFE-URL"
1517
PASS iframe.referrerPolicy: IDL set to "o-referrer" 
1518
FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER" assert_equals: getAttribute() expected "NO-REFERRER" but got "UNSAFE-URL"
1518
PASS iframe.referrerPolicy: IDL set to "NO-REFERRER" 
1519
FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" assert_equals: getAttribute() expected "no-referrer-when-downgrade" but got "UNSAFE-URL"
1519
PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade" 
1520
FAIL iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" assert_equals: getAttribute() expected "xno-referrer-when-downgrade" but got "UNSAFE-URL"
1520
PASS iframe.referrerPolicy: IDL set to "xno-referrer-when-downgrade" 
1521
FAIL iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" assert_equals: getAttribute() expected "no-referrer-when-downgrade\0" but got "UNSAFE-URL"
1521
PASS iframe.referrerPolicy: IDL set to "no-referrer-when-downgrade\0" 
1522
FAIL iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" assert_equals: getAttribute() expected "o-referrer-when-downgrade" but got "UNSAFE-URL"
1522
PASS iframe.referrerPolicy: IDL set to "o-referrer-when-downgrade" 
1523
FAIL iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" assert_equals: getAttribute() expected "NO-REFERRER-WHEN-DOWNGRADE" but got "UNSAFE-URL"
1523
PASS iframe.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE" 
1524
FAIL iframe.referrerPolicy: IDL set to "same-origin" assert_equals: getAttribute() expected "same-origin" but got "UNSAFE-URL"
1524
PASS iframe.referrerPolicy: IDL set to "same-origin" 
1525
FAIL iframe.referrerPolicy: IDL set to "xsame-origin" assert_equals: getAttribute() expected "xsame-origin" but got "UNSAFE-URL"
1525
PASS iframe.referrerPolicy: IDL set to "xsame-origin" 
1526
FAIL iframe.referrerPolicy: IDL set to "same-origin\0" assert_equals: getAttribute() expected "same-origin\0" but got "UNSAFE-URL"
1526
PASS iframe.referrerPolicy: IDL set to "same-origin\0" 
1527
FAIL iframe.referrerPolicy: IDL set to "ame-origin" assert_equals: getAttribute() expected "ame-origin" but got "UNSAFE-URL"
1527
PASS iframe.referrerPolicy: IDL set to "ame-origin" 
1528
FAIL iframe.referrerPolicy: IDL set to "SAME-ORIGIN" assert_equals: getAttribute() expected "SAME-ORIGIN" but got "UNSAFE-URL"
1528
PASS iframe.referrerPolicy: IDL set to "SAME-ORIGIN" 
1529
FAIL iframe.referrerPolicy: IDL set to "origin" assert_equals: getAttribute() expected "origin" but got "UNSAFE-URL"
1529
PASS iframe.referrerPolicy: IDL set to "origin" 
1530
FAIL iframe.referrerPolicy: IDL set to "xorigin" assert_equals: getAttribute() expected "xorigin" but got "UNSAFE-URL"
1530
PASS iframe.referrerPolicy: IDL set to "xorigin" 
1531
FAIL iframe.referrerPolicy: IDL set to "origin\0" assert_equals: getAttribute() expected "origin\0" but got "UNSAFE-URL"
1531
PASS iframe.referrerPolicy: IDL set to "origin\0" 
1532
FAIL iframe.referrerPolicy: IDL set to "rigin" assert_equals: getAttribute() expected "rigin" but got "UNSAFE-URL"
1532
PASS iframe.referrerPolicy: IDL set to "rigin" 
1533
FAIL iframe.referrerPolicy: IDL set to "ORIGIN" assert_equals: getAttribute() expected "ORIGIN" but got "UNSAFE-URL"
1533
PASS iframe.referrerPolicy: IDL set to "ORIGIN" 
1534
FAIL iframe.referrerPolicy: IDL set to "strict-origin" assert_equals: getAttribute() expected "strict-origin" but got "UNSAFE-URL"
1534
PASS iframe.referrerPolicy: IDL set to "strict-origin" 
1535
FAIL iframe.referrerPolicy: IDL set to "xstrict-origin" assert_equals: getAttribute() expected "xstrict-origin" but got "UNSAFE-URL"
1535
PASS iframe.referrerPolicy: IDL set to "xstrict-origin" 
1536
FAIL iframe.referrerPolicy: IDL set to "strict-origin\0" assert_equals: getAttribute() expected "strict-origin\0" but got "UNSAFE-URL"
1536
PASS iframe.referrerPolicy: IDL set to "strict-origin\0" 
1537
FAIL iframe.referrerPolicy: IDL set to "trict-origin" assert_equals: getAttribute() expected "trict-origin" but got "UNSAFE-URL"
1537
PASS iframe.referrerPolicy: IDL set to "trict-origin" 
1538
FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN" but got "UNSAFE-URL"
1538
PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN" 
1539
FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin" assert_equals: getAttribute() expected "origin-when-cross-origin" but got "UNSAFE-URL"
1539
PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin" 
1540
FAIL iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" assert_equals: getAttribute() expected "xorigin-when-cross-origin" but got "UNSAFE-URL"
1540
PASS iframe.referrerPolicy: IDL set to "xorigin-when-cross-origin" 
1541
FAIL iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" assert_equals: getAttribute() expected "origin-when-cross-origin\0" but got "UNSAFE-URL"
1541
PASS iframe.referrerPolicy: IDL set to "origin-when-cross-origin\0" 
1542
FAIL iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" assert_equals: getAttribute() expected "rigin-when-cross-origin" but got "UNSAFE-URL"
1542
PASS iframe.referrerPolicy: IDL set to "rigin-when-cross-origin" 
1543
FAIL iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL"
1543
PASS iframe.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN" 
1544
FAIL iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" assert_equals: getAttribute() expected "strict-origin-when-cross-origin" but got "UNSAFE-URL"
1544
PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin" 
1545
FAIL iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" assert_equals: getAttribute() expected "xstrict-origin-when-cross-origin" but got "UNSAFE-URL"
1545
PASS iframe.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin" 
1546
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"
1546
PASS iframe.referrerPolicy: IDL set to "strict-origin-when-cross-origin\0" 
1547
FAIL iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" assert_equals: getAttribute() expected "trict-origin-when-cross-origin" but got "UNSAFE-URL"
1547
PASS iframe.referrerPolicy: IDL set to "trict-origin-when-cross-origin" 
1548
FAIL iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" assert_equals: getAttribute() expected "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" but got "UNSAFE-URL"
1548
PASS iframe.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN" 
1549
FAIL iframe.referrerPolicy: IDL set to "unsafe-url" assert_equals: getAttribute() expected "unsafe-url" but got "UNSAFE-URL"
1549
PASS iframe.referrerPolicy: IDL set to "unsafe-url" 
1550
FAIL iframe.referrerPolicy: IDL set to "xunsafe-url" assert_equals: getAttribute() expected "xunsafe-url" but got "UNSAFE-URL"
1550
PASS iframe.referrerPolicy: IDL set to "xunsafe-url" 
1551
FAIL iframe.referrerPolicy: IDL set to "unsafe-url\0" assert_equals: getAttribute() expected "unsafe-url\0" but got "UNSAFE-URL"
1551
PASS iframe.referrerPolicy: IDL set to "unsafe-url\0" 
1552
FAIL iframe.referrerPolicy: IDL set to "nsafe-url" assert_equals: getAttribute() expected "nsafe-url" but got "UNSAFE-URL"
1552
PASS iframe.referrerPolicy: IDL set to "nsafe-url" 
1553
FAIL iframe.referrerPolicy: IDL set to "UNSAFE-URL" assert_equals: IDL get expected "unsafe-url" but got "UNSAFE-URL"
1553
PASS iframe.referrerPolicy: IDL set to "UNSAFE-URL" 
1554
PASS iframe.align: typeof IDL attribute 
1554
PASS iframe.align: typeof IDL attribute 
1555
PASS iframe.align: IDL get with DOM attribute unset 
1555
PASS iframe.align: IDL get with DOM attribute unset 
1556
PASS iframe.align: setAttribute() to "" 
1556
PASS iframe.align: setAttribute() to "" 
- a/LayoutTests/platform/win/TestExpectations +7 lines
Lines 4125-4130 webkit.org/b/189194 http/tests/referrer-policy/strict-origin-when-cross-origin/c a/LayoutTests/platform/win/TestExpectations_sec1
4125
webkit.org/b/189194 http/tests/referrer-policy/strict-origin/cross-origin-http.https.html [ Failure ]
4125
webkit.org/b/189194 http/tests/referrer-policy/strict-origin/cross-origin-http.https.html [ Failure ]
4126
webkit.org/b/189194 http/tests/security/basic-auth-subresource.html [ Failure ]
4126
webkit.org/b/189194 http/tests/security/basic-auth-subresource.html [ Failure ]
4127
4127
4128
webkit.org/b/189194 http/tests/referrer-policy-iframe/strict-origin/same-origin.html [ Failure ]
4129
webkit.org/b/189194 http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html [ Failure ]
4130
webkit.org/b/189194 http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html [ Failure ]
4131
webkit.org/b/189194 http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html [ Failure ]
4132
webkit.org/b/189194 http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html [ Failure ]
4133
webkit.org/b/189194 http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html [ Failure ]
4134
4128
webkit.org/b/189550 fast/text/variations/ipc2.html [ Skip ]
4135
webkit.org/b/189550 fast/text/variations/ipc2.html [ Skip ]
4129
4136
4130
webkit.org/b/189834 css-custom-properties-api/registerProperty.html [ Failure ]
4137
webkit.org/b/189834 css-custom-properties-api/registerProperty.html [ Failure ]

Return to Bug 179053