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 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 | 758 |
759 case HTMLHeadElementProfile: | 759 case HTMLHeadElementProfile: |
760 return "'HTMLHeadElement.profile' is deprecated. The reflected attribute
has no effect."; | 760 return "'HTMLHeadElement.profile' is deprecated. The reflected attribute
has no effect."; |
761 | 761 |
762 case ElementSetPrefix: | 762 case ElementSetPrefix: |
763 return "Setting 'Element.prefix' is deprecated, as it is read-only per D
OM (http://dom.spec.whatwg.org/#element)."; | 763 return "Setting 'Element.prefix' is deprecated, as it is read-only per D
OM (http://dom.spec.whatwg.org/#element)."; |
764 | 764 |
765 case SyncXHRWithCredentials: | 765 case SyncXHRWithCredentials: |
766 return "Setting 'XMLHttpRequest.withCredentials' for synchronous request
s is deprecated."; | 766 return "Setting 'XMLHttpRequest.withCredentials' for synchronous request
s is deprecated."; |
767 | 767 |
768 case OpenWebDatabaseInWorker: | |
769 return "'openDatabase' in Workers is deprecated. Please switch to Indexe
d Database API."; | |
770 | |
771 case OpenWebDatabaseSyncInWorker: | |
772 return "'openDatabaseSync' is deprecated. Please switch to Indexed Datab
ase API."; | |
773 | |
774 case EventSourceURL: | 768 case EventSourceURL: |
775 return "'EventSource.URL' is deprecated. Please use 'EventSource.url' in
stead."; | 769 return "'EventSource.URL' is deprecated. Please use 'EventSource.url' in
stead."; |
776 | 770 |
777 case WebSocketURL: | 771 case WebSocketURL: |
778 return "'WebSocket.URL' is deprecated. Please use 'WebSocket.url' instea
d."; | 772 return "'WebSocket.URL' is deprecated. Please use 'WebSocket.url' instea
d."; |
779 | 773 |
780 case HTMLTableElementVspace: | 774 case HTMLTableElementVspace: |
781 return "The 'vspace' attribute on table is deprecated. Please use CSS in
stead."; | 775 return "The 'vspace' attribute on table is deprecated. Please use CSS in
stead."; |
782 | 776 |
783 case HTMLTableElementHspace: | 777 case HTMLTableElementHspace: |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 827 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
834 { | 828 { |
835 // FIXME: We may want to handle stylesheets that have multiple owners | 829 // FIXME: We may want to handle stylesheets that have multiple owners |
836 // http://crbug.com/242125 | 830 // http://crbug.com/242125 |
837 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 831 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
838 return getFrom(sheetContents->singleOwnerDocument()); | 832 return getFrom(sheetContents->singleOwnerDocument()); |
839 return 0; | 833 return 0; |
840 } | 834 } |
841 | 835 |
842 } // namespace blink | 836 } // namespace blink |
OLD | NEW |