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

Issue 1254803006: Fix MaterialPDFExtensionTest.ElementsTest in Polymer 1.0.5 (Closed)

Created:
5 years, 4 months ago by tsergeant
Modified:
5 years, 4 months ago
Reviewers:
raymes, Dan Beam
CC:
chrome-apps-syd-reviews_chromium.org, chromium-reviews, Dan Beam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix MaterialPDFExtensionTest.ElementsTest in Polymer 1.0.5 This CL forces templates to render immediately using Polymer.dom.flush() instead of posting an async task. This ensures that the templates will render regardless of changes to how the templates are rendered internally. This issue was raised by https://codereview.chromium.org/1261403002/. BUG=None

Patch Set 1 #

Total comments: 3

Patch Set 2 : Use Polymer.dom.flush #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -33 lines) Patch
M chrome/test/data/pdf/material_elements_test.js View 1 1 chunk +33 lines, -33 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
tsergeant
5 years, 4 months ago (2015-07-30 03:27:54 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1254803006/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1254803006/1
5 years, 4 months ago (2015-07-30 03:28:19 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/92791)
5 years, 4 months ago (2015-07-30 04:08:50 UTC) #6
raymes
https://codereview.chromium.org/1254803006/diff/1/chrome/test/data/pdf/material_elements_test.js File chrome/test/data/pdf/material_elements_test.js (right): https://codereview.chromium.org/1254803006/diff/1/chrome/test/data/pdf/material_elements_test.js#newcode138 chrome/test/data/pdf/material_elements_test.js:138: }, 10); Hmm doing this could make the test ...
5 years, 4 months ago (2015-07-30 04:33:22 UTC) #7
tsergeant
https://codereview.chromium.org/1254803006/diff/1/chrome/test/data/pdf/material_elements_test.js File chrome/test/data/pdf/material_elements_test.js (right): https://codereview.chromium.org/1254803006/diff/1/chrome/test/data/pdf/material_elements_test.js#newcode138 chrome/test/data/pdf/material_elements_test.js:138: }, 10); On 2015/07/30 at 04:33:22, raymes wrote: > ...
5 years, 4 months ago (2015-07-30 05:02:09 UTC) #8
raymes
I see :) I think that's ok then but let's add a comment stating that ...
5 years, 4 months ago (2015-07-30 05:59:57 UTC) #9
tsergeant
Updated with a much better solution that I found =D https://codereview.chromium.org/1254803006/diff/1/chrome/test/data/pdf/material_elements_test.js File chrome/test/data/pdf/material_elements_test.js (right): https://codereview.chromium.org/1254803006/diff/1/chrome/test/data/pdf/material_elements_test.js#newcode138 ...
5 years, 4 months ago (2015-07-30 07:04:06 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1254803006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1254803006/20001
5 years, 4 months ago (2015-07-30 07:05:22 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/92084)
5 years, 4 months ago (2015-07-30 07:37:54 UTC) #14
Dan Beam
I think our patches would need to be combined, as yours requires 1.0.5 to work ...
5 years, 4 months ago (2015-07-30 20:30:39 UTC) #16
tsergeant
On 2015/07/30 at 20:30:39, dbeam wrote: > I think our patches would need to be ...
5 years, 4 months ago (2015-07-30 22:47:17 UTC) #17
raymes
5 years, 4 months ago (2015-08-03 00:07:20 UTC) #18
lgtm!

Powered by Google App Engine
This is Rietveld 408576698