Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1450)

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp

Issue 2572603002: ABANDONED CL: Rename readyState() to getReadyState(). (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp
index 05c3f4a27c8d2e3cfbe3f18381c1b74883483bc9..53a2728186bb8153a5c653c1c48c3966486c7fe4 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp
@@ -54,7 +54,7 @@ TEST(IDBRequestTest, EventsAfterStopping) {
IDBTransaction* transaction = nullptr;
IDBRequest* request = IDBRequest::create(
scope.getScriptState(), IDBAny::createUndefined(), transaction);
- EXPECT_EQ(request->readyState(), "pending");
+ EXPECT_EQ(request->getReadyState(), "pending");
scope.getExecutionContext()->notifyContextDestroyed();
// Ensure none of the following raise assertions in stopped state:
@@ -75,7 +75,7 @@ TEST(IDBRequestTest, AbortErrorAfterAbort) {
IDBTransaction* transaction = nullptr;
IDBRequest* request = IDBRequest::create(
scope.getScriptState(), IDBAny::createUndefined(), transaction);
- EXPECT_EQ(request->readyState(), "pending");
+ EXPECT_EQ(request->getReadyState(), "pending");
// Simulate the IDBTransaction having received onAbort from back end and
// aborting the request:
@@ -103,7 +103,7 @@ TEST(IDBRequestTest, ConnectionsAfterStopping) {
EXPECT_CALL(*backend, close()).Times(1);
IDBOpenDBRequest* request = IDBOpenDBRequest::create(
scope.getScriptState(), callbacks, transactionId, version);
- EXPECT_EQ(request->readyState(), "pending");
+ EXPECT_EQ(request->getReadyState(), "pending");
std::unique_ptr<WebIDBCallbacks> callbacks = request->createWebCallbacks();
scope.getExecutionContext()->notifyContextDestroyed();
@@ -116,7 +116,7 @@ TEST(IDBRequestTest, ConnectionsAfterStopping) {
EXPECT_CALL(*backend, close()).Times(1);
IDBOpenDBRequest* request = IDBOpenDBRequest::create(
scope.getScriptState(), callbacks, transactionId, version);
- EXPECT_EQ(request->readyState(), "pending");
+ EXPECT_EQ(request->getReadyState(), "pending");
std::unique_ptr<WebIDBCallbacks> callbacks = request->createWebCallbacks();
scope.getExecutionContext()->notifyContextDestroyed();

Powered by Google App Engine
This is Rietveld 408576698