调试消息"资源间preTED其他但是MIME类型application / JavaScript的&QUOT转移; [英] Debug message "Resource interpreted as other but transferred with MIME type application/javascript"

查看:193
本文介绍了调试消息"资源间preTED其他但是MIME类型application / JavaScript的&QUOT转移;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

OK,我明白了什么消息的表示的,但我真的不知道是什么导致它。我使用Safari和Mac OS X上的Web检查,顺便说一句。

OK, I understand what the messages means, but I'm really not sure what's causing it. I'm using Safari and the Web Inspector on Mac OS X, by the way.

我有我的文件头以下内容:

I've got the following in my document head:

<script src="http://local.url/a/js/jquery.js" type="text/javascript"></script>
<script src="http://local.url/a/js/jquery.inplace.js" type="text/javascript"></script>

的jquery.js 的处理很好,但其他文件导致的警告。这也似乎在这个文件中的JavaScript永远不会被执行。

jquery.js is handled fine, but the other file causes the warning. It also seems that the javascript in this file never gets executed.

该文件正在通过 mod_deflate模块服务,所以它的gzip EN codeD,但这样是其他文件。

The file is being served via mod_deflate, so it is gzip encoded, but so is the other file.

有没有人得到了什么导致任何想法,或如何解决?

Has anybody got any ideas what's causing this, or how to resolve it?

干杯所有,
暖气。

Cheers all, Gaz.

推荐答案

似乎是在Safari / WebKit的一个bug。也许这一个,或<一个href=\"https://bugs.webkit.org/buglist.cgi?query%5Fformat=specific&order=relevance%2Bdesc&bug%5Fstatus=%5F%5Fopen%5F%5F&product=WebKit&content=Resource%2Binter$p$pted%2Bas%2Bother\">any这些。尝试升级您的Safari浏览器。如果没有更新的稳定版本,尝试4测试版。

seems to be a bug in safari / webkit. maybe this one, or any of these. try upgrading your safari. if there is no more recent stable version, try the 4 beta.

这篇关于调试消息&QUOT;资源间preTED其他但是MIME类型application / JavaScript的&QUOT转移;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