722287b81a
In Firefox 102, `-file` was being swallowed by `nsBrowserContentHandler`
in BrowserContentHandler.jsm, so ab7d916e0
overrode that by using the
same contract id for our main nsICommandLineHandler in
zotero-service.js. But `nsBrowserContentHandler` also handles `-chrome`,
which we were using in tests to pass runtests.html. There's no need to
pass in dynamically though -- we can just hard-code that and open the
window ourselves.
18 lines
No EOL
680 B
HTML
18 lines
No EOL
680 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8"></meta>
|
|
<title>Zotero Unit Tests</title>
|
|
</head>
|
|
<body>
|
|
<script src="chrome://zotero/content/include.js"></script>
|
|
<script src="resource://zotero-unit/chai.js"></script>
|
|
<script src="resource://zotero-unit/chai-as-promised.js"></script>
|
|
<script src="resource://zotero-unit/mocha.js"></script>
|
|
<script src="resource://zotero-unit/co-mocha.js"></script>
|
|
<script src="resource://zotero-unit/sinon.js"></script>
|
|
<script src="resource://zotero-unit/pako_inflate.js"></script>
|
|
<script src="support.js" type="application/javascript"></script>
|
|
<script src="runtests.js" type="application/javascript"></script>
|
|
</body>
|
|
</html> |