Skip to content

Hammerhead is missed after 'document.close' in Firefox #1821

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

Closed
miherlosev opened this issue Nov 9, 2018 · 1 comment
Closed

Hammerhead is missed after 'document.close' in Firefox #1821

miherlosev opened this issue Nov 9, 2018 · 1 comment
Assignees
Labels
AREA: client BROWSER: Firefox STATE: Auto-locked Issues that were automatically locked by the Lock bot TYPE: bug
Milestone

Comments

@miherlosev
Copy link
Contributor

Test for reproduce

test('test', function () {
    return createTestIframe()
        .then(function (iframe) {
            iframe.contentDocument.open();
            iframe.contentDocument.write('Hello!');
            iframe.contentDocument.close();

            var iframeHammerhead = iframe.contentWindow['%hammerhead%'];
            ok(iframeHammerhead);
        });
});
@miherlosev miherlosev added this to the Planned milestone Nov 9, 2018
@miherlosev miherlosev modified the milestones: Planned, Sprint #21 Nov 12, 2018
@LavrovArtem LavrovArtem modified the milestones: Sprint #21, Sprint #22 Nov 19, 2018
AndreyBelym pushed a commit to AndreyBelym/testcafe-hammerhead that referenced this issue Feb 28, 2019
…evExpress#1821) (DevExpress#1837)

* fix `Hammerhead is missed after 'document.close' in Firefox` (close DevExpress#1821)

* refactor

* try to find stable ie11 test configuration

* temporarily remove non-ie11 client tests configurations

* ie 11 test configuration

* restore Gulpfile.js

* requested changes: add test comment

* requested changes: remove Firefox condition

* fix ie11 tests (xhr-test.js, iframe-test.js), update IE11 Windows version

* add test case: iframe with src, modify simple-iframe.html

* requested changes

* requested changes
@lock
Copy link

lock bot commented Mar 28, 2019

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.

@lock lock bot added the STATE: Auto-locked Issues that were automatically locked by the Lock bot label Mar 28, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
AREA: client BROWSER: Firefox STATE: Auto-locked Issues that were automatically locked by the Lock bot TYPE: bug
Projects
None yet
Development

No branches or pull requests

3 participants