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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Firefox Replay

1596 点作者 nachtigall超过 5 年前

47 条评论

darshan超过 5 年前
Mods: the link should perhaps be changed to: <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Mozilla&#x2F;Projects&#x2F;WebReplay" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Mozilla&#x2F;Projects&#x2F;We...</a><p>This currently has 1215 points, and the link is no longer valid. It now just shows an image of Firefox&#x27;s devtools and the sentence &quot;Replay is an early experiment. We&#x27;ll let you know on @FirefoxDevTools when it&#x27;s ready for input.&quot; That&#x27;s not useful, interesting, or informative. The MDN docs seem like an appropriate replacement.
评论 #21660062 未加载
inglor超过 5 年前
This is a pretty nice comment from the source that explains how it works: <a href="https:&#x2F;&#x2F;github.com&#x2F;mozilla&#x2F;gecko-dev&#x2F;blob&#x2F;11d9c7b7fa82fdfb8ac2a8f0864e9d8d5fe2b926&#x2F;mfbt&#x2F;RecordReplay.h#L32-L73" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mozilla&#x2F;gecko-dev&#x2F;blob&#x2F;11d9c7b7fa82fdfb8a...</a><p>``` &#x2F;&#x2F; Recording and replaying works by controlling non-determinism in the browser:<p>&#x2F;&#x2F; non-deterministic behaviors are initially recorded, then later replayed<p>&#x2F;&#x2F; exactly to force the browser to behave deterministically. Two types of<p>&#x2F;&#x2F; non-deterministic behaviors are captured: intra-thread and inter-thread.<p>&#x2F;&#x2F; Intra-thread non-deterministic behaviors are non-deterministic even in the<p>&#x2F;&#x2F; absence of actions by other threads, and inter-thread non-deterministic<p>&#x2F;&#x2F; behaviors are those affected by interleaving execution with other threads.<p>```
评论 #21656680 未加载
评论 #21656345 未加载
strombofulous超过 5 年前
Ooooh wow. This might be enough to get me to use Firefox to develop with. This could be huge for its market share, a big part of the reason chrome was able to become so popular was because of how good its devtools were (compared to the competition at the time).<p>Firefox definitely managed to catch up but not before lots of devs switched to chrome and stopped checking for compatibility with Firefox.
评论 #21656095 未加载
评论 #21656075 未加载
Roark66超过 5 年前
They should&#x27;ve put this note at the very top of the page: &quot;Mac OS only for now!&quot;.<p>What is the point of promoting this to everyone at this stage?
评论 #21658950 未加载
评论 #21656399 未加载
评论 #21657088 未加载
评论 #21656458 未加载
评论 #21656573 未加载
Etheryte超过 5 年前
If this works well, it could eventually be a very big boon for Firefox in the business world. Q&amp;A can now send reproducible bug demos to development. Technical clients can do the same. I wouldn&#x27;t be surprised if someone built tooling to map these recordings into automated tests either: expect the given recorded workflow to not throw errors.<p>I can&#x27;t quite remember when I had a bug where a tool like this would&#x27;ve been useful, but I&#x27;m sure I would&#x27;ve been (and will be) very thankful for it.
评论 #21658986 未加载
评论 #21658120 未加载
devit超过 5 年前
Why &quot;Download Firefox Nightly for macOS&quot;?<p>Is it not supported on Linux and Windows? Why?
评论 #21656114 未加载
评论 #21656124 未加载
评论 #21656043 未加载
评论 #21656402 未加载
评论 #21656089 未加载
评论 #21656228 未加载
评论 #21656046 未加载
jasonlaster11超过 5 年前
Thanks for the feedback!<p>Replay is in the user-research and validation phase and still quite experimental.<p>firefox-replay.com is a work in progress. We&#x27;re still sorting out the best way to communicate record and replay debugging and the new use cases.<p>We&#x27;ll share more on @firefoxDevTools when we have something to report.
评论 #21660918 未加载
ihuman超过 5 年前
What&#x27;s going on? I just see a block of text next to a static image.<p>&quot;Replay is an early experiment. We&#x27;ll let you know on @FirefoxDevTools when it&#x27;s ready for input.&quot;
评论 #21659556 未加载
kevsim超过 5 年前
The biggest benefit for me (I think) would be if the product&#x2F;design people I work with could find issues and send their recordings to me. Don&#x27;t think I&#x27;ll be able to convince them to switch to FF though.
评论 #21657356 未加载
评论 #21659376 未加载
评论 #21656054 未加载
评论 #21660164 未加载
tenryuu超过 5 年前
Regarding Mac OS: looks like, on Windows FF Developer Edition I can access it&#x27;s UI from creating a boolean in about:config named devtools.recordreplay.enabled<p>A new option in settings will be added to enable a Toolbox Button named &quot;Enable WebReplay&quot;, but pressing that button will replace the entire tab content with an about:blank
danShumway超过 5 年前
My first thought is I&#x27;m mildly skeptical that this will end up being granular enough or detailed enough to actually be useful in practice, but if it does, it could be <i>very</i> useful.<p>I&#x27;m pretty happy to see Firefox pushing its dev tools in this direction. They&#x27;ve done a really great job with layout and styling tools, but their JS dev tools have lagged behind Chrome&#x27;s. So even if this particular effort doesn&#x27;t pan out for some reason, it&#x27;s still very encouraging.<p>They&#x27;re not just carbon-copying Chrome, and they&#x27;re not just sitting back and ignoring the dev tools; they&#x27;re trying to push them forward in some interesting ways.
inglor超过 5 年前
Is there any way to make this work in automation? This could really help with debugging failed e2e firefox tests.
mattfrommars超过 5 年前
This is quiet cool! They did far better job then I would have imagined in doing myself! Ha!<p>[Link to the editor](<a href="https:&#x2F;&#x2F;github.com&#x2F;abdusamed91&#x2F;realtime-codeeditor" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;abdusamed91&#x2F;realtime-codeeditor</a>)<p>I implemented it in my real time code editor coursework project where I made use of [Ace Editor](<a href="https:&#x2F;&#x2F;ace.c9.io&#x2F;)&#x27;s" rel="nofollow">https:&#x2F;&#x2F;ace.c9.io&#x2F;)&#x27;s</a> CRDT. The time machine slider does the job and looked remarkable when it ran.
brna超过 5 年前
No Linux support :(
评论 #21656257 未加载
ga-vu超过 5 年前
For those interested into how this works, look into Time-Travel Debugging and the WebReplay API
saimiam超过 5 年前
This didn&#x27;t work for me.<p>1. I installed the nightly build as told.<p>2. Open nightly build<p>3. Went to the &quot;Save Recording&quot; option<p>4. The first two times, I got a [javascript error] saying I could not record.<p>5. The remaining couple of times - after I open a &quot;New Recording Tab&quot;, whatever that is - I didn&#x27;t see the javascript error but the website whose clickthru I wanted to record using this tool didn&#x27;t even load in that new recording tab.<p>Just this morning I recorded a clickthru like caveman using Quicktime. Can&#x27;t wait for FF to iron out the kinks in this feature.
评论 #21659012 未加载
评论 #21656423 未加载
sdan超过 5 年前
How is this different from recording in Chrome Web Dev tools?<p>To be clear, I use both Chrome and Firefox for development but just to the surface level, so I&#x27;m probably missing the point here.
评论 #21656565 未加载
ManlyBread超过 5 年前
This looks pretty good. Are there any other tools like this for different platforms? I&#x27;d be especially interested in something like this for the .NET ecosystem.
评论 #21657247 未加载
swsieber超过 5 年前
Oh, oh, oh! This is so exciting!<p>I had built a poor mans version of this where I worked with puppeteer for automated tests. It&#x27;d basically record the full dim any time it changed, along with console logs, network request metadata, images and css and output it as a test recording. You could then view that and walk through it in an Electron app.<p>This&#x27;ll blow it out of the water. I hope for e2e testing&#x27;s sake that linux support comes soon.
empressplay超过 5 年前
Tangentially, our Apple II emulator [1] has a recording reverse-debugger, should you want to do similar to debug 6502 code... ;) Developers of recent Apple II games have been using it to resolve pesky bugs.<p>[1] <a href="https:&#x2F;&#x2F;paleotronic.com&#x2F;software&#x2F;microm8&#x2F;help&#x2F;web-debugger&#x2F;" rel="nofollow">https:&#x2F;&#x2F;paleotronic.com&#x2F;software&#x2F;microm8&#x2F;help&#x2F;web-debugger&#x2F;</a>
Blaiz0r超过 5 年前
This looks great, it&#x27;s good to see that Firefox is pushing new dev features, instead of playing catch-up to Chrome.<p>Does Replay work on the Firefox Dev build?
评论 #21656077 未加载
asaddhamani超过 5 年前
I would love to give Firefox a shot, but there&#x27;s one thing I&#x27;ve had issues with, when working with projects using things like webpack, when there&#x27;s an error, Chrome links me back to the original file and line, I never seem to be able to do this in Firefox. Makes it so much harder to debug things. Am I doing something wrong, or is there a way to fix this?
评论 #21657233 未加载
aedron超过 5 年前
I am not primarily a web developer, but I guess I don&#x27;t really see it.<p>I suppose &#x27;rewind&#x27; would mostly be useful for Javascript applications? But in Javascript you can already debug pretty well. It&#x27;s been a while, but I suppose Javascript debuggers can drop frames, like debugging other languages, so you already have a kind of rewind?<p>Does anyone have a good example use case for this?
评论 #21656696 未加载
评论 #21656542 未加载
评论 #21658421 未加载
Karupan超过 5 年前
This will be an absolute game changer for web development. I am currently working on a really simplified version of this, but as a chrome extension. We deal with a lot of real time data and have been facing some timing issues (network and user input) which is really hard to reproduce.<p>I’m going to give this a shot today!
foobaw超过 5 年前
I wonder how this is positioned compared to Bird Eats Bug and LogRocket&#x2F;FullStory
评论 #21660147 未加载
jv22222超过 5 年前
I&#x27;ve been working on a slightly related idea - <a href="https:&#x2F;&#x2F;speakhq.co" rel="nofollow">https:&#x2F;&#x2F;speakhq.co</a> - I did submit as a Show HN, but didn&#x27;t get too much traction.
hyt7u超过 5 年前
Just tried it out, and performance seems really bad at the moment, to the point where I couldn&#x27;t tell if it was working properly. Does anyone have any suggestions of sites to try this on?
jrm2k6超过 5 年前
It might just be me but enabling the option and clicking and the recording button just attempt to reload the page and I get a blank page. Not sure what is supposed to happen.
评论 #21658669 未加载
8bitsrule超过 5 年前
Firefox is (mostly) a wonderful, free application. Linux is a wonderful, stable, free desktop.<p>Strange days indeed. Just giving some thanks where it&#x27;s due.
mimischi超过 5 年前
So in its scope this somewhat similar to Cypress.io?<p><a href="https:&#x2F;&#x2F;www.cypress.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.cypress.io&#x2F;</a>
评论 #21656135 未加载
Abishek_Muthian超过 5 年前
Must admit, I&#x27;ve used screen recording during web development for some edge cases; this might address those situations
deedree超过 5 年前
What would apple have to do to let us have this on iOs? I would love to have a choice of browser on my phone.
评论 #21665653 未加载
shepardrtc超过 5 年前
Is it not appearing for anyone else? I downloaded it (for MacOS), and that option does not exist.
评论 #21664980 未加载
meerita超过 5 年前
I can&#x27;t see it.<p>&gt; An error occurred when connecting to firefox-replay.com. PR_CONNECT_RESET_ERROR
smnrchrds超过 5 年前
Is there a replaying debugger for reverse-engineering dotNet programs?
markdog12超过 5 年前
Really hope they can get this working with WebGL
softwarelimits超过 5 年前
Can I add a little bit of randomness to this?
OrgNet超过 5 年前
Is this a rebranded Firefox Focus?
kyriakos超过 5 年前
Macos only for now
bogwog超过 5 年前
Maybe once they figure out how to monetize the data
评论 #21659336 未加载
评论 #21659348 未加载
评论 #21658751 未加载
wruza超过 5 年前
As a former gnu&#x2F;linux user, I see no point to have it on a desktop. Gnu is happy to live under c:&#x2F;MSYS2, and ‘linux’ part was never good at desktop-home hardware anyway. These 1.77% are barely justified as an option, imo.
评论 #21659341 未加载
评论 #21656799 未加载
评论 #21657443 未加载
评论 #21656944 未加载
评论 #21656665 未加载
评论 #21656729 未加载
评论 #21658637 未加载
评论 #21656664 未加载
评论 #21659316 未加载
评论 #21657406 未加载
评论 #21657190 未加载
sandGorgon超过 5 年前
is this like Postman ?
评论 #21656227 未加载
Shaaaaaaare超过 5 年前
Looks interesting but too bad it only supports overpriced macs making it useless
bdibs超过 5 年前
Looks potentially really useful, but is it normal for them to create a whole site just for one new feature?
评论 #21656106 未加载
评论 #21656093 未加载
_bxg1超过 5 年前
Very cool, but I&#x27;d much prefer they spend their time bringing Firefox&#x27;s dev tools up to par with Chrome&#x27;s first. I&#x27;ve tried several times to switch to FF completely, but every time I end up switching back on my work computer because of the dev tools.
评论 #21657900 未加载
评论 #21657901 未加载
评论 #21659572 未加载
评论 #21657906 未加载
inglor超过 5 年前
We actually have something similar for this for tests at Testim (<a href="https:&#x2F;&#x2F;testim.io" rel="nofollow">https:&#x2F;&#x2F;testim.io</a>) but only for tests with screenshots and state.<p>Would people be interested in us open sourcing that part for regular debugging? I have considered it but I didn&#x27;t think people would be interested in using this in a non-test case.
aphroz超过 5 年前
While Microsoft is making great effort towards opening, it is sad to see Firefox develop a feature working on Mac OS only. This is terrible because you might argue that this is the same as a feature working on Windows only, but Windows can run on different hardware manufacturer. This is like a double closing. I am on Linux and I will uninstall Firefox as a repercussion hoping it will have an impact. Too bad for the last hope for a chrome alternative.
评论 #21656299 未加载
评论 #21656282 未加载
评论 #21656341 未加载
评论 #21656301 未加载
评论 #21656318 未加载
评论 #21656279 未加载
评论 #21656273 未加载