gecko-dev/toolkit/components/antitracking/test/browser/file_stripping.html
Tim Huang 9a06f592fa Bug 1706604 - Part 4: Add tests to test the query stripping. r=dimi,smaug
This patch addes two tests, one gtest to do the unit test for
URLQueryStringStripper and one browser chrome test to do the integration
test.

Differential Revision: https://phabricator.services.mozilla.com/D113845
2021-05-20 11:22:13 +00:00

20 lines
329 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf8">
<script>
onmessage = event => {
switch (event.data.type) {
case "window-open":
window.open(event.data.url);
break;
case "script":
window.location.href = event.data.url;
break
}
};
</script>
</head>
<body>
</body>
</html>