Bug 150861 - Regression(r191652): Colloquy doesn’t render any chat content
Summary: Regression(r191652): Colloquy doesn’t render any chat content
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar, WebExposed
Depends on:
Blocks: 150565
  Show dependency treegraph
 
Reported: 2015-11-03 15:39 PST by Chris Dumez
Modified: 2015-11-04 09:46 PST (History)
10 users (show)

See Also:


Attachments
Patch (2.46 KB, patch)
2015-11-03 16:13 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (6.23 KB, patch)
2015-11-03 16:41 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2015-11-03 15:39:24 PST
Colloquy doesn’t render any chat content after <http://trac.webkit.org/changeset/191652>. It seems this app relies on the WebKit's old non-standard behavior.
Comment 1 Chris Dumez 2015-11-03 15:39:41 PST
rdar://problem/23381007
Comment 2 Chris Dumez 2015-11-03 16:13:42 PST
Created attachment 264749 [details]
Patch
Comment 3 Chris Dumez 2015-11-03 16:41:04 PST
Created attachment 264754 [details]
Patch
Comment 4 WebKit Commit Bot 2015-11-04 00:11:03 PST
Comment on attachment 264754 [details]
Patch

Clearing flags on attachment: 264754

Committed r192016: <http://trac.webkit.org/changeset/192016>
Comment 5 WebKit Commit Bot 2015-11-04 00:11:09 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Darin Adler 2015-11-04 08:46:37 PST
Am I correct in understanding that this patch restores the old behavior but there are no test cases covering it any more? That doesn’t seem so great if so.

Should we pursue a linked on or after solution to preserve the old behavior only for old apps? Then we could remove it eventually?
Comment 7 Chris Dumez 2015-11-04 09:38:32 PST
(In reply to comment #6)
> Am I correct in understanding that this patch restores the old behavior but
> there are no test cases covering it any more? That doesn’t seem so great if
> so.

fast/frames/iframe-no-name.html was rebaselined and covers the old behavior.

> Should we pursue a linked on or after solution to preserve the old behavior
> only for old apps? Then we could remove it eventually?

I think it would be great but I am not sure how we would go about it. How would I detect old apps?
Comment 8 Darin Adler 2015-11-04 09:46:58 PST
(In reply to comment #7)
> (In reply to comment #6)
> > Should we pursue a linked on or after solution to preserve the old behavior
> > only for old apps? Then we could remove it eventually?
> 
> I think it would be great but I am not sure how we would go about it. How
> would I detect old apps?

To find this being done for WebKit 1 on Mac, grep for LinkedOn. You can find a set of these done through Settings in WebView.mm but there are other variants as well.

To find this being done for WebKit 2 on iOS, grep for dyld_get_program_dk_version. There’s one example of this in WKWebView.mm.

I couldn’t quickly find any examples yet of doing this for WebKit 2 for Mac.

Anders and Sam are among the many people who know more about the possibilities, I think.