Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: autotest/test_abprewrite_module.js.expected

Issue 29354754: Issue 4467 - Fixed hex encoding of characters in string literal and adjusted tests for newer Spider… (Closed) Base URL: https://hg.adblockplus.org/jshydra
Patch Set: Created Sept. 23, 2016, 10:50 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « autotest/test_abprewrite_autoload.js.expected ('k') | scripts/astDecompile.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: autotest/test_abprewrite_module.js.expected
===================================================================
--- a/autotest/test_abprewrite_module.js.expected
+++ b/autotest/test_abprewrite_module.js.expected
@@ -19,63 +19,64 @@
// This file has been generated automatically, relevant repositories:
// * https://hg.adblockplus.org/jshydra/
//
require.scopes["abprewrite_source"] = (function()
{
var exports = {};
var Cl = Components.unknown;
+ "foo + bar \n\r\x02\x0f\x1e";
var Utils = require("utils").Utils;
var _tempVar0 = require("filterClasses");
var Filter = _tempVar0.Filter;
var BlockingFilter = _tempVar0.BlockingFilter;
- var foo;
+ var foovar;
var bar = 2;
var bas;
var FOO = "FOO";
var _tempVar1 = foo();
var a = _tempVar1[0];
var b = _tempVar1[1];
var _tempVar2 = [1, 2];
a = _tempVar2[0];
b = _tempVar2[1];
- var y = foo().x;
+ var prop = foo().x;
var _tempVar3 = foo();
var v1 = _tempVar3.k1;
var v2 = _tempVar3.k2;
for (var _loopIndex4 = 0; _loopIndex4 < fooList.length; ++_loopIndex4)
{
var v = fooList[_loopIndex4];
alert(v);
}
for (var _loopIndex5 = 0; _loopIndex5 < fooList.length; ++_loopIndex5)
{
var _tempVar6 = fooList[_loopIndex5];
- var a = _tempVar6[0];
- var b = _tempVar6[1];
- a += b;
- b -= a;
+ var i1 = _tempVar6[0];
+ var i2 = _tempVar6[1];
+ i1 += i2;
+ i2 -= i1;
}
for (var _loopIndex7 = 0; _loopIndex7 < fooList.length; ++_loopIndex7)
{
var _tempVar8 = fooList[_loopIndex7];
- var a = _tempVar8[0];
- var b = _tempVar8[1];
+ var j1 = _tempVar8[0];
+ var j2 = _tempVar8[1];
}
for (var _loopIndex9 = 0; _loopIndex9 < fooList.length; ++_loopIndex9)
{
k = fooList[_loopIndex9];
alert(k);
}
- var a = function()
+ var arrow = function()
{
return 1;
};
- var b = {
+ var getter = {
get foo()
{
return 1;
}
};
function foo()
{
@@ -93,27 +94,27 @@ require.scopes["abprewrite_source"] = (f
bar();
}
else
{
bas();
}
if (a == b)
{}
- for (var a = 0; a < b.length; a++)
+ for (var x = 0; x < b.length; x++)
{
foo();
}
- for (var a = 0; a < b.length; a++)
+ for (var y = 0; y < b.length; y++)
{}
- for (var a in b)
+ for (var i in b)
{
foo();
}
- for (var a in b)
+ for (var j in b)
{}
while (a == b)
{
foo();
}
while (a == b)
{}
@@ -121,17 +122,17 @@ require.scopes["abprewrite_source"] = (f
{
var _generatorResult10 = [];
for (var i = 0; i < 10; i++)
{
_generatorResult10.push(i);
}
return _generatorResult10;
}
- var a = function()
+ var func = function()
{
var _generatorResult10 = [];
for (var i = 0; i < 10; i++)
{
_generatorResult10.push(i);
}
return _generatorResult10;
};
« no previous file with comments | « autotest/test_abprewrite_autoload.js.expected ('k') | scripts/astDecompile.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld