[PWA/NavigationCapturing] Automatically clean up unused expectations.

Add a test that verifies there are no expectations that don't match any
tests. When this test is run with the rebaseline flag set it will remove
any such expectations.

Bug: 351775835
Change-Id: I96105cbfe12b7c5b1c770b0d87b6d8b0262d1b19
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5789212
Reviewed-by: Dibyajyoti Pal <dibyapal@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1342527}
diff --git a/chrome/browser/web_applications/web_app_link_capturing_parameterized_browsertest.cc b/chrome/browser/web_applications/web_app_link_capturing_parameterized_browsertest.cc
index cf2993e..8f2b14c 100644
--- a/chrome/browser/web_applications/web_app_link_capturing_parameterized_browsertest.cc
+++ b/chrome/browser/web_applications/web_app_link_capturing_parameterized_browsertest.cc
@@ -550,7 +550,7 @@
   base::Value::Dict& GetTestCaseDataFromParam() {
     testing::TestParamInfo<LinkCaptureTestParam> param(GetParam(), 0);
     base::Value::Dict* result =
-        test_expectations_->GetDict().EnsureDict("tests")->EnsureDict(
+        test_expectations().EnsureDict("tests")->EnsureDict(
             LinkCaptureTestParamToString(param));
 
     // Temporarily check expectations for the test name before redirect mode was
@@ -560,21 +560,15 @@
         GetRedirectType() == RedirectType::kNone) {
       std::string key = LinkCaptureTestParamToString(param);
       base::ReplaceFirstSubstringAfterOffset(&key, 0, "_Direct", "");
-      *result = test_expectations_->GetDict()
-                    .EnsureDict("tests")
-                    ->EnsureDict(key)
-                    ->Clone();
-      test_expectations_->GetDict().EnsureDict("tests")->Remove(key);
+      *result =
+          test_expectations().EnsureDict("tests")->EnsureDict(key)->Clone();
+      test_expectations().EnsureDict("tests")->Remove(key);
     }
     return *result;
   }
 
-  // This function is used during rebaselining to record (to a file) the results
-  // from an actual run of a single test case, used by developers to update the
-  // expectations. Constructs a json dictionary and saves it to the test results
-  // json file. Returns true if writing was successful.
-  void RecordActualResults() {
-    base::ScopedAllowBlockingForTesting allow_blocking;
+  base::ScopedClosureRunner LockExpectationsFile() {
+    CHECK(ShouldRebaseline());
     // Lock the results file to support using `--test-launcher-jobs=X` when
     // doing a rebaseline.
     base::File exclusive_file = base::File(
@@ -591,9 +585,31 @@
       });
     }
 #endif  // !BUILDFLAG(IS_FUCHSIA)
+
     // Re-read expectations to catch changes from other parallel runs of
     // rebaselining.
     InitializeTestExpectations();
+
+    return base::ScopedClosureRunner(base::BindOnce(
+        [](base::File lock_file) {
+#if !BUILDFLAG(IS_FUCHSIA)
+          EXPECT_EQ(lock_file.Unlock(), base::File::FILE_OK);
+#endif  // !BUILDFLAG(IS_FUCHSIA)
+          lock_file.Close();
+        },
+        std::move(exclusive_file)));
+  }
+
+  // This function is used during rebaselining to record (to a file) the results
+  // from an actual run of a single test case, used by developers to update the
+  // expectations. Constructs a json dictionary and saves it to the test results
+  // json file. Returns true if writing was successful.
+  void RecordActualResults() {
+    base::ScopedAllowBlockingForTesting allow_blocking;
+    // Lock the results file to support using `--test-launcher-jobs=X` when
+    // doing a rebaseline.
+    base::ScopedClosureRunner lock = LockExpectationsFile();
+
     base::Value::Dict& test_case = GetTestCaseDataFromParam();
     // If this is a new test case, start it out as disabled until we've manually
     // verified the expectations are correct.
@@ -602,17 +618,16 @@
     }
     test_case.Set("expected_state", CaptureCurrentState());
 
