Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
assert_equals(v.networkState, v.NETWORK_NO_SOURCE, 'networkState after click()');
v.removeAttribute('src');
});
</script>
<!-- now resource selection will continue its sync section (the </script> tag below provides a stable state) -->
<!-- will find neither src nor source, so sets networkState to NETWORK_EMPTY -->
<script>
t.step(function() {
// now the sync section of resource selection should have run and should
// have found no src="" or <source> thus networkState being set to NETWORK_EMPTY.
// if the sync section was run when onclick returned, then networkState
// would be either NETWORK_LOADING or NETWORK_NO_SOURCE.
assert_equals(v.networkState, v.NETWORK_EMPTY, 'networkState after src removed');
t.done();
});
Expand Down