Summary: | WTR needs an implementation of setAutomaticLinkDetectionEnabled | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jessie Berlin <jberlin> | ||||||||
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | commit-queue, ddkilzer, jbedard, max.hong.shen, rniwa, webkit-bug-importer, zan | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Jessie Berlin
2012-05-22 13:50:43 PDT
I don't think this is a regression. *** Bug 99069 has been marked as a duplicate of this bug. *** Note that while investigating, https://bugs.webkit.org/show_bug.cgi?id=160713 was uncovered. Note that despite some of the comments in various configuration files, the two tests which call setAutomaticLinkDetectionEnabled and are still failing are doing so through a different mechanism than the ones corrected here. Created attachment 285683 [details]
Patch
Created attachment 285752 [details]
Patch
Note that it is only Mac that implements the underlying functionality setAutomaticLinkDetectionEnabled is designed to test. Comment on attachment 285752 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=285752&action=review > Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp:310 > + if (static_cast<bool>(enabled) == TextChecker::state().isAutomaticLinkDetectionEnabled) static_cast<bool>(enabled) is wrong here; just "enabled" will do > Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp:315 > + fputs("Automatic link detection undefined for this platform\n", stderr); It’s not appropriate to write directly to stderr from this class. > Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:52 > + WK_EXPORT void WKBundleSetAutomaticLinkDetectionEnabled(WKBundleRef bundleRef, WKBundlePageGroupRef pageGroupRef, bool enabled); This should not be indented. Please match the lines above and below this. Created attachment 286605 [details]
Patch
Comment on attachment 286605 [details]
Patch
Requesting commit queue. The gtk-wk2 failure is unrelated to this patch.
Comment on attachment 286605 [details] Patch Clearing flags on attachment: 286605 Committed r205094: <http://trac.webkit.org/changeset/205094> All reviewed patches have been landed. Closing bug. |