Homec4science

Allow tokenizer construction to fail

Authored by epriestley <git@epriestley.com> on Apr 8 2013, 22:42.

Description

Allow tokenizer construction to fail

Summary: See some discussion in D5622. Javelin explicitly prevents you from putting <script> tags into JX.$H(), which is probably a good idea, so just let this behavior fail less abruptly instead. We currently have no cases where we load something into a cache and then make a decision about whether to put it into the document or not later on; this should hold us over until we do. If and when we do, we can let those endpoints capture behaviors and replay them later or something.

Test Plan: Verified tokenizers still work correctly.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D5623

Details

Committed
epriestley <git@epriestley.com>Apr 8 2013, 22:42
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe07077ae4e75: Conpherence - fix JS and add code to repair old bad data
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH1e2b6faadd3b: Allow tokenizer construction to fail (authored by epriestley <git@epriestley.com>).Apr 8 2013, 22:42