Refactor WebSocketChannel::fail

Refactor WebSocketChannel::fail which is modified at r149148 and r149841.
This is a refactoring without behavior change.

BUG=164546
TEST=http/tests/websocket/tests/hybi
R=tyoshino,mkwst

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149868 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixes #236455, Remove commands.Log from Extension system

The entry in the commands table for Log was anyway missing,
see https://code.google.com/p/chromium/issues/detail?id=236053.
Here we just remove the code it would have triggered.

BUG=236455
R=caseq@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149869 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix bindings tests after r149858

r149858 caused the bindings tests to fail as the preprocess-idls.pl now
requires an additional --windowConstructorsFile argument.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149871 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Skip failing websocket tests on content shell

Unreviewed gardening

BUG=238648

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149872 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Skip more virtual/threaded test failures on content shell

Unreviewed gardening

BUG=231946

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149873 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Do not unbind stylesheets in multiframe documents

Stylesheets from top-level document appear as removed if the activeStyleSheetsUpdated() event
comes from an iframe and thus gets unbound. Multiple variations of this issue are possible,
so the originating document should be taken into account to filter the bound stylesheets.

BUG=238589

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149874 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove code for search popup and stop showing results button triangle

Right now, we don't support the search popup but we show a triangle
next to the magnifying glass. This is confusing.

We don't plan to support the results attribute because it is not a standard.
This change removes the code for search popup, and stops showing the
triangle. We don't remove the results attribute completely because it
could be used to control the visibility of the magnifying glass icon.

Source/core/css/CSSValueKeywords.in: Remove the searchfield-results-button -webkit-appearance. searchfield-results-button shows the magnifying glass and the triangle.
Source/core/css/CSSPrimitiveValueMappings.h: Ditto.
Source/core/html/HTMLAttributeNames.in: Remove the autosave attribute.
UseCounter.h Ditto.
Source/WebKit/chromium/src/ChromeClientImpl.h: Removes search popup menu.
Source/core/page/ChromeClient.h: Ditto.
Source/core/page/Chrome.h: Ditto.
Source/core/loader/EmptyClients.h: Ditto
Source/core/rendering/RenderSearchField.cpp: Remove code for search popup menu.
Source/core/rendering/RenderTheme.h: Remove methods to draw searchfield-results-button.
Source/core/rendering/RenderThemeChromiumSkia.h: Ditto.
Source/core/rendering/RenderThemeChromiumMacShared.h: Ditto.
Source/core/html/shadow/TextControlInnerElements.h: The SearchFieldResultsButtonElement is less of a button now so renaming it to SearchFieldDecorationElement.

TEST=Automated. Covered by existing search field tests.
BUG=77779

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149875 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Need rebaseline after cleanup of vertex shaders used for anti-aliasing.

TBR=jamesr
BUG=238644

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149876 bbb929c8-8fbe-4397-9dbb-9b2b20218538
residual-style-close-across-n-blocks.html ASSERTs

http://src.chromium.org/viewvc/blink?view=rev&revision=149849 triggered an
ASSERT in fast/parser/residual-style-close-across-n-blocks.html. We're assuming
things are elements when we don't need to and they aren't.

R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149877 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove appliesPageScale in GraphicsLayer.

appliesPageScale was only used by Mac port, so we remove it.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149878 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't check for @media rules affected by viewport changes in every layout

Backport from WebKit; original patch by Andreas Kling <akling@apple.com>

Move the logic that checks if any @media rules are affected by a change in
the viewport size to FrameView::setFrameRect(). This way it's no longer
necessary to do the style recalc synchronously, which allows us to coalesce
multiple updates in some cases.

WKBUG=115370

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149879 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Character reference parser: stop integer overflow for numeric character references.

BUG=237459

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149880 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove ShouldReplaceDocumentIfJavaScriptURL enum and always replace document.

This is a long-standing FIXME.

BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149881 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use PreloadRequestStream typedef

TokenPreloadScanner's scan() and scanCommon() at the header file use
PreloadRequestStream typedef, but, both of the implementations do not.
So, it should be fixed. This is just refactoring.

BUG=none

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

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