diff --git a/third_party/WebKit/LayoutTests/fast/backgrounds/repeat/margin-shorthand-expected.txt b/third_party/WebKit/LayoutTests/fast/backgrounds/repeat/margin-shorthand-expected.txt index 618973294e2bc..ea408ce6c1da1 100644 --- a/third_party/WebKit/LayoutTests/fast/backgrounds/repeat/margin-shorthand-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/backgrounds/repeat/margin-shorthand-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 12: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 12: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. This layouttest was initially there to test that shorthand property value is correct even if background-repeat property is declared before it in the style declaration. It used to test regression described in this bug. Now that access to non author stylesheet is blocked, we should instead get null when accessing the css rules on that object. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". diff --git a/third_party/WebKit/LayoutTests/fast/css/border-radius-property-value-expected.txt b/third_party/WebKit/LayoutTests/fast/css/border-radius-property-value-expected.txt index bcc71045a1523..245fc05e7969e 100644 --- a/third_party/WebKit/LayoutTests/fast/css/border-radius-property-value-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/css/border-radius-property-value-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 18: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 18: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. Test for Bug: 80736 - CSSStyleDeclaration.getPropertyValue() for 'border-radius' returns null when value is set On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". diff --git a/third_party/WebKit/LayoutTests/fast/css/modify-ua-rules-from-javascript-expected.txt b/third_party/WebKit/LayoutTests/fast/css/modify-ua-rules-from-javascript-expected.txt index cb72787551603..d83b5b462ad3a 100644 --- a/third_party/WebKit/LayoutTests/fast/css/modify-ua-rules-from-javascript-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/css/modify-ua-rules-from-javascript-expected.txt @@ -1,2 +1,2 @@ -CONSOLE WARNING: line 11: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 11: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. PASS diff --git a/third_party/WebKit/LayoutTests/fast/css/word-break-user-modify-allowed-values-expected.txt b/third_party/WebKit/LayoutTests/fast/css/word-break-user-modify-allowed-values-expected.txt index 1090eb4294fc7..bd4bb6cf3ab66 100644 --- a/third_party/WebKit/LayoutTests/fast/css/word-break-user-modify-allowed-values-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/css/word-break-user-modify-allowed-values-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 7: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 7: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. This page tests that invalid values for the word-break and -webkit-user-modify properties are rejected by the CSS parser. PASS diff --git a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper-expected.txt index f9eab41f68010..9a5d0d6f7ac94 100644 --- a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 1: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 1: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. Test that detached CSSOM subtrees keeps a reference to CSS stylesheets lacking wrappers. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". diff --git a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper-expected.txt index 79d3b37ee0b8f..0d596004988eb 100644 --- a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 15: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 15: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. Test that detached CSSOM subtrees keeps a reference to CSS stylesheets lacking wrappers. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". diff --git a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash-expected.txt index 96f3115c9881a..e522029433599 100644 --- a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash-expected.txt @@ -1,2 +1,2 @@ -CONSOLE WARNING: line 16: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 16: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. PASS diff --git a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash-expected.txt index 96f3115c9881a..e522029433599 100644 --- a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash-expected.txt @@ -1,2 +1,2 @@ -CONSOLE WARNING: line 16: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 16: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. PASS diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-nested-rules-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-nested-rules-expected.txt index db811eb4bbf79..69caa0036f993 100644 --- a/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-nested-rules-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-nested-rules-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 1: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 1: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. getMatchedCSSRules with nested CSS rules On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-null-crash-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-null-crash-expected.txt index 10b7e12c642f7..63606d862fa0c 100644 --- a/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-null-crash-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-null-crash-expected.txt @@ -1,2 +1,2 @@ -CONSOLE WARNING: line 4: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 4: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. SUCCESS (getMatchedCSSRule(null, ...) did not crash). diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-parent-stylesheets-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-parent-stylesheets-expected.txt index 1e2d6871facc4..994b5bf0a2bb1 100644 --- a/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-parent-stylesheets-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-parent-stylesheets-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 16: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 16: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. getMatchedCSSRules returns CSSStyleRules with correct parent stylesheet. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements-expected.txt index d86273ae722d0..dbc85e56da0fa 100644 --- a/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 1: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 1: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. getMatchedCSSRules with invalid Pseudo Elements On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-complex-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-complex-expected.txt index d0226f7578781..e881f58c204cb 100644 --- a/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-complex-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-complex-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 83: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 83: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. Test for WebKit bug 78595: CollectingRules and QueryingRules modes of SelectorChecker miss some complex selectors with pseudo elements diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-expected.txt index 1b1598576b7fc..79793b67007d9 100644 --- a/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 20: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 20: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. Test for getMatchedCSSRules for Pseudo Elements On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/get-matched-css-rules-with-dirty-dirstibution-crash-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/shadow/get-matched-css-rules-with-dirty-dirstibution-crash-expected.txt index 344e8bf5f0d90..c4866050bafb6 100644 --- a/third_party/WebKit/LayoutTests/fast/dom/shadow/get-matched-css-rules-with-dirty-dirstibution-crash-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/get-matched-css-rules-with-dirty-dirstibution-crash-expected.txt @@ -1,3 +1,3 @@ -CONSOLE WARNING: line 8: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 8: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. Tests that getMatchedCSSRules with dirty distribution doesn't crash. diff --git a/third_party/WebKit/LayoutTests/fast/inspector-support/style-expected.txt b/third_party/WebKit/LayoutTests/fast/inspector-support/style-expected.txt index ede151a1265d8..8f5375f05ce74 100644 --- a/third_party/WebKit/LayoutTests/fast/inspector-support/style-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/inspector-support/style-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 15: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 15: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. Note that background is buggy right now! Test background-image: initial diff --git a/third_party/WebKit/LayoutTests/http/tests/security/cross-origin-getMatchedCSSRules-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/cross-origin-getMatchedCSSRules-expected.txt index 5aa34382d78c2..adbfdeb953299 100644 --- a/third_party/WebKit/LayoutTests/http/tests/security/cross-origin-getMatchedCSSRules-expected.txt +++ b/third_party/WebKit/LayoutTests/http/tests/security/cross-origin-getMatchedCSSRules-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 32: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 32: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. This test whether a script can read the rules from a cross-origin style sheet using getMatchedCSSRules. Test begins. diff --git a/third_party/WebKit/LayoutTests/http/tests/security/cross-origin-getMatchedCSSRules2-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/cross-origin-getMatchedCSSRules2-expected.txt index d968d27fb0471..b5ae96bd68978 100644 --- a/third_party/WebKit/LayoutTests/http/tests/security/cross-origin-getMatchedCSSRules2-expected.txt +++ b/third_party/WebKit/LayoutTests/http/tests/security/cross-origin-getMatchedCSSRules2-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 13: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 13: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. ALERT: PASS DIV diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/inspector-support/matchedrules-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/inspector-support/matchedrules-expected.txt index e99f7dba58e06..431ece9d6f271 100644 --- a/third_party/WebKit/LayoutTests/platform/linux/fast/inspector-support/matchedrules-expected.txt +++ b/third_party/WebKit/LayoutTests/platform/linux/fast/inspector-support/matchedrules-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 16: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 16: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. layer at (0,0) size 800x600 LayoutView at (0,0) size 800x600 layer at (0,0) size 800x600 diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/inspector-support/matchedrules-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/inspector-support/matchedrules-expected.txt index fb3053e42bb05..eb41be63bcb41 100644 --- a/third_party/WebKit/LayoutTests/platform/mac/fast/inspector-support/matchedrules-expected.txt +++ b/third_party/WebKit/LayoutTests/platform/mac/fast/inspector-support/matchedrules-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 16: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 16: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. layer at (0,0) size 800x600 LayoutView at (0,0) size 800x600 layer at (0,0) size 800x600 diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/inspector-support/matchedrules-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/inspector-support/matchedrules-expected.txt index a1866de936694..d81e3c33df818 100644 --- a/third_party/WebKit/LayoutTests/platform/win/fast/inspector-support/matchedrules-expected.txt +++ b/third_party/WebKit/LayoutTests/platform/win/fast/inspector-support/matchedrules-expected.txt @@ -1,4 +1,4 @@ -CONSOLE WARNING: line 16: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2 +CONSOLE WARNING: line 16: document.getMatchedCSSRules() is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4606972603138048 for more details. layer at (0,0) size 800x600 LayoutView at (0,0) size 800x600 layer at (0,0) size 800x600 diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp index 18fa95c4e90e5..dc100486390fe 100644 --- a/third_party/WebKit/Source/core/frame/Deprecation.cpp +++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp @@ -331,8 +331,8 @@ String Deprecation::DeprecationMessage(WebFeature feature) { "For more help, check https://xhr.spec.whatwg.org/."; case WebFeature::kGetMatchedCSSRules: - return "'getMatchedCSSRules()' is deprecated. For more help, check " - "https://code.google.com/p/chromium/issues/detail?id=437569#c2"; + return willBeRemoved("document.getMatchedCSSRules()", M63, + "4606972603138048"); case WebFeature::kPrefixedWindowURL: return replacedBy("'webkitURL'", "'URL'");