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

Issue 2190553003: binding: Compiles event handlers only once at most. (Closed)

Created:
4 years, 4 months ago by Yuki
Modified:
4 years, 4 months ago
Reviewers:
haraken
CC:
chromium-reviews, blink-reviews, tfarina, blink-reviews-w3ctests_chromium.org, blink-reviews-bindings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

binding: Compiles event handlers only once if not compilable. Blink no longer compiles a script for an event handler twice or more if the script is not compilable. BUG=597900 Committed: https://crrev.com/2fb386fd03fc84f7ba3a72417bc2345ad6f308c4 Cr-Commit-Position: refs/heads/master@{#408638}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed a lot of things. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -32 lines) Patch
M third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/events/invalid-uncompiled-raw-handler-compiled-once-expected.txt View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.h View 1 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.cpp View 1 5 chunks +27 lines, -26 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
Yuki
Could you review this CL?
4 years, 4 months ago (2016-07-27 14:21:55 UTC) #4
haraken
This CL looks mostly correct, but I'd prefer stop re-compiling the listener function only when ...
4 years, 4 months ago (2016-07-27 14:30:17 UTC) #5
Yuki
You were right. Also I needed to fix the code to pass the layout tests. ...
4 years, 4 months ago (2016-07-29 15:11:27 UTC) #10
haraken
LGTM
4 years, 4 months ago (2016-07-29 15:15:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2190553003/20001
4 years, 4 months ago (2016-07-29 15:18:40 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-29 15:21:53 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 15:24:18 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2fb386fd03fc84f7ba3a72417bc2345ad6f308c4
Cr-Commit-Position: refs/heads/master@{#408638}

Powered by Google App Engine
This is Rietveld 408576698