New issue
Advanced search Search tips

Issue 657424 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

blink_style.polymer telemetry benchmark failing due to NULL document in WebSurroundingText

Project Member Reported by bokan@chromium.org, Oct 19 2016

Issue description

Version: 56.0.2896.0
OS: Android

What steps will reproduce the problem?
(1) Run the telemetry benchmark: tools/perf/run_benchmark blink_style.polymer --browser=android-chromium --story-filter="paper-button"

While tracking down failures in  issue 655627  I came across this unrelated failure. I've narrowed it down to m_private->document() being nullptr in WebSurroundingText::textContent(). This was added recently as a DCHECK and layout that causes the crash in release builds.

The root cause being that the VisiblePosition created in VisiblePositionTemplate<Strategy>::create hits the deepPosition.isNull() branch and returns a default constructed VisiblePosition which has no document.
 
Mergedinto: 657268
Status: Duplicate (was: Assigned)
Thanks for the analysis!

Sign in to add a comment