Changeset 176463 in webkit
- Timestamp:
- Nov 21, 2014, 12:28:15 PM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/platform/spi/mac/DataDetectorsSPI.h (modified) (1 diff)
-
WebKit/mac/ChangeLog (modified) (1 diff)
-
WebKit/mac/WebView/WebActionMenuController.mm (modified) (1 diff)
-
WebKit2/ChangeLog (modified) (1 diff)
-
WebKit2/UIProcess/mac/WKActionMenuController.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r176462 r176463 1 2014-11-21 Tim Horton <timothy_horton@apple.com> 2 3 REGRESSION (r176351): Parts of apple.com/contact aren't Lookup-able 4 https://bugs.webkit.org/show_bug.cgi?id=138960 5 <rdar://problem/19056715> 6 7 Reviewed by Beth Dakin. 8 9 * platform/spi/mac/DataDetectorsSPI.h: 10 Softlink some SPI. 11 1 12 2014-11-21 Tim Horton <timothy_horton@apple.com> 2 13 -
trunk/Source/WebCore/platform/spi/mac/DataDetectorsSPI.h
r176417 r176463 56 56 SOFT_LINK(DataDetectorsCore, DDScannerCopyResultsWithOptions, CFArrayRef, (DDScannerRef scanner, DDScannerCopyResultsOptions options), (scanner, options)) 57 57 SOFT_LINK(DataDetectorsCore, DDResultGetRange, CFRange, (DDResultRef result), (result)) 58 SOFT_LINK(DataDetectorsCore, DDResultGetType, CFStringRef, (DDResultRef result), (result)) 58 59 59 60 } -
trunk/Source/WebKit/mac/ChangeLog
r176459 r176463 1 2014-11-21 Tim Horton <timothy_horton@apple.com> 2 3 REGRESSION (r176351): Parts of apple.com/contact aren't Lookup-able 4 https://bugs.webkit.org/show_bug.cgi?id=138960 5 <rdar://problem/19056715> 6 7 Reviewed by Beth Dakin. 8 9 * WebView/WebActionMenuController.mm: 10 (-[WebActionMenuController _defaultMenuItemsForDataDetectedText]): 11 Blacklist contact results, because they don't have useful menus. If we 12 bail before setting up _currentActionContext, we'll still allow fallthrough 13 to ordinary text actions, avoiding mysterious failure when a contact is detected. 14 15 This doesn't break the case that r176351 was intended to fix, 16 because in that case we were detecting e.g. addresses. 17 1 18 2014-11-21 Anders Carlsson <andersca@apple.com> 2 19 -
trunk/Source/WebKit/mac/WebView/WebActionMenuController.mm
r176415 r176463 573 573 return @[ ]; 574 574 575 // Blacklist contact results, because they don't have useful menus. If we 576 // bail here, before setting up _currentActionContext, we'll still allow fallthrough 577 // to ordinary text actions, avoiding mysterious failure when a contact is detected. 578 if (CFEqual(DDResultGetType([actionContext mainResult]), CFSTR("Contact"))) 579 return @[ ]; 580 581 575 582 // FIXME: We should hide/show the yellow highlight here. 576 583 _currentActionContext = [actionContext contextForView:_webView altMode:YES interactionStartedHandler:^() { -
trunk/Source/WebKit2/ChangeLog
r176462 r176463 1 2014-11-21 Tim Horton <timothy_horton@apple.com> 2 3 REGRESSION (r176351): Parts of apple.com/contact aren't Lookup-able 4 https://bugs.webkit.org/show_bug.cgi?id=138960 5 <rdar://problem/19056715> 6 7 Reviewed by Beth Dakin. 8 9 * UIProcess/mac/WKActionMenuController.mm: 10 (-[WKActionMenuController _defaultMenuItemsForDataDetectedText]): 11 Blacklist contact results, because they don't have useful menus. If we 12 bail before setting up _currentActionContext, we'll still allow fallthrough 13 to ordinary text actions, avoiding mysterious failure when a contact is detected. 14 15 This doesn't break the case that r176351 was intended to fix, 16 because in that case we were detecting e.g. addresses. 17 1 18 2014-11-21 Tim Horton <timothy_horton@apple.com> 2 19 -
trunk/Source/WebKit2/UIProcess/mac/WKActionMenuController.mm
r176462 r176463 636 636 return @[ ]; 637 637 638 // Blacklist contact results, because they don't have useful menus. If we 639 // bail here, before setting up _currentActionContext, we'll still allow fallthrough 640 // to ordinary text actions, avoiding mysterious failure when a contact is detected. 641 if (CFEqual(DDResultGetType(actionContext.mainResult), CFSTR("Contact"))) 642 return @[ ]; 643 638 644 // Ref our WebPageProxy for use in the blocks below. 639 645 RefPtr<WebPageProxy> page = _page;
Note:
See TracChangeset
for help on using the changeset viewer.