Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Issue 14328011: Remove hit test from dispatchDecidePolicyForNavigationAction (Closed)

Created:
7 years, 8 months ago by jamesr
Modified:
7 years, 8 months ago
CC:
blink-reviews, abarth_chromum.org
Visibility:
Public.

Description

Remove hit test from dispatchDecidePolicyForNavigationAction There's no need to do a hit test + layout in order to decide the policy for a given navigation action. The originatingNode parameter is only used by a few test codepaths that printf() information. This hit test forces a layout at an awkward time which can be expensive and/or not do the expected thing. BUG=232770 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=148586

Patch Set 1 #

Patch Set 2 : with rebaselines #

Messages

Total messages: 5 (0 generated)
jamesr
This appears to be old as time itself. To actually remove the node will require ...
7 years, 8 months ago (2013-04-17 20:50:13 UTC) #1
Nate Chapin
lgtm
7 years, 8 months ago (2013-04-17 20:53:11 UTC) #2
jamesr
Turns out a few layout tests have the printf in the output: fast/loader/policy-delegate-action-hit-test-zoomed.html appears to ...
7 years, 8 months ago (2013-04-17 21:36:06 UTC) #3
jamesr
Going through history it looks like Apple used the node for some policy thingy or ...
7 years, 8 months ago (2013-04-17 21:43:41 UTC) #4
jamesr
7 years, 8 months ago (2013-04-17 22:35:47 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r148586 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698