https://bugs.webkit.org/show_bug.cgi?id=76254
Reviewed by Anders Carlsson.
Source/WebCore:
* css/CSSFontSelector.cpp:
(WebCore::CSSFontSelector::beginLoadTimerFired): Added a call to
CachedResourceLoader::loadDone() after decrementing the request count. This allows the
frame loader to see that the request count is zero and dispatch didFinishLoad.
LayoutTests:
* svg/custom/pointer-events-invalid-fill.svg: Force layout before sending a mouse event.
Otherwise, the WebHTMLView may have zero size, causing the hit test in
-[EventSendingController mouseMoveToX:Y:] to yield the clip view and the event to go nowhere.
* svg/custom/resources/use-instanceRoot-event-listeners.js: Ditto.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105005
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-01-13 Dan Bernstein <mitz@apple.com>
+
+ REGRESSION: svg/custom/use-instanceRoot-event-listeners.xhtml & svg/custom/pointer-events-invalid-fill.svg broken on the Bots
+ https://bugs.webkit.org/show_bug.cgi?id=76254
+
+ Reviewed by Anders Carlsson.
+
+ * svg/custom/pointer-events-invalid-fill.svg: Force layout before sending a mouse event.
+ Otherwise, the WebHTMLView may have zero size, causing the hit test in
+ -[EventSendingController mouseMoveToX:Y:] to yield the clip view and the event to go nowhere.
+ * svg/custom/resources/use-instanceRoot-event-listeners.js: Ditto.
+
2012-01-13 Nate Chapin <japhet@chromium.org>
http/tests/multipart/invalid-image-data.html should no longer
}
function runTest() {
if (window.eventSender) {
+ document.documentElement.offsetLeft;
eventSender.mouseMoveTo(30, 100);
}
}
// Start tests
if (window.eventSender) {
+ document.documentElement.offsetLeft;
eventSender.mouseMoveTo(115, 55);
driveTests();
} else
+2012-01-13 Dan Bernstein <mitz@apple.com>
+
+ REGRESSION: svg/custom/use-instanceRoot-event-listeners.xhtml & svg/custom/pointer-events-invalid-fill.svg broken on the Bots
+ https://bugs.webkit.org/show_bug.cgi?id=76254
+
+ Reviewed by Anders Carlsson.
+
+ * css/CSSFontSelector.cpp:
+ (WebCore::CSSFontSelector::beginLoadTimerFired): Added a call to
+ CachedResourceLoader::loadDone() after decrementing the request count. This allows the
+ frame loader to see that the request count is zero and dispatch didFinishLoad.
+
2012-01-13 Jer Noble <jer.noble@apple.com>
WebAudio: Optimize calculateNormalizationScale().
// Balances incrementRequestCount() in beginLoadingFontSoon().
cachedResourceLoader->decrementRequestCount(fontsToBeginLoading[i].get());
}
+ // Ensure that if the request count reaches zero, the frame loader will know about it.
+ cachedResourceLoader->loadDone();
}
}