TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

WebContainers are now supported in Firefox on desktop and Android

173 点作者 isaacaggrey将近 3 年前

18 条评论

krono将近 3 年前
FYI WebContainers are not a web standard, but this article sure does try its best to make it sound like one. Pretty off-putting and not at all necessary for such a great product as Stackblitz.<p>Firefox has added support for some webdriver APIs[1] that this proprietary &quot;WebContainers&quot; product depends on. That is all.<p>[1]: <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Mozilla&#x2F;Firefox&#x2F;Releases&#x2F;103#webdriver_conformance_webdriver_bidi_marionette" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Mozilla&#x2F;Firefox&#x2F;Rel...</a>
评论 #32269995 未加载
评论 #32270743 未加载
butz将近 3 年前
&quot;Create and develop full web applications inside your browser tab&quot;. You know what would be even better? If we could add an icon for this app to the desktop and run it as standalone application, while using the same browser engine installation. We are practically at that point where OS needs only web browser installed and all applications could be web based.
评论 #32269216 未加载
评论 #32269253 未加载
评论 #32272405 未加载
评论 #32269171 未加载
评论 #32270639 未加载
评论 #32272111 未加载
评论 #32269257 未加载
评论 #32269964 未加载
inb4_cancelled将近 3 年前
Instead of building fast native application delivery and sandboxing we&#x27;re taking the longer way around and reinventing OSes inside a document (!) browser.<p>Can&#x27;t say that it makes me happy.
评论 #32269430 未加载
评论 #32269938 未加载
评论 #32275656 未加载
ijidak将近 3 年前
I feel weird about what&#x27;s happening in the browser.<p>I can&#x27;t put my finger on it, but something seems off...<p>We&#x27;re moving towards an operating system on top of an operating system (browser)...<p>And now, node.js and other runtimes, in the browser, on top of that.<p>I&#x27;m hoping we can flatten this at some point...<p>It seems like the core problem is that:<p>1. Operating system vendors have failed to provide UI SDKs that beat HTML &amp; CSS (plus browser APIs for modification of that HTML and CSS).<p>2. Operating system vendors have failed to have such a UI SDK work cross-platform across operating systems.<p>3. Operating system vendor UI SDKs do not allow UI to be bootstrapped dynamically (e.g. retrieved dynamically over the web) and built-up in code via APIs as simple as browser APIs.<p>4. A failure in open distribution and discovery of apps.<p>Am I wrong?<p>Is this direction in computing a failure of OS vendors to get together and solve this problem?<p>This seems like a source of sudden disruption some day...<p>I feel like one day Microsoft is going to wake up to find they&#x27;re not needed anymore.
评论 #32270341 未加载
评论 #32270208 未加载
评论 #32270352 未加载
评论 #32270468 未加载
评论 #32270232 未加载
评论 #32270931 未加载
评论 #32270588 未加载
评论 #32272140 未加载
评论 #32272330 未加载
评论 #32270651 未加载
评论 #32273663 未加载
评论 #32270434 未加载
评论 #32270267 未加载
skykooler将近 3 年前
Damn, I thought that this would be about firefox android finally getting multi-account container support.
评论 #32269312 未加载
jrvidal将近 3 年前
hi HN, there&#x27;s a companion technical post by yours truly which might be more appropriate&#x2F;technically dense for your taste:<p><a href="https:&#x2F;&#x2F;blog.stackblitz.com&#x2F;posts&#x2F;supporting-firefox&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.stackblitz.com&#x2F;posts&#x2F;supporting-firefox&#x2F;</a><p>(I&#x27;m also sad that Multi-Account Containers are not a thing in Firefox for Android).<p>Disclaimer: I (obviously) work for StackBlitz.
28304283409234将近 3 年前
Very confusing to name this &quot;webcontainers&quot;. Considering Firefox already have their own containers.
jeroenhd将近 3 年前
I don&#x27;t think I understand what this is actually doing. It&#x27;s being pitched as some kind of new way to develop Javascript inside the browser, but VS Code is already available in the browser?<p>What does a web container actually &quot;contain&quot;?
评论 #32270534 未加载
评论 #32270657 未加载
OptionX将近 3 年前
So let me get this straight.<p>We had JS in the browser and people want it on the OS, so we got node. Now we&#x27;re taking node from the OS level and putting in the browser?<p>Its like a story told by a madman.
somishere将近 3 年前
Really like stackblitz.That said, I happen to be working on it at the moment (in FF104) and have been having a bunch of issues (as of very recently).<p>Biggest one is that I had to disable Enhanced Tracking Protection to get the preview to work. Only a new relic analytics script was listed in the panel, but reading further I found ETP probably still presents other gotchas for their container setup (see below).<p>More of an annoyance, but I&#x27;m also getting &quot;Service workers are disabled by Firefox on this page[...]&quot; message logged persistently to the console, with a link[1] that goes some way to explaining the ETP issue above. Everything still works. In fact, the log appears to be associated with a firebase service worker, as the subsequent message (every time) is an error due to a firebase long poll getting blocked for CORP header issues.<p>I&#x27;d add that it was working perfectly last week, possibly prior to a browser update. They seem to be somewhat aware of the issue (see [1] and per instructions printed to the non-working preview panel).<p>[1] <a href="https:&#x2F;&#x2F;bugzilla.mozilla.org&#x2F;show_bug.cgi?id=1668408" rel="nofollow">https:&#x2F;&#x2F;bugzilla.mozilla.org&#x2F;show_bug.cgi?id=1668408</a>
jereees将近 3 年前
A more misleading title could not have been devised. Edit: typo.
tonetheman将近 3 年前
What I want is to flip this. Let the base of everything be a webcontainer. Like MS&#x2F;Apple&#x2F;Ubuntu all agree on a binary base that can run webcontainers. Then Firefox&#x2F;Chrome&#x2F;Edge even run on this beast.<p>You effectively download the entire browser on demand.<p>Fairly sure no one would agree on what that binary at the bottom looks like though. :(
lewisjoe将近 3 年前
This great, but how would we handle dynamic calls to other servers that are part of my web-app? Maybe a NPM package that needs to downloaded from an external registry or an authentication service that needs to speak to Auth0?<p>Isn&#x27;t this impossible with CORS disabled by default in browsers? How do we work around this
galaxyLogic将近 3 年前
So in essence instead of having the browser talk to a server somewhere, it can now download a server, and start talking to that.<p>The browser then no longer needs to &quot;go to the server&quot;, the server will come to the browser.<p>Is that correct? What would be some use-cases for it?
janpot将近 3 年前
So when can I start building on top of webcontainers myself? You seem to be present it as some sort of new browser api, or a library, but from the looks of it it&#x27;s only the proprietary technology that underpins the stackblitz product.
woojoo666将近 3 年前
&gt; Debug Node.js applications natively using Firefox DevTools<p>Awesome. Been waiting for this
mr_toad将近 3 年前
I wish people wouldn’t conflate operating system with a run-time environment, desktop, or IDE. Especially here of all places.
akomtu将近 3 年前
Firefox, may I tell you what the free Web really needs? A docker-like environment for websites. The environment can arbitrarily override anything, from JS built-ins to CSS rules, and do that in such a way that the underlying website would never know about the shim layer. A useful bonus would be limiting CPU time spent by the website. The former can be marketed as a privacy feature and the latter as comvating global warming.
评论 #32269775 未加载