Comments (2)
Note that there are already prepared UI mocks for this in the HTML code of the Connector app's window:
/smart_card_connector_app/src/window.html#L35.
For the mapping between extension id's and their names, we have the GoogleSmartCard.PcscLiteServerClientsManagement.PermissionsChecking.KnownAppsRegistry class (which, BTW, takes the data from a JSON config).
from chromeos_smart_card_connector.
Regarding how can the JS objects be shared between App windows - the helpers that perform this are already implemented:
- from background.js side, method GoogleSmartCard.PopupWindow.Server.createWindow has the optional third parameter which is essentially forwarded to the created window scope;
- from window.js side, method GoogleSmartCard.PopupWindow.Client.getData allows to retrieve the passed data.
from chromeos_smart_card_connector.
Related Issues (20)
- Replace for loops in SCardStatus tests with something more deterministic
- Test shutdown hangs for 10min if reader is added shortly before HOT 2
- Test flakiness in SmartCardConnectorApplicationSingleClientTest.SCardConnectProtocolMismatch HOT 1
- ASan use-after-free report in case multiple readers are used HOT 1
- ASan use-after-free in EHTryToUnregisterClientForEvent HOT 1
- Flaky "No smart card inserted" SCardConnect errors in tests HOT 1
- Test flakiness due to eventCount
- Test flakiness on "Check "is_closed_" failed"
- Error -2146435049 since last update HOT 13
- Test flakiness on "Check "result" failed" HOT 3
- Avoid duplicate concurrent transfer USB API calls
- How to add extension to allowlist HOT 1
- Still getting permission despite adding admin policy HOT 3
- Double errors HOT 2
- Re-enable `INCOMING_MODULE_JS_API` in WebAssembly builds
- Popup dialogs are created with wrong width HOT 2
- Switch Smart Card Connector to Extensions Manifest V3 HOT 4
- Flaky "Timed out receiving message from renderer" error in tests HOT 1
- Don't create PC/SC permission prompts on Login Screen HOT 1
- Closure Library deprecation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chromeos_smart_card_connector.