Improve NTP browser test error messages
This test fails with LayoutNG's flexbox implementation and I'm trying to figure out why. As is, when it fails on the bots, it says the following, whose "Actual" is uninformative. [12496:12496:0214/021305.769266:ERROR:CONSOLE(565)] "Refused to frame 'https://www.chromium.org/' because it violates the following Content Security Policy directive: "child-src chrome-search://most-visited/ https://*.google.com/". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback. ", source: chrome-search://local-ntp/doodles.js (565) ../../chrome/browser/ui/search/local_ntp_doodle_browsertest.cc:1438: Failure Value of: GetDimension(active_tab, searchbox(), "top") Expected: is equal to 474 Actual: 8-byte object <01-00 00-00 26-01 00-00> Stack trace: #0 0x558beae4a9fe LocalNTPDoodleTest_ShouldMoveFakeboxWhenIframeResized_Test::RunTestOnMainThread() Change-Id: I0e9a0029ac8f04ca21b7df934cff4e052896e413 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2057639Reviewed-by:Moe Ahmadi <mahmadi@chromium.org> Commit-Queue: David Grogan <dgrogan@chromium.org> Cr-Commit-Position: refs/heads/master@{#742434}
Showing
Please register or sign in to comment