Changeset 240082 in webkit
- Timestamp:
- Jan 16, 2019, 3:28:37 PM (8 years ago)
- Location:
- branches/safari-607-branch/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/WebAuthentication/Mock/MockHidConnection.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-607-branch/Source/WebKit/ChangeLog
r240081 r240082 1 2019-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 1 36 2019-01-10 Jiewen Tan <jiewen_tan@apple.com> 2 37 -
branches/safari-607-branch/Source/WebKit/UIProcess/WebAuthentication/Mock/MockHidConnection.cpp
r239665 r240082 71 71 void MockHidConnection::send(Vector<uint8_t>&& data, DataSentCallback&& callback) 72 72 { 73 // FIXME(192061): Remove all LOG_ERRORs. 74 LOG_ERROR("Sending data: Phase 1. Current time: %f.", MonotonicTime::now().secondsSinceEpoch().value()); 73 75 ASSERT(m_initialized); 74 76 auto task = makeBlockPtr([weakThis = makeWeakPtr(*this), data = WTFMove(data), callback = WTFMove(callback)]() mutable { 75 77 ASSERT(!RunLoop::isMain()); 78 LOG_ERROR("Sending data: Phase 2. Current time: %f.", MonotonicTime::now().secondsSinceEpoch().value()); 76 79 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()); 77 81 if (!weakThis) { 78 82 callback(DataSent::No); … … 80 84 } 81 85 86 LOG_ERROR("Sending data: Phase 4. Current time: %f.", MonotonicTime::now().secondsSinceEpoch().value()); 82 87 weakThis->assembleRequest(WTFMove(data)); 83 88 89 LOG_ERROR("Sending data: Phase 5. Current time: %f.", MonotonicTime::now().secondsSinceEpoch().value()); 84 90 auto sent = DataSent::Yes; 85 91 if (weakThis->stagesMatch() && weakThis->m_configuration.hid->error == Mock::Error::DataNotSent)
Note:
See TracChangeset
for help on using the changeset viewer.