Fix segfault when hyphenating text in main process (#3388)
This commit is contained in:
parent
78fe68164f
commit
8d825f641a
4 changed files with 31 additions and 0 deletions
10
test/content/hyphenationTest.xhtml
Normal file
10
test/content/hyphenationTest.xhtml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0"?>
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<browser remote="false" />
|
||||
<script>
|
||||
var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
document.querySelector('browser').loadURI('chrome://zotero-unit/content/hyphenationTestContent.html', {
|
||||
triggeringPrincipal: Services.scriptSecurityManager.getSystemPrincipal()
|
||||
});
|
||||
</script>
|
||||
</window>
|
Loading…
Add table
Add a link
Reference in a new issue