Add a watchlist for Custom Elements

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move global-constructors-listing.html test to webexposed/

Move fast/dom/global-constructors-listing.html test case to webexposed/ folder
so it will also be tested against the stable configuration once we switch to
Content Shell.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149942 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Check for mixed content in the synchronous XHR path.

BUG=166916
TEST=insecure-sync-post-xhr-allowed.html,insecure-sync-post-xhr-blocked.html
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149943 bbb929c8-8fbe-4397-9dbb-9b2b20218538
'http/tests/history/cross-origin-replace-history-object-child.html' doesn't timeout anymore after r149846[1].

[1]: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=http%2Ftests%2Fhistory%2Fcross-origin-replace-history-object-child.html

TBR=jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149945 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Clean up expectations for animation helper tests.

* Warn about tests running in real time.
* Always dump as text.
* Only require result element for pixel/ref tests.

BUG=235752

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149946 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add myself to WATCHERS (viewport interaction, media queries)

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149947 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactoring CSS grammar

Nonfunctional change.
Introduced closing_parenthesis and error_recovery to reduce code duplication.

Extracted from https://codereview.chromium.org/14969002/

BUG=140608

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149948 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Since rules in scoped styles could be treated as scoped selector rules, we don't need to full style recalc.

So updated in the following way:
- register with scoping node before invoking DocumentStyleSheets::updateActiveStyleSheets.
- move needsStyleRecalc logic for scoped styles from HTMLStyleElement to StyleInvalidationAnalysis.
- make StyleInvalidationAnalysis support scoped styles.

BUG=236063

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149950 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disabled select element should not fire onchange event.

After http://trac.webkit.org/changeset/140286, select elements can scroll
whether they are disabled or not. While they scroll, they also change the
selected item.
This patch allows the select element to scroll, but does not change the selection if the select element is disabled.

BUG=215494
TEST=fast/forms/select/listbox-disabled-no-autoscroll.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149951 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Bindings: Call transferArrayBuffers only if we have buffers to transfer.

Currently, we call SerializedScriptValue::transferArrayBuffers every time we
post a message. We can drop that complexity by calling it only if and when we
have buffers we'd like to transfer.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149952 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Add sourceMappingURL to CSSStyleSheetHeader. [1/2] - Backend change. 

BUG=233507

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149955 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable svg/W3C-SVG-1.1/animate-elem-33-t.svg due to crash

BUG=238363
TBR=aarya@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149956 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 149950 "Since rules in scoped styles could be treated as ..."

Crash in some tests under fast/csss/ and fast/dom.

