OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 RawPtrWillBeMember<HTMLScriptRunnerHost> m_host; | 94 RawPtrWillBeMember<HTMLScriptRunnerHost> m_host; |
95 PendingScript m_parserBlockingScript; | 95 PendingScript m_parserBlockingScript; |
96 Deque<PendingScript> m_scriptsToExecuteAfterParsing; // http://www.whatwg.or
g/specs/web-apps/current-work/#list-of-scripts-that-will-execute-when-the-docume
nt-has-finished-parsing | 96 Deque<PendingScript> m_scriptsToExecuteAfterParsing; // http://www.whatwg.or
g/specs/web-apps/current-work/#list-of-scripts-that-will-execute-when-the-docume
nt-has-finished-parsing |
97 unsigned m_scriptNestingLevel; | 97 unsigned m_scriptNestingLevel; |
98 | 98 |
99 // We only want stylesheet loads to trigger script execution if script | 99 // We only want stylesheet loads to trigger script execution if script |
100 // execution is currently stopped due to stylesheet loads, otherwise we'd | 100 // execution is currently stopped due to stylesheet loads, otherwise we'd |
101 // cause nested script execution when parsing <style> tags since </style> | 101 // cause nested script execution when parsing <style> tags since </style> |
102 // tags can cause Document to call executeScriptsWaitingForResources. | 102 // tags can cause Document to call executeScriptsWaitingForResources. |
103 bool m_hasScriptsWaitingForResources; | 103 bool m_hasScriptsWaitingForResources; |
| 104 |
| 105 // For tracking the times between script load and compilation, we need to |
| 106 // know whether a parser blocking script was loaded previously, or whether |
| 107 // it's really loaded when requested. |
| 108 bool m_parserBlockingScriptAlreadyLoaded; |
104 }; | 109 }; |
105 | 110 |
106 } | 111 } |
107 | 112 |
108 #endif | 113 #endif |
OLD | NEW |