https://bugs.freedesktop.org/show_bug.cgi?id=72497

--- Comment #10 from Qubit <[email protected]> ---
Regarding syntax of default params to javascript functions:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/default_parameters

Looks like only Firefox supports default params like this:

function(method, parameters = null, async = false, returnFunction = null) {
...
}

Everyone supports
function(method, parameters, async, returnFunction) {
params = params || null;
// etc...
...
}

I'm working up a patch right now for this.

Bigger Picture: Perhaps we should have a testing policy whenever we update the
BSA?

Really simple testing policy:
1) Test in FF
2) Test in Chromium or Chrome
3) Test in Safari
4) Test on at least 2 of Win, Mac, GNU/Linux

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to