[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
mjs
mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:19:17 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 62be0834c217d94dca981d09ff45bd440408b787
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Sat Jun 15 09:42:51 2002 +0000
Added temporary workardound for Radar 2954901 by making the
assertion more lenient.
* WebView.subproj/IFMainURLHandleClient.mm:
(-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index c3002c7..5eba698 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,10 @@
+2002-06-15 Maciej Stachowiak <mjs at apple.com>
+
+ Added temporary workardound for Radar 2954901 by making the assertion more lenient.
+
+ * WebView.subproj/IFMainURLHandleClient.mm:
+ (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]):
+
2002-06-14 Richard Williamson <rjw at apple.com>
Removed redundant private _isDocumentHTML method.
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index c3002c7..5eba698 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,10 @@
+2002-06-15 Maciej Stachowiak <mjs at apple.com>
+
+ Added temporary workardound for Radar 2954901 by making the assertion more lenient.
+
+ * WebView.subproj/IFMainURLHandleClient.mm:
+ (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]):
+
2002-06-14 Richard Williamson <rjw at apple.com>
Removed redundant private _isDocumentHTML method.
diff --git a/WebKit/WebView.subproj/IFMainURLHandleClient.mm b/WebKit/WebView.subproj/IFMainURLHandleClient.mm
index 131ce77..7e44365 100644
--- a/WebKit/WebView.subproj/IFMainURLHandleClient.mm
+++ b/WebKit/WebView.subproj/IFMainURLHandleClient.mm
@@ -61,8 +61,14 @@
- (void)IFURLHandleResourceDidCancelLoading:(IFURLHandle *)sender
{
WEBKITDEBUGLEVEL (WEBKIT_LOG_LOADING, "url = %s\n", DEBUG_OBJECT([sender url]));
-
+
+ // FIXME Radar 2954901: I replaced the assertion below with a more lenient one,
+ // since cancel messages are sometimes sent before begin.
+#if wEBFOUNDATION_LOAD_MESSAGES_FIXED
WEBKIT_ASSERT([url isEqual:[sender redirectedURL] ? [sender redirectedURL] : [sender url]]);
+#else
+ WEBKIT_ASSERT(url == nil || [url isEqual:[sender redirectedURL] ? [sender redirectedURL] : [sender url]]);
+#endif
IFLoadProgress *loadProgress = [[IFLoadProgress alloc] init];
loadProgress->totalToLoad = -1;
diff --git a/WebKit/WebView.subproj/WebMainResourceClient.m b/WebKit/WebView.subproj/WebMainResourceClient.m
index 131ce77..7e44365 100644
--- a/WebKit/WebView.subproj/WebMainResourceClient.m
+++ b/WebKit/WebView.subproj/WebMainResourceClient.m
@@ -61,8 +61,14 @@
- (void)IFURLHandleResourceDidCancelLoading:(IFURLHandle *)sender
{
WEBKITDEBUGLEVEL (WEBKIT_LOG_LOADING, "url = %s\n", DEBUG_OBJECT([sender url]));
-
+
+ // FIXME Radar 2954901: I replaced the assertion below with a more lenient one,
+ // since cancel messages are sometimes sent before begin.
+#if wEBFOUNDATION_LOAD_MESSAGES_FIXED
WEBKIT_ASSERT([url isEqual:[sender redirectedURL] ? [sender redirectedURL] : [sender url]]);
+#else
+ WEBKIT_ASSERT(url == nil || [url isEqual:[sender redirectedURL] ? [sender redirectedURL] : [sender url]]);
+#endif
IFLoadProgress *loadProgress = [[IFLoadProgress alloc] init];
loadProgress->totalToLoad = -1;
diff --git a/WebKit/WebView.subproj/WebMainResourceLoader.m b/WebKit/WebView.subproj/WebMainResourceLoader.m
index 131ce77..7e44365 100644
--- a/WebKit/WebView.subproj/WebMainResourceLoader.m
+++ b/WebKit/WebView.subproj/WebMainResourceLoader.m
@@ -61,8 +61,14 @@
- (void)IFURLHandleResourceDidCancelLoading:(IFURLHandle *)sender
{
WEBKITDEBUGLEVEL (WEBKIT_LOG_LOADING, "url = %s\n", DEBUG_OBJECT([sender url]));
-
+
+ // FIXME Radar 2954901: I replaced the assertion below with a more lenient one,
+ // since cancel messages are sometimes sent before begin.
+#if wEBFOUNDATION_LOAD_MESSAGES_FIXED
WEBKIT_ASSERT([url isEqual:[sender redirectedURL] ? [sender redirectedURL] : [sender url]]);
+#else
+ WEBKIT_ASSERT(url == nil || [url isEqual:[sender redirectedURL] ? [sender redirectedURL] : [sender url]]);
+#endif
IFLoadProgress *loadProgress = [[IFLoadProgress alloc] init];
loadProgress->totalToLoad = -1;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list