-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes based on build warnings #498
Conversation
@arichiv ➜ /workspaces/webappsec-permissions-policy (main) $ bikeshed --print=plain -f spec WARNING: The heading 'Changes since FPWD' needs a manually-specified ID. WARNING: The following <var>s were only used once in the document: 'declaration', in algorithm 'process-policy-attributes' If these are not typos, please add an ignore='' attribute to the <var>. WARNING: Multiple elements have the same ID 'default-allowlist'. Deduping, but this ID may not be stable across revisions. LINK ERROR: Multiple possible 'origins' dfn refs for '/'. Arbitrarily chose https://html.spec.whatwg.org/multipage/infrastructure.html#concept-request-origin The following refs show up multiple times in their spec, in a way that Bikeshed can't distinguish between. Either create a manual link, or ask the spec maintainer to add disambiguating attributes (usually a for='' attribute to all of them). spec:html; type:dfn; for:/; text:origin https://html.spec.whatwg.org/multipage/infrastructure.html#concept-request-origin https://html.spec.whatwg.org/multipage/infrastructure.html#concept-url-origin https://html.spec.whatwg.org/multipage/infrastructure.html#http-origin https://html.spec.whatwg.org/multipage/dom.html#concept-document-origin https://html.spec.whatwg.org/multipage/semantics.html#link-options-origin https://html.spec.whatwg.org/multipage/media.html#media-resource-origin https://html.spec.whatwg.org/multipage/origin.html#concept-origin https://html.spec.whatwg.org/multipage/origin.html#coop-enforcement-origin https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigation-params-origin [=origins=] LINK ERROR: No 'dfn' refs found for 'permissions-policy'. <a data-link-type="dfn" data-lt="Permissions-Policy">Permissions-Policy</a> LINK ERROR: Multiple possible 'origin' dfn refs for '/'. Arbitrarily chose https://html.spec.whatwg.org/multipage/infrastructure.html#concept-request-origin The following refs show up multiple times in their spec, in a way that Bikeshed can't distinguish between. Either create a manual link, or ask the spec maintainer to add disambiguating attributes (usually a for='' attribute to all of them). spec:html; type:dfn; for:/; text:origin https://html.spec.whatwg.org/multipage/infrastructure.html#concept-request-origin https://html.spec.whatwg.org/multipage/infrastructure.html#concept-url-origin https://html.spec.whatwg.org/multipage/infrastructure.html#http-origin https://html.spec.whatwg.org/multipage/dom.html#concept-document-origin https://html.spec.whatwg.org/multipage/semantics.html#link-options-origin https://html.spec.whatwg.org/multipage/media.html#media-resource-origin https://html.spec.whatwg.org/multipage/origin.html#concept-origin https://html.spec.whatwg.org/multipage/origin.html#coop-enforcement-origin https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigation-params-origin <a data-link-type="dfn" data-lt="origin">origin</a> LINK ERROR: Multiple possible 'origin' dfn refs for '/'. Arbitrarily chose https://html.spec.whatwg.org/multipage/infrastructure.html#concept-request-origin The following refs show up multiple times in their spec, in a way that Bikeshed can't distinguish between. Either create a manual link, or ask the spec maintainer to add disambiguating attributes (usually a for='' attribute to all of them). spec:html; type:dfn; for:/; text:origin https://html.spec.whatwg.org/multipage/infrastructure.html#concept-request-origin https://html.spec.whatwg.org/multipage/infrastructure.html#concept-url-origin https://html.spec.whatwg.org/multipage/infrastructure.html#http-origin https://html.spec.whatwg.org/multipage/dom.html#concept-document-origin https://html.spec.whatwg.org/multipage/semantics.html#link-options-origin https://html.spec.whatwg.org/multipage/media.html#media-resource-origin https://html.spec.whatwg.org/multipage/origin.html#concept-origin https://html.spec.whatwg.org/multipage/origin.html#coop-enforcement-origin https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigation-params-origin [=origin=] LINK ERROR: No 'dfn' refs found for 'parse policy directive' that are marked for export. <a data-link-type="dfn" data-lt="Parse policy directive">Parse policy directive</a> LINK ERROR: Multiple possible 'browsing context' dfn refs for '/'. Arbitrarily chose https://html.spec.whatwg.org/multipage/browsers.html#browsing-context The following refs show up multiple times in their spec, in a way that Bikeshed can't distinguish between. Either create a manual link, or ask the spec maintainer to add disambiguating attributes (usually a for='' attribute to all of them). spec:html; type:dfn; for:/; text:browsing context https://html.spec.whatwg.org/multipage/browsers.html#browsing-context https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigation-params-browsing-context <a data-link-type="dfn" data-lt="browsing context">browsing context</a> LINK ERROR: Multiple possible 'browsing context' dfn refs for '/'. Arbitrarily chose https://html.spec.whatwg.org/multipage/browsers.html#browsing-context The following refs show up multiple times in their spec, in a way that Bikeshed can't distinguish between. Either create a manual link, or ask the spec maintainer to add disambiguating attributes (usually a for='' attribute to all of them). spec:html; type:dfn; for:/; text:browsing context https://html.spec.whatwg.org/multipage/browsers.html#browsing-context https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigation-params-browsing-context <a data-link-type="dfn" data-lt="browsing context">browsing context</a> LINE ~999: No 'dfn' refs found for 'generate and queue a report' with for='['reporting']'. [=reporting/generate and queue a report=] LINT: Unexported dfn that's not referenced locally - did you mean to export it? <dfn data-dfn-type="dfn" id="serialized-permissions-policy" data-lt="serialized-permissions-policy" data-noexport="by-default">serialized-permissions-policy<a href="#serialized-permissions-policy" class="self-link"></a></dfn> <dfn data-dfn-type="dfn" id="serialized-permissions-policy" data-lt="serialized-permissions-policy" data-noexport="by-default">serialized-permissions-policy<a href="#serialized-permissions-policy" class="self-link"></a></dfn> ✔ Successfully generated, with 8 linking errors
All but browser context errors below are fixed now: @arichiv ➜ /workspaces/webappsec-permissions-policy (main) $ bikeshed --print=plain -f spec |
@clelland have time to take a look? |
LGTM, thanks for the cleanup! |
SHA: e138f22 Reason: push, by clelland Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
SHA: e138f22 Reason: push, by clelland Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Remove `data-link-for="Navigator"`, unneeded since #42. * Fix reference to "default allowlist", which has needed the "policy-controlled feature" scope since w3c/webappsec-permissions-policy#498. I could not get it to work using the `<a>` syntax with ReSpec though. * While here, make "self" a reference to the corresponding term in the Permissions Policy spec.
* Remove `data-link-for="Navigator"`, unneeded since #42. * Fix reference to "default allowlist", which has needed the "policy-controlled feature" scope since w3c/webappsec-permissions-policy#498. I could not get it to work using the `<a>` syntax with ReSpec though. * While here, make "self" a reference to the corresponding term in the Permissions Policy spec.
* Remove `data-link-for="Navigator"`, unneeded since #42. * Fix reference to "default allowlist", which has needed the "policy-controlled feature" scope since w3c/webappsec-permissions-policy#498. I could not get it to work using the `<a>` syntax with ReSpec though. * While here, make "self" a reference to the corresponding term in the Permissions Policy spec.
This resolves all current compile errors except for those related to browser context. I need to followup in HTML for that.
💥 Error: connect ETIMEDOUT 173.230.149.95:443 💥
PR Preview failed to build. (Last tried on Jan 10, 2023, 12:47 PM UTC).
More
PR Preview relies on a number of web services to run. There seems to be an issue with the following one:
🚨 CSS Spec Preprocessor - CSS Spec Preprocessor is the web service used to build Bikeshed specs.
🔗 Related URL
If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please file an issue.