DescriptionSimplify caller checking logic in WebApkServiceImpl
This CL passes the uid of the host browser instead of the package name of the
host browser. This simplifies things because:
- Several package names can have the same UID.
- There is only one UID per package name. A UID is assigned to an app at install
time.
This CL also moves the WebApkServiceImplTests JUnit tests to instrumentation tests
(The simplification in this CL would make the JUnit tests super boring).
The instrumentation tests are useful. The behavior when an unauthorized caller
tries to use the WebAPK service was different than I expected
BUG=625448
Test=WebApkServiceImplTest.*
R=sievers
TBR=yfriedman (To get around the OWNERS checks for new DEPS files)
Committed: https://crrev.com/9af31665e1d8a11e8cef9d1d6ebb8891c1239ad4
Cr-Commit-Position: refs/heads/master@{#405399}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Merge branch 'master' into sandbox_on_transact1 #Patch Set 3 : Merge branch 'master' into sandbox_on_transact1 #Messages
Total messages: 27 (11 generated)
|