 Issue 29523555:
  Issue 5552 - use strict mode for all JS in libadblocklus  (Closed) 
  Base URL: https://github.com/adblockplus/libadblockplus.git
    
  
    Issue 29523555:
  Issue 5552 - use strict mode for all JS in libadblocklus  (Closed) 
  Base URL: https://github.com/adblockplus/libadblockplus.git
| Index: test/JsEngine.cpp | 
| diff --git a/test/JsEngine.cpp b/test/JsEngine.cpp | 
| index 207316da60d2cd6f4a0ff8c768590f8660ee0b76..838f29e6325d65f58770030986b0582b9cffa55a 100644 | 
| --- a/test/JsEngine.cpp | 
| +++ b/test/JsEngine.cpp | 
| @@ -70,7 +70,7 @@ namespace { | 
| AdblockPlus::JsValueList params; | 
| params.push_back(v1); | 
| params.push_back(v2); | 
| - return jsEngine.Evaluate("f = function(a, b) { return a == b };").Call(params).AsBool(); | 
| + return jsEngine.Evaluate("(function(a, b) { return a == b })").Call(params).AsBool(); | 
| } | 
| } |