diff options
author | Connor Brewster <connor.brewster@eagles.oc.edu> | 2017-12-02 18:35:39 -0600 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2018-01-11 11:14:10 -0500 |
commit | 4593195b493e819b56b8f34376b1058a80210c53 (patch) | |
tree | 0c4e35986de33062d60e6849370050f30f80a27c /components/script/dom/servoparser/mod.rs | |
parent | 43526c80bb09ff2f2ea152dfd99ce6e0314a4a46 (diff) | |
download | servo-4593195b493e819b56b8f34376b1058a80210c53.tar.gz servo-4593195b493e819b56b8f34376b1058a80210c53.zip |
Implement `throw-on-dynamic-markup-insertion-counter`
Diffstat (limited to 'components/script/dom/servoparser/mod.rs')
-rw-r--r-- | components/script/dom/servoparser/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/servoparser/mod.rs b/components/script/dom/servoparser/mod.rs index 25539925e17..7cadab84d04 100644 --- a/components/script/dom/servoparser/mod.rs +++ b/components/script/dom/servoparser/mod.rs @@ -1000,7 +1000,7 @@ fn create_element_for_token( // Step 6. if will_execute_script { // Step 6.1. - // TODO: handle throw-on-dynamic-markup-insertion counter. + document.increment_throw_on_dynamic_markup_insertion_counter(); // Step 6.2 if is_execution_stack_empty() { document.window().upcast::<GlobalScope>().perform_a_microtask_checkpoint(); @@ -1025,9 +1025,9 @@ fn create_element_for_token( // Step 9. if will_execute_script { // Steps 9.1 - 9.2. - ScriptThread::pop_current_element_queue() + ScriptThread::pop_current_element_queue(); // Step 9.3. - // TODO: handle throw-on-dynamic-markup-insertion counter. + document.decrement_throw_on_dynamic_markup_insertion_counter(); } // TODO: Step 10. |