Comments (8)
Noting that on Firefox side we have an increased demand for both developers and QA to test things like Permissions Policy. A while ago I hacked together a definitely not pretty test page for that purpose, but it would be nice to be able to expose it to the wider community in a more polished manner.
As @lgarron mentions, the test page shows that this can result in quite a large number of combinations, so my suggestion would be spinning this off into a separate GitHub page with a separate domain registration and embedding permission.site as a third party (and linking to it from permission.site). This would help with the "who owns the registration" problem in the short term but also introduce a new problem of having more domains that people have to coordinate on.
Not sure how much time I can spend on this but I'm happy to help overall :)
from permission.site.
We probably want all permutations of:
- same-origin iframe
- different-origin iframe
- different-"site" iframe (in case browsers treat subdomains specially)
from permission.site.
@beaufortfrancois, any chance you could make this happen?
from permission.site.
I don't have access to permission.site domain sadly. @lgarron Would you know by any chance how to proceed?
from permission.site.
Depends what you mean. I have the same access as you since over 2 years: #44
Right now, this is a simple static site using GitHub Pages, so anything else is other than a same-origin iframe is going to require some time investment in infrastructure.
I would recommend against trying to build an intricate structure of domains to test every possible case, since that could have exponential combinations over time and this project is quite passively maintained. But if you'd like, Google owns the registration so you'd want to talk to someone internal about handling new registrations and DNS entries to support this.
from permission.site.
Thank you @lgarron for your feedback!
@engedy may you be able to help with DNS entries?
from permission.site.
Noting that on Firefox side we have an increased demand for both developers and QA to test things like Permissions Policy. A while ago I hacked together a definitely not pretty test page for that purpose, but it would be nice to be able to expose it to the wider community in a more polished manner.
That's very encouraging to hear! Love to see Chroma and Mozilla collaborating.
I can't really make significant decisions/infrastructure changes here, so perhaps a concrete proposal balancing functionality and maintainability could be something @engedy & co could run with.
(I'm happy to help with in-repo changes, though!)
from permission.site.
Apologies, I missed the mention back in July. Happy to start setting this up!
WDYT about the following:
- Create a fork of this entire repo, and host it under something like
https://a.permission.site
. - Add a page (say,
frames.html
) to this repo that hosts a set of frames, each embedding eitherhttps://permission.site
orhttps://a.permission.site
with various permission policies / sandbox / etc attributes. - Add a link to that page to
index.html
(or potentially integrate it into the main page).
This allows us to keep all the meaningful site development work on permissions.site
in this repo, enabling cross-site testing for a new capability by simply merging a PR into this repo, and just mechanically pulling those changes also into the other repo. QA an developers can also find this functionality easily without having to remember any other origins.
from permission.site.
Related Issues (20)
- U2F / webauthn HOT 1
- Keyboard Lock HOT 3
- http-https toggle is stuck in Android HOT 2
- Link to feature policy demo site?
- Remove ternary within if else to see logic error better HOT 2
- Motion sensors HOT 3
- [ question ] how to determine whether test is failure or pass ?
- HTTP site does not generate permissions prompts; no errors shown HOT 3
- Buttons use only color to indicate permissions status HOT 1
- HID button turns green after dismissing chooser dialog
- PWA support HOT 8
- Test with an unknown CA or self-signed certificate HOT 2
- The HTTP / HTTPS switcher is visually too dynamic HOT 2
- feedback HOT 1
- Make some changes in `knob` button HOT 1
- Will Add Dark theme
- Add Prettier and ESLint rules HOT 1
- Drop support for weak cipher suites for TLS 1.2 on permission.site HOT 2
- Add window placement permission HOT 2
- Add Generic Sensor API permission requests HOT 2
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 permission.site.