+    SaveExpectations();
+  }
+
+  void SaveExpectations() {
+    CHECK(ShouldRebaseline());
     // Write formatted JSON back to disk.
-    {
-      std::optional<std::string> json_string = base::WriteJsonWithOptions(
-          *test_expectations_, base::JsonOptions::OPTIONS_PRETTY_PRINT);
-      ASSERT_TRUE(json_string.has_value());
-      ASSERT_TRUE(base::WriteFile(json_file_path_, *json_string));
-    }
-#if !BUILDFLAG(IS_FUCHSIA)
-    EXPECT_EQ(exclusive_file.Unlock(), base::File::FILE_OK);
-#endif  // !BUILDFLAG(IS_FUCHSIA)
-    exclusive_file.Close();
+    std::optional<std::string> json_string = base::WriteJsonWithOptions(
+        *test_expectations_, base::JsonOptions::OPTIONS_PRETTY_PRINT);
+    ASSERT_TRUE(json_string.has_value());
+    ASSERT_TRUE(base::WriteFile(json_file_path_, *json_string));
   }
 
   blink::mojom::ManifestLaunchHandler_ClientMode GetClientMode() const {
@@ -741,6 +756,11 @@
         }));
   }
 
+  base::Value::Dict& test_expectations() {
+    CHECK(test_expectations_.has_value() && test_expectations_->is_dict());
+    return test_expectations_->GetDict();
+  }
+
  private:
   // Returns the path to the test expectation file (or an error).
   base::expected<base::FilePath, std::string> GetPathForLinkCaptureInputJson() {
@@ -780,9 +800,8 @@
     NOTREACHED() << "Unknown browser type: " + type;
   }
 
-  // Parses the json test expectation file. Note that during rebaselining, a
-  // dummy json file is used, because the json test expectation file is still
-  // being constructed and likely contains invalid values.
+  // Parses the json test expectation file. Note that if the expectations file
+  // doesn't exist during rebaselining, a dummy json file is used.
   void InitializeTestExpectations() {
     std::string json_data;
     bool success = ReadFileToString(json_file_path_, &json_data);
@@ -811,6 +830,7 @@
   base::FilePath lock_file_path_ =
       base::PathService::CheckedGet(base::DIR_OUT_TEST_DATA_ROOT)
           .AppendASCII("link_capturing_rebaseline_lock_file.lock");
+
   // Current expectations for this test (parsed from the test json file).
   std::optional<base::Value> test_expectations_;
 };
@@ -973,3 +993,58 @@
         testing::Values(OpenerMode::kNoOpener),
         testing::Values(NavigationTarget::kBlank)),
     LinkCaptureTestParamToString);
