Assert if we try to access another AX attribute while a layout is pending.

Actual fix for crash is in https://codereview.chromium.org/469803003

BUG=393829

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180739 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Clear ServiceWorker CacheStorage promises immediately after use.

By clearing the resolver immediately, double resolution errors should
be caught a lot more quickly.

R=jsbell@chromium.org,dominicc@chromium.org,falken@chromium.org
BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180740 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move the shadows out of paintTextWithShadows.

It unnecessarily entangles one aspect of style with the actual text painting.

Also rename it paintText since it no longer deals with shadows.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180741 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update use of init_data_types in encrypted media layout tests.

This changes all hardcoded values from content types to registered
init data types. Values from events are still passed as content types.

BUG=385874

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180742 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Show the number of media queries and disable MQI button.

BUG=none

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

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