当我们使用网络组件测试仪(wct)测试我们的聚合物元素时,我们收到了大量404警告,这些警告似乎不会影响测试,但很烦人,例如
firefox 37 ✓ app/elements/twt-comment/test/basic.html » twt-comment » should render the information provided in the `comment.author` binding
404 GET /app/elements/twt-comment/test/undefined
有没有人见过这些?它们似乎不是来自我们自己的代码,而且我在使用wct代码时遇到了麻烦。我想试着摆脱它们。
答案 0 :(得分:0)
通过在Chrome开发工具中调试测试并查看404请求的引荐来源,我们发现我们的子元素指的是无效的图片网址。抱歉误报。