Skip to content

Execute js initialization jobs during html page initialization#430

Open
RuralHunter wants to merge 1 commit intoHtmlUnit:masterfrom
RuralHunter:execute_init_jobs
Open

Execute js initialization jobs during html page initialization#430
RuralHunter wants to merge 1 commit intoHtmlUnit:masterfrom
RuralHunter:execute_init_jobs

Conversation

@RuralHunter
Copy link
Contributor

Execute js jobs in html page before returning of WebClient.getPage(). This makes the ambiguous WebClient.waitForBackgroundJavaScriptXXXX() unnecessary in most cases. You can still wait for more jobs of course if needed. The page returned by WebClient.getPage() is now usually fully initialized and I think this is what users expect.

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.

1 participant