[Webkit-unassigned] [Bug 115643] Document should be constructable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 12 19:38:58 PST 2014


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


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #223958|review?, commit-queue?      |review-, commit-queue-
               Flag|                            |




--- Comment #7 from Darin Adler <darin at apple.com>  2014-02-12 19:36:12 PST ---
(From update of attachment 223958)
View in context: https://bugs.webkit.org/attachment.cgi?id=223958&action=review

Does the test fail if you remove the line of code that says setSecurityOrigin?

> Source/WebCore/dom/Document.cpp:565
> +    document->setSecurityOrigin(adoptRef(context.securityOrigin()));

The adoptRef here is incorrect. This will result in a reference count underflow.

-- 
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