mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Enable devtools by default on hololens.
This commit is contained in:
@@ -72,7 +72,7 @@ Servo::Servo(hstring url, hstring args, GLsizei width, GLsizei height,
|
||||
: mWindowHeight(height), mWindowWidth(width), mDelegate(aDelegate) {
|
||||
|
||||
capi::CInitOptions o;
|
||||
hstring defaultPrefs = L" --pref dom.webxr.enabled";
|
||||
hstring defaultPrefs = L" --pref dom.webxr.enabled --devtools=6000";
|
||||
o.args = *hstring2char(args + defaultPrefs);
|
||||
o.url = *hstring2char(url);
|
||||
o.width = mWindowWidth;
|
||||
|
||||
Reference in New Issue
Block a user