Commit 9f2e67cb authored by Takayoshi Kochi's avatar Takayoshi Kochi Committed by Commit Bot

Move "style in HTML imports" removal target.

M65 is already branched, and we have to put off at least
2 milestones before the removal.

Bug: 523952

Change-Id: I1aa3950a07bbf12720e7aed8d94f3f6e3e380d2e
Reviewed-on: https://chromium-review.googlesource.com/921002
Commit-Queue: Takayoshi Kochi <kochi@chromium.org>
Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537183}
parent 6b6d3f7d
CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths. CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M67, around May 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.
PASS if this test didn't crash. PASS if this test didn't crash.
CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths. CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M67, around May 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.
This test passes if it does not crash under ASAN. This test passes if it does not crash under ASAN.
CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths. CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M67, around May 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.
PASS event.target.import.querySelector('link').sheet instanceof StyleSheet is true PASS event.target.import.querySelector('link').sheet instanceof StyleSheet is true
PASS successfullyParsed is true PASS successfullyParsed is true
......
CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths. CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M67, around May 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.
PASS document.styleSheets.length is 2 PASS document.styleSheets.length is 2
PASS importLink.import.styleSheets.length is 1 PASS importLink.import.styleSheets.length is 1
PASS window.getComputedStyle(shouldBeBlue).color is "rgb(0, 0, 255)" PASS window.getComputedStyle(shouldBeBlue).color is "rgb(0, 0, 255)"
......
CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths. CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M67, around May 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.
PASS childStyleLink.sheet.title is "Script Blocker" PASS childStyleLink.sheet.title is "Script Blocker"
PASS importLink.import is non-null. PASS importLink.import is non-null.
PASS successfullyParsed is true PASS successfullyParsed is true
......
CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths. CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M67, around May 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.
PASS childStyleLink.sheet.title is "Script Blocker" PASS childStyleLink.sheet.title is "Script Blocker"
PASS window.getComputedStyle(shouldBeBlue).color is "rgb(0, 0, 255)" PASS window.getComputedStyle(shouldBeBlue).color is "rgb(0, 0, 255)"
PASS window.getComputedStyle(shouldBeAqua).color is "rgb(0, 255, 255)" PASS window.getComputedStyle(shouldBeAqua).color is "rgb(0, 255, 255)"
......
CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths. CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M67, around May 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.
PASS colorOf(target1) is 'rgb(0, 128, 0)' PASS colorOf(target1) is 'rgb(0, 128, 0)'
PASS colorOf(target2) is 'rgb(255, 0, 0)' PASS colorOf(target2) is 'rgb(255, 0, 0)'
PASS colorOf(target3) is 'rgb(255, 0, 0)' PASS colorOf(target3) is 'rgb(255, 0, 0)'
......
CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths. CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M67, around May 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.
PASS window.getComputedStyle(styleShouldBeHiddenByImport).color is "rgb(0, 128, 0)" PASS window.getComputedStyle(styleShouldBeHiddenByImport).color is "rgb(0, 128, 0)"
PASS window.getComputedStyle(linkShouldBeHiddenByImport).color is "rgb(0, 128, 0)" PASS window.getComputedStyle(linkShouldBeHiddenByImport).color is "rgb(0, 128, 0)"
PASS window.getComputedStyle(importShouldBeHiddenByImport).color is "rgb(0, 128, 0)" PASS window.getComputedStyle(importShouldBeHiddenByImport).color is "rgb(0, 128, 0)"
......
CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths. CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M67, around May 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.
PASS target.import.querySelector('link').sheet instanceof StyleSheet is true PASS target.import.querySelector('link').sheet instanceof StyleSheet is true
PASS successfullyParsed is true PASS successfullyParsed is true
......
CONSOLE MESSAGE: line 9: PASS: resources/preload.html is preloaded. CONSOLE MESSAGE: line 9: PASS: resources/preload.html is preloaded.
CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths. CONSOLE WARNING: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M67, around May 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.
...@@ -470,13 +470,13 @@ DeprecationInfo GetDeprecationInfo(WebFeature feature) { ...@@ -470,13 +470,13 @@ DeprecationInfo GetDeprecationInfo(WebFeature feature) {
case WebFeature::kHTMLImportsHasStyleSheets: case WebFeature::kHTMLImportsHasStyleSheets:
return { return {
"HTMLImportsHasStyleSheets", M65, "HTMLImportsHasStyleSheets", M67,
String::Format("Styling master document from stylesheets defined in " String::Format("Styling master document from stylesheets defined in "
"HTML Imports " "HTML Imports "
"is deprecated, and is planned to be removed in %s. " "is deprecated, and is planned to be removed in %s. "
"Please refer to " "Please refer to "
"https://goo.gl/EGXzpw for possible migration paths.", "https://goo.gl/EGXzpw for possible migration paths.",
milestoneString(M65))}; milestoneString(M67))};
case WebFeature:: case WebFeature::
kEncryptedMediaDisallowedByFeaturePolicyInCrossOriginIframe: kEncryptedMediaDisallowedByFeaturePolicyInCrossOriginIframe:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment