| LEFT | RIGHT | 
|   1 /* |   1 /* | 
|   2  * This file is part of Adblock Plus <https://adblockplus.org/>, |   2  * This file is part of Adblock Plus <https://adblockplus.org/>, | 
|   3  * Copyright (C) 2006-present eyeo GmbH |   3  * Copyright (C) 2006-present eyeo GmbH | 
|   4  * |   4  * | 
|   5  * Adblock Plus is free software: you can redistribute it and/or modify |   5  * Adblock Plus is free software: you can redistribute it and/or modify | 
|   6  * it under the terms of the GNU General Public License version 3 as |   6  * it under the terms of the GNU General Public License version 3 as | 
|   7  * published by the Free Software Foundation. |   7  * published by the Free Software Foundation. | 
|   8  * |   8  * | 
|   9  * Adblock Plus is distributed in the hope that it will be useful, |   9  * Adblock Plus is distributed in the hope that it will be useful, | 
|  10  * but WITHOUT ANY WARRANTY; without even the implied warranty of |  10  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| (...skipping 18 matching lines...) Expand all  Loading... | 
|  29   { |  29   { | 
|  30     this.timeout(0); |  30     this.timeout(0); | 
|  31  |  31  | 
|  32     before(function() |  32     before(function() | 
|  33     { |  33     { | 
|  34       return Promise.all([ |  34       return Promise.all([ | 
|  35         module.ensureBrowser(), |  35         module.ensureBrowser(), | 
|  36         new Promise((resolve, reject) => |  36         new Promise((resolve, reject) => | 
|  37         { |  37         { | 
|  38           exec( |  38           exec( | 
|  39             `bash -c 'python build.py devenv -t ${module.platform}'`, |  39             `bash -c "python build.py devenv -t ${module.platform}"`, | 
|  40             (error, stdout, stderr) => |  40             (error, stdout, stderr) => | 
|  41             { |  41             { | 
|  42               if (error) |  42               if (error) | 
|  43               { |  43               { | 
|  44                 console.error(stderr); |  44                 console.error(stderr); | 
|  45                 reject(error); |  45                 reject(error); | 
|  46               } |  46               } | 
|  47               else resolve(stdout); |  47               else resolve(stdout); | 
|  48             } |  48             } | 
|  49           ); |  49           ); | 
| (...skipping 24 matching lines...) Expand all  Loading... | 
|  74       delete require.cache[require.resolve(modulePath)]; |  74       delete require.cache[require.resolve(modulePath)]; | 
|  75       require(modulePath); |  75       require(modulePath); | 
|  76     } |  76     } | 
|  77  |  77  | 
|  78     after(function() |  78     after(function() | 
|  79     { |  79     { | 
|  80       this.driver.quit(); |  80       this.driver.quit(); | 
|  81     }); |  81     }); | 
|  82   }); |  82   }); | 
|  83 } |  83 } | 
| LEFT | RIGHT |