STDERR: ASSERTION FAILED: root->m_clients.size() == 1
STDERR: ../../third_party/WebKit/Source/core/css/StyleSheetContents.cpp(383) : WebCore::Node *WebCore::StyleSheetContents::singleOwnerNode() const
STDERR: 1   0x3f1fc7ee WebCore::StyleSheetContents::singleOwnerNode() const
STDERR: 2   0x3f16e501 WebCore::StyleInvalidationAnalysis::analyzeStyleSheet(WebCore::StyleSheetContents*)
STDERR: 3   0x3f16e366 WebCore::StyleInvalidationAnalysis::StyleInvalidationAnalysis(WTF::Vector<WebCore::StyleSheetContents*, 0ul> const&)
STDERR: 4   0x3f16e279 WebCore::StyleInvalidationAnalysis::StyleInvalidationAnalysis(WTF::Vector<WebCore::StyleSheetContents*, 0ul> const&)
STDERR: 5   0x3fe31d48 WebCore::DocumentStyleSheetCollection::analyzeStyleSheetChange(WebCore::DocumentStyleSheetCollection::UpdateFlag, WTF::Vector<WTF::RefPtr<WebCore::CSSStyleSheet>, 0ul> const&, WebCore::DocumentStyleSheetCollection::StyleResolverUpdateType&, bool&)
STDERR: 6   0x3fe31f2e WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets(WebCore::DocumentStyleSheetCollection::UpdateFlag)
STDERR: 7   0x3fd75d30 WebCore::Document::styleResolverChanged(WebCore::StyleResolverUpdateFlag)
STDERR: 8   0x3fd7e576 WebCore::Document::didRemoveAllPendingStylesheet()
STDERR: 9   0x3fe30f8e WebCore::DocumentStyleSheetCollection::removePendingSheet(WebCore::DocumentStyleSheetCollection::RemovePendingSheetNotificationType)
STDERR: 10  0x40064df0 WebCore::HTMLLinkElement::removePendingSheet(WebCore::HTMLLinkElement::RemovePendingSheetNotificationType)
STDERR: 11  0x40066a32 WebCore::HTMLLinkElement::sheetLoaded()
STDERR: 12  0x4006667d WebCore::HTMLLinkElement::setCSSStyleSheet(WTF::String const&, WebCore::KURL const&, WTF::String const&, WebCore::CachedCSSStyleSheet const*)
STDERR: 13  0x40066b77 non-virtual thunk to WebCore::HTMLLinkElement::setCSSStyleSheet(WTF::String const&, WebCore::KURL const&, WTF::String const&, WebCore::CachedCSSStyleSheet const*)
STDERR: 14  0x3f62ad41 WebCore::CachedCSSStyleSheet::checkNotify()
STDERR: 15  0x3f643c96 WebCore::CachedResource::finishOnePart()
STDERR: 16  0x3f643cee WebCore::CachedResource::finish()

> Since rules in scoped styles could be treated as scoped selector rules, we don't need to full style recalc.
> 
> So updated in the following way:
> - register with scoping node before invoking DocumentStyleSheets::updateActiveStyleSheets.
> - move needsStyleRecalc logic for scoped styles from HTMLStyleElement to StyleInvalidationAnalysis.
> - make StyleInvalidationAnalysis support scoped styles.
> 
> BUG=236063
> 
> Review URL: https://chromiumcodereview.appspot.com/14623002

TBR=tasak@google.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149957 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Bindings generator should include wtf headers with double quotes

The style scripts complains because the generated code includes wtf
headers with <> instead of double quotes.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149958 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Centralize setting a ResourceRequest's cache policy.

BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149959 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove FrameLoader::m_quickRedirect in favor of FrameLoadTypes.

m_quickRedirect is nearly synonmous with
FrameLoadTypeRedirectWithLockedBackForwardList. Make them completely
synonymous.

BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149960 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable fast/canvas/webgl/index-validation-with-resized-buffer.html as it's crashing

BUG=239077
TBR=kbr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149961 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix ietestcenter/css3/grid/grid-column-003.htm on MountainLion

This is the same bug as crbug.com/225778 and is related to font
smoothing on Mac. The fix is to add some CSS to disable font
smoothing on the whole page.

BUG=237083
TEST=ietestcenter/css3/grid/grid-column-003.htm

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149962 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implementing mailbox/ubercompositor support for accelerated 2D canvas layers.

BUG=190369

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149963 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move filter logic out of StyleResolver

Move StyleResolver::createTransformOperations and support methods out
of StyleResolver and into a separate self contained class. Also,
convert all supporting methods into file-local functions and only
export the createTransformOperations one.

* Source/core/css/StyleResolver.h
* Source/core/css/StyleResolver.cpp
  Move createTransformOperations and all support methods to
  new FilterOperationResolver class.
  Move colorFromPrimitiveValue implementation to StyleResolverState.
* Source/core/css/FilterOperationResolver.h
* Source/core/css/FilterOperationResolver.cpp
  New class containing css filter resolution logic.
* Source/core/css/StyleResolverState.h
  Source/core/css/StyleResolverState.cpp
  Moved colorFromPrimitiveValue and support function from StyleResolver
  as it is used outside of StyleResolver.

R=eseidel@chromium.org
BUG=238918
TEST=No new tests, no change in functionality.

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

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