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

Issue 12253002: Fix dtor of web_contents. (Closed)

Created:
7 years, 10 months ago by achuithb
Modified:
7 years, 10 months ago
Reviewers:
dtu, nduca
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

Fix dtor of web_contents. BUG=NONE TEST=run_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182313

Patch Set 1 #

Patch Set 2 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M tools/telemetry/telemetry/tab.py View 1 chunk +1 line, -4 lines 0 comments Download
M tools/telemetry/telemetry/web_contents.py View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
achuithb
Disconnect needs to be in WebContents.
7 years, 10 months ago (2013-02-13 09:03:12 UTC) #1
nduca
are we missing a unit test that would have revealed this issue sooner? lgtm if ...
7 years, 10 months ago (2013-02-13 09:08:39 UTC) #2
achuithb
On 2013/02/13 09:08:39, nduca wrote: > are we missing a unit test that would have ...
7 years, 10 months ago (2013-02-13 09:48:26 UTC) #3
achuithb
I've added a TODO to move some of the Tab unittests to WebContents...
7 years, 10 months ago (2013-02-13 09:54:30 UTC) #4
nduca
But what was the failure here? Extensions were calling disconnect when we quit? Why didnt' ...
7 years, 10 months ago (2013-02-13 10:04:55 UTC) #5
nduca
7 years, 10 months ago (2013-02-13 10:05:00 UTC) #6
achuithb
Failure is that ExtensionPage does not disconnect on destruction (since WebContent does not disconnect on ...
7 years, 10 months ago (2013-02-13 10:08:10 UTC) #7
nduca
We should have a test that explicitly disconnects the extension. YOu could add that here. ...
7 years, 10 months ago (2013-02-13 10:32:34 UTC) #8
achuithb
On 2013/02/13 10:32:34, nduca wrote: > We should have a test that explicitly disconnects the ...
7 years, 10 months ago (2013-02-13 10:41:40 UTC) #9
nduca
That looks good. But do something with the extension that causes a backend to be ...
7 years, 10 months ago (2013-02-13 10:43:44 UTC) #10
nduca
And no, dont test that executejs throws an exception! The test is that Disconnect worked. ...
7 years, 10 months ago (2013-02-13 10:44:27 UTC) #11
achuithb
7 years, 10 months ago (2013-02-13 10:49:59 UTC) #12
On 2013/02/13 10:44:27, nduca wrote:
> And no, dont test that executejs throws an exception!
> 
> The test is that Disconnect worked.
> 
> If you had tested disconnect before, then you would have discovered that it
> didnt' exist.

Done.

Powered by Google App Engine
This is Rietveld 408576698