Add ServiceWorker timing information on the popup panel in DevTools's Network tab (1/2)

2nd patch: https://codereview.chromium.org/515753003/

BUG=401389
TEST=N/A

Review URL: https://codereview.chromium.org/515583005

git-svn-id: svn://svn.chromium.org/blink/trunk@182231 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Don't take into account phantom edges when calculating distances

Do not take into account the following edges when calculating distances:
  - sloppy_function_map in NativeContext
  - descriptors outgoing DescriptorArray

BUG=413608

Review URL: https://codereview.chromium.org/569273002

git-svn-id: svn://svn.chromium.org/blink/trunk@182232 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: search in files: can't click to search text edit if the search pane is small.

click was captured by .empty-view with text "No matches found"

BUG=415123
NOTRY=true

Review URL: https://codereview.chromium.org/555553006

git-svn-id: svn://svn.chromium.org/blink/trunk@182233 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Cleanup DocumentMarkerController by using default arguments instead of duplication.

R=yosin@chromium.org

Review URL: https://codereview.chromium.org/582603002

git-svn-id: svn://svn.chromium.org/blink/trunk@182235 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Shrink isValidNameNonASCII by using U16_NEXT only once.

This function was much larger than expected (314 bytes in gcc) and I think
it is because U16_NEXT is a large macro. Use it once instead of
twice.

Seems to have saved 144 bytes with gcc. U16_NEXT must be a crazily large macro:

  Shrunk symbols:
       -144: WebCore::Document::isValidName(WTF::String const&) type=t, (was 1253 bytes, now 1109 bytes)

74 bytes saved with clang:
 Shrunk symbols:
        -74: WebCore::Document::isValidName(WTF::String const&) type=t, (was 1190 bytes, now 1116 bytes)


BUG=

Review URL: https://codereview.chromium.org/387313002

git-svn-id: svn://svn.chromium.org/blink/trunk@182236 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Documentation] Remove filtering URL-catalog items

BUG=415477, 415481

Review URL: https://codereview.chromium.org/573453003

git-svn-id: svn://svn.chromium.org/blink/trunk@182237 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: remove code from CodeGeneratorInspector.py that was under "If False" for years

BUG=

Review URL: https://codereview.chromium.org/579123003

git-svn-id: svn://svn.chromium.org/blink/trunk@182238 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't create overlay scrollbars on main frame in pinch virtual viewport.

In pinch virtual viewport, the inner viewport has scrollbars created
compositor-side to let the user know their position relative to the
top-level document. The main frame scrollbars in Android (and CrOS when
using overlay scrollbars) are redundant with these scrollbars.

This patch short circuits the main frame's updateScrollbars() method
when using pinch virtual viewport and overlay scrollbars. This prevents
the scrollbars from being created or any work done to update them.

BUG=344568

Review URL: https://codereview.chromium.org/542883005

git-svn-id: svn://svn.chromium.org/blink/trunk@182240 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Replace StringBuilder.append(String::number()) to appendNumber.

Corresponding patch in WebKit: bug 122382.

R=abarth@chromium.org, jochen@chromium.org, erik.corry@gmail.com

Review URL: https://codereview.chromium.org/582663002

git-svn-id: svn://svn.chromium.org/blink/trunk@182241 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Documentation] Add parsing of tables

BUG=391593

Review URL: https://codereview.chromium.org/582643002

git-svn-id: svn://svn.chromium.org/blink/trunk@182242 bbb929c8-8fbe-4397-9dbb-9b2b20218538
TextBlob: Start caching a text blob per InlineTextBox.

BUG=377845

Review URL: https://codereview.chromium.org/554613004

git-svn-id: svn://svn.chromium.org/blink/trunk@182243 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Show generic device outline.

BUG=411892

Review URL: https://codereview.chromium.org/547323003

git-svn-id: svn://svn.chromium.org/blink/trunk@182244 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Prevent more script-observable cases of HTMLMediaElement GC

This is intended to cover all cases where Gecko prevents GC:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26515#c5

Additionally, change the behavior for MediaSource so that an
HTMLMediaElement attached to a MediaSource is never collected. Since the
reverse is also true (see MediaSource::hasPendingActivity) a connected
media element + media source pair will now live as long as the document.

LayoutTests for the new cases in HTMLMediaElement::hasPendingActivity()
were added:

media/gc-while-delaying-the-load-event.html (was timeout)
http/tests/media/gc-while-network-loading.html (was timeout)
media/gc-while-playing.html (was pass)
media/gc-while-seeking.html (was timeout)
http/tests/media/media-source/mediasource-htmlmediaelement-lifetime.html (was failure)

BUG=400659

Review URL: https://codereview.chromium.org/552303006

git-svn-id: svn://svn.chromium.org/blink/trunk@182247 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Moving blending tests from css3/compositing to css3/blending

Review URL: https://codereview.chromium.org/574013002

git-svn-id: svn://svn.chromium.org/blink/trunk@182249 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Teach audit_runtime_enabled_features.py about deprecated features

Review URL: https://codereview.chromium.org/584603002

git-svn-id: svn://svn.chromium.org/blink/trunk@182251 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify fallback-handling for SVG_PAINTTYPE_URI_*

De-duplicate some of the logic for determining a fallback for a
non-existant url(...). This also fixes the case where a SVGResources
object is available, but the fallback is "none".

BUG=415622

Review URL: https://codereview.chromium.org/577283003

git-svn-id: svn://svn.chromium.org/blink/trunk@182253 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Suppress 10.9 media/gc-while-playing.html failure

after r182247, so that we can investigate it

TBR=philipj@opera.com, jochen@chromium.org, kbr@chromium.org
BUG=400659

Review URL: https://codereview.chromium.org/578243003

git-svn-id: svn://svn.chromium.org/blink/trunk@182255 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark media/media-controller-media-fragment-uri-initial-playback-position.html as flaky

BUG=415620
TBR=amogh.bihani@samsung.com

Review URL: https://codereview.chromium.org/584653002

git-svn-id: svn://svn.chromium.org/blink/trunk@182259 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add back HTMLMediaElement::m_lastTimeUpdateEventMovieTime.

I was too aggressive removing this code as it actually is nice to not
fire duplicate timeupdate events when currentTime hasn't changed.

The real fix is to leave it in, but to ignore it when firing
non-periodic timeupdate events.

For whatever it's worth, this also matches what Firefox does.

BUG=414649

Review URL: https://codereview.chromium.org/578113002

git-svn-id: svn://svn.chromium.org/blink/trunk@182260 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make renderName for pseudoElements more specific.

Currently if a RenderBlock, RenderDeprecatedFlexibleBox or RenderInline is
generated by a pseudoElement we'll give a render name of RenderBlock (generated
or RenderInline (generated). This doesn't give any context of the type of
pseudo element that generated the renderer.

This CL changes the output to be RenderInline (pseudo:before), (pseudo:after)
or (pseudo:backdrop) depending on the type of pseudo element.

Review URL: https://codereview.chromium.org/554023003

git-svn-id: svn://svn.chromium.org/blink/trunk@182261 bbb929c8-8fbe-4397-9dbb-9b2b20218538