• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wikimedia / parsoid / 2154
85%

Build:
DEFAULT BRANCH: master
Ran 14 Dec 2018 05:58PM UTC
Jobs 3
Files 113
Run time 5min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2154

push

travis-ci

subbuss
TemplateHandler:onTemplateArg: Use manager.frame instead of function arg

Frames are associated with pipelines and so new frames are created
when a subpipeline is created for processing content recursively
(ex: templates, extensions, attributes, link dom fragments, other
dom fragments, etc.). Frames are like call-stack entries in a
conventional programming language and contain the arguments of the
extension/template if any. When a new pipeline is constructed (see
PipelineUtils.processContentInPipeline), pipeline.setFrame is called
which constructs a new frame and associates it with the AsyncTTM.

During pipeline construction, all (async) token transformers have a
reference to the AsyncTTM they are associated with. While this makes
the transformers non-functional by associating state and requres them
to be instantiated for every pipeline instance, that has been the case
from the very beginning (as part of parser.js:makePipeline).

So, we can as well leverage that and stop passing around unnecessary
parameters like frame when it is available in this.manager.frame

In followup patches, we'll get rid of the frame arg to the async
token transformers and then eventually unify the token transformer
signatures for the sync and sync transformers.

Change-Id: I49bedd002

9326 of 11730 branches covered (79.51%)

15020 of 17729 relevant lines covered (84.72%)

79924.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2154.1 14 Dec 2018 06:03PM UTC 0
84.72
Travis Job 2154.1
2 2154.2 14 Dec 2018 05:58PM UTC 0
84.72
Travis Job 2154.2
3 2154.3 14 Dec 2018 05:58PM UTC 0
84.72
Travis Job 2154.3
Source Files on build 2154
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2154
  • a49a9474 on github
  • Prev Build on master (#2153)
  • Next Build on master (#2155)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc