This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28360 - Add a RequestContext entry for <applet>
Summary: Add a RequestContext entry for <applet>
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: Fetch (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+fetchspec
URL:
Whiteboard:
Keywords:
Depends on: 28384
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-28 18:56 UTC by Ehsan Akhgari [:ehsan]
Modified: 2015-07-27 14:04 UTC (History)
1 user (show)

See Also:


Attachments

Description Ehsan Akhgari [:ehsan] 2015-03-28 18:56:50 UTC
<applet> can also initiate fetches, so we should probably add a RequestContext entry for it.  Or at least a recommendation for how the implementors are supposed to reflect it.
Comment 1 Anne 2015-03-30 10:03:52 UTC
Does <applet> initiate the fetches or is it the Java runtime?
Comment 2 Ehsan Akhgari [:ehsan] 2015-03-30 15:21:10 UTC
The UA may need to download the Java applet before invoking the Java runtime if it's specified using the codebase attribute, but <applet> can also refer to locally existing Java classes.
Comment 3 Anne 2015-03-31 10:57:46 UTC
Is that cross-browser? https://html.spec.whatwg.org/multipage/obsolete.html#the-applet-element does not mention any fetching.
Comment 4 Anne 2015-03-31 10:58:44 UTC
Reusing "plugin" for this might be good enough?
Comment 5 Ehsan Akhgari [:ehsan] 2015-03-31 16:28:24 UTC
(In reply to Anne from comment #3)
> Is that cross-browser?
> https://html.spec.whatwg.org/multipage/obsolete.html#the-applet-element does
> not mention any fetching.

I don't know, but the spec doesn't really look sufficiently detailed.

(In reply to Anne from comment #4)
> Reusing "plugin" for this might be good enough?

"plugin" means a fetch from within a plugin (right?), which doesn't sound exactly right here.
Comment 6 Anne 2015-07-27 14:04:38 UTC
https://github.com/whatwg/fetch/commit/5fe3a2dd90be0c164b8d81655ba0714c9979f5f6

I guess we can figure out later how all browsers implement this. Given that CSP places requirements on <applet> too, this makes sense for now.