Use KURL when constructing ResourceRequest

Instead of passing a String url and having ResourceRequest
create a KURL out of it, pass in the readily available
KURL object.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181862 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Sheriff-o-matic] Refactor cards and get rid of ct-failure-cards

Directly embed the failure cards into the failure stream, and abstract
the button UI out into ct-failure-card-buttons.

NOTRY=true
R=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181864 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Invalidation tracking] Add trace events for layout invalidations

This patch adds trace events for setNeedsLayout calls so that we can
do end-to-end tracking of what causes repaints to occur. The devtools
side isn't yet hooked up so this patch simply adds the trace event.

As a cleanup, "core/inspector/InspectorTraceEvents.h" has been moved
up into RenderObject and unneeded includes have been removed.

R=kouhei
BUG=410701

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181865 bbb929c8-8fbe-4397-9dbb-9b2b20218538
WebMIDI: Add MIDIOptions dictionary

We have basic support for IDL dictionary so we can use it for
MIDIOptions. Renamed m_sysexEnabled and setSysexEnabled()
because their role have changed.

MIDIOptions is the first IDL dictionary in modules/ so this CL
also contains GYP/GN changes.

Existing tests (LayoutTests/webmidi) should cover this change.

BUG=403150

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181866 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 181758 "Simplify DOMWindowProperty and its unregistration."

This CL caused use-after-free in :LocalDOMWindow::willDetachDocumentFromFrame.
https://code.google.com/p/chromium/issues/detail?id=413316

> Simplify DOMWindowProperty and its unregistration.
> 
> As LocalDOMWindow controls the registration lifetime of its
> DOMWindowProperties, there's no need to offer a separate unregistration
> mechanism. Remove it, simplify notification code + retire now unused
> LocalDOMWindow back reference on DOMWindowProperty.
> 
> R=haraken,ager
> BUG=
> 
> Review URL: https://codereview.chromium.org/558213002

TBR=sigbjornf@opera.com

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

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