gecko-dev/dom/browser-element
Masayuki Nakano ca4a57799a Bug 1599944 - Make `SimpleTest.waitForClipboard()` and `SimpleTest.promiseClipboardChange()` relax to compare clipboard data with expected string r=smaug
Most tests which use these APIs don't want to distinguish difference of
linebreaks (i.e., CRLF vs. CR vs. LF).  And also most tests don't want to
check prefix and postfix of HTML data in clipboard on Windows.

Therefore, this patch makes them compare clipboard data with expected string
smarter.  Every linebreak in clipboard data are treated as LF.  Expected
HTML data is wrapped with `<html>`, `<body>` and comment nodes only on
Windows at comparing with clipboard data.

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

--HG--
extra : moz-landing-system : lando
2019-12-27 14:02:35 +00:00
..
mochitest Bug 1599944 - Make `SimpleTest.waitForClipboard()` and `SimpleTest.promiseClipboardChange()` relax to compare clipboard data with expected string r=smaug 2019-12-27 14:02:35 +00:00
BrowserElementChild.js Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
BrowserElementChildPreload.js Bug 1584998: Make x-frame-options work with fission enabled. r=jkt,farre,johannh,flod 2019-10-31 08:28:35 +00:00
BrowserElementCopyPaste.js Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
BrowserElementParent.cpp Bug 1570773: Move browsingContext getter to nsIDocShellTreeItem and add notxpcom variant. r=nika 2019-08-07 16:59:30 +00:00
BrowserElementParent.h Bug 1561015: Part 1 - Use BrowsingContext in window provider APIs. r=bzbarsky,mossop 2019-08-02 20:48:33 +00:00
BrowserElementParent.jsm Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
BrowserElementPromptService.jsm Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
components.conf Bug 1524688: Part 55 - Convert BrowserElementParent to static registration. r=mconley 2019-01-30 11:36:13 -08:00
moz.build Bug 1535353 - update Core :: DOM: * bugzilla product and component meta data in moz.build files after reorganization in bug 1533440 r=hsinyi 2019-03-17 23:13:22 +00:00
nsIBrowserElementAPI.idl