Comments (1)
It seems like core to your concerns here is the idea that this API allows a site to scan the local network or send arbitrary network traffic. That isn't the intent at all. If there's a particular section of the explainer which gives this impression please let us know.
There are two UX options in https://github.com/WICG/web-printing#suggested-options, the first option would grant access to information about all configured printers, similar to how getUserMedia()
grants access to information about all connected cameras, while the second option would require the user to choose which printer to grant access to, similar to how more modern APIs like Web Serial work. In neither case would the site be given the broad ability to scan the network for arbitrary devices. Access would be mediated by the underlying operating system's printing API, which provides information about printers the user has set up and nothing else.
The https://github.com/WICG/web-printing#main-motivating-use-case-remote-printing section explains the problem with the current print dialogs in the context of a particular category of web apps that do server-side generation of documents for printing.
from web-printing.
Related Issues (3)
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 web-printing.