(as discussed offline, this requires splitting)
&web_app::IsolatedWebAppInstallSource::FromExternalPolicy)InstallWithSource(web_app::IsolatedWebAppInstallSource::FromExternalPolicy) isn't great for multiple reasons. We shouldn't do this.
IsolatedWebAppInstallSource::FromDevCommandLine(Why is this change needed? Are we sure it doesn't break any underlying assumptions?
defines += [ "ENABLE_SMART_CARD" ]Why is this needed? `runtime_data` knows nothing about the specifics of the smart card API.
void set_allow_all_user_installs_with_all_entitlements(bool allow_all) {That would be a -1 from me -- let's either update the affected tests or introduce a separate fake provider that returns true for any entitlement requests.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
IsolatedWebAppInstallSource::FromDevCommandLine(Why is this change needed? Are we sure it doesn't break any underlying assumptions?
It should not. Essentially this is about tests that do not use IWA test harness, and as such do not have auto-injected fake entitlements provider. Editing all of those by hand and adding entitlements would be a bit of a pain.
defines += [ "ENABLE_SMART_CARD" ]Why is this needed? `runtime_data` knows nothing about the specifics of the smart card API.
It's about the general effort of not compiling smart card specific stuff on systems that do not support the API, it's similar in many other places. Here it's about iffing-out smart card permissions policy related stuff if the browser does not support the API anyway.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
return IwaKeyDistributionInfoProvider::GetInstanceForTesting()Oh, I didn't notice that too. It's even worse, so please don't :/
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
return IwaKeyDistributionInfoProvider::GetInstanceForTesting()Oh, I didn't notice that too. It's even worse, so please don't :/
I don't remember why I did that, frankly, probably a relic of one of the past approaches.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |