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

Issue 241783003: Fix Browser Controller to not reuse iFrames, which can sometimes cause bad state to be left between… (Closed)

Created:
6 years, 8 months ago by Emily Fortuna
Modified:
6 years, 8 months ago
CC:
reviews_dartlang.org, kustermann, ricow1, Bill Hesse
Visibility:
Public.

Description

Fix Browser Controller to not reuse iFrames, which can sometimes cause bad state to be left between tests. BUG= R=jmesserly@google.com Committed: https://code.google.com/p/dart/source/detail?r=35157

Patch Set 1 #

Total comments: 2

Patch Set 2 : git cl dcommit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M tools/testing/dart/browser_controller.dart View 1 1 chunk +9 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Emily Fortuna
This I believe should fix the "flaky" issue on IE 11. Turns out it was ...
6 years, 8 months ago (2014-04-17 22:21:35 UTC) #1
Jennifer Messerly
https://codereview.chromium.org/241783003/diff/1/tools/testing/dart/browser_controller.dart File tools/testing/dart/browser_controller.dart (right): https://codereview.chromium.org/241783003/diff/1/tools/testing/dart/browser_controller.dart#newcode1378 tools/testing/dart/browser_controller.dart:1378: embedded_iframe.parentNode.removeChild(embedded_iframe); you might need to remove it from https://developer.mozilla.org/en-US/docs/Web/API/Window.frames ...
6 years, 8 months ago (2014-04-17 22:29:05 UTC) #2
Jennifer Messerly
LGTM
6 years, 8 months ago (2014-04-17 22:51:11 UTC) #3
Emily Fortuna
Committed patchset #2 manually as r35157 (presubmit successful).
6 years, 8 months ago (2014-04-17 22:56:14 UTC) #4
ricow1
Just out of curiosity: How can this ever have an impact on the second test, ...
6 years, 8 months ago (2014-04-18 08:11:04 UTC) #5
Jennifer Messerly
6 years, 8 months ago (2014-04-18 20:17:30 UTC) #6
Message was sent while issue was closed.
On 2014/04/18 08:11:04, ricow1 wrote:
> Just out of curiosity:
> How can this ever have an impact on the second test, i.e., what steps will
> reproduce this behavior? Could you share the debugging info you got from the
> bot?
> Additionally, what kind of impact does this have on our cycle times. I assume
> that especially when creating new windows you will have an added overhead


Context here: there's a tricky IE problem, we don't know what's causing it. It
could even be a bug in IE 11, like memory corruption, we don't know yet. One
guess I had is maybe discarding & creating the <iframe> node, instead of just
mutating the src, would help. I don't think it would affect cycle time since
it's just 1 node. In any case, it didn't help so I think Emily is/has reverted.

Powered by Google App Engine
This is Rietveld 408576698