⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 228656 in webkit


Ignore:
Timestamp:
Feb 19, 2018, 4:08:26 AM (9 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r228241 - ASSERTION FAILED: m_timeOrigin in Performance::Performance()
​https://bugs.webkit.org/show_bug.cgi?id=182558
<rdar://problem/37297551>

Patch by Youenn Fablet <​youenn@apple.com> on 2018-02-07
Reviewed by Chris Dumez.

Source/WebCore:

Test: http/wpt/fetch/cors-preflight-star.any.serviceworker.html

  • loader/CrossOriginPreflightChecker.cpp:

(WebCore::CrossOriginPreflightChecker::startPreflight):

LayoutTests:

Make use of WPT cors-preflight-star.any.js test in service worker.
This test should be removed once WPT will run any.js tests in service workers as well as workers and window.

  • http/wpt/service-workers/cors-preflight-star.any.js: Added.
  • http/wpt/service-workers/cors-preflight-star.any.serviceworker-expected.txt: Added.
  • http/wpt/service-workers/cors-preflight-star.any.serviceworker.html: Added.
Location:
releases/WebKitGTK/webkit-2.20
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.20/LayoutTests/ChangeLog

    r228653 r228656  
     12018-02-07  Youenn Fablet  <youenn@apple.com>
     2
     3        ASSERTION FAILED: m_timeOrigin in Performance::Performance()
     4        https://bugs.webkit.org/show_bug.cgi?id=182558
     5        <rdar://problem/37297551>
     6
     7        Reviewed by Chris Dumez.
     8
     9        Make use of WPT cors-preflight-star.any.js test in service worker.
     10        This test should be removed once WPT will run any.js tests in service workers as well as workers and window.
     11
     12        * http/wpt/service-workers/cors-preflight-star.any.js: Added.
     13        * http/wpt/service-workers/cors-preflight-star.any.serviceworker-expected.txt: Added.
     14        * http/wpt/service-workers/cors-preflight-star.any.serviceworker.html: Added.
     15
    1162018-02-07  Chris Dumez  <cdumez@apple.com>
    217
  • releases/WebKitGTK/webkit-2.20/Source/WebCore/ChangeLog

    r228655 r228656  
     12018-02-07  Youenn Fablet  <youenn@apple.com>
     2
     3        ASSERTION FAILED: m_timeOrigin in Performance::Performance()
     4        https://bugs.webkit.org/show_bug.cgi?id=182558
     5        <rdar://problem/37297551>
     6
     7        Reviewed by Chris Dumez.
     8
     9        Test: http/wpt/fetch/cors-preflight-star.any.serviceworker.html
     10
     11        * loader/CrossOriginPreflightChecker.cpp:
     12        (WebCore::CrossOriginPreflightChecker::startPreflight):
     13
    1142018-02-07  Zalan Bujtas  <zalan@apple.com>
    215
  • releases/WebKitGTK/webkit-2.20/Source/WebCore/loader/CrossOriginPreflightChecker.cpp

    r227270 r228656  
    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.