Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bgrins
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
bgrins
3y ago
Good luck! FYI, there's a hidden developer menu that's handy for browser developers to change the number of iterations, select specific tests, etc: https://browserbench.org/Speedometer3.0/?developerMode , and
2.
▲
by
bgrins
4y ago
I worked on this project - Web Components had a lot to do with it. It's true they weren't feature complete in Firefox when we started the project (notably missing Shadow DOM) - but the first migration from late 2017 was XBL->Cu
3.
▲
by
bgrins
7y ago
There are pros and cons to using web tech for the application UI. To be clear, the old XBL code was already using JS/DOM, so the most obvious pro in this case was that it didn't require completely rewriting Firefox from scratch (w
4.
▲
by
bgrins
12y ago
> you now need to right click in the console and tick "Log request and response bodies" every single time Yes, seems like there could be a pref for that. Filed a bug: https://bugzilla.mozilla.org/show_bug.cgi?i
5.
▲
by
bgrins
12y ago
The eyedropper is using a panel with a call to openPopupAtScreen to open it ( http://dxr.mozilla.org/mozilla-central/source/browser/devtoo... ). I'm not sure exactly in what ways this is failing, but pleas
6.
▲
by
bgrins
12y ago
> Thanks for the link. What about IndexDB, Web SQL and Local Storage? Not yet, but a storage inspector panel is being worked on: https://bugzilla.mozilla.org/show_bug.cgi?id=970517
7.
▲
by
bgrins
12y ago
A storage inspector is not part of the tools yet. Some of the functionality for this has landed, but the frontend is still being worked on here: https://bugzilla.mozilla.org/show_bug.cgi?id=970517 .
8.
▲
by
bgrins
12y ago
I've filed https://bugzilla.mozilla.org/show_bug.cgi?id=987877 for adding a Copy XPath menu item in the inspector
9.
▲
by
bgrins
12y ago
Thanks for the info. What are you wanting to do with xpath? The console supports the $x function, like $x("//body"). Also, HTML node drag and drop is on the radar here: https://bugzilla.mozilla.org/sho
10.
▲
by
bgrins
13y ago
It's mostly JavaScript. Take a look at https://wiki.mozilla.org/DevTools/GetInvolved and https://wiki.mozilla.org/DevTools/Hacking for more information
11.
▲
by
bgrins
13y ago
The contrast for the selected node in the markup tree is being updated here: https://bugzilla.mozilla.org/show_bug.cgi?id=968315 .
12.
▲
by
bgrins
13y ago
This feature is being worked on, and is close to landing: https://bugzilla.mozilla.org/show_bug.cgi?id=663778
13.
▲
by
bgrins
13y ago
Yes, the current dark theme does not have high enough contrast. There is a bug opened to switch to higher contrast colors in the dark theme here: https://bugzilla.mozilla.org/show_bug.cgi?id=971418 (and this will likely be
14.
▲
by
bgrins
13y ago
There is also a work in progress to add a better interface for inspecting storage (including cookies): https://bugzilla.mozilla.org/show_bug.cgi?id=926449
15.
▲
by
bgrins
13y ago
> At least in current Nightly, you can hit the Esc. key, to pop up the console regardless of the panel you're currently using This split console feature landed in 28 (so it is moving up to Beta now): https://hacks.mozilla
16.
▲
by
bgrins
13y ago
Audio processing works, but certain codecs do not come bundled with it. It should be possible to configure it with --enable-libmp3lame if you had the source alongside and had everything set up correctly. We didn't have time to try th
17.
▲
by
bgrins
13y ago
Thanks! It will be interesting to see how much it will speed up as JS runtimes get faster, and as we are able to apply additional optimizations with Emscripten. In particular, asm.js is explicitly disabled right now because of the need for
18.
▲
by
bgrins
13y ago
> Here are the mock ups: https://people.mozilla.org/~shorlander/mockups/devTools/ux-r... Regarding theming, here is a bug that can be followed for updates: https://bugzilla.mozilla.org/show
19.
▲
by
bgrins
13y ago
Here is the bug for the "Edit as HTML" feature: https://bugzilla.mozilla.org/show_bug.cgi?id=895561 .
20.
▲
by
bgrins
13y ago
Here is a way to fix this: https://gist.github.com/bgrins/5108712 . When you call `log` it will preserve the line number. Here is a demo: http://jsfiddle.net/bgrins/MZWtG/ .
21.
▲
by
bgrins
14y ago
Remote debugging is so useful: http://www.igvita.com/slides/2012/devtools-tips-and-tricks/#... . It is painful to try and make and test changes on mobile devices without developer tools. I wonder when this will be available for iOS.
22.
▲
by
bgrins
14y ago
If you end up adding IE support, check out this hack to get multi-stop gradients in IE for the hue slider: https://github.com/bgrins/spectrum/blob/master/spectrum.css#...
23.
▲
by
bgrins
15y ago
Neat project, I just got done doing the 10K Apart contest and this would have saved me a lot of resizing when testing different widths!
24.
▲
Color Scheme Generator and Image Eyedropper in 10KB
(10k.aneventapart.com)
2 points
by
bgrins
15y ago
|
0 comments
25.
▲
by
bgrins
15y ago
http://www.w3.org/TR/CSS2/box.html#margin-properties When margin top or bottom is a percentage, it refers to the width, not height, of the containing block. If the parent is 100% width (say, the body), the element will move down 50% of y
26.
▲
by
bgrins
15y ago
I really like that visualization! It would be awesome to see that same visualization side by side with Dijkstra's algorithm (same as astar, but with fixed heuristics) to see how much better it can perform.
27.
▲
by
bgrins
15y ago
Hey Matthew, great job on this! I had fun learning this algorithm, too. My implementation is here: https://github.com/bgrins/javascript-astar/blob/master/astar... , and I have a demo here: http://briangrinstead.com/files/astar/ I have
28.
▲
by
bgrins
15y ago
Awesome! There are some really things you could use this for. I have done something similar here: https://github.com/bgrins/DrawWindow I'm interested to look through the source and see how this was implemented. There are many things tha
29.
▲
by
bgrins
15y ago
I have thought about the two window browser IDE before and am glad you implemented that idea, I think it could be really useful for quick HTML/CSS comps. Two small suggestions: * When in the two window mode, make ctrl+s do an instant refres
30.
▲
by
bgrins
16y ago
Nice, I have noticed the same thing when working with canvas - any time you can get the pixel level manipulation to happen in native objects there are big performance gains to be had. I am interested on the general idea behind your new impo
More ›