mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-08 04:09:03 +02:00
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
20 lines
329 B
HTML
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>
|