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

Issue 1999013002: Modify some gc related layout tests to work with Ignition. (Closed)

Created:
4 years, 7 months ago by mythria
Modified:
4 years, 7 months ago
Reviewers:
rmcilroy
CC:
chromium-reviews, blink-reviews, jsbell+idb_chromium.org, jkarlin+watch_chromium.org, cmumford
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Modify some gc related layout tests to work with ignition. In Ignition, temporary expressions could be live on function's stack frame. This could prevent GC from collecting the objects referenced by these expressions till the end of function. It is safer to do all the initialization work in an inner function when testing gc with Ignition. This cl fixes some of the tests to do initialization in an inner function. The earlier cl (https://codereview.chromium.org/1950613005/) did not have the correct fix. BUG=chromium:595672 LOG=N Committed: https://crrev.com/26d9b018a9e55b565815bb21a1dcde75c1b7ac12 Cr-Commit-Position: refs/heads/master@{#395327}

Patch Set 1 #

Patch Set 2 : Fixed line width. #

Total comments: 4

Patch Set 3 : Addressed comments. #

Total comments: 4

Patch Set 4 : Addressed comments. #

Total comments: 2

Patch Set 5 : Fixed more comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -104 lines) Patch
M third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html View 1 2 3 4 1 chunk +17 lines, -16 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/NodeIterator/NodeIterator-dont-overcollect.html View 1 2 3 1 chunk +14 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/harness/internals-observe-gc.html View 1 2 3 4 chunks +37 lines, -29 lines 0 comments Download
M third_party/WebKit/LayoutTests/netinfo/gc-frame-listeners.html View 1 2 3 1 chunk +23 lines, -30 lines 0 comments Download
M third_party/WebKit/LayoutTests/netinfo/gc-unused-listeners.html View 1 2 3 1 chunk +11 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/storage/indexeddb/cursor-leak.html View 1 2 3 1 chunk +13 lines, -13 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1999013002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1999013002/1
4 years, 7 months ago (2016-05-20 08:59:22 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-20 10:03:19 UTC) #4
mythria
The earlier fix () was not correct because when we call a function, we store ...
4 years, 7 months ago (2016-05-20 10:24:16 UTC) #6
rmcilroy
LGTM with some suggestions. https://codereview.chromium.org/1999013002/diff/20001/third_party/WebKit/LayoutTests/netinfo/gc-frame-listeners.html File third_party/WebKit/LayoutTests/netinfo/gc-frame-listeners.html (right): https://codereview.chromium.org/1999013002/diff/20001/third_party/WebKit/LayoutTests/netinfo/gc-frame-listeners.html#newcode36 third_party/WebKit/LayoutTests/netinfo/gc-frame-listeners.html:36: callback = null; nit - ...
4 years, 7 months ago (2016-05-20 14:53:40 UTC) #7
mythria
Hi Ross, I fixed one of them. For the cursor and cursorRequest, we can't do ...
4 years, 7 months ago (2016-05-23 10:35:45 UTC) #8
rmcilroy
https://codereview.chromium.org/1999013002/diff/40001/third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html File third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html (right): https://codereview.chromium.org/1999013002/diff/40001/third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html#newcode9 third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html:9: textInputController.setMarkedText("hello", 0, 5); nit - move this initialization into ...
4 years, 7 months ago (2016-05-23 10:51:38 UTC) #11
mythria
Thanks, I fixed all tests to call the function immediately. https://codereview.chromium.org/1999013002/diff/40001/third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html File third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html (right): https://codereview.chromium.org/1999013002/diff/40001/third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html#newcode9 ...
4 years, 7 months ago (2016-05-23 12:27:03 UTC) #12
rmcilroy
LGTM https://codereview.chromium.org/1999013002/diff/60001/third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html File third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html (right): https://codereview.chromium.org/1999013002/diff/60001/third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html#newcode15 third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html:15: textInputController.setMarkedText("hello", 0, 5); I was meaning all the ...
4 years, 7 months ago (2016-05-23 12:31:17 UTC) #13
mythria
Thanks, Done. https://codereview.chromium.org/1999013002/diff/60001/third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html File third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html (right): https://codereview.chromium.org/1999013002/diff/60001/third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html#newcode15 third_party/WebKit/LayoutTests/editing/input/text-input-controller-leak-document.html:15: textInputController.setMarkedText("hello", 0, 5); On 2016/05/23 12:31:17, rmcilroy ...
4 years, 7 months ago (2016-05-23 13:38:10 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1999013002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1999013002/80001
4 years, 7 months ago (2016-05-23 13:38:52 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-23 14:46:57 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1999013002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1999013002/80001
4 years, 7 months ago (2016-05-23 15:18:48 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-23 15:22:03 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-05-23 15:23:25 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/26d9b018a9e55b565815bb21a1dcde75c1b7ac12
Cr-Commit-Position: refs/heads/master@{#395327}

Powered by Google App Engine
This is Rietveld 408576698