OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012, the Dart project authors. | 2 * Copyright (c) 2012, the Dart project authors. |
3 * | 3 * |
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except | 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except |
5 * in compliance with the License. You may obtain a copy of the License at | 5 * in compliance with the License. You may obtain a copy of the License at |
6 * | 6 * |
7 * http://www.eclipse.org/legal/epl-v10.html | 7 * http://www.eclipse.org/legal/epl-v10.html |
8 * | 8 * |
9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License | 9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License |
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express | 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 // Ignore all "failed to load" messages from chrome://thumb/... urls. | 138 // Ignore all "failed to load" messages from chrome://thumb/... urls. |
139 if (message.startsWith(FAILED_TO_LOAD) && url.startsWith(CHROME_THUMB)) { | 139 if (message.startsWith(FAILED_TO_LOAD) && url.startsWith(CHROME_THUMB)) { |
140 return true; | 140 return true; |
141 } | 141 } |
142 | 142 |
143 // Ignore invalid -webkit property messages. | 143 // Ignore invalid -webkit property messages. |
144 // {"method":"Console.messageAdded","params":{"message":{"timestamp":1.38287
6131132117E9, | 144 // {"method":"Console.messageAdded","params":{"message":{"timestamp":1.38287
6131132117E9, |
145 // "text":"Invalid CSS property name: -webkit-touch-callout","level":"warn
ing","source":"css", | 145 // "text":"Invalid CSS property name: -webkit-touch-callout","level":"warn
ing","source":"css", |
146 // "column":1,"line":1886,"repeatCount":1,"type":"log","url":"chrome://new
tab/"}}} | 146 // "column":1,"line":1886,"repeatCount":1,"type":"log","url":"chrome://new
tab/"}}} |
147 // && url.startsWith(CHROME_NEW_TAB)) { | 147 // && url.startsWith(CHROME_NEW_TAB)) { |
148 if (message.indexOf("Invalid CSS property name: -webkit") != -1) { | 148 if (message.indexOf("Invalid CSS property name: -webkit") != -1 |
| 149 || message.indexOf("Invalid CSS property value: -webkit") != -1) { |
149 return true; | 150 return true; |
150 } | 151 } |
151 | 152 |
152 return false; | 153 return false; |
153 } | 154 } |
154 | 155 |
155 } | 156 } |
OLD | NEW |