Title: [99351] trunk/Source/WebCore
- Revision
- 99351
- Author
- [email protected]
- Date
- 2011-11-05 00:00:37 -0700 (Sat, 05 Nov 2011)
Log Message
Fix assert after running tests in dumpAsText folders. See
https://bugs.webkit.org/show_bug.cgi?id=71599 for discussion. This
patch reverts part of a slightly over-agressive refactoring in
http://trac.webkit.org/changeset/99347.
* dom/Document.cpp:
(WebCore::Document::setIsViewSource):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (99350 => 99351)
--- trunk/Source/WebCore/ChangeLog 2011-11-05 05:50:33 UTC (rev 99350)
+++ trunk/Source/WebCore/ChangeLog 2011-11-05 07:00:37 UTC (rev 99351)
@@ -1,3 +1,13 @@
+2011-11-04 Adam Barth <[email protected]>
+
+ Fix assert after running tests in dumpAsText folders. See
+ https://bugs.webkit.org/show_bug.cgi?id=71599 for discussion. This
+ patch reverts part of a slightly over-agressive refactoring in
+ http://trac.webkit.org/changeset/99347.
+
+ * dom/Document.cpp:
+ (WebCore::Document::setIsViewSource):
+
2011-11-04 Ben Wells <[email protected]>
Canvas drawImage(canvas) with SourceIn, DestinationIn, SourceOut, DestinationAtop and Copy have errors
Modified: trunk/Source/WebCore/dom/Document.cpp (99350 => 99351)
--- trunk/Source/WebCore/dom/Document.cpp 2011-11-05 05:50:33 UTC (rev 99350)
+++ trunk/Source/WebCore/dom/Document.cpp 2011-11-05 07:00:37 UTC (rev 99351)
@@ -1724,7 +1724,7 @@
if (!m_isViewSource)
return;
- ScriptExecutionContext::setSecurityOrigin(SecurityOrigin::createUnique());
+ ScriptExecutionContext::setSecurityOrigin(SecurityOrigin::create(url(), true));
}
void Document::createStyleSelector()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes