The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.
MozReview-Commit-ID: 3uOxkgWYWEz
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.
MozReview-Commit-ID: 1beGB5GG8Ty
Actually, other browsers (except to Gecko) doesn't create undo history by input.value setter. It only creates user interaction.
devtools tests check enableUndo after using input.value setter. So we should use setUserInput to emulate input instead.
Although input.value setter doesn't generate input event, but setUserInput will generate input event, so we need wait for search request on browser_inspector_search-filter_context-menu.js.
MozReview-Commit-ID: KLiv1J0i5tJ
Added gDevTools.getTheme() to provide the theme name, and a gDevTools "theme-changed"
event to provide a notification when the theme is changed.
MozReview-Commit-ID: EeUAmtyPpUy
Added : and ; characters to the DOM directly, visually hidden so they
won't appear but will be part of the copied text.
Changed divs to spans to make sure we don't have extra line breaks.
And simplified the logic in copySelection as a result.
MozReview-Commit-ID: EMVXAtv7EOo
The shared Frame component appears to set the containing element to be a
flex component, while the table view with the dominators expects an
inline-block element. This appears to have been broken for quite
some time with Bug 1251033.
MozReview-Commit-ID: CYkps6QfTJc
In the Bug 1335055, accessibility features were added for re-focusing on
a TreeNode when it was unmounted. Unfortunately this is incompatible
with how the Tree provides a virtualized view, where it only has DOM
nodes on the page that will be visibile when things are scrolled. So
when a view is scrolled down, the TreeNode components get unmounted.
The focused node is still technically focused, but the actual component
is no longer mounted and present on the page. This causes the focus to
incorrectly jump around as the user scrolls down the page.
MozReview-Commit-ID: 64hlwCax0Ej