Mechanically replace Shadow DOM v0 with v1 in web_tests [CL 2 of 3]
This CL is the result of the following mechanical replacements, within the third_party/blink/web_tests folder, on only .html and .js files: '.createShadowRoot()' -> '.attachShadow({mode: 'open'})' 'document.createElement('content')' -> 'document.createElement('span')' Several web_tests did not pass after the above replacements were made. Those tests were reverted - the changes in this CL are only the tests that pass in the same way that they did prior to the replacements. The only exceptions, which were re-baselined here, had *only* a console warning message like this, which is now missing: CONSOLE WARNING: line 27: Element.createShadowRoot is deprecated and will be removed in M80, around February 2020. Please use... In addition, most of the same test expectations files were completely removed from the virtual/web-components-v0-disabled folder, since these tests no longer depend on WCv0 features, and no longer fail. Bug: 937746 Change-Id: Ie27e959a39e4c6de6655abb13f71b2e0d56853c4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2208387 Commit-Queue: Stephen Chenney <schenney@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Reviewed-by:Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/master@{#771443}
Showing
Please register or sign in to comment