Simplify very outdated core.gyp file list filtering

The gyp build for core does some strange things put in place in ancient
times to fix ancient problems. There's no need nowadays to:

*) list all core svg files in both webcore_files and webcore_svg_files
 only to filter the webcore_files entries with a regex

*) exclude 'opentype', 'cf', etc files from core with a regex

*) exclude platform-specific directories in core - we've moved all
that to Source/platform

These funky rules are hard to maintain in gyp and impossible to do
so in GN, so let's get rid of them.

R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177114 bbb929c8-8fbe-4397-9dbb-9b2b20218538
In general the project should avoid using OS() guards when possible.

In this particular case both OS() and PTHREAD_KEYS_MAX are used as a guard, even though using PTHREAD_KEYS_MAX as a guard is sufficient. Not only that this solution works not just for ANDROID but also for other systems where chromium might be ported to (in or out of the tree). 

As an example the proposed change would work on HURD systems as well (the support for HURD is not maintained in the tree, but it demonstrates that the change handles those systems as well).

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177115 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Include error status code in console message for non-CORS response.

While CORS is concerned with the access control headers that come
back in the response and not its status code, an error response
(status code >= 400) containing no CORS headers is most likely an
indication of the server not being configured correctly.

To potentially help the user/developer more quickly diagnose that as
the problem, include the status code in the console message that's
emitted for the failed CORS resource sharing check.

R=
BUG=269192

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177116 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Console] fix search to reveal matched messages

During console migration on viewport revealing search results was
forgotten.
This patch fixes this.

BUG=388718
R=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177118 bbb929c8-8fbe-4397-9dbb-9b2b20218538
navigator.connection.type's value can easily change for a given
platform over time.  Not worth constantly rebaselining.  Remove
navigator.connection.type from window tests as it's already well
tested in netinfo/* tests.

BUG=381683

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177119 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixed srcset descriptor parsing bug and added tests

Srcset's 'w' descriptor parsing accepted descriptors of the form "400pw".
This CL fixes that by making their parsing stricter.
It also adds a bunch of tests to prevent it from regressing, and to make sure
float based descriptors are properly parsed as well.

BUG=389575

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177120 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid creating nested StyleResolverState

Creating a new StyleResolverState while in the context of a
style recalc is completely unnecessary for the purposes of
StyleResolver::createAnimatableValueSnapshot().

Moving the StyleResolverState creation inside createAnimatableValueSnapshot()
to only where it's necessary fixes crashes involving HTMLOptionElements
attaching themselves to a shadow DOM tree.

BUG=387225

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177121 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Relaxing the stop condition to search for a previous continuation chain.

containingBlockIgnoringAnonymous serves as a stop condition of tree visits
(previousInPreOrder). Before the patch, containingBlockIgnoringAnonymous was not
the root RenderObject of the previous continuation chain, and thus
the previous continuation was not cleared properly.

This patch relaxes the stop condition by using isAnonymous() instead of
isAnonymousBlock() so that the tree search can skip all anonymous wrappers
including RenderTableRow or RenderTableCell.

BUG=389285
TEST=unminimizable test from clusterfuzz
R=inferno@chromium.org

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

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