| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright (C) 2012 Google, Inc. All rights reserved. | 3 * Copyright (C) 2012 Google, Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 | 764 |
| 765 case TreeWalkerExpandEntityReferences: | 765 case TreeWalkerExpandEntityReferences: |
| 766 return "'TreeWalker.expandEntityReferences' is deprecated and has been r
emoved from DOM. It always returns false."; | 766 return "'TreeWalker.expandEntityReferences' is deprecated and has been r
emoved from DOM. It always returns false."; |
| 767 | 767 |
| 768 case RangeDetach: | 768 case RangeDetach: |
| 769 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw
g.org/#dom-range-detach)."; | 769 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw
g.org/#dom-range-detach)."; |
| 770 | 770 |
| 771 case OverflowChangedEvent: | 771 case OverflowChangedEvent: |
| 772 return "The 'overflowchanged' event is deprecated and may be removed. Pl
ease do not use it."; | 772 return "The 'overflowchanged' event is deprecated and may be removed. Pl
ease do not use it."; |
| 773 | 773 |
| 774 case ElementSetPrefix: | |
| 775 return "Setting 'Element.prefix' is deprecated, as it is read-only per D
OM (http://dom.spec.whatwg.org/#element)."; | |
| 776 | |
| 777 case SyncXHRWithCredentials: | 774 case SyncXHRWithCredentials: |
| 778 return "Setting 'XMLHttpRequest.withCredentials' for synchronous request
s is deprecated."; | 775 return "Setting 'XMLHttpRequest.withCredentials' for synchronous request
s is deprecated."; |
| 779 | 776 |
| 780 case EventSourceURL: | 777 case EventSourceURL: |
| 781 return "'EventSource.URL' is deprecated. Please use 'EventSource.url' in
stead."; | 778 return "'EventSource.URL' is deprecated. Please use 'EventSource.url' in
stead."; |
| 782 | 779 |
| 783 case WebSocketURL: | 780 case WebSocketURL: |
| 784 return "'WebSocket.URL' is deprecated. Please use 'WebSocket.url' instea
d."; | 781 return "'WebSocket.URL' is deprecated. Please use 'WebSocket.url' instea
d."; |
| 785 | 782 |
| 786 case HTMLTableElementVspace: | 783 case HTMLTableElementVspace: |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 851 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 848 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 852 { | 849 { |
| 853 // FIXME: We may want to handle stylesheets that have multiple owners | 850 // FIXME: We may want to handle stylesheets that have multiple owners |
| 854 // http://crbug.com/242125 | 851 // http://crbug.com/242125 |
| 855 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 852 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 856 return getFrom(sheetContents->singleOwnerDocument()); | 853 return getFrom(sheetContents->singleOwnerDocument()); |
| 857 return 0; | 854 return 0; |
| 858 } | 855 } |
| 859 | 856 |
| 860 } // namespace blink | 857 } // namespace blink |
| OLD | NEW |