Changeset 228363 in webkit


Ignore:
Timestamp:
Feb 9, 2018 10:25:46 PM (6 years ago)
Author:
jmarcell@apple.com
Message:

Cherry-pick r228241. rdar://problem/37408896

Location:
branches/safari-605-branch
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-605-branch/LayoutTests/ChangeLog

    r228360 r228363  
     12018-02-09  Jason Marcell  <jmarcell@apple.com>
     2
     3        Cherry-pick r228241. rdar://problem/37408896
     4
     5    2018-02-07  Youenn Fablet  <youenn@apple.com>
     6
     7            ASSERTION FAILED: m_timeOrigin in Performance::Performance()
     8            https://bugs.webkit.org/show_bug.cgi?id=182558
     9            <rdar://problem/37297551>
     10
     11            Reviewed by Chris Dumez.
     12
     13            Make use of WPT cors-preflight-star.any.js test in service worker.
     14            This test should be removed once WPT will run any.js tests in service workers as well as workers and window.
     15
     16            * http/wpt/service-workers/cors-preflight-star.any.js: Added.
     17            * http/wpt/service-workers/cors-preflight-star.any.serviceworker-expected.txt: Added.
     18            * http/wpt/service-workers/cors-preflight-star.any.serviceworker.html: Added.
     19
    1202018-02-09  Jason Marcell  <jmarcell@apple.com>
    221
  • branches/safari-605-branch/Source/WebCore/ChangeLog

    r228360 r228363  
     12018-02-09  Jason Marcell  <jmarcell@apple.com>
     2
     3        Cherry-pick r228241. rdar://problem/37408896
     4
     5    2018-02-07  Youenn Fablet  <youenn@apple.com>
     6
     7            ASSERTION FAILED: m_timeOrigin in Performance::Performance()
     8            https://bugs.webkit.org/show_bug.cgi?id=182558
     9            <rdar://problem/37297551>
     10
     11            Reviewed by Chris Dumez.
     12
     13            Test: http/wpt/fetch/cors-preflight-star.any.serviceworker.html
     14
     15            * loader/CrossOriginPreflightChecker.cpp:
     16            (WebCore::CrossOriginPreflightChecker::startPreflight):
     17
    1182018-02-09  Jason Marcell  <jmarcell@apple.com>
    219
  • branches/safari-605-branch/Source/WebCore/loader/CrossOriginPreflightChecker.cpp

    r227332 r228363  
    109109    options.contentSecurityPolicyImposition = ContentSecurityPolicyImposition::SkipPolicyCheck;
    110110    options.serviceWorkersMode = ServiceWorkersMode::None;
     111    options.initiatorContext = m_loader.options().initiatorContext;
    111112
    112113    CachedResourceRequest preflightRequest(createAccessControlPreflightRequest(m_request, m_loader.securityOrigin(), m_loader.referrer()), options);
Note: See TracChangeset for help on using the changeset viewer.