This tests that modifying location.port works as it should PASS: internalFrame.contentWindow.location.port == "" should be true and is. PASS: internalFrame.contentWindow.location.port == "" should be true and is. PASS: internalFrame.contentWindow.location.port == "" should be true and is. PASS: internalFrame.contentWindow.location.port == "" should be true and is. PASS: internalFrame.contentWindow.location.host should be and is.