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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/ClearStorageView.js

Issue 2748693003: [DevTools] Clear session storage (Closed)
Patch Set: [DevTools] Clear session storage Created 3 years, 9 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/resources/DOMStorageModel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/resources/ClearStorageView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ClearStorageView.js b/third_party/WebKit/Source/devtools/front_end/resources/ClearStorageView.js
index a4ba75b978b25ff3a72d01ddda0062aa86a8310d..090a26b10c747108f660d19ed78c44764f9e702c 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/ClearStorageView.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/ClearStorageView.js
@@ -149,10 +149,11 @@ Resources.ClearStorageView = class extends UI.VBox {
}
this._clearButton.disabled = true;
+ var label = this._clearButton.textContent;
this._clearButton.textContent = Common.UIString('Clearing...');
setTimeout(() => {
this._clearButton.disabled = false;
- this._clearButton.textContent = Common.UIString('Clear selected');
+ this._clearButton.textContent = label;
}, 500);
}
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/resources/DOMStorageModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698