Closed Bug 1386194 Opened 7 years ago Closed 7 years ago

Write a WPT test for bug 1053321 (defer/async script not block follower resources)

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mayhemer, Unassigned)

References

Details

Attachments

(1 file)

https://bugzilla.mozilla.org/show_bug.cgi?id=1053321#c12

(In reply to Ben Kelly [:bkelly] from comment #12)
> Comment on attachment 8892035 [details] [diff] [review]
> v1 + test
> 
> I'm sorry, but can you write this as a WPT test?  I believe you can achieve
> something similar using a .py instead of the .sjs.  Since this is
> web-visible it would be helpful to have this in the cross-browser tests.
> 
> You can put the WPT test here:
> 
> http://searchfox.org/mozilla-central/source/testing/web-platform/tests/preload
> 
> An example of the kind of .py you can write are:
> 
> http://searchfox.org/mozilla-central/source/testing/web-platform/tests/fetch/api/resources/preflight.py#42
> http://searchfox.org/mozilla-central/source/testing/web-platform/tests/fetch/api/resources/clean-stash.py#3
> 
> I linked lines where I think its using server side state like you are in the
> .sjs.
> 

I also need to block the response until an explicit signal is given the python server, how can I do that?
Note this is a slightly updated version of the test as submitted in bug 1053321.
Please just land the mochitest in bug 1053321 for now.  Thanks.
Priority: -- → P3
based on https://bugzilla.mozilla.org/show_bug.cgi?id=1386644#c1
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: