aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task_source/mod.rs
diff options
context:
space:
mode:
authorkarenher <karenher@seas.upenn.edu>2016-12-21 10:40:13 -0500
committerJosh Matthews <josh@joshmatthews.net>2017-01-11 21:11:00 -0500
commitdb2082bc6e0edc0028f287d4acc203e7c3bc829f (patch)
treee9f737449599ef928321d8f338e955680ebde851 /components/script/task_source/mod.rs
parentd1bc1a4f1b66ab9f63fa37f649eaf79035e12f8e (diff)
downloadservo-db2082bc6e0edc0028f287d4acc203e7c3bc829f.tar.gz
servo-db2082bc6e0edc0028f287d4acc203e7c3bc829f.zip
Store parser's current line when script elements are created.
Use the newly stored line as the starting line number when evaluating JS. This ensures that inline scripts will report errors with meaningful line numbers.
Diffstat (limited to 'components/script/task_source/mod.rs')
0 files changed, 0 insertions, 0 deletions