Disable hopelessly flaky test sandboxed-iframe-autofocus-denied.html

BUG=381451
TBR=peter@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175598 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix some async repaint tests

Some async layout tests use waitUntilDone() and notifyDone() by
themselves, without setting window.testIsAsync to true.

This may be either unnecessary or incorrect, depending on which of the
test's notifyDone() and text-based-repaint.js's notifyDone() executes
first. If the latter executes first, the test may finish before it's
done causing what the test want to test not fully executed.

BUG=381242

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175599 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IndexedDB: Ensure transactions created in microtasks are deactivated

The IDB spec defines that transactions are created 'active' and become
'inactive' when control returns to the event loop. The way this was
implemented, transactions created within microtasks (e.g. Promise
callbacks) were not deactivated.

Flip the order of microtasks and deactivation, and add tests.

BUG=380910
R=adamk@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175600 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a RefPtr<Frame> for child in FrameLoader::checkLoadCompleteForThisFrame

Not having this can cause problems in the test harnass, where some of the
FrameLoaderClients do substantially more work than they do in a non-test
environment.

BUG=357283

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175601 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add myself to a watchlist.

TBR=dominicc
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175602 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Set multiplier to 1 on blocks with no direct text children.

This fixes cases where a node that previously had a >1 multiplier ceases to have direct text children.  This can happen if its text content is removed in script, or if its 'display' style is changed from inline to block.  (There are probably other ways for it to happen also.)

Previously such a node would have a "stale" multiplier, since the autosizer only updated multipliers on text nodes and their immediate parents.  In theory the stale multiplier should not have affected the rendering, but:

- it is observable through the lineHeight property, and
- due to http://crbug.com/380903 the stale multiplier on an ancestor might be used to render text, even when the text node has the correct multiplier

BUG=378959

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175603 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark two window.location shadowing tests as flaky.

BUG=381464
TBR=peter@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175604 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark inspector/layers/layer-canvas-log.html as flaky.

BUG=381471
TBR=peter@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175605 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Explicitly cast from HarfBuzz type to shorter type

This allows the file to be compiled with C++11.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175606 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix wrong path to mark unload-hyperlink-targeted.html as failing.

BUG=381364
TBR=peter@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175607 bbb929c8-8fbe-4397-9dbb-9b2b20218538
revert r171206: "Add transaction detail params to requestAutocomplete()."

Since rAc was adopted into the standard, we revisited this and decided
to do it a different way. This "revert" does keep the minor change
about removing the extra param to
WebAutofillClient::didRequestAutocomplete.

BUG=354897

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175608 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: tidy up reference to the Document's "CSS target".

Keep a traced Member reference to the Element that's recorded as
the Document's CSS target. When that Element is removed from the
tree, the Member will be explicitly cleared.

R=
BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175609 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Prepare to move AbstractSQLStatement, SQLStatement, and SQLCallbackWrapper<T> to Oilpan heap.

SQLCallbackWrapper has code to call ExecutionContext::deref() in the origin
thread. This is unnecessary in Oilpan because implementation classes of
ExecutionContext are already on-heap and they are always destructed in their
origin threads.

This is a prepration to make ExecutionContext GarbageCollected.

BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175610 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename ElementData's attribute related methods for clarity

Rename ElementData's attribute related methods for clarity:
* length() -> attributeCount()
* isEmpty() -> hasAttributes()
* getAttributeItem(name) -> findAttributeByName(name)
* attributeItem(index) -> attributeAt(index)
* getAttributeItemIndex(name) -> findAttributeIndexByName(name)
* addAttribute(name, value) -> appendAttribute(name, value)
* removeAttribute(index) -> removeAttributeAt(index)

This is inpired by the following WebKit revision by benjamin@webkit.org:
http://trac.webkit.org/changeset/162394

R=esprehn@chromium.org, adamk@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175611 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline js-late-pattern-and-object-creation.svg for r175388

http://src.chromium.org/viewvc/blink?view=revision&revision=175388

BUG=371640
TBR=dsinclair@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175612 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline unload-hyperlink-targeted.html for r175416

https://src.chromium.org/viewvc/blink?view=rev&revision=175416

BUG=none
TBR=peter@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175613 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline fallback-for-custom-font.html

TBR=eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175614 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "IndexedDB: Ensure transactions created in microtasks are deactivated"

This timed out on the waterfall and is failing on unrelated tryjobs runs
as well.

TBR=jsbell@chromium.org
BUG=380910

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175615 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "[SVG2] Allow leading and trailing whitespace in svg attributes using"

whitespace-length.html is timing out consistently on Webkit XP:
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20Blink&tests=fast/svg/whitespace-length.html

BUG=377503,339899
TBR=ed@opera.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175616 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unflake plugins/attach-during-destroy.html and plugins/destroy-reentry.html

BUG=380167
R=japhet@chromium.org

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

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