DevTools: [Network] "Parser" initiator often points to wrong location.

Analysis: resource agent uses current parser position as initiator position.
This is wrong for "preloaded" resources, because they can be requested ahead
by main thread parser and may be discovered long ahead by background parser.

Solution:
 1) supply preload resource requests with correct positions
 2) store initiatorInfo in ResourceLoaderOptions
 3) pass initiatorInfo to
    InspectorResourceAgent::willSendResourceRequest

We already have test for initiator position.
Unfortunately it was rebaselined with wrong output. Reverted this change.

Additional changes: replace angle brackets with quotes in imports to satisfy presubmit checks.

BUG=240071
R=abarth@chromium.org, japhet@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151894 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove WebString::data

This function is a memory footgun that will bloat the WebString into having
both an 8 bit and a 16 bit backing buffer. Thankfully, we've removed all
clients and can remove the API.

R=jamesr
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16474002

git-svn-id: svn://svn.chromium.org/blink/trunk@151895 bbb929c8-8fbe-4397-9dbb-9b2b20218538
SQLite should create 8 bit strings when possible

In investigating the sources of 16 bit strings, I found this call site that
unnecessarily creates 16 bit strings. This CL doesn't appear to have a large
impact on memory in my benchmark, but it's worth fixing anyway.

R=eseidel
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16520003

git-svn-id: svn://svn.chromium.org/blink/trunk@151896 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Reset inspector agents on inspector frontend reload.

BUG=
R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151897 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: support renaming file sin workspace.

R=apavlov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151898 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable GraphicsLayerTest.applyScrollToScrollableArea which broke after r204442

BUG=247279
TBR=trchen@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151899 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Test that embed and object can load image

Enable embed and object tests on Linux and Windows

NOTRY=true
BUG=246940
R=noel@chromium.org

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

Patch from Eric Willigers <ericwilligers@chromium.org>.

git-svn-id: svn://svn.chromium.org/blink/trunk@151900 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Adjust expectations for fast/hidpi and virtual/gpu/fast/hidpi while fixing hidpi support in testrunner

BUG=244369
TBR=jamesr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151901 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unskip no longer crashing tests.

TBR=jochen@chromium.org
BUG=246532
TEST=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151902 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify 'position' adjustment of top layer elements

Previously, we adjusted 'position' and 'display' for top layer
elements. There is already code to adjust the 'display' of positioned
elements, using equivalentBlockDisplay. This commit moves top layer
element adjustment above that code, so we don't have to set display
separately.

Also, convert the relevant layout tests from ref-tests to check-layout
tests, as they are just testing position.

BUG=140205

Review URL: https://chromiumcodereview.appspot.com/16529003

git-svn-id: svn://svn.chromium.org/blink/trunk@151903 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add CSSValueKeywords for listbox color colors
We are moving the select element list box to shadow DOM and we need to
use the following colors in the user agent style sheet.

activelistboxselection, activelistboxselectiontext, inactivelistboxselection, inactivelistboxselectiontext

CSSParserMode.h: Added a new parser mode, UASheetMode.
CSSParser::parseValue: These four colors are only valid when the parser mode is UASheetMode.

BUG=234871

Review URL: https://chromiumcodereview.appspot.com/14366041

git-svn-id: svn://svn.chromium.org/blink/trunk@151904 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Replace "unsigned int" with "unsigned long".

This fixes a syntax error in an IDL file;
behavior should not change, as treated the same internally,
but simplifies the parser and code generator and brings us closer to spec.

BUG=244148

Review URL: https://chromiumcodereview.appspot.com/16088002

git-svn-id: svn://svn.chromium.org/blink/trunk@151905 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebase fast/events/attempt-scroll-with-no-scrollbars-expected.txt on win after r204458

TBR=jamesr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151906 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Tokenize "and(" as a FUNCTION in media queries.

BUG=247282

Review URL: https://chromiumcodereview.appspot.com/15878013

git-svn-id: svn://svn.chromium.org/blink/trunk@151907 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Deflake transitions/hang-with-bad-transition-list.html

Use looping requestAnimationFrame checks to avoid specific timing.

BUG=235752

Review URL: https://chromiumcodereview.appspot.com/16512006

git-svn-id: svn://svn.chromium.org/blink/trunk@151908 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Invoke "Edit as HTML" on the open tag from the context menu

BUG=245945
R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151909 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix ConfigureShadowObjectTemplate (after r151654) to really be post-handlepocalyptic.

This gets rid of Persistent handle operations which will be removed soon (see
bug).

BUG=236290

Review URL: https://chromiumcodereview.appspot.com/16453004

git-svn-id: svn://svn.chromium.org/blink/trunk@151910 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove usage of Persistent::operator-> from Blink.

This gets rid of Persistent handle operations which will be removed soon (see
bug).

BUG=236290
R=haraken@chromium.org, jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151911 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove Node::toInputElement.

This function doesn't match our convention of toFooType functions. toFooType
functions should cause an assertion failure if the specified object is not a
FooType. However, Node::toInputElement returns 0 in this case.

The callsites of Node::toInputElement are updated for toHTMLInputELement().

BUG=none
TEST=none; This CL should not make any behavior changes.

Review URL: https://chromiumcodereview.appspot.com/16527003

git-svn-id: svn://svn.chromium.org/blink/trunk@151912 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Regions] Mouse over an element does not trigger :hover state for parent when the element is flowed in a region

BUG=243278
NOTRY=true
(unrelated tests failing on win_layout_rel bot)

Migrated from WebKit Bugzilla: https://bugs.webkit.org/show_bug.cgi?id=111749

Review URL: https://chromiumcodereview.appspot.com/15773005

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