+
+// This test verifies that there are no left-over expectations for tests that
+// no longer exist in code but still exist in the expectations json file.
+// Additionally if this test is run with the --rebaseline-link-capturing-test
+// flag any left-over expectations will be cleaned up.
+using WebAppLinkCapturingParameterizedExpectationTest =
+    WebAppLinkCapturingParameterizedBrowserTest;
+IN_PROC_BROWSER_TEST_F(WebAppLinkCapturingParameterizedExpectationTest,
+                       CleanupExpectations) {
+  std::set<std::string> test_cases;
+  const testing::UnitTest* unit_test = testing::UnitTest::GetInstance();
+  for (int i = 0; i < unit_test->total_test_suite_count(); ++i) {
+    const testing::TestSuite* test_suite = unit_test->GetTestSuite(i);
+    // We only care about link capturing parameterized tests.
+    if (std::string_view(test_suite->name())
+            .find("WebAppLinkCapturingParameterizedBrowserTest") ==
+        std::string::npos) {
+      continue;
+    }
+    for (int j = 0; j < test_suite->total_test_count(); ++j) {
+      const char* name = test_suite->GetTestInfo(j)->name();
+      auto parts = base::SplitStringOnce(name, '/');
+      if (!parts.has_value()) {
+        // Not a parameterized test.
+        continue;
+      }
+      test_cases.insert(std::string(parts->second));
+    }
+  }
+
+  base::ScopedAllowBlockingForTesting allow_blocking;
+  base::ScopedClosureRunner lock;
+  if (ShouldRebaseline()) {
+    lock = LockExpectationsFile();
+  }
+
+  base::Value::Dict& expectations = *test_expectations().EnsureDict("tests");
+  std::vector<std::string> tests_to_remove;
+  for (const auto [name, value] : expectations) {
+    if (!test_cases.contains(name)) {
+      tests_to_remove.push_back(name);
+    }
+  }
+  if (ShouldRebaseline()) {
+    for (const auto& name : tests_to_remove) {
+      LOG(INFO) << "Removing " << name;
+      expectations.Remove(name);
+    }
+    SaveExpectations();
+  } else {
+    EXPECT_THAT(tests_to_remove, testing::ElementsAre())
+        << "Run this test with --rebaseline-link-capturing-test to clean this "
+           "up.";
+  }
+}
diff --git a/chrome/test/data/web_apps/link_capture_test_input.json b/chrome/test/data/web_apps/link_capture_test_input.json
index c3328b7..9c109c89 100644
--- a/chrome/test/data/web_apps/link_capture_test_input.json
+++ b/chrome/test/data/web_apps/link_capture_test_input.json
@@ -1,1977 +1,5 @@
 {
    "tests": {
-      "AppWnd_ScopeA2ARedirectB_ViaButton_LeftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_LeftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_LeftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_LeftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_LeftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_LeftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_LeftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_LeftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_MiddleClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_MiddleClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_MiddleClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_MiddleClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_MiddleClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_MiddleClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_MiddleClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_MiddleClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_ShiftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_ShiftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_ShiftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_ShiftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_ShiftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_ShiftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_ShiftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaButton_ShiftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_LeftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_LeftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_LeftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_LeftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_LeftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_LeftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_LeftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_LeftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_MiddleClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_MiddleClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_MiddleClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_MiddleClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_MiddleClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_MiddleClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_MiddleClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_MiddleClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_ShiftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_ShiftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_ShiftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_ShiftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_ShiftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_ShiftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_ShiftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaLink_ShiftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2ARedirectB_ViaServiceWorkerButton_LeftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/sw.js",
-                     "transition": "auto_toplevel",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
       "AppWnd_ScopeA2A_Direct_ViaButton_LeftClick_WithOpener_TargetBlank": {
          "disabled": false,
          "expected_state": {
@@ -3952,1928 +1980,6 @@
             } ]
          }
       },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_LeftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_LeftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_LeftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "no_frame",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_LeftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_LeftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_LeftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_LeftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "no_frame",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_LeftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_MiddleClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_MiddleClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_MiddleClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "no_frame",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_MiddleClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_MiddleClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_MiddleClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_MiddleClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "no_frame",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_MiddleClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_ShiftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_ShiftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_ShiftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "no_frame",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_ShiftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_ShiftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_ShiftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_ShiftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "no_frame",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaButton_ShiftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_LeftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_LeftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_LeftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "noframe",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_LeftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_LeftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_LeftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_LeftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "noframe",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_LeftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_MiddleClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_MiddleClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_MiddleClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_MiddleClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_MiddleClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_MiddleClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_MiddleClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_MiddleClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_ShiftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_ShiftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_ShiftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_ShiftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_ShiftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_ShiftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_ShiftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaLink_ShiftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "AppWnd_ScopeA2BRedirectA_ViaServiceWorkerButton_LeftClick_WithoutOpener_TargetBlank": {
-         "disabled": false,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "blank",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_bookmark",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ],
-                  "launchParams": [ "/banners/link_capturing/scope_a/start.html" ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/sw.js",
-                     "transition": "auto_toplevel",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
       "AppWnd_ScopeA2B_Direct_ViaButton_LeftClick_WithOpener_TargetBlank": {
          "disabled": false,
          "expected_state": {
@@ -7802,1453 +3908,6 @@
             } ]
          }
       },
