mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-23 22:58:00 -05:00
fix legacy test expected port
This commit is contained in:
@@ -218,7 +218,7 @@ let first_child = content.firstChild.nextSibling; // nextSibling because of line
|
||||
</script>
|
||||
|
||||
<script id=baseURI>
|
||||
testing.expectEqual('http://localhost:9582/src/tests/dom/node.html', link.baseURI);
|
||||
testing.expectEqual('http://localhost:9589/dom/node.html', link.baseURI);
|
||||
</script>
|
||||
|
||||
<script id=removeChild>
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
testing.expectEqual('auto', history.scrollRestoration);
|
||||
testing.expectEqual(null, history.state)
|
||||
|
||||
history.pushState({ testInProgress: true }, null, 'http://127.0.0.1:9582/src/tests/html/history/history_after_nav.html');
|
||||
history.pushState({ testInProgress: true }, null, 'http://127.0.0.1:9589/html/history/history_after_nav.html');
|
||||
testing.expectEqual({ testInProgress: true }, history.state);
|
||||
|
||||
history.pushState({ testInProgress: false }, null, 'http://127.0.0.1:9582/xhr/json');
|
||||
history.pushState({ testInProgress: false }, null, 'http://127.0.0.1:9589/xhr/json');
|
||||
history.replaceState({ "new": "field", testComplete: true }, null);
|
||||
|
||||
let state = { "new": "field", testComplete: true };
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
history.pushState(
|
||||
{"new": "field", testComplete: true },
|
||||
null,
|
||||
'http://127.0.0.1:9582/src/tests/html/history/history_after_nav.html'
|
||||
'http://127.0.0.1:9589/html/history/history_after_nav.html'
|
||||
);
|
||||
|
||||
let popstateEventFired = false;
|
||||
|
||||
@@ -54,11 +54,11 @@
|
||||
|
||||
testing.expectEqual('', input.src);
|
||||
input.src = 'foo'
|
||||
testing.expectEqual('http://localhost:9582/src/tests/html/foo', input.src);
|
||||
testing.expectEqual('http://localhost:9589/html/foo', input.src);
|
||||
input.src = '-3'
|
||||
testing.expectEqual('http://localhost:9582/src/tests/html/-3', input.src);
|
||||
testing.expectEqual('http://localhost:9589/html/-3', input.src);
|
||||
input.src = ''
|
||||
testing.expectEqual('http://localhost:9582/src/tests/html/input.html', input.src);
|
||||
testing.expectEqual('http://localhost:9589/html/input.html', input.src);
|
||||
|
||||
testing.expectEqual('text', input.type);
|
||||
input.type = 'checkbox';
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
const currentIndex = navigation.currentEntry.index;
|
||||
|
||||
navigation.navigate(
|
||||
'http://localhost:9582/src/tests/html/navigation/navigation2.html',
|
||||
'http://localhost:9589/html/navigation/navigation2.html',
|
||||
{ state: { currentIndex: currentIndex, navTestInProgress: true } }
|
||||
);
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user