I have found that if I use:
Window.open("p/u", ...) the file u is opened as a text file.
Window.open("p/u.html" handled the file as correct html.
Not sure why the file, which includes:
<!doctype html>
<html lang="en" data-ng-app="evidentia-age" data-ng-csp>
is not recognized as an html file no matter WHAT it is named
Anyone?
here is the full block of code:
gui.Window.open("app://local/p/u",
{
title: 'Evidentia Age Calculator',
icon: "../img/Evidentia128x128.png",
position: 'center',
width: 400,
height: 350,
frame: true,
focus: true,
toolbar: true,
resizable: false,
'single-instance': true
});