Bug 175556 - Import eventsource Web-Platform-Tests
Summary: Import eventsource Web-Platform-Tests
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks: 175178
  Show dependency treegraph
 
Reported: 2017-08-14 16:37 PDT by Chris Dumez
Modified: 2017-08-15 08:25 PDT (History)
7 users (show)

See Also:


Attachments
Patch (127.00 KB, patch)
2017-08-14 17:00 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (126.89 KB, patch)
2017-08-14 17:01 PDT, 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 2017-08-14 16:37:39 PDT
Import eventsource Web-Platform-Tests.
Comment 1 Chris Dumez 2017-08-14 17:00:31 PDT
Created attachment 318088 [details]
Patch
Comment 2 Chris Dumez 2017-08-14 17:01:58 PDT
Created attachment 318089 [details]
Patch
Comment 3 youenn fablet 2017-08-14 17:13:50 PDT
Comment on attachment 318089 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=318089&action=review

> LayoutTests/imported/w3c/web-platform-tests/eventsource/dedicated-worker/eventsource-prototype.htm:10
> +/* -->

Do you know the reason for these comments here and in other tests?
Comment 4 Chris Dumez 2017-08-14 17:49:11 PDT
(In reply to youenn fablet from comment #3)
> Comment on attachment 318089 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=318089&action=review
> 
> > LayoutTests/imported/w3c/web-platform-tests/eventsource/dedicated-worker/eventsource-prototype.htm:10
> > +/* -->
> 
> Do you know the reason for these comments here and in other tests?

No idea.
Comment 5 WebKit Commit Bot 2017-08-14 18:44:11 PDT
Comment on attachment 318089 [details]
Patch

Clearing flags on attachment: 318089

Committed r220733: <http://trac.webkit.org/changeset/220733>
Comment 6 WebKit Commit Bot 2017-08-14 18:44:13 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2017-08-14 18:44:41 PDT
<rdar://problem/33888819>
Comment 8 Ms2ger (he/him; ⌚ UTC+1/+2) 2017-08-15 03:29:46 PDT
(In reply to Chris Dumez from comment #4)
> (In reply to youenn fablet from comment #3)
> > Comment on attachment 318089 [details]
> > Patch
> > 
> > View in context:
> > https://bugs.webkit.org/attachment.cgi?id=318089&action=review
> > 
> > > LayoutTests/imported/w3c/web-platform-tests/eventsource/dedicated-worker/eventsource-prototype.htm:10
> > > +/* -->
> > 
> > Do you know the reason for these comments here and in other tests?
> 
> No idea.

The way these tests work is that they load the test .htm file itself as a worker script, so they're written in a way that they can be parsed as HTML and JS both.

(If they were written now, they'd use .worker.js tests.)
Comment 9 Michael Catanzaro 2017-08-15 08:04:45 PDT
Interestingly some of these tests have PASS messages for GTK where they have FAILs on macOS... I will update our expectations accordingly.
Comment 10 Chris Dumez 2017-08-15 08:25:43 PDT
(In reply to Michael Catanzaro from comment #9)
> Interestingly some of these tests have PASS messages for GTK where they have
> FAILs on macOS... I will update our expectations accordingly.

Congratulations ;)