mozilla

Compare Revisions

HTML parser threading

Change Revisions

Revision 65926:

Revision 65926 by Hsivonen on

Revision 65927:

Revision 65927 by Ms2ger on

Title:
HTML parser threading
HTML parser threading
Slug:
Gecko/HTML_parser_threading
Gecko/HTML_parser_threading
Tags:
Gecko
Gecko
Content:

Revision 65926
Revision 65927
n7    <h2>n7    <h2 id="HTML_Parser_Threading">
n13    <h3>n13    <h3 id="Main_Objects">
n28    <h3>n28    <h3 id="Initialization">
n35      Due to legacy interface design oddities, an <code>nsHtml5Pan35      Due to legacy interface design oddities, an <code>nsHtml5Pa
>rser</code> is initialized by calling <code>nsHtml5Parser::Parse(>rser</code> is initialized by calling <code>nsHtml5Parser::Parse(
>nsIURI*, nsIRequestObserver*, void*, nsDTDMode)</code>. That meth>nsIURI*, nsIRequestObserver*, void*, nsDTDMode)</code>. That meth
>od call doesn't yet cause anything to be parsed, though. Actual n>od call doesn't yet cause anything to be parsed, though. Actual n
>etwork data is passed to an <code>nsIStreamListener</code>. <code>etwork data is passed to an <code>nsIStreamListener</code>. <code
>>nsHtml5StreamParser</code> is the <code>nsIStreamListener</code>>>nsHtml5StreamParser</code> is the <code>nsIStreamListener</code>
> implementation obtained by calling <code>nsHtml5Parser::GetStrea> implementation obtained by calling <code>nsIStreamListener*</cod
>mListener(nsIStreamListener**).</code>>e> <code>nsHtml5Parser::GetStreamListener().</code>
n40    <h3>n40    <h3 id="Passing_Data_to_the_Parser_Thread">
n55    <h3>n55    <h3 id="Normal_(Non-Speculative)_Parsing">
n73    <h3>n73    <h3 id="Memory_Management_When_Crossing_the_Thread_Boundary">
n94    <h3>n94    <h3 id="Executing_Tree_Ops">
n109    <h3>n109    <h3 id="Preparing_the_Parser_Thread_for_Script_Execution">
n130    <h3>n130    <h3 id="Attempting_to_Execute_a_Script">
n139    <h3>n139    <h3 id="document.write()">
n160    <h3>n160    <h3 id="Continuing_to_Use_Network-Originating_Data_After_Scri
 >pts">
t196    <h3>t196    <h3 id="Speculative_Loads">

Back to History