mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
[Basilisk] Issue #47 - add checkboxes to toggle WebRTC and WASM
This commit is contained in:
parent
b1ac786668
commit
c5baecf1fb
3 changed files with 49 additions and 1 deletions
|
|
@ -22,6 +22,16 @@
|
|||
<preference id="font.language.group"
|
||||
name="font.language.group"
|
||||
type="wstring"/>
|
||||
|
||||
<!-- JavaScript -->
|
||||
<preference id="javascript.options.wasm"
|
||||
name="javascript.options.wasm"
|
||||
type="bool"/>
|
||||
#ifdef MOZ_WEBRTC
|
||||
<preference id="media.peerconnection.enabled"
|
||||
name="media.peerconnection.enabled"
|
||||
type="bool"/>
|
||||
#endif
|
||||
</preferences>
|
||||
|
||||
<script type="application/javascript"
|
||||
|
|
@ -187,3 +197,32 @@
|
|||
accesskey="&chooseButton.accesskey;"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<!-- JavaScript -->
|
||||
<groupbox id="javascriptGroup" data-category="paneContent" hidden="true">
|
||||
<caption><label>&javascript.label;</label></caption>
|
||||
<grid id="javascriptGrid">
|
||||
<columns>
|
||||
<column flex="1"/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows id="javascriptRows">
|
||||
<row id="javascriptRow1">
|
||||
<vbox align="start">
|
||||
<checkbox id="javascriptWasmPolicy"
|
||||
preference="javascript.options.wasm"
|
||||
label="&javascriptWasm.label;"
|
||||
accesskey="&javascriptWasm.accesskey;" />
|
||||
</vbox>
|
||||
</row>
|
||||
<row id="javascriptRow2">
|
||||
<vbox align="start">
|
||||
<checkbox id="javascriptWebRTCPolicy"
|
||||
preference="media.peerconnection.enabled"
|
||||
label="&javascriptWebrtc.label;"
|
||||
accesskey="&javascriptWebrtc.accesskey;" />
|
||||
</vbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</groupbox>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue