doc(WebPlatform): improve the inline doc