Commit e1c226bd authored by Robert Knight's avatar Robert Knight

Add comment to clarify what is going on in a test

parent 3b790f61
......@@ -404,6 +404,10 @@ describe('HTMLIntegration', () => {
const onURIChanged = sinon.stub();
integration.on('uriChanged', onURIChanged);
// Report a navigation, but do not change the URL returned by `fakeHTMLMetadata.uri`.
//
// This can happen if the page has a `<link rel=canonical>` that gets used
// as the document URI instead of the URL in the URL bar.
notifyNavigation();
assert.notCalled(onURIChanged);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment