你好,游客 登录 注册 搜索
背景:
阅读新闻

Firefox OS 模拟器 4.0 版本发布

[日期:2013-07-12] 来源:oschina.net  作者:Linux [字体:大 中 小]

对 Firefox OS 开发者,今天是好日子,因为 Firefox OS 发布了 4.0 模拟器。该版本包含诸多新特性:

4.0 Updated Simulator Dashboard

新的连接按钮

There is a new ‘Connect’ button for each app that opens a developer toolbox connected to that specific app. This means that you won’t have to search through messages in the Console or filter through scripts in the Debugger in order to find information specific to your app.

付费应用测试

There is now a dropdown menu in each app’s dashboard where you can select a receipt type. The simulator add-on will then download a test receipt from a Marketplace receipt service and reinstall the app using it. This way you can test receipt verification with the various types of receipts that you may require – valid, invalid, and refunded.

4.0 Updated Simulator Dashboard Buttons
The new Connect button, Refresh Button, and Receipts drop-down

远程 CSS 样式化

If you connect to an app while using a Nightly or Aurora build of Firefox, there is a Style Editor tool you can use to edit the style sheets for your app. Changes are applied instantaneously.

4.0 Updated Simulator Live Style Editing
Live editing the Firefox OS Boilerplate app to have a less than charming red background

模拟触摸事件

Gaia’s touch events simulation has been integrated such that interacting with the Simulator using a mouse now generates real touch events. This fixes a myriad of issues in core Gaia apps that assume touch interactions. It also means you can test third party apps that rely on touch events without needing to fall back to mouse events.

隐藏的特性:Shift-Ctrl/Cmd-R

When using the keyboard shortcut Ctrl-R (Cmd-R on Mac) to refresh an app, if you also hold down the Shift key, then the Simulator will clear persistent data such as AppCache, localStorage, sessionStorage, and IndexedDB while refreshing the app.

你可以通过这里 安装和更新模拟器

推荐阅读:

FireFox OS工程机即将登陆中国 开发者静观其变 http://www.linuxidc.com/Linux/2013-06/86235.htm

Firefox OS 系统开发者手机抢购一空 http://www.linuxidc.com/Linux/2013-05/85136.htm

Ubuntu 系统中通过火狐OS模拟器轻松体验 Firefox OS http://www.linuxidc.com/Linux/2013-05/83755p2.htm

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款