Skip to content

Commit aa4780e

Browse files
authored
1 parent e9a3ced commit aa4780e

3 files changed

Lines changed: 221 additions & 0 deletions

File tree

assets/dictionary.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,9 @@ Vue
150150
sourceMapURL
151151
onmessage
152152
un-mapped
153+
2x
154+
vue
155+
shouldComponentUpdate
156+
goto
157+
HTM
158+
WinCCOV

docs/updates/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ permalink: docs/updates
44

55
## Weekly Updates
66

7+
### [March 6th](./updates-3-6-2018.md)
8+
79
### [February 27th](./updates-2-27-2018.md)
810

911
### [February 20th](./updates-2-20-2018.md)

docs/updates/updates-3-6-2018.md

Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
## March 6th, 2018
2+
3+
tl;dr
4+
5+
1. Performance - bundle sizes are 30% smaller, ast traversals are 2x faster.
6+
2. Stability - fixed two pausing related crashes!
7+
3. Preview - better support for typescript, flow,
8+
4. Frameworks - babel call stack grouping
9+
5. Original Scopes
10+
6. Bug Fixes - windows keyboard shortcuts are getting better!
11+
7. UI Polish - so much goodness
12+
8. Time Travel - check out the video!
13+
14+
Big Thanks to everyone who helped out this week [@DavideDeCenzo], [@lukaszsobek], [@AnshulMalik], [@Bilie], [@calebstdenis], [@atwalg2], [@bomsy], [@loganfsmyth], [@berraknil], [@nyrosmith], [@lauragift21], [@zeoneo]
15+
16+
### Performance
17+
18+
This week we did four things that will really help with the debugger's performance
19+
20+
1. we upgraded to React 16.2 in the launchpad [PR][5465] [@AnshulMalik]
21+
2. we switched to using Immutable records for sources. This will let us avoid unnecessary `.toJS` calls and it will let us drop `.get` calls which will let us play with other immutable implementations. [PR][5389] [@davidedecenzo]
22+
3. We switched to a much faster ast traversal function which doubled our performance for getting source symbols. [PR][5572] [@jasonlaster]
23+
4. We reduced the bundle sizes by 30-40%. Big thanks to [@loganfsmyth] and [@juliandescottes]
24+
5. We tried loading lodash with `importScripts`, but found that the loading times were slower than parsing. [PR][5608] [@juliandescottes]
25+
26+
### Stability
27+
28+
One of our two goals for 61 is to improve the debugger stability for core use cases.
29+
This past week we looked into fixing two issues with stepping:
30+
31+
1. A debugger crash when there is a debugger statement at the top of an original file [PR][5490] [@codehag]
32+
2. A debugger crash when navigating away from a page when the debugger is paused and has watch expressions [PR][5524] [@jasonLaster]
33+
34+
### Preview
35+
36+
This past week we excluded two spots in the code from previewing. This will prevent unnecessary `undefined` values. We also added support for typescript mode in codemirror so the syntax highlighting will be better. This will really help previewing because we don't support previewing strings.
37+
38+
* [Exclude flow annotations from symbol identifiers][5486] [@AnshulMalik]
39+
* [Should ignore some labels][5531] [@atwalg2]
40+
* [[Parser] Support typescript mode][5574] [@nyrosmith]
41+
42+
| Exclude Flow Annotations |
43+
| ------------------------ |
44+
| ![5486-0] |
45+
46+
| Exclude Object Labels |
47+
| --------------------- |
48+
| ![5531-0] |
49+
50+
### Frameworks
51+
52+
* We added support for grouping async babel stacks this week. This is the first time we've grouped frames by something other than frame url. The effect is that we can now do much more interesting groups like "Async" frames. [PR][5518] [@calebstdenis]
53+
* We added support for recognizing Vue components. This means that vue files will have the vue icon in the tabs and source tree. [PR][5530] [@lukaszsobek]
54+
55+
| Group Babel Async Frames |
56+
| ------------------------ |
57+
| ![5518-2] |
58+
59+
### Original Scopes
60+
61+
Logan is continue to make great progress on mapping original scopes. This past week he landed two features:
62+
63+
1. the ability to map imported modules when webpack only provides line based mappings
64+
2. some fallback logic to show the generated scopes if the mapping missed 10% of the bindings
65+
66+
* [Add some fallback logic for original module scopes][5541] [@loganfsmyth]
67+
* [Require original scope mapping to be 90% successful to be shown.][5549] [@loganfsmyth]
68+
69+
### Bug Fixes
70+
71+
* [fix tabs using the selected source][5535] [@bomsy]
72+
* [[Search] - Prevent multiple search boxes from opening on Windows][5569] [@darkwing]
73+
74+
### UI Polish
75+
76+
* [Removes sad face when source+goto][5444] [@lukaszsobek]
77+
* [Provide a method for Alphabetizing the outline functions and classes][5501] [@darkwing]
78+
* [Display message to indicate no selected source in Outline tab (#5266)][5506] [@Bilie]
79+
* [Highlight original source for sources tree][5511] [@darkwing]
80+
* [Restores result count for Project Search][5536] [@lukaszsobek]
81+
* [Give command bar buttons full background on hover][5548] [@berraknil]
82+
* [Update Breakpoints state only once when "Toggle all breakpoints"][5567] [@nyrosmith]
83+
* [Fix css variable][5577] [@lauragift21]
84+
* [Watch expression hover background color][5591] [@zeoneo]
85+
* [Change shortcuts modal cursor to default for consistency][5612] [@darkwing]
86+
87+
| Alphabetize Button In the Outline View |
88+
| -------------------------------------- |
89+
| ![5501-0] |
90+
91+
### Time Travel
92+
93+
The Time Travel technology is getting better every day. You can now download a version of firefox where you can try it out [link](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/WebReplay).
94+
95+
This week we tweaked the time travel UI to improve stepping and jumping back in time.
96+
97+
* The step buttons are now grouped into 3 categories (resume/rewind, step back/forward, and step in / out)
98+
* Jumping now support going forward and back to new lines
99+
100+
[PR][5601] [@jasonLaster]
101+
102+
[video](https://youtu.be/YRKsYc6jCg4)
103+
104+
### Infrastructure
105+
106+
* [Update eslint-plugin-mozilla to the latest version 🚀][5503]
107+
* [Bump launchpad][5542] [@jasonLaster]
108+
* [Bump node engine][5610] [@jasonLaster]
109+
* [Prepush][5611] [@jasonLaster]
110+
111+
### Docs
112+
113+
* [(WIP) 2-27 doc update][5547] [@jasonLaster]
114+
* [Improve Issue triaging process][5580] [@jasonLaster]
115+
116+
### Testing
117+
118+
* [Clean up the stepping tests][5551] [@jasonLaster]
119+
* [Fixup conditional bp test][5555] [@jasonLaster]
120+
* [Bump Mochitest][5556] [@jasonLaster]
121+
* [Fixup Conditional Beakpoint panel test][5562] [@jasonLaster]
122+
* [Re-Enable babel-stepping test with the appropriate step positions][5594] [@jasonLaster]
123+
* [Update timeout in browser_dbg-babel.js (sync m-c bug 1440102)][5604] [@juliandescottes]
124+
125+
### Code Health
126+
127+
* [Bump dependencies][5560] [@jasonLaster]
128+
* [Replace bind.this with fat arrow functions][5571] [@nyrosmith]
129+
* [Revert commits][5575] [@jasonLaster]
130+
* [Get rid of prop-types][5579] [@nyrosmith]
131+
* [Revert using Flow to type context][5599] [@nyrosmith]
132+
* [Fix warning about PureComponent & shouldComponentUpdate][5600] [@nyrosmith]
133+
* [Backport - Bug 1248498 - Check document cache status when loading HTM…][5606] [@jasonLaster]
134+
* [Backport - Bug 1424154 - Disable test on WinCCOV - Intermittent /brow…][5607] [@jasonLaster]
135+
136+
[5444-0]: https://user-images.githubusercontent.com/23530054/36551637-5d77725a-17f8-11e8-8907-6a0564421e71.gif
137+
[5486-0]: https://user-images.githubusercontent.com/7821757/36467741-1ebec1fa-1706-11e8-80c7-ebc7be26c6db.gif
138+
[5501-0]: https://user-images.githubusercontent.com/46655/36518031-5a3fc352-174a-11e8-91e7-601c939b28ff.png
139+
[5518-0]: https://user-images.githubusercontent.com/7321311/36616406-a40163a2-18b1-11e8-8d3f-cef044e7884a.gif
140+
[5518-1]: https://user-images.githubusercontent.com/7321311/36800857-8562c8a2-1c7e-11e8-89ba-b147c64c8510.png
141+
[5518-2]: https://user-images.githubusercontent.com/7321311/36925581-890136e6-1e41-11e8-8df3-e10b4eda9142.png
142+
[5531-0]: https://user-images.githubusercontent.com/23143862/36647331-182cad6e-1a41-11e8-8282-794cd09a18d2.gif
143+
[5536-0]: https://user-images.githubusercontent.com/23530054/36688593-36053f4e-1b2d-11e8-8b41-336fd3eab571.gif
144+
[5548-0]: https://user-images.githubusercontent.com/6593585/36753552-869488a8-1c17-11e8-8f12-68ed72345acd.gif
145+
[5572-0]: https://user-images.githubusercontent.com/254562/36863585-18f6f898-1d58-11e8-8428-4ef4b1d44d78.png
146+
[5572-1]: https://user-images.githubusercontent.com/254562/36863581-176fb71c-1d58-11e8-9e3b-2a6dfa6fd758.png
147+
[5591-0]: https://user-images.githubusercontent.com/26451940/36920188-e3e5d6e0-1e85-11e8-9abe-76fad5c94d8d.gif
148+
[5601-0]: https://user-images.githubusercontent.com/254562/36946872-cd3b195c-1f91-11e8-8428-41c331aa22a0.png
149+
[5601-1]: https://user-images.githubusercontent.com/254562/36946870-c9c8f6a4-1f91-11e8-8f20-b7cc915fbd55.png
150+
[5389]: https://github.com/devtools-html/debugger.html/pull/5389
151+
[5444]: https://github.com/devtools-html/debugger.html/pull/5444
152+
[5465]: https://github.com/devtools-html/debugger.html/pull/5465
153+
[5486]: https://github.com/devtools-html/debugger.html/pull/5486
154+
[5490]: https://github.com/devtools-html/debugger.html/pull/5490
155+
[5501]: https://github.com/devtools-html/debugger.html/pull/5501
156+
[5503]: https://github.com/devtools-html/debugger.html/pull/5503
157+
[5506]: https://github.com/devtools-html/debugger.html/pull/5506
158+
[5511]: https://github.com/devtools-html/debugger.html/pull/5511
159+
[5518]: https://github.com/devtools-html/debugger.html/pull/5518
160+
[5524]: https://github.com/devtools-html/debugger.html/pull/5524
161+
[5530]: https://github.com/devtools-html/debugger.html/pull/5530
162+
[5531]: https://github.com/devtools-html/debugger.html/pull/5531
163+
[5535]: https://github.com/devtools-html/debugger.html/pull/5535
164+
[5536]: https://github.com/devtools-html/debugger.html/pull/5536
165+
[5541]: https://github.com/devtools-html/debugger.html/pull/5541
166+
[5542]: https://github.com/devtools-html/debugger.html/pull/5542
167+
[5547]: https://github.com/devtools-html/debugger.html/pull/5547
168+
[5548]: https://github.com/devtools-html/debugger.html/pull/5548
169+
[5549]: https://github.com/devtools-html/debugger.html/pull/5549
170+
[5551]: https://github.com/devtools-html/debugger.html/pull/5551
171+
[5555]: https://github.com/devtools-html/debugger.html/pull/5555
172+
[5556]: https://github.com/devtools-html/debugger.html/pull/5556
173+
[5560]: https://github.com/devtools-html/debugger.html/pull/5560
174+
[5562]: https://github.com/devtools-html/debugger.html/pull/5562
175+
[5567]: https://github.com/devtools-html/debugger.html/pull/5567
176+
[5569]: https://github.com/devtools-html/debugger.html/pull/5569
177+
[5571]: https://github.com/devtools-html/debugger.html/pull/5571
178+
[5572]: https://github.com/devtools-html/debugger.html/pull/5572
179+
[5575]: https://github.com/devtools-html/debugger.html/pull/5575
180+
[5576]: https://github.com/devtools-html/debugger.html/pull/5576
181+
[5577]: https://github.com/devtools-html/debugger.html/pull/5577
182+
[5579]: https://github.com/devtools-html/debugger.html/pull/5579
183+
[5580]: https://github.com/devtools-html/debugger.html/pull/5580
184+
[5591]: https://github.com/devtools-html/debugger.html/pull/5591
185+
[5593]: https://github.com/devtools-html/debugger.html/pull/5593
186+
[5594]: https://github.com/devtools-html/debugger.html/pull/5594
187+
[5599]: https://github.com/devtools-html/debugger.html/pull/5599
188+
[5600]: https://github.com/devtools-html/debugger.html/pull/5600
189+
[5601]: https://github.com/devtools-html/debugger.html/pull/5601
190+
[5604]: https://github.com/devtools-html/debugger.html/pull/5604
191+
[5606]: https://github.com/devtools-html/debugger.html/pull/5606
192+
[5607]: https://github.com/devtools-html/debugger.html/pull/5607
193+
[5608]: https://github.com/devtools-html/debugger.html/pull/5608
194+
[5610]: https://github.com/devtools-html/debugger.html/pull/5610
195+
[5611]: https://github.com/devtools-html/debugger.html/pull/5611
196+
[5612]: https://github.com/devtools-html/debugger.html/pull/5612
197+
[5574]: https://github.com/devtools-html/debugger.html/pull/5574
198+
[@davidedecenzo]: https://github.com/DavideDeCenzo
199+
[@lukaszsobek]: https://github.com/lukaszsobek
200+
[@anshulmalik]: https://github.com/AnshulMalik
201+
[@codehag]: https://github.com/codehag
202+
[@darkwing]: https://github.com/darkwing
203+
[@bilie]: https://github.com/Bilie
204+
[@calebstdenis]: https://github.com/calebstdenis
205+
[@jasonlaster]: https://github.com/jasonLaster
206+
[@atwalg2]: https://github.com/atwalg2
207+
[@bomsy]: https://github.com/bomsy
208+
[@loganfsmyth]: https://github.com/loganfsmyth
209+
[@berraknil]: https://github.com/berraknil
210+
[@nyrosmith]: https://github.com/nyrosmith
211+
[@juliandescottes]: https://github.com/juliandescottes
212+
[@lauragift21]: https://github.com/lauragift21
213+
[@zeoneo]: https://github.com/zeoneo

0 commit comments

Comments
 (0)