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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 void processScriptElementInternal(Element*, | 114 void processScriptElementInternal(Element*, |
115 const TextPosition& scriptStartPosition); | 115 const TextPosition& scriptStartPosition); |
116 | 116 |
117 bool isParserBlockingScriptReady(); | 117 bool isParserBlockingScriptReady(); |
118 | 118 |
119 void possiblyFetchBlockedDocWriteScript(PendingScript*); | 119 void possiblyFetchBlockedDocWriteScript(PendingScript*); |
120 | 120 |
121 RefPtr<HTMLParserReentryPermit> m_reentryPermit; | 121 RefPtr<HTMLParserReentryPermit> m_reentryPermit; |
122 Member<Document> m_document; | 122 Member<Document> m_document; |
123 Member<HTMLParserScriptRunnerHost> m_host; | 123 Member<HTMLParserScriptRunnerHost> m_host; |
| 124 |
| 125 // https://html.spec.whatwg.org/#pending-parsing-blocking-script |
124 Member<PendingScript> m_parserBlockingScript; | 126 Member<PendingScript> m_parserBlockingScript; |
125 // http://www.whatwg.org/specs/web-apps/current-work/#list-of-scripts-that-wil
l-execute-when-the-document-has-finished-parsing | 127 |
| 128 // https://html.spec.whatwg.org/#list-of-scripts-that-will-execute-when-the-do
cument-has-finished-parsing |
126 HeapDeque<Member<PendingScript>> m_scriptsToExecuteAfterParsing; | 129 HeapDeque<Member<PendingScript>> m_scriptsToExecuteAfterParsing; |
127 }; | 130 }; |
128 | 131 |
129 } // namespace blink | 132 } // namespace blink |
130 | 133 |
131 #endif | 134 #endif |
OLD | NEW |