From c6021c298801cdb65576ee9bee00142c553bd22f Mon Sep 17 00:00:00 2001 From: David Rajchenbach-Teller Date: Sat, 11 Oct 2014 21:49:13 +0200 Subject: [PATCH] Bug 1081547 - wallpaper for Intermittent browser_telemetry_button_scratchpad.js | A promise chain failed to handle a rejection: - Protocol error (unknownError): Error: Got an invalid root window in DocumentWalker;r=yoric --- .../shared/test/browser_telemetry_button_scratchpad.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/browser/devtools/shared/test/browser_telemetry_button_scratchpad.js b/browser/devtools/shared/test/browser_telemetry_button_scratchpad.js index c67406bdea76..8dd7ae0ccc9e 100644 --- a/browser/devtools/shared/test/browser_telemetry_button_scratchpad.js +++ b/browser/devtools/shared/test/browser_telemetry_button_scratchpad.js @@ -1,6 +1,13 @@ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ +/////////////////// +// +// Whitelisting this test. +// As part of bug 1077403, the leaking uncaught rejection should be fixed. +// +thisTestLeaksUncaughtRejectionsAndShouldBeFixed("Protocol error (unknownError): Error: Got an invalid root window in DocumentWalker"); + const TEST_URI = "data:text/html;charset=utf-8,

browser_telemetry_button_scratchpad.js

"; // Because we need to gather stats for the period of time that a tool has been