Bug 1527854 - Remove unnecessary waitForTime in browser_markup_shadowdom_open_debugger.js; r=jdescottes.

Since https://github.com/devtools-html/debugger.html/pull/6189 landed,
I think it's safe to remove the waitForTime we had in the test.

Differential Revision: https://phabricator.services.mozilla.com/D19763

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nicolas Chevobbe 2019-02-14 13:01:43 +00:00
parent fbafc28707
commit e402e63b4e

View File

@ -123,8 +123,4 @@ async function waitUntilDebuggerReady(debuggerContext) {
// We have to wait until the debugger has fully loaded the source otherwise
// we will get unhandled promise rejections.
await waitForLoadedSource(debuggerContext, "data:");
// Have to wait until https://github.com/devtools-html/debugger.html/pull/6189
// is released to avoid unhandled promise rejections.
await waitForTime(1000);
}