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

Side by Side Diff: chrome/test/data/extensions/api_test/shadow_dom/background.js

Issue 11548020: Use element.createShadowRoot since WebKitShadowRoot is deprecated. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: protect webkitCreateShadowRoot Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 chrome.test.runTests([
6 function currentWindow() {
7 chrome.test.assertTrue('WebKitShadowRoot' in window);
8 chrome.test.succeed();
9 },
10
11 function newWindow() {
12 var w = window.open('empty.html');
13 chrome.test.assertTrue('WebKitShadowRoot' in w);
14 chrome.test.succeed();
15 }
16 ]);
OLDNEW
« no previous file with comments | « chrome/renderer/resources/extensions/web_view.js ('k') | chrome/test/data/extensions/api_test/shadow_dom/empty.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698