From 55e2ce9b53890fcea279cd156712dd0a741ff725 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 27 Jul 2018 08:50:22 -0700 Subject: [PATCH] Note that new WebIDL may need TODO comments We don't support all features just yet! Closes #570 --- guide/src/web-sys/supporting-more-web-apis.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/guide/src/web-sys/supporting-more-web-apis.md b/guide/src/web-sys/supporting-more-web-apis.md index 6ea0f7dc..069b84d8 100644 --- a/guide/src/web-sys/supporting-more-web-apis.md +++ b/guide/src/web-sys/supporting-more-web-apis.md @@ -28,6 +28,11 @@ git mv webidls/available/MyWebApi.webidl webidls/enabled/MyWebApi.webidl ``` + Note that not all the existing WebIDL files in `available/*` have valid + syntax, so if you get a syntax error on a new WebIDL file (or otherwise hit + an unsupported operation), feel free to comment it out with a `TODO` to fix + later. + 2. Verify that the `web-sys` crate still builds and that its tests still pass with the new `.webidl` file enabled: