Chromium Code Reviews| Index: chrome/test/data/extensions/api_test/shadow_dom/background.js |
| diff --git a/chrome/test/data/extensions/api_test/shadow_dom/background.js b/chrome/test/data/extensions/api_test/shadow_dom/background.js |
| index e2e4428e80859fa7d6c99da7cc948ad33603c654..6b807d42cf1b484ed3107f0a3ed77e856030d3a3 100644 |
| --- a/chrome/test/data/extensions/api_test/shadow_dom/background.js |
| +++ b/chrome/test/data/extensions/api_test/shadow_dom/background.js |
| @@ -3,14 +3,8 @@ |
| // found in the LICENSE file. |
| chrome.test.runTests([ |
| - function currentWindow() { |
| - chrome.test.assertTrue('WebKitShadowRoot' in window); |
| - chrome.test.succeed(); |
| - }, |
| - |
| - function newWindow() { |
| - var w = window.open('empty.html'); |
| - chrome.test.assertTrue('WebKitShadowRoot' in w); |
| + function createShadowRootIsAvailableInElement() { |
|
not at google - send to devlin
2012/12/12 16:47:29
when would this test fail?
dougw
2012/12/12 21:37:29
For old versions of WebKit.
not at google - send to devlin
2012/12/12 21:45:37
I don't follow... these tests run for WebKit at ti
|
| + chrome.test.assertTrue('webkitCreateShadowRoot' in Element.prototype); |
| chrome.test.succeed(); |
| } |
| ]); |