diff --git a/widget/src/cocoa/nsDragService.mm b/widget/src/cocoa/nsDragService.mm index f51667bdddc..90b74510fb4 100644 --- a/widget/src/cocoa/nsDragService.mm +++ b/widget/src/cocoa/nsDragService.mm @@ -514,6 +514,11 @@ nsDragService::IsDataFlavorSupported(const char *aDataFlavor, PRBool *_retval) if (availableType && [availableType isEqualToString:NSFilenamesPboardType]) *_retval = PR_TRUE; } + else if (dataFlavor.EqualsLiteral(kURLMime)) { + NSString* availableType = [globalDragPboard availableTypeFromArray:[NSArray arrayWithObject:kCorePboardType_url]]; + if (availableType && [availableType isEqualToString:kCorePboardType_url]) + *_retval = PR_TRUE; + } else if (dataFlavor.EqualsLiteral(kUnicodeMime)) { NSString* availableType = [globalDragPboard availableTypeFromArray:[NSArray arrayWithObject:NSStringPboardType]]; if (availableType && [availableType isEqualToString:NSStringPboardType])