Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix splash browser tab storing wrong html #729

Merged
merged 1 commit into from
Mar 3, 2017

Conversation

ruairif
Copy link
Contributor

@ruairif ruairif commented Mar 1, 2017

If a user loaded a page, Then loaded a different page, then went back to the
initial page, then created a sample the html stored in the original_body.html
file may have been incorrect. This is caused by the html being stored during
reply_read phase of the network manager which is not called on a subsequent
page load due to caching. The solution used here is just to reload the page
if the html is incorrect, this is found through comparing the url in the frame
and in the network manager

Other Changes:
Send page metadata to the UI on page load finished
Do no evaljs or load page url if the tab is in a closing state

If a user loaded a page, Then loaded a different page, then went back to the
initial page, then created a sample the html stored in the `original_body.html`
file may have been incorrect. This is caused by the html being stored during
`reply_read` phase of the network manager which is not called on a subsequent
page load due to caching. The solution used here is just to reload the page
if the html is incorrect, this is found through comparing the url in the frame
and in the network manager

Other Changes:
Send page metadata to the UI on page load finished
Do no evaljs or load page url if the tab is in a closing state
@ruairif ruairif requested a review from sagelliv March 1, 2017 17:05
@ruairif ruairif merged commit 98f3585 into develop Mar 3, 2017
@ruairif ruairif deleted the fix_splash_storing_wrong_html branch March 3, 2017 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant