Chromium Code Reviews
DescriptionWebRtcBrowserTest prep-CL for IndexedDB cloning of RTCCertificate.
This is part of larger work that will allow persistent storage of
RTCCertificate in IndexedDB. The big picture can be seen here:
https://codereview.chromium.org/1949033002/
This CL implements part 3a+3b:
3. Unittests making sure RTCCertificate can be saved and loaded from IndexedDB
a) chrome/test/data/webrtc/indexeddb.js added with functions for managing
a database and saving and loading (cloning) certificates.
b) WebRtcTestBase implementing C++ functions for calling the indexeddb.js
API.
Part 3c is *NOT* implemented:
c) WebRtcBrowserTest tests added which clone certificates and sets up calls
using the clones.
This is because RTCCertificate cloning (pt.2) has not landed yet, so any attempt
to clone it in a unittest would fail. Part 2 + 3c will be done in a follow-up.
BUG=581354
Committed: https://crrev.com/042933a05d5d0bde0aaea8882c7d74b79810c799
Cr-Commit-Position: refs/heads/master@{#392582}
Patch Set 1 #
Total comments: 14
Patch Set 2 : Addressed comments (promises, internals, ok-derp str equality) #
Total comments: 4
Patch Set 3 : (Rebase with master) #Patch Set 4 : Addressed nits #
Messages
Total messages: 17 (6 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||