MCPcopy Index your code
hub / github.com/codenameone/CodenameOne / decorateUrl

Function decorateUrl

scripts/run-javascript-lifecycle-tests.mjs:205–208  ·  view source on GitHub ↗

* Append parparDiag=1 and cn1DisableEventForwarding=1 (mirrors the * screenshot-test harness so the lifecycle log we read is identical * to the one CI captures).

(url)

Source from the content-addressed store, hash-verified

203 * to the one CI captures).
204 */
205function decorateUrl(url) {
206 const sep = url.includes('?') ? '&' : '?';
207 return `${url}${sep}parparDiag=1&cn1DisableEventForwarding=1`;
208}
209
210/**
211 * Drive a single bundle through the lifecycle test. Returns a result

Callers 1

runBundleFunction · 0.85

Calls 1

includesMethod · 0.65

Tested by

no test coverage detected