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

Unified Diff: chrome/test/data/webui/extensions/extension_item_test.js

Issue 1447183005: [MD Extensions] Fix item sorting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Michael's Created 5 years, 1 month 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: chrome/test/data/webui/extensions/extension_item_test.js
diff --git a/chrome/test/data/webui/extensions/extension_item_test.js b/chrome/test/data/webui/extensions/extension_item_test.js
index b837ad796744e35e91916feb1086030ccc9ee678..222697278db905100fff837f0c09b6df350bfa0c 100644
--- a/chrome/test/data/webui/extensions/extension_item_test.js
+++ b/chrome/test/data/webui/extensions/extension_item_test.js
@@ -34,27 +34,11 @@ cr.define('extension_item_tests', function() {
inspectItemView: function(id, view) {},
};
- /** @type {string} The mock extension's id. */
- var id = 'a'.repeat(32);
-
- /** @type {string} The mock extension's base URL. */
- var baseUrl = 'chrome-extension://' + id + '/';
-
/**
* The data used to populate the extension item.
- * @type {ExtensionInfo}
+ * @type {chrome.developerPrivate.ExtensionInfo}
*/
- var extensionData = {
- description: 'This is an extension',
- iconUrl: 'chrome://extension-icon/' + id + '/24/0',
- id: id,
- incognitoAccess: {isEnabled: true, isActive: false},
- name: 'Wonderful Extension',
- state: 'ENABLED',
- type: 'EXTENSION',
- version: '2.0',
- views: [{url: baseUrl + 'foo.html'}, {url: baseUrl + 'bar.html'}],
- };
+ var extensionData = extension_test_util.createExtensionInfo();
// The normal elements, which should always be shown.
var normalElements = [

Powered by Google App Engine
This is Rietveld 408576698