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

Unified Diff: chrome/test/data/extensions/platform_apps/ad_view/properties_exposed/chrometest.js

Issue 327363002: Remove adview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More files deleted! Created 6 years, 6 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
Index: chrome/test/data/extensions/platform_apps/ad_view/properties_exposed/chrometest.js
diff --git a/chrome/test/data/extensions/platform_apps/ad_view/properties_exposed/chrometest.js b/chrome/test/data/extensions/platform_apps/ad_view/properties_exposed/chrometest.js
deleted file mode 100644
index 1dd26237400d983ce900d9ed47ef907105f30f09..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/platform_apps/ad_view/properties_exposed/chrometest.js
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// This test checks that <adview> attributes are also exposed as properties
-// (with the same name and value).
-
-function runTests() {
- chrome.test.runTests([
- function test() {
- var adview = document.getElementsByTagName('adview')[0];
- var adnetwork = adview.getAttribute('ad-network');
-
- // Timeout is necessary to give the mutation observers a chance to fire.
- // http://lists.w3.org/Archives/Public/public-webapps/2011JulSep/1622.html
- setTimeout(function() {
- chrome.test.assertEq(adnetwork, adview.getAttribute('ad-network'));
- chrome.test.assertEq(adnetwork, adview['ad-network']);
-
- console.log("Properties verified.");
- chrome.test.succeed();
- }, 0);
- }
- ]);
-}
-
-window.onload = function() {
- chrome.test.getConfig(function(config) {
- runTests();
- });
-}

Powered by Google App Engine
This is Rietveld 408576698