[Webkit-unassigned] [Bug 40232] postMessage(window) throws "Type error" with input elements other than text fields

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 7 06:17:11 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40232





--- Comment #1 from Kim Grönholm <kim.1.gronholm at nokia.com>  2010-06-07 06:17:11 PST ---
Created an attachment (id=58022)
 --> (https://bugs.webkit.org/attachment.cgi?id=58022)
LayoutTests/fast/dom/Window/window-postmessage-clone with additional input element

Added a test case that is otherwise identical to 
LayoutTests/fast/dom/Window/window-postmessage-clone.html except one
dummy input (type="button") element that is added on top of the page.

This dummy input element makes the postMessage(window) test fail
prompting:
PASS: 'postMessage(window)' threw TypeError: Type error

when the expected output would be:
PASS: 'postMessage(window)' threw TypeError: Cannot post cyclic structures.

Removing the dummy button results in the expected output.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list