第100篇Blog

September 11th, 2015 No comments

sqrt(Hooray)!

Firefox Technical Architecture Group

September 11th, 2015 No comments

Dave Camp 一个月前在邮件列表中宣布了新的 Firefox 架构领导小组:

We don’t have a lot of people whose responsibility extends to the entire Firefox frontend. Most of us are focused on individual pieces of our large codebase. Meanwhile, we have a set of large technical challenges ahead of us. In particular, gofaster and figuring out what comes after XUL are going to be sweeping changes that affect large swaths of code.

We are asking Dave Townsend, Richard Newman, Rob Helmer, Mark Hammond, and Robert Strong to explicitly take over technical stewardship of the Firefox products. Their responsibilities will be:

* Document and build consensus around larger projects that affect Firefox products.
* Help resolve technical issues that cross functional areas of the project.
* Provide a point of consistent technical decision making.
* Be a point of contact for and coordinate cross-technology projects with other Mozilla groups such as Platform and Content Services.
* Be available to technical contributors for guidance, mentoring, etc.

This may look a lot like Module Ownership – this is no coincidence. Mark Finkle (as Firefox Mobile module owner) and I (as Firefox Desktop module owner) will be delegating a lot of the technical responsibility for those modules to that group. It may also remind some folks of the Super Reviewers. It’s similar to that in spirit (a group of people charged with a global view of the product) but not in mechanics (no sr? flags, and limited to the Firefox frontend modules).

This isn’t a permanent appointment. We’ve asked these people to help get us started working through the gofaster and deXULinisation initiatives, but we’ll cycle people in an out as events warrant. Nor do we expect these people to do it alone. We expect them to be working closely with all the engineers on the team.

Thanks to the Firefox Architects for stepping up.

 

现在差不多已经成型了:

https://wiki.mozilla.org/Firefox/Technical_Architecture_Group

不过目前在 Mozilla 之外还没有看到什么内容.

SpiderMonkey 开始计划提供 JS 覆盖率信息

September 9th, 2015 No comments

Mozilla Bugzilla 上已经有了对应的 meta bug. 具体的实现可能需要再等一到两个月.

Nicolas B. Pierron [:nbp] 2015-07-30 08:05:23 PDT
This is a meta bug to add Code Coverage for JavaScript code executed in SpiderMonkey. We have multiple reasons to do that:

The most important is to support release management team, by producing Code Coverage information over executed JavaScript code, and producing gcov-like data files. This would help improve the quality of Firefox, and help evaluate the quality of our tests to accept/refuse new features.

The second reason is to expose this information to the dev-tools, such that JavaScript developers do not have to instrument their code to have code coverage results within the dev-tools.

The third, if the overhead is neglectable, is to make use of the same information to improve IonMonkey register allocation and removal of unused basic blocks ahead of time.

LLVM基金会拿到了非盈利组织的资格

August 21st, 2015 No comments

http://blog.llvm.org/2015/08/llvm-foundation-granted-501c3-nonprofit.html

501(c)(3), 简单说就是免税了.

afl-fuzz vs. mozjs: 1st round.

August 13th, 2015 No comments

第一轮, 随机从 mozilla-central 的回归测试集中选择了几个js文件, 没有使用字典, 默认 afl-fuzz 配置.

结果: 一个 crash 都没有发现.

分析: 这个是合理的. 没有字典直接 Fuzz, 绝大部分都过不了前端的 Parser. (绝大部分的意思是我没有做统计, 直观猜测的)

afl-fuzz-vs-mozjs