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

Changeset 240082 in webkit


Ignore:
Timestamp:
Jan 16, 2019, 3:28:37 PM (8 years ago)
Author:
Alan Coon
Message:

Cherry-pick r239757. rdar://problem/47260195

[Mac] Layout Test http/wpt/webauthn/public-key-credential-create-success-hid.https.html and http/wpt/webauthn/public-key-credential-get-success-hid.https.html are flaky
​https://bugs.webkit.org/show_bug.cgi?id=192061

Reviewed by Dewei Zhu.

Part 6.

Add some additional temporary logging info to determine if data is actually sent.
Once the bug is determined and fixed, we should remove all logging added in this patch.

  • UIProcess/WebAuthentication/Mock/MockHidConnection.cpp: (WebKit::MockHidConnection::send):

git-svn-id: ​https://svn.webkit.org/repository/webkit/trunk@239757 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-607-branch/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-607-branch/Source/WebKit/ChangeLog

    r240081 r240082  
     12019-01-16  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r239757. rdar://problem/47260195
     4
     5    [Mac] Layout Test http/wpt/webauthn/public-key-credential-create-success-hid.https.html and http/wpt/webauthn/public-key-credential-get-success-hid.https.html are flaky
     6    https://bugs.webkit.org/show_bug.cgi?id=192061
     7   
     8    Reviewed by Dewei Zhu.
     9   
     10    Part 6.
     11   
     12    Add some additional temporary logging info to determine if data is actually sent.
     13    Once the bug is determined and fixed, we should remove all logging added in this patch.
     14   
     15    * UIProcess/WebAuthentication/Mock/MockHidConnection.cpp:
     16    (WebKit::MockHidConnection::send):
     17   
     18   
     19    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     20
     21    2019-01-08  Jiewen Tan  <jiewen_tan@apple.com>
     22
     23            [Mac] Layout Test http/wpt/webauthn/public-key-credential-create-success-hid.https.html and http/wpt/webauthn/public-key-credential-get-success-hid.https.html are flaky
     24            https://bugs.webkit.org/show_bug.cgi?id=192061
     25
     26            Reviewed by Dewei Zhu.
     27
     28            Part 6.
     29
     30            Add some additional temporary logging info to determine if data is actually sent.
     31            Once the bug is determined and fixed, we should remove all logging added in this patch.
     32
     33            * UIProcess/WebAuthentication/Mock/MockHidConnection.cpp:
     34            (WebKit::MockHidConnection::send):
     35
    1362019-01-10  Jiewen Tan  <jiewen_tan@apple.com>
    237
  • branches/safari-607-branch/Source/WebKit/UIProcess/WebAuthentication/Mock/MockHidConnection.cpp

    r239665 r240082  
    7171void MockHidConnection::send(Vector<uint8_t>&& data, DataSentCallback&& callback)
    7272{
     73    // FIXME(192061): Remove all LOG_ERRORs.
     74    LOG_ERROR("Sending data: Phase 1. Current time: %f.", MonotonicTime::now().secondsSinceEpoch().value());
    7375    ASSERT(m_initialized);
    7476    auto task = makeBlockPtr([weakThis = makeWeakPtr(*this), data = WTFMove(data), callback = WTFMove(callback)]() mutable {
    7577        ASSERT(!RunLoop::isMain());
     78        LOG_ERROR("Sending data: Phase 2. Current time: %f.", MonotonicTime::now().secondsSinceEpoch().value());
    7679        RunLoop::main().dispatch([weakThis, data = WTFMove(data), callback = WTFMove(callback)]() mutable {
     80            LOG_ERROR("Sending data: Phase 3. Current time: %f.", MonotonicTime::now().secondsSinceEpoch().value());
    7781            if (!weakThis) {
    7882                callback(DataSent::No);
    … …  
    8084            }
    8185
     86            LOG_ERROR("Sending data: Phase 4. Current time: %f.", MonotonicTime::now().secondsSinceEpoch().value());
    8287            weakThis->assembleRequest(WTFMove(data));
    8388
     89            LOG_ERROR("Sending data: Phase 5. Current time: %f.", MonotonicTime::now().secondsSinceEpoch().value());
    8490            auto sent = DataSent::Yes;
    8591            if (weakThis->stagesMatch() && weakThis->m_configuration.hid->error == Mock::Error::DataNotSent)
Note: See TracChangeset for help on using the changeset viewer.