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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-root-js-api-expected.txt

Issue 1990683002: [DevTools] Capture call stacks for deprecation console messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 CONSOLE WARNING: Calling Element.createShadowRoot() for an element which already hosts a shadow root is deprecated. See https://www.chromestatus.com/features/46 68884095336448 for more details. 1 CONSOLE WARNING: line 46: Calling Element.createShadowRoot() for an element whic h already hosts a shadow root is deprecated. See https://www.chromestatus.com/fe atures/4668884095336448 for more details.
2 Tests for ShadowRoot JS APIs. Can only run within DRT 2 Tests for ShadowRoot JS APIs. Can only run within DRT
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 PASS window.ShadowRoot is defined. 7 PASS window.ShadowRoot is defined.
8 PASS new window.ShadowRoot(document.createElement('div')) threw exception TypeEr ror: Illegal constructor. 8 PASS new window.ShadowRoot(document.createElement('div')) threw exception TypeEr ror: Illegal constructor.
9 PASS shadowRoot instanceof window.ShadowRoot is true 9 PASS shadowRoot instanceof window.ShadowRoot is true
10 PASS shadowRoot.getElementById('div1') is div1 10 PASS shadowRoot.getElementById('div1') is div1
11 PASS shadowRoot.getElementById('foo') is null 11 PASS shadowRoot.getElementById('foo') is null
12 PASS shadowRoot.querySelector('#div1') is div1 12 PASS shadowRoot.querySelector('#div1') is div1
13 PASS shadowRoot.querySelector('#foo') is null 13 PASS shadowRoot.querySelector('#foo') is null
14 PASS shadowRoot.querySelector('.class2') is div2 14 PASS shadowRoot.querySelector('.class2') is div2
15 PASS shadowRoot.querySelector('.foo') is null 15 PASS shadowRoot.querySelector('.foo') is null
16 PASS shadowRoot.querySelectorAll('div') is [div1, div2] 16 PASS shadowRoot.querySelectorAll('div') is [div1, div2]
17 PASS shadowRoot.querySelectorAll('foo') is [] 17 PASS shadowRoot.querySelectorAll('foo') is []
18 PASS youngerShadowRoot is not shadowRoot 18 PASS youngerShadowRoot is not shadowRoot
19 PASS successfullyParsed is true 19 PASS successfullyParsed is true
20 20
21 TEST COMPLETE 21 TEST COMPLETE
22 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698