Bug 1363729 - Fixed a small formatting regression in tests. r?haik draft
authorAlex Gaynor <agaynor@mozilla.com>
Wed, 10 May 2017 10:05:25 -0400
changeset 575504 227af69a8aaf8b3419b5c74f4aaabe97b6b70938
parent 575474 ebbcdaa5b5802ecd39624dd2acbdda8547b8384d
child 627928 1eec0609283990309f1869be2831567e353e66d5
push id58067
push userbmo:agaynor@mozilla.com
push dateWed, 10 May 2017 14:06:17 +0000
reviewershaik
bugs1363729
milestone55.0a1
Bug 1363729 - Fixed a small formatting regression in tests. r?haik MozReview-Commit-ID: 7I6tKS6yoM7
security/sandbox/test/browser_content_sandbox_syscalls.js
--- a/security/sandbox/test/browser_content_sandbox_syscalls.js
+++ b/security/sandbox/test/browser_content_sandbox_syscalls.js
@@ -58,20 +58,20 @@ function callOpen(args) {
 // open syscall flags
 function openWriteCreateFlags() {
   Assert.ok(isMac() || isLinux());
   if (isMac()) {
     let O_WRONLY = 0x001;
     let O_CREAT  = 0x200;
     return (O_WRONLY | O_CREAT);
   }
-    // Linux
-    let O_WRONLY = 0x01;
-    let O_CREAT  = 0x40;
-    return (O_WRONLY | O_CREAT);
+  // Linux
+  let O_WRONLY = 0x01;
+  let O_CREAT  = 0x40;
+  return (O_WRONLY | O_CREAT);
 }
 
 // Returns the name of the native library needed for native syscalls
 function getOSLib() {
   switch (Services.appinfo.OS) {
     case "WINNT":
       return "kernel32.dll";
     case "Darwin":