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

Unified Diff: chrome/test/chromedriver/js/call_function_test.html

Issue 214093002: Replace deprecated webkitCreateShadowRoot with createShadowRoot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « chrome/renderer/resources/extensions/window_controls.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/js/call_function_test.html
diff --git a/chrome/test/chromedriver/js/call_function_test.html b/chrome/test/chromedriver/js/call_function_test.html
index 7c0a2df3cfa6f5d2b178b50aa64714f7e8093d8d..3c99a08d2dc59b0ee8fad66dd49d5773f7aaff88 100644
--- a/chrome/test/chromedriver/js/call_function_test.html
+++ b/chrome/test/chromedriver/js/call_function_test.html
@@ -165,7 +165,7 @@ function testCallFunctionWithShadowHost() {
// Set up something in the shadow DOM.
var host = document.body.appendChild(document.createElement('div'));
- var root = host.webkitCreateShadowRoot();
+ var root = host.createShadowRoot();
var shadowDiv = root.appendChild(document.createElement('div'));
function func(element) {
@@ -187,7 +187,7 @@ function testCallFunctionWithShadowRoot() {
// Set up something in the shadow DOM.
var host = document.body.appendChild(document.createElement('div'));
- var root = host.webkitCreateShadowRoot();
+ var root = host.createShadowRoot();
var shadowDiv = root.appendChild(document.createElement('div'));
function func(element) {
@@ -215,7 +215,7 @@ function testCacheWithShadowDomAttached() {
// Set up something in the shadow DOM.
var host = document.body.appendChild(document.createElement('div'));
- var root = host.webkitCreateShadowRoot();
+ var root = host.createShadowRoot();
var shadowDiv = root.appendChild(document.createElement('div'));
// Test with attached element in shadow DOM.
@@ -241,7 +241,7 @@ function testCacheWithShadowDomDetachedChild() {
// Set up something in the shadow DOM.
var host = document.body.appendChild(document.createElement('div'));
- var root = host.webkitCreateShadowRoot();
+ var root = host.createShadowRoot();
var shadowDiv = root.appendChild(document.createElement('div'));
// Test with detached element in shadow DOM.
« no previous file with comments | « chrome/renderer/resources/extensions/window_controls.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698