**** BEGIN LOGGING AT Wed Mar 16 02:59:56 2022 Mar 16 08:00:32 Morning! Mar 16 08:00:43 Tofe: Ah that's a pity, but good the browser itself is working at least now Mar 16 08:00:51 Should I report to LG we got that working? Mar 16 08:01:06 Can you push your changes, so we don't loose them in the process somewhere? Mar 16 09:11:34 Tofe: I came across this Enyo 1.0 commit from morphis long time ago that might be related to the window.open somehow? https://github.com/webOS-ports/enyo-1.0/commit/f3ad2104d81985fc04cae62d61295352df3ff879 Mar 16 16:04:43 Morning! Mar 16 16:04:57 Herrie: I'll reply to the mail with some details about the progress Mar 16 16:05:36 and I'll PR my changes soon, but it needs a patch for webruntime Mar 16 18:21:14 Tofe: Ah OK, I didn't know about the patch for webruntime, or is this the XDG_RUNTIME_DIR? Mar 16 18:44:57 yes, it's the run_app_script patch Mar 16 18:45:19 for the cardshell, it's already pushed, we just have to bump the recipe Mar 16 18:56:27 Herrie: https://github.com/webOS-ports/meta-webos-ports/pull/502 there you go. Warning: I didn't build-test it ! Mar 16 18:57:58 I also changed the default value of XDG_RUNTIME_DIR in the shell, which shouldn't be necessary. But the "if" had an incorrect logic, for sure Mar 16 19:27:31 Tofe: The luna-next-cardshell I already bumped earlier today Mar 16 19:31:11 Building now Mar 16 19:31:18 Herrie: yes thanks, I just saw that :) Mar 16 19:40:14 Tofe: You have any thoughts how to impersonate in Enyo 1.0 so we can send -a with the appId? I see some reference to spoofId in https://github.com/webOS-ports/enyo-1.0/blob/webOS-ports/wam-sam/framework/source/palm/services/bridge/WebOsPalmServiceBridge.js#L47 Mar 16 19:40:20 But not really sure how to call it this way Mar 16 19:40:43 Tofe: webruntime is compiling here, so will be a little while Mar 16 19:41:30 We basically would need to pass the appId in the call here: https://github.com/webOS-ports/enyo-1.0/commit/29d5729a290a62915dc15e0e555daf3e0675e688#diff-976f3bfa3e556ff34ce5de83185f12d67e5497dc4d5743c380ec9d20bf790c93 Mar 16 19:41:40 Herrie: not sure to understand what you want to do Mar 16 19:43:08 luna-send has very special rights which lets it have any appId it wants, but with ACG that's now very formalized, and we can't do that with every app Mar 16 19:47:57 Tofe: Well CrossAppUI is a bit of a strange duck since App 1 calls App 2. However the luna-send call is done from App 1, trying to get info for App 2 which is not allowed. So we should pass App 2's appId in the call with the -a Mar 16 19:48:02 So the call will return a result Mar 16 19:48:29 com.palm.app.accounts- "Could not get app path: Not allowed. Allow only for the info of calling app itself." Mar 16 19:48:54 This is because com.palm.app.accounts is trying to make a call for getAppBasePath for the app org.webosports.app.cdav Mar 16 19:48:59 Which SAM doesn't like Mar 16 19:49:10 We could also patch SAM of course to allow it I guess Mar 16 19:50:39 I.e.: https://github.com/webosose/sam/blob/af986e600cba012d9ad67a50222174725fb242c3/src/bus/service/ApplicationManager.cpp#L549 Mar 16 19:53:46 I.e. remove the if statement completely or somehow whitelist callers that start with "com.palm" and org.webosports" for example Mar 16 21:24:09 Herrie: we could check the "trusted" attribute **** ENDING LOGGING AT Thu Mar 17 02:59:56 2022