Bug 1342144 - Revert some version parameters in devtools/. r=jryans

DevTools has to support debugging versioned scripts until Firefox itself drops the support. So we can't remove versioned scripts completely.

MozReview-Commit-ID: 1NksT3hfz1Z

--HG--
extra : rebase_source : 72d1cb34b84101e3e07b5459ee36987e6508f3a7
This commit is contained in:
Masatoshi Kimura 2017-02-24 01:48:11 +09:00
Родитель 7be7b11a1c
Коммит cc06af4a56
4 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -19,7 +19,7 @@ function test() {
"<script type='text/javascript'>",
"let b = 42;",
"</script>",
"<script type='text/javascript'>",
"<script type='text/javascript;version=1.8'>",
"let c = 42;",
"</script>",
"</head>"

Просмотреть файл

@ -19,7 +19,7 @@ function test() {
"a.push('<script type=\"text/javascript\">');",
"a.push('var b = 42;');",
"a.push('</script>');",
"a.push('<script type=\"text/javascript\">');",
"a.push('<script type=\"text/javascript;version=1.8\">');",
"a.push('var c = 42;');",
"a.push('</script>');"
].join("\n");

Просмотреть файл

@ -12,7 +12,7 @@ function test() {
let source = [
'<script type="text/javascript" src="chrome://foo.js"/>',
'<script type="application/javascript" src="chrome://baz.js"/>',
'<script type="application/javascript;version=1.8" src="chrome://baz.js"/>',
'<script async defer src="chrome://foobar.js"/>',
'<script type="application/javascript"/>"hello third"',
'<script type="application/javascript">"hello fourth"</script>',

Просмотреть файл

@ -5,7 +5,7 @@
<title>Web Console test for bug 632347 - iterators and generators</title>
<!-- Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ -->
<script type="application/javascript">
<script type="application/javascript;version=1.8">
(function(){
function genFunc() {
var a = 5;