-      "Tab_ScopeA2ARedirectB_ViaButton_LeftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_LeftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_LeftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_LeftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_LeftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_LeftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_LeftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_LeftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_MiddleClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_MiddleClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_MiddleClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_MiddleClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_MiddleClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_MiddleClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_MiddleClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_MiddleClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_ShiftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_ShiftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_ShiftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_ShiftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_ShiftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_ShiftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_ShiftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaButton_ShiftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_LeftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_LeftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_LeftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_LeftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_LeftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_LeftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_b/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_LeftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "frame_name": "noframe",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_LeftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_MiddleClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_MiddleClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_MiddleClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_MiddleClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_MiddleClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_MiddleClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_MiddleClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_MiddleClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_ShiftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_ShiftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_ShiftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_ShiftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_ShiftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_ShiftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_ShiftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaLink_ShiftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2ARedirectB_ViaServiceWorkerButton_LeftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_a/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_b/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/sw.js",
-                     "transition": "auto_toplevel",
-                     "url": "/banners/link_capturing/scope_b/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
       "Tab_ScopeA2A_Direct_ViaButton_LeftClick_WithOpener_TargetBlank": {
          "disabled": false,
          "expected_state": {
@@ -10700,1461 +5359,6 @@
             } ]
          }
       },
-      "Tab_ScopeA2BRedirectA_ViaButton_LeftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_POPUP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_LeftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_LeftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_POPUP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "no_frame",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_LeftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_LeftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_LeftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_LeftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "no_frame",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_LeftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_MiddleClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_MiddleClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_MiddleClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "no_frame",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_MiddleClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_MiddleClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_MiddleClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_MiddleClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "no_frame",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_MiddleClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_ShiftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_POPUP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_ShiftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_ShiftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_POPUP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "no_frame",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_ShiftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_ShiftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_ShiftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_ShiftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "no_frame",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaButton_ShiftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_LeftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_LeftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_LeftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "noframe",
-                  "has_opener": true,
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_LeftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_LeftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_LeftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "/banners/link_capturing/scope_a/destination.html",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_LeftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "frame_name": "noframe",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_LeftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  }, {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_MiddleClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_MiddleClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_MiddleClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_MiddleClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_MiddleClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_MiddleClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_MiddleClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_MiddleClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               }, {
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_ShiftClick_WithOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_ShiftClick_WithOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_ShiftClick_WithOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_ShiftClick_WithOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_ShiftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_ShiftClick_WithoutOpener_TargetFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_ShiftClick_WithoutOpener_TargetNoFrame": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaLink_ShiftClick_WithoutOpener_TargetSelf": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/start.html",
-                     "transition": "link",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
-      "Tab_ScopeA2BRedirectA_ViaServiceWorkerButton_LeftClick_WithoutOpener_TargetBlank": {
-         "disabled": true,
-         "expected_state": {
-            "browsers": [ {
-               "browser_type": "TYPE_NORMAL",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/start.html",
-                  "frames": [ {
-                     "current_url": "blank",
-                     "frame_name": "iframe"
-                  } ],
-                  "history": [ {
-                     "transition": "auto_toplevel",
-                     "url": "blank"
-                  }, {
-                     "transition": "typed",
-                     "url": "/banners/link_capturing/scope_a/start.html"
-                  } ]
-               } ]
-            }, {
-               "app_scope": "/banners/link_capturing/scope_b/",
-               "browser_type": "TYPE_APP",
-               "tabs": [ {
-                  "active": true,
-                  "current_url": "/banners/link_capturing/scope_a/destination.html",
-                  "history": [ {
-                     "referrer": "/banners/link_capturing/scope_a/sw.js",
-                     "transition": "auto_toplevel",
-                     "url": "/banners/link_capturing/scope_a/destination.html"
-                  } ]
-               } ]
-            } ]
-         }
-      },
       "Tab_ScopeA2B_Direct_ViaButton_LeftClick_WithOpener_TargetBlank": {
          "disabled": false,
          "expected_state": {