mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-04 14:33:47 +00: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>
|
||||||
|
|
||||||
<script id=baseURI>
|
<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>
|
||||||
|
|
||||||
<script id=removeChild>
|
<script id=removeChild>
|
||||||
|
|||||||
@@ -11,10 +11,10 @@
|
|||||||
testing.expectEqual('auto', history.scrollRestoration);
|
testing.expectEqual('auto', history.scrollRestoration);
|
||||||
testing.expectEqual(null, history.state)
|
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);
|
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);
|
history.replaceState({ "new": "field", testComplete: true }, null);
|
||||||
|
|
||||||
let state = { "new": "field", testComplete: true };
|
let state = { "new": "field", testComplete: true };
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
history.pushState(
|
history.pushState(
|
||||||
{"new": "field", testComplete: true },
|
{"new": "field", testComplete: true },
|
||||||
null,
|
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;
|
let popstateEventFired = false;
|
||||||
|
|||||||
@@ -54,11 +54,11 @@
|
|||||||
|
|
||||||
testing.expectEqual('', input.src);
|
testing.expectEqual('', input.src);
|
||||||
input.src = 'foo'
|
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'
|
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 = ''
|
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);
|
testing.expectEqual('text', input.type);
|
||||||
input.type = 'checkbox';
|
input.type = 'checkbox';
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
const currentIndex = navigation.currentEntry.index;
|
const currentIndex = navigation.currentEntry.index;
|
||||||
|
|
||||||
navigation.navigate(
|
navigation.navigate(
|
||||||
'http://localhost:9582/src/tests/html/navigation/navigation2.html',
|
'http://localhost:9589/html/navigation/navigation2.html',
|
||||||
{ state: { currentIndex: currentIndex, navTestInProgress: true } }
|
{ state: { currentIndex: currentIndex, navTestInProgress: true } }
|
||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user