DevTools: Properly handle property-like comments inside non-property-aware rules

We shouldn't try adding a property if the top-most rule on the stack does not have associated styleSourceData.

BUG=237614
R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149719 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening, mark week-picker-key-operations.html as flaky

TBR=keishi@chromium.org,tkent@chromium.org
BUG=236344
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149720 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix http/tests/security/contentSecurityPolicy/report-and-enforce.html in content_shell.

content_shell exercises the preloader differently than DRT, which is excellent!
In this particular case, however, it changed the file's expectations, as the
background-driven preloader kicked in when the page blocked to execute the
script block.

This patch simply reorders the test such that the image load happens before the
script block is parsed. Then the preloader doesn't kick in, and the test tests
only the expected behaviors of reporting and enforcement.

BUG=231930
R=jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149721 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix erroneous expectation file landed in r149719

BUG=none
TBR=vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149722 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Always check for m_frontend existence when updating the stylesheet headers.

BUG=237207

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149723 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused header files in core/html/parser/CompactHTMLToken.h

The following header files are included, however, are not used:
- wtf/OwnPtr.h
- wtf/PassOwnPtr.h
- wtf/RefCounted.h
- wtf/RefPtr.h

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149724 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename StyleBuilder to DeprecatedStyleBuilder

To set us up for using code generation for the StyleBuilder, mark the existing template-based system as deprecated.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149725 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove WebKit::GraphicsContextBuilder, which was trivial.

Replace all uses with explicit construction of a WebCore::GraphicsContext.

BUG=236888

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149726 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Added tooltip for "Run snippet" button.

BUG=237760
R=apavlov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149727 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix a broken ASSERT in StylePropertySerializer.

We may reach that function asking for a disabled property.
It was too aggressive to put it here.

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

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149730 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disallow a window focusing itself via javascript URLs or using target _self

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149731 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Move event handling from InspectorInstrumentation to InspectorController.

This allows inspector to still handle events while paused in debugger.

BUG=234998
R=pfeldman@chromium.org

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

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