Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #569 from Gozala/bug/layout-change@787346

fix Bug 787346 - Implement layout changes r=@ochameau
  • Loading branch information...
commit 9f596b54573b10a1cfe3fc8d1eccdd2eb049891c 2 parents b124e66 + 3a407e3
Irakli Gozalishvili authored October 11, 2012

Showing 432 changed files with 1,683 additions and 1,571 deletions. Show diff stats Hide diff stats

  1. 3  .gitignore
  2. 0  ...iles/doc/module-source/sdk/main.md b/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/main.md
  3. 0  {packages/addon-kit → }/data/index.html
  4. 0  {packages/addon-kit → }/data/moz_favicon.ico
  5. 0  {packages/addon-kit → }/data/pagemod-css-include-file.css
  6. 0  {packages/api-utils → }/data/test-content-symbiont.js
  7. 0  {packages/addon-kit → }/data/test-context-menu.js
  8. 0  {packages/api-utils → }/data/test-message-manager.js
  9. 0  packages/api-utils/data/test-uri-io.txt → data/test-net-url.txt
  10. 0  {packages/addon-kit → }/data/test-page-mod.html
  11. 0  {packages/addon-kit → }/data/test-page-worker.html
  12. 0  {packages/addon-kit → }/data/test-page-worker.js
  13. 0  {packages/api-utils → }/data/test-trusted-document.html
  14. 0  {packages/addon-kit → }/data/test.html
  15. 4  doc/dev-guide-source/cfx-tool.md
  16. 20  doc/dev-guide-source/guides/commonjs.md
  17. 8  doc/dev-guide-source/guides/content-scripts/communicating-with-other-scripts.md
  18. 12  doc/dev-guide-source/guides/content-scripts/index.md
  19. 2  doc/dev-guide-source/guides/content-scripts/reddit-example.md
  20. 4  doc/dev-guide-source/guides/content-scripts/using-port.md
  21. 6  doc/dev-guide-source/guides/events.md
  22. 2  doc/dev-guide-source/guides/firefox-compatibility.md
  23. 10  doc/dev-guide-source/guides/library-detector.md
  24. 2  doc/dev-guide-source/guides/module-search.md
  25. 2  doc/dev-guide-source/guides/program-id.md
  26. 20  doc/dev-guide-source/guides/xul-migration.md
  27. 4  doc/dev-guide-source/index.md
  28. 22  doc/dev-guide-source/low-level-apis.md
  29. 4  doc/dev-guide-source/package-spec.md
  30. 4  doc/dev-guide-source/tutorials/add-a-context-menu-item.md
  31. 6  doc/dev-guide-source/tutorials/adding-menus.md
  32. 4  doc/dev-guide-source/tutorials/adding-toolbar-button.md
  33. 4  doc/dev-guide-source/tutorials/annotator/creating.md
  34. 2  doc/dev-guide-source/tutorials/annotator/storing.md
  35. 6  doc/dev-guide-source/tutorials/display-a-popup.md
  36. 18  doc/dev-guide-source/tutorials/event-targets.md
  37. 4  doc/dev-guide-source/tutorials/getting-started-with-cfx.md
  38. 6  doc/dev-guide-source/tutorials/index.md
  39. 2  doc/dev-guide-source/tutorials/l10n.md
  40. 6  doc/dev-guide-source/tutorials/list-open-tabs.md
  41. 4  doc/dev-guide-source/tutorials/listen-for-page-load.md
  42. 19  doc/dev-guide-source/tutorials/mobile.md
  43. 4  doc/dev-guide-source/tutorials/modifying-web-pages-tab.md
  44. 8  doc/dev-guide-source/tutorials/modifying-web-pages-url.md
  45. 6  doc/dev-guide-source/tutorials/open-a-web-page.md
  46. 4  doc/dev-guide-source/tutorials/reusable-modules.md
  47. 5  doc/dev-guide-source/tutorials/third-party-apis
  48. 10  doc/dev-guide-source/tutorials/unit-testing.md
  49. 0  {packages/addon-kit/docs → doc/module-source/sdk}/addon-page.md
  50. 0  {packages/api-utils/docs → doc/module-source/sdk}/base64.md
  51. 0  {packages/addon-kit/docs → doc/module-source/sdk}/clipboard.md
  52. 0  packages/api-utils/docs/plain-text-console.md → doc/module-source/sdk/console/plain-text.md
  53. 0  {packages/api-utils/docs → doc/module-source/sdk/console}/traceback.md
  54. 6  {packages/api-utils/docs → doc/module-source/sdk/content}/content.md
  55. 2  {packages/api-utils/docs → doc/module-source/sdk}/content/loader.md
  56. 0  {packages/api-utils/docs → doc/module-source/sdk}/content/proxy.md
  57. 6  {packages/api-utils/docs → doc/module-source/sdk}/content/symbiont.md
  58. 6  {packages/api-utils/docs → doc/module-source/sdk}/content/worker.md
  59. 6  {packages/addon-kit/docs → doc/module-source/sdk}/context-menu.md
  60. 0  {packages/api-utils/docs → doc/module-source/sdk/core}/heritage.md
  61. 0  {packages/api-utils/docs → doc/module-source/sdk/core}/namespace.md
  62. 0  {packages/api-utils/docs → doc/module-source/sdk/core}/promise.md
  63. 0  {packages/api-utils/docs → doc/module-source/sdk/deprecated}/api-utils.md
  64. 0  {packages/api-utils/docs → doc/module-source/sdk/deprecated}/app-strings.md
  65. 0  {packages/api-utils/docs → doc/module-source/sdk/deprecated}/cortex.md
  66. 0  {packages/api-utils/docs → doc/module-source/sdk/deprecated}/errors.md
  67. 0  {packages/api-utils/docs → doc/module-source/sdk/deprecated}/events.md
  68. 0  {packages/api-utils/docs → doc/module-source/sdk/deprecated}/light-traits.md
  69. 0  {packages/api-utils/docs → doc/module-source/sdk/deprecated}/observer-service.md
  70. 0  {packages/api-utils/docs → doc/module-source/sdk/deprecated}/tab-browser.md
  71. 0  {packages/api-utils/docs → doc/module-source/sdk/deprecated}/traits.md
  72. 0  {packages/api-utils/docs → doc/module-source/sdk/deprecated}/window-utils.md
  73. 0  {packages/api-utils/docs → doc/module-source/sdk}/event/core.md
  74. 0  {packages/api-utils/docs → doc/module-source/sdk}/event/target.md
  75. 0  {packages/api-utils/docs → doc/module-source/sdk/frame}/hidden-frame.md
  76. 0  {packages/api-utils/docs → doc/module-source/sdk}/frame/utils.md
  77. 0  {packages/addon-kit/docs → doc/module-source/sdk}/hotkeys.md
  78. 0  {packages/api-utils/docs → doc/module-source/sdk/io}/byte-streams.md
  79. 6  {packages/api-utils/docs → doc/module-source/sdk/io}/file.md
  80. 0  {packages/api-utils/docs → doc/module-source/sdk/io}/text-streams.md
  81. 0  {packages/addon-kit/docs → doc/module-source/sdk}/l10n.md
  82. 0  {packages/api-utils/docs → doc/module-source/sdk/loader}/cuddlefish.md
  83. 0  {packages/api-utils/docs → doc/module-source/sdk/loader}/sandbox.md
  84. 4  packages/api-utils/docs/url/io.md → doc/module-source/sdk/net/url.md
  85. 0  {packages/api-utils/docs → doc/module-source/sdk/net}/xhr.md
  86. 4  {packages/addon-kit/docs → doc/module-source/sdk}/notifications.md
  87. 32  {packages/addon-kit/docs → doc/module-source/sdk}/page-mod.md
  88. 0  {packages/api-utils/docs → doc/module-source/sdk/page-mod}/match-pattern.md
  89. 12  {packages/addon-kit/docs → doc/module-source/sdk}/page-worker.md
  90. 6  {packages/addon-kit/docs → doc/module-source/sdk}/panel.md
  91. 2  {packages/addon-kit/docs → doc/module-source/sdk}/passwords.md
  92. 24  {packages/api-utils/docs → doc/module-source/sdk/platform}/xpcom.md
  93. 0  packages/api-utils/docs/preferences-service.md → doc/module-source/sdk/preferences/service.md
  94. 0  {packages/addon-kit/docs → doc/module-source/sdk}/private-browsing.md
  95. 0  {packages/api-utils/docs → doc/module-source/sdk}/querystring.md
  96. 0  {packages/addon-kit/docs → doc/module-source/sdk}/request.md
  97. 0  {packages/addon-kit/docs → doc/module-source/sdk}/selection.md
  98. 0  {packages/addon-kit/docs → doc/module-source/sdk}/self.md
  99. 4  {packages/addon-kit/docs → doc/module-source/sdk}/simple-prefs.md
  100. 2  {packages/addon-kit/docs → doc/module-source/sdk}/simple-storage.md
  101. 0  {packages/api-utils/docs → doc/module-source/sdk/system}/environment.md
  102. 0  {packages/api-utils/docs → doc/module-source/sdk/system}/runtime.md
  103. 0  {packages/api-utils/docs → doc/module-source/sdk/system}/unload.md
  104. 0  {packages/api-utils/docs → doc/module-source/sdk/system}/xul-app.md
  105. 0  {packages/addon-kit/docs → doc/module-source/sdk}/tabs.md
  106. 0  {packages/api-utils/docs → doc/module-source/sdk}/test/assert.md
  107. 0  {packages/test-harness/docs → doc/module-source/sdk/test}/harness.md
  108. 0  {packages/api-utils/docs → doc/module-source/sdk/test}/httpd.md
  109. 0  packages/test-harness/docs/run-tests.md → doc/module-source/sdk/test/runner.md
  110. 0  {packages/addon-kit/docs → doc/module-source/sdk}/timers.md
  111. 0  {packages/api-utils/docs → doc/module-source/sdk}/url.md
  112. 0  {packages/api-utils/docs → doc/module-source/sdk/util}/collection.md
  113. 0  {packages/api-utils/docs → doc/module-source/sdk/util}/deprecate.md
  114. 0  {packages/api-utils/docs → doc/module-source/sdk/util}/list.md
  115. 0  {packages/api-utils/docs → doc/module-source/sdk/util}/uuid.md
  116. 20  {packages/addon-kit/docs → doc/module-source/sdk}/widget.md
  117. 0  {packages/api-utils/docs → doc/module-source/sdk}/window/utils.md
  118. 4  {packages/addon-kit/docs → doc/module-source/sdk}/windows.md
  119. 12  {packages/api-utils/docs → doc/module-source/toolkit}/loader.md
  120. 11  doc/static-files/base.html
  121. 4  doc/static-files/css/sdk-docs.css
  122. 7  doc/static-files/js/main.js
  123. 10  {packages/addon-kit/lib → lib/sdk}/addon-page.js
  124. 4  {packages/api-utils/lib → lib/sdk}/addon/installer.js
  125. 14  {packages/api-utils/lib → lib/sdk}/addon/runner.js
  126. 0  {packages/api-utils/lib → lib/sdk}/base64.js
  127. 6  {packages/addon-kit/lib → lib/sdk}/clipboard.js
  128. 2  packages/api-utils/lib/plain-text-console.js → lib/sdk/console/plain-text.js
  129. 4  {packages/api-utils/lib → lib/sdk/console}/traceback.js
  130. 0  {packages/api-utils/lib → lib/sdk}/content/content-proxy.js
  131. 0  {packages/api-utils/lib → lib/sdk}/content/content-worker.js
  132. 6  {packages/api-utils/lib → lib/sdk/content}/content.js
  133. 6  {packages/api-utils/lib → lib/sdk}/content/loader.js
  134. 8  {packages/api-utils/lib → lib/sdk}/content/symbiont.js
  135. 0  {packages/api-utils/lib/utils → lib/sdk/content}/thumbnail.js
  136. 18  {packages/api-utils/lib → lib/sdk}/content/worker.js
  137. 32  {packages/addon-kit/lib → lib/sdk}/context-menu.js
  138. 0  {packages/api-utils/lib → lib/sdk/core}/heritage.js
  139. 0  {packages/api-utils/lib → lib/sdk/core}/namespace.js
  140. 0  {packages/api-utils/lib → lib/sdk/core}/promise.js
  141. 2  {packages/api-utils/lib → lib/sdk/deprecated}/api-utils.js
  142. 0  {packages/api-utils/lib → lib/sdk/deprecated}/app-strings.js
  143. 0  {packages/api-utils/lib → lib/sdk/deprecated}/cortex.js
  144. 0  {packages/api-utils/lib → lib/sdk/deprecated}/errors.js
  145. 0  {packages/api-utils/lib → lib/sdk/deprecated}/events.js
  146. 2  {packages/api-utils/lib → lib/sdk/deprecated}/events/assembler.js
  147. 0  {packages/api-utils/lib → lib/sdk/deprecated}/light-traits.js
  148. 2  {packages/api-utils/lib → lib/sdk/deprecated}/list.js
  149. 2  {packages/api-utils/lib → lib/sdk/deprecated}/memory.js
  150. 8  {packages/api-utils/lib → lib/sdk/deprecated}/observer-service.js
  151. 24  {packages/api-utils/lib → lib/sdk/deprecated}/tab-browser.js
  152. 0  {packages/api-utils/lib → lib/sdk/deprecated}/traits.js
  153. 0  {packages/api-utils/lib → lib/sdk/deprecated}/traits/core.js
  154. 4  {packages/api-utils/lib → lib/sdk/deprecated}/unit-test-finder.js
  155. 6  {packages/api-utils/lib → lib/sdk/deprecated}/unit-test.js
  156. 14  {packages/api-utils/lib → lib/sdk/deprecated}/window-utils.js
  157. 0  {packages/api-utils/lib → lib/sdk}/dom/events.js
  158. 4  {packages/api-utils/lib → lib/sdk}/dom/events/keys.js
  159. 2  {packages/api-utils/lib → lib/sdk}/event/core.js
  160. 4  {packages/api-utils/lib → lib/sdk}/event/target.js
  161. 12  {packages/api-utils/lib → lib/sdk/frame}/hidden-frame.js
  162. 0  {packages/api-utils/lib → lib/sdk}/frame/utils.js
  163. 4  {packages/addon-kit/lib → lib/sdk}/hotkeys.js
  164. 2  {packages/api-utils/lib → lib/sdk/io}/byte-streams.js
  165. 14  {packages/api-utils/lib/utils → lib/sdk/io}/data.js
  166. 0  {packages/api-utils/lib → lib/sdk/io}/file.js
  167. 2  {packages/api-utils/lib → lib/sdk/io}/text-streams.js
  168. 0  {packages/api-utils/lib → lib/sdk}/keyboard/hotkeys.js
  169. 8  {packages/api-utils/lib → lib/sdk}/keyboard/observer.js
  170. 6  {packages/api-utils/lib → lib/sdk}/keyboard/utils.js
  171. 4  {packages/addon-kit/lib → lib/sdk}/l10n.js
  172. 0  {packages/api-utils/lib → lib/sdk}/l10n/core.js
  173. 6  {packages/api-utils/lib → lib/sdk}/l10n/html.js
  174. 6  {packages/api-utils/lib → lib/sdk}/l10n/loader.js
  175. 2  {packages/api-utils/lib → lib/sdk}/l10n/locale.js
  176. 0  {packages/api-utils/lib → lib/sdk}/l10n/plural-rules.js
  177. 6  {packages/api-utils/lib → lib/sdk}/l10n/prefs.js
  178. 2  {packages/api-utils/lib → lib/sdk/lang}/functional.js
  179. 0  {packages/api-utils/lib → lib/sdk/lang}/type.js
  180. 18  {packages/api-utils/lib → lib/sdk/loader}/cuddlefish.js
  181. 0  {packages/api-utils/lib → lib/sdk/loader}/sandbox.js
  182. 4  packages/api-utils/lib/url/io.js → lib/sdk/net/url.js
  183. 12  {packages/api-utils/lib → lib/sdk/net}/xhr.js
  184. 4  {packages/addon-kit/lib → lib/sdk}/notifications.js
  185. 26  {packages/addon-kit/lib → lib/sdk}/page-mod.js
  186. 2  {packages/api-utils/lib → lib/sdk/page-mod}/match-pattern.js
  187. 6  {packages/addon-kit/lib → lib/sdk}/page-worker.js
  188. 14  {packages/addon-kit/lib → lib/sdk}/panel.js
  189. 4  {packages/addon-kit/lib → lib/sdk}/passwords.js
  190. 2  {packages/api-utils/lib → lib/sdk}/passwords/utils.js
  191. 12  {packages/api-utils/lib → lib/sdk/platform}/xpcom.js
  192. 12  packages/api-utils/lib/prefs/target.js → lib/sdk/preferences/event-target.js
  193. 0  packages/api-utils/lib/preferences-service.js → lib/sdk/preferences/service.js
  194. 8  {packages/addon-kit/lib → lib/sdk}/private-browsing.js
  195. 12  {packages/api-utils/lib → lib/sdk}/private-browsing/utils.js
  196. 0  {packages/api-utils/lib → lib/sdk}/querystring.js
  197. 16  {packages/addon-kit/lib → lib/sdk}/request.js
  198. 18  {packages/addon-kit/lib → lib/sdk}/selection.js
  199. 2  {packages/api-utils/lib → lib/sdk}/self.js
  200. 10  {packages/addon-kit/lib → lib/sdk}/simple-prefs.js
  201. 12  {packages/addon-kit/lib → lib/sdk}/simple-storage.js
  202. 6  {packages/api-utils/lib → lib/sdk}/system.js
  203. 0  {packages/api-utils/lib → lib/sdk/system}/environment.js
  204. 6  {packages/api-utils/lib → lib/sdk}/system/events.js
  205. 4  {packages/api-utils/lib → lib/sdk/system}/globals.js
  206. 0  {packages/api-utils/lib → lib/sdk/system}/runtime.js
  207. 2  {packages/api-utils/lib → lib/sdk/system}/unload.js
  208. 0  {packages/api-utils/lib → lib/sdk/system}/xul-app.js
  209. 2  {packages/addon-kit/lib → lib/sdk}/tabs.js
  210. 2  {packages/api-utils/lib → lib/sdk}/tabs/common.js
  211. 0  {packages/api-utils/lib → lib/sdk}/tabs/events.js
  212. 0  {packages/api-utils/lib → lib/sdk}/tabs/helpers.js
  213. 2  {packages/api-utils/lib → lib/sdk}/tabs/namespace.js
  214. 8  {packages/api-utils/lib → lib/sdk}/tabs/observer.js
  215. 6  {packages/api-utils/lib → lib/sdk}/tabs/tab-fennec.js
  216. 10  {packages/api-utils/lib → lib/sdk}/tabs/tab-firefox.js
  217. 4  {packages/api-utils/lib → lib/sdk}/tabs/tab.js
  218. 2  packages/api-utils/lib/tabs/firefox-tabs.js → lib/sdk/tabs/tabs-firefox.js
  219. 6  {packages/api-utils/lib → lib/sdk}/tabs/tabs.js
  220. 2  {packages/api-utils/lib → lib/sdk}/tabs/utils.js
  221. 0  {packages/api-utils/lib → lib/sdk}/tabs/worker.js
  222. 2  {packages/api-utils/lib → lib/sdk}/test.js
  223. 5  {packages/api-utils/lib → lib/sdk}/test/assert.js
  224. 29  {packages/test-harness/lib → lib/sdk/test}/harness.js
  225. 0  {packages/api-utils/lib → lib/sdk/test}/httpd.js
  226. 4  {packages/test-harness/lib → lib/sdk/test}/loader.js
  227. 12  packages/test-harness/lib/run-tests.js → lib/sdk/test/runner.js
  228. 9  {packages/test-harness/lib → lib/sdk/test}/tmp-file.js
  229. 2  packages/api-utils/lib/timer.js → lib/sdk/timers.js
  230. 2  {packages/api-utils/lib → lib/sdk}/url.js
  231. 0  {packages/api-utils/lib → lib/sdk/util}/array.js
  232. 0  {packages/api-utils/lib → lib/sdk/util}/collection.js
  233. 2  {packages/api-utils/lib → lib/sdk/util}/deprecate.js
  234. 4  packages/api-utils/lib/list/new.js → lib/sdk/util/list.js
  235. 0  {packages/api-utils/lib/utils → lib/sdk/util}/object.js
  236. 4  {packages/api-utils/lib/utils → lib/sdk/util}/registry.js
  237. 0  {packages/api-utils/lib → lib/sdk/util}/uuid.js
  238. 28  {packages/addon-kit/lib → lib/sdk}/widget.js
  239. 10  {packages/api-utils/lib → lib/sdk}/window/browser.js
  240. 2  {packages/api-utils/lib → lib/sdk}/window/namespace.js
  241. 4  {packages/api-utils/lib → lib/sdk}/window/utils.js
  242. 8  {packages/addon-kit/lib → lib/sdk}/windows.js
  243. 2  {packages/api-utils/lib → lib/sdk}/windows/dom.js
  244. 11  {packages/api-utils/lib → lib/sdk}/windows/fennec.js
  245. 14  {packages/api-utils/lib → lib/sdk}/windows/firefox.js
  246. 4  {packages/api-utils/lib → lib/sdk}/windows/loader.js
  247. 8  {packages/api-utils/lib → lib/sdk}/windows/observer.js
  248. 10  {packages/api-utils/lib → lib/sdk}/windows/tabs-fennec.js
  249. 6  {packages/api-utils/lib → lib/sdk}/windows/tabs-firefox.js
  250. 2  {packages/api-utils/lib → lib/toolkit}/loader.js
  251. 81  mapping.json
  252. 10  package.json
  253. 12  packages/addon-kit/README.md
  254. 12  packages/addon-kit/lib/timers.js
  255. 12  packages/addon-kit/package.json
  256. 12  packages/addon-kit/tests/test-timers.js
  257. 35  packages/api-utils/README.md
  258. 5  packages/api-utils/lib/find-tests.js
  259. 14  packages/api-utils/package.json
  260. 12  packages/test-harness/README.md
  261. 8  packages/test-harness/package.json
  262. 30  python-lib/cuddlefish/__init__.py
  263. 4  python-lib/cuddlefish/app-extension/bootstrap.js
  264. 88  python-lib/cuddlefish/docs/documentationitem.py
  265. 200  python-lib/cuddlefish/docs/generate.py
  266. 78  python-lib/cuddlefish/docs/linkrewriter.py
  267. 134  python-lib/cuddlefish/docs/webdocs.py
  268. 26  python-lib/cuddlefish/manifest.py
  269. 8  python-lib/cuddlefish/packaging.py
  270. 2  python-lib/cuddlefish/tests/linker-files/one/lib/main.js
  271. 0  ...n-lib/cuddlefish/tests/static-files/{packages/aardvark/doc → doc/module-source/sdk}/aardvark-feeder.md
  272. 7  ...lefish/tests/static-files/{packages/minimal/docs/main.md → doc/module-source/sdk/anteater/anteater.md}
  273. 5  python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/not_a_doc.js
  274. 4  python-lib/cuddlefish/tests/static-files/doc/static-files/base.html
  275. 2  python-lib/cuddlefish/tests/static-files/packages/aardvark/package.json
  276. 2  python-lib/cuddlefish/tests/static-files/packages/anteater_files/package.json
  277. 14  python-lib/cuddlefish/tests/test_generate.py
  278. 32  python-lib/cuddlefish/tests/test_linker.py
  279. 6  python-lib/cuddlefish/tests/test_packaging.py
  280. 25  python-lib/cuddlefish/tests/test_webdocs.py
  281. 56  python-lib/cuddlefish/tests/test_xpi.py
  282. 24  test/addons/l10n/main.js
  283. 0  {packages/api-utils/tests → test}/commonjs-test-adapter/asserts.js
  284. 0  {packages/api-utils/tests → test}/fixtures/addon-install-unit-test@mozilla.com.xpi
  285. 0  {packages/api-utils/tests → test}/fixtures/chrome-worker/addEventListener.js
  286. 0  {packages/api-utils/tests → test}/fixtures/chrome-worker/jsctypes.js
  287. 0  {packages/api-utils/tests → test}/fixtures/chrome-worker/onerror.js
  288. 0  {packages/api-utils/tests → test}/fixtures/chrome-worker/onmessage.js
  289. 0  {packages/api-utils/tests → test}/fixtures/chrome-worker/setTimeout.js
  290. 0  {packages/api-utils/tests → test}/fixtures/chrome-worker/xhr.js
  291. 0  {packages/api-utils/tests → test}/fixtures/es5.js
  292. 0  {packages/api-utils/tests → test}/fixtures/loader/cycles/a.js
  293. 0  {packages/api-utils/tests → test}/fixtures/loader/cycles/b.js
  294. 0  {packages/api-utils/tests → test}/fixtures/loader/cycles/c.js
  295. 0  {packages/api-utils/tests → test}/fixtures/loader/cycles/main.js
  296. 0  {packages/api-utils/tests → test}/fixtures/sandbox-complex-character.js
  297. 0  {packages/api-utils/tests → test}/fixtures/sandbox-normal.js
  298. 0  {packages/api-utils/tests → test}/loader/fixture.js
  299. 0  {packages/api-utils/tests → test}/modules/add.js
  300. 0  {packages/api-utils/tests → test}/modules/async1.js
  301. 0  {packages/api-utils/tests → test}/modules/async2.js
  302. 0  {packages/api-utils/tests → test}/modules/badExportAndReturn.js
  303. 0  {packages/api-utils/tests → test}/modules/badFirst.js
  304. 0  {packages/api-utils/tests → test}/modules/badSecond.js
  305. 0  {packages/api-utils/tests → test}/modules/blue.js
  306. 0  {packages/api-utils/tests → test}/modules/castor.js
  307. 0  {packages/api-utils/tests → test}/modules/cheetah.js
  308. 0  {packages/api-utils/tests → test}/modules/color.js
  309. 0  {packages/api-utils/tests → test}/modules/dupe.js
  310. 0  {packages/api-utils/tests → test}/modules/dupeNested.js
  311. 0  {packages/api-utils/tests → test}/modules/dupeSetExports.js
  312. 0  {packages/api-utils/tests → test}/modules/exportsEquals.js
  313. 0  {packages/api-utils/tests → test}/modules/green.js
  314. 0  {packages/api-utils/tests → test}/modules/lion.js
  315. 0  {packages/api-utils/tests → test}/modules/orange.js
  316. 0  {packages/api-utils/tests → test}/modules/pollux.js
  317. 0  {packages/api-utils/tests → test}/modules/red.js
  318. 0  {packages/api-utils/tests → test}/modules/setExports.js
  319. 0  {packages/api-utils/tests → test}/modules/subtract.js
  320. 0  {packages/api-utils/tests → test}/modules/tiger.js
  321. 0  {packages/api-utils/tests → test}/modules/traditional1.js
  322. 0  {packages/api-utils/tests → test}/modules/traditional2.js
  323. 0  {packages/api-utils/tests → test}/modules/types/cat.js
  324. 8  {packages/addon-kit/tests → test}/pagemod-test-helpers.js
  325. 22  {packages/addon-kit/tests → test}/tabs/test-fennec-tabs.js
  326. 86  {packages/addon-kit/tests → test}/tabs/test-firefox-tabs.js
  327. 0  {packages/addon-kit/tests → test/tabs}/test-tabs.js
  328. 11  {packages/api-utils/tests → test}/test-addon-installer.js
  329. 19  {packages/addon-kit/tests → test}/test-addon-page.js
  330. 2  {packages/api-utils/tests → test}/test-api-utils.js
  331. 2  {packages/api-utils/tests → test}/test-app-strings.js
  332. 2  {packages/api-utils/tests → test}/test-array.js
  333. 2  {packages/api-utils/tests → test}/test-base64.js
  334. 10  {packages/api-utils/tests → test}/test-byte-streams.js
  335. 0  {packages/api-utils/tests → test}/test-chrome.js
  336. 18  {packages/addon-kit/tests → test}/test-clipboard.js
  337. 2  {packages/api-utils/tests → test}/test-collection.js
  338. 0  {packages/api-utils/tests → test}/test-commonjs-test-adapter.js
  339. 4  {packages/api-utils/tests → test}/test-content-loader.js
  340. 12  {packages/api-utils/tests → test}/test-content-proxy.js
  341. 10  {packages/api-utils/tests → test}/test-content-symbiont.js
  342. 8  {packages/api-utils/tests → test}/test-content-worker.js
  343. 0  {packages/addon-kit/tests → test}/test-context-menu.html
  344. 22  {packages/addon-kit/tests → test}/test-context-menu.js
  345. 2  {packages/api-utils/tests → test}/test-cortex.js
  346. 6  {packages/api-utils/tests → test}/test-cuddlefish.js
  347. 6  {packages/api-utils/tests → test}/test-deprecate.js
  348. 2  packages/api-utils/tests/test-list.js → test/test-deprecated-list.js
  349. 4  {packages/api-utils/tests → test}/test-dom.js
  350. 2  {packages/api-utils/tests → test}/test-environment.js
  351. 2  {packages/api-utils/tests → test}/test-errors.js
  352. 6  {packages/api-utils/tests → test}/test-event-core.js
  353. 12  {packages/api-utils/tests → test}/test-event-target.js
  354. 4  {packages/api-utils/tests → test}/test-events.js
  355. 10  {packages/api-utils/tests → test}/test-file.js
  356. 4  {packages/api-utils/tests → test}/test-frame-utils.js
  357. 4  {packages/api-utils/tests → test}/test-functional.js
  358. 0  {packages/api-utils/tests → test}/test-globals.js
  359. 2  {packages/api-utils/tests → test}/test-heritage.js
  360. 2  {packages/api-utils/tests → test}/test-hidden-frame.js
  361. 23  {packages/addon-kit/tests → test}/test-hotkeys.js
  362. 12  {packages/api-utils/tests → test}/test-httpd.js
  363. 10  {packages/api-utils/tests → test}/test-keyboard-observer.js
  364. 4  {packages/api-utils/tests → test}/test-keyboard-utils.js
  365. 4  {packages/api-utils/tests → test}/test-l10n-locale.js
  366. 2  {packages/api-utils/tests → test}/test-l10n-plural-rules.js
  367. 178  test/test-layout-change.js
  368. 0  {packages/api-utils/tests → test}/test-light-traits.js
  369. 4  packages/api-utils/tests/test-new-list.js → test/test-list.js
  370. 2  {packages/api-utils/tests → test}/test-loader.js
  371. 2  {packages/api-utils/tests → test}/test-match-pattern.js
  372. 2  {packages/api-utils/tests → test}/test-memory.js
  373. 8  {packages/addon-kit/tests → test}/test-module.js
  374. 0  {packages/api-utils/tests → test}/test-modules.js
  375. 6  {packages/api-utils/tests → test}/test-namespace.js
  376. 20  packages/api-utils/tests/test-url-io.js → test/test-net-url.js
  377. 8  {packages/addon-kit/tests → test}/test-notifications.js
  378. 10  {packages/api-utils/tests → test}/test-observer-service.js
  379. 8  {packages/test-harness/tests → test}/test-packaging.js
  380. 53  {packages/addon-kit/tests → test}/test-page-mod.js
  381. 14  {packages/addon-kit/tests → test}/test-page-worker.js
  382. 14  {packages/addon-kit/tests → test}/test-panel.js
  383. 2  {packages/api-utils/tests → test}/test-passwords-utils.js
  384. 2  {packages/addon-kit/tests → test}/test-passwords.js
  385. 24  {packages/api-utils/tests → test}/test-plain-text-console.js
  386. 2  {packages/api-utils/tests → test}/test-preferences-service.js
  387. 10  packages/api-utils/tests/test-prefs-target.js → test/test-preferences-target.js
  388. 12  {packages/addon-kit/tests → test}/test-private-browsing.js
  389. 2  {packages/api-utils/tests → test}/test-promise.js
  390. 2  {packages/api-utils/tests → test}/test-querystring.js
  391. 6  {packages/api-utils/tests → test}/test-registry.js
  392. 8  {packages/addon-kit/tests → test}/test-request.js
  393. 2  {packages/api-utils/tests → test}/test-require.js
  394. 4  {packages/api-utils/tests → test}/test-sandbox.js
  395. 56  {packages/addon-kit/tests → test}/test-selection.js
  396. 7  {packages/api-utils/tests → test}/test-self.js
  397. 0  {packages/api-utils/tests → test}/test-set-exports.js
  398. 16  {packages/addon-kit/tests → test}/test-simple-prefs.js
  399. 46  {packages/addon-kit/tests → test}/test-simple-storage.js
  400. 30  {packages/api-utils/tests → test}/test-tab-browser.js
  401. 10  {packages/api-utils/tests → test}/test-tab-observer.js
  402. 10  {packages/api-utils/tests → test}/test-tab.js
  403. 6  {packages/addon-kit/tests → test}/test-tabs-common.js
  404. 8  {packages/api-utils/tests → test}/test-text-streams.js
  405. 6  {packages/api-utils/tests → test}/test-timer.js
  406. 4  {packages/test-harness/tests → test}/test-tmp-file.js
  407. 0  {packages/test-harness/tests → test}/test-tmp-file.txt
  408. 6  {packages/api-utils/tests → test}/test-traceback.js
  409. 2  {packages/api-utils/tests → test}/test-traits-core.js
  410. 2  {packages/api-utils/tests → test}/test-traits.js
  411. 2  {packages/api-utils/tests → test}/test-type.js
  412. 6  {packages/api-utils/tests → test}/test-unit-test.js
  413. 16  {packages/api-utils/tests → test}/test-unload.js
  414. 8  {packages/api-utils/tests → test}/test-url.js
  415. 2  {packages/api-utils/tests → test}/test-uuid.js
  416. 70  {packages/addon-kit/tests → test}/test-widget.js
  417. 4  {packages/api-utils/tests → test}/test-window-loader.js
  418. 10  {packages/api-utils/tests → test}/test-window-observer.js
  419. 10  {packages/api-utils/tests → test}/test-window-utils.js
  420. 4  {packages/api-utils/tests → test}/test-window-utils2.js
  421. 10  {packages/addon-kit/tests → test}/test-windows-common.js
  422. 4  {packages/addon-kit/tests → test}/test-windows.js
  423. 10  {packages/api-utils/tests → test}/test-xhr.js
  424. 8  {packages/api-utils/tests → test}/test-xpcom.js
  425. 2  {packages/api-utils/tests → test}/test-xul-app.js
  426. 2  {packages/api-utils/tests → test}/traits/assert.js
  427. 2  {packages/api-utils/tests → test}/traits/descriptor-tests.js
  428. 2  {packages/api-utils/tests → test}/traits/inheritance-tests.js
  429. 2  {packages/api-utils/tests → test}/traits/object-tests.js
  430. 0  {packages/api-utils/tests → test}/traits/utils.js
  431. 8  {packages/addon-kit/tests → test}/windows/test-fennec-windows.js
  432. 10  {packages/addon-kit/tests → test}/windows/test-firefox-windows.js
3  .gitignore
@@ -8,9 +8,6 @@ doc/index.html
8 8
 doc/packages/
9 9
 doc/status.md5
10 10
 packages/*
11  
-!packages/addon-kit/
12  
-!packages/api-utils/
13  
-!packages/test-harness/
14 11
 
15 12
 # Python
16 13
 *.pyc
0  ...s/doc/module-source/sdk/main.md b/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/main.md
Source Rendered
No changes.
0  packages/addon-kit/data/index.html → data/index.html
File renamed without changes
0  packages/addon-kit/data/moz_favicon.ico → data/moz_favicon.ico
File renamed without changes
0  packages/addon-kit/data/pagemod-css-include-file.css → data/pagemod-css-include-file.css
File renamed without changes
0  packages/api-utils/data/test-content-symbiont.js → data/test-content-symbiont.js
File renamed without changes
0  packages/addon-kit/data/test-context-menu.js → data/test-context-menu.js
File renamed without changes
0  packages/api-utils/data/test-message-manager.js → data/test-message-manager.js
File renamed without changes
0  packages/api-utils/data/test-uri-io.txt → data/test-net-url.txt
File renamed without changes
0  packages/addon-kit/data/test-page-mod.html → data/test-page-mod.html
File renamed without changes
0  packages/addon-kit/data/test-page-worker.html → data/test-page-worker.html
File renamed without changes
0  packages/addon-kit/data/test-page-worker.js → data/test-page-worker.js
File renamed without changes
0  packages/api-utils/data/test-trusted-document.html → data/test-trusted-document.html
File renamed without changes
0  packages/addon-kit/data/test.html → data/test.html
File renamed without changes
4  doc/dev-guide-source/cfx-tool.md
Source Rendered
@@ -298,7 +298,7 @@ they contain.
298 298
 
299 299
 See the
300 300
 [tutorial on unit testing](dev-guide/tutorials/unit-testing.html) and the
301  
-[reference documentation for the `assert` module](packages/api-utils/test/assert.html)
  301
+[reference documentation for the `assert` module](modules/sdk/test/assert.html)
302 302
 for details.
303 303
 
304 304
 #### Supported Options #####
@@ -806,7 +806,7 @@ one run of `cfx` will not, by default, be available in the next run.
806 806
 
807 807
 This includes, for example, any extra add-ons you installed, or your
808 808
 history, or any data stored using the
809  
-[simple-storage](packages/addon-kit/simple-storage.html) API.
  809
+[simple-storage](modules/sdk/simple-storage.html) API.
810 810
 
811 811
 To make `cfx` use a specific profile, pass the `--profiledir` option,
812 812
 specifying the path to the profile you wish to use.
20  doc/dev-guide-source/guides/commonjs.md
Source Rendered
@@ -109,27 +109,27 @@ Modules in the `api-utils` package implement low-level APIs. These
109 109
 modules fall roughly into three categories:
110 110
 
111 111
 * fundamental utilities such as
112  
-[collection](packages/api-utils/collection.html) and
113  
-[url](packages/api-utils/url.html). Many add-ons are likely to
  112
+[collection](modules/sdk/platform/xpcom.html) and
  113
+[url](modules/sdk/url.html). Many add-ons are likely to
114 114
 want to use modules from this category.
115 115
 
116 116
 * building blocks for higher level modules, such as
117  
-[event/core](packages/api-utils/event/core.html),
118  
-[event/target](packages/api-utils/event/target.html),
119  
-[heritage](packages/api-utils/heritage.html), and
120  
-[namespace](packages/api-utils/namespace.html). You're more
  117
+[event/core](modules/sdk/event/core.html),
  118
+[event/target](modules/sdk/event/target.html),
  119
+[heritage](modules/sdk/core/heritage.html), and
  120
+[namespace](modules/sdk/core/namespace.html). You're more
121 121
 likely to use these if you are building your own modules that
122 122
 implement new APIs, thus extending the SDK itself.
123 123
 
124 124
 * privileged modules that expose powerful low-level capabilities
125  
-such as [xhr](packages/api-utils/xhr.html) and
126  
-[xpcom](packages/api-utils/xpcom.html). You can use these
  125
+such as [xhr](modules/sdk/net/xhr.html) and
  126
+[xpcom](modules/sdk/platform/xpcom.html). You can use these
127 127
 modules in your add-on if you need to, but should be aware that
128 128
 the cost of privileged access is the need to take more elaborate
129 129
 security precautions. In many cases these modules have simpler,
130 130
 more restricted analogs in the high-level addon-kit package (for
131  
-example, [tabs](packages/addon-kit/tabs.html) or
132  
-[request](packages/addon-kit/request.html)).
  131
+example, [tabs](modules/sdk/tabs.html) or
  132
+[request](modules/sdk/request.html)).
133 133
 
134 134
 <div class="warning">
135 135
 <p>These modules are still in active development,
8  doc/dev-guide-source/guides/content-scripts/communicating-with-other-scripts.md
Source Rendered
@@ -72,7 +72,7 @@ Suppose we have a page called "listen.html" hosted at "my-domain.org", and we wa
72 72
 from the add-on to a script embedded in that page.
73 73
 
74 74
 In the main add-on code, we have a
75  
-[`page-mod`](packages/addon-kit/page-mod.html) that attaches the content script
  75
+[`page-mod`](modules/sdk/page-mod.html) that attaches the content script
76 76
 "talk.js" to the right page:
77 77
 
78 78
     var data = require("self").data;
@@ -114,7 +114,7 @@ messages from the content script:
114 114
 Sending messages from the page script to the content script is just
115 115
 the same, but in reverse.
116 116
 
117  
-Here "main.js" creates a [`page-mod`](packages/addon-kit/page-mod.html)
  117
+Here "main.js" creates a [`page-mod`](modules/sdk/page-mod.html)
118 118
 that attaches "listen.js" to the web page:
119 119
 
120 120
     var data = require("self").data;
@@ -164,7 +164,7 @@ to communicate between page scripts and content scripts.
164 164
 Here's an example showing how to use custom DOM events to send a message
165 165
 from a content script to a page script.
166 166
 
167  
-First, "main.js" will create a [`page-mod`](packages/addon-kit/page-mod.html)
  167
+First, "main.js" will create a [`page-mod`](modules/sdk/page-mod.html)
168 168
 that will attach "talk.js" to the target web page:
169 169
 
170 170
     var data = require("self").data;
@@ -206,7 +206,7 @@ Finally "listen.html" listens for the new event and examines its
206 206
 Sending messages using custom DOM events from the page script
207 207
 to the content script is just the same, but in reverse.
208 208
 
209  
-Again, "main.js" creates a [`page-mod`](packages/addon-kit/page-mod.html)
  209
+Again, "main.js" creates a [`page-mod`](modules/sdk/page-mod.html)
210 210
 to target the page we are interested in:
211 211
 
212 212
     var data = require("self").data;
12  doc/dev-guide-source/guides/content-scripts/index.md
Source Rendered
@@ -10,19 +10,19 @@ content of web pages or be notified when the user clicks a link.
10 10
 
11 11
 The SDK provides several core modules to support this:
12 12
 
13  
-**[panel](packages/addon-kit/panel.html)**<br>
  13
+**[panel](modules/sdk/panel.html)**<br>
14 14
 Create a dialog that can host web content.
15 15
 
16  
-**[page-worker](packages/addon-kit/page-worker.html)**<br>
  16
+**[page-worker](modules/sdk/page-worker.html)**<br>
17 17
 Retrieve a page and access its content, without displaying it to the user.
18 18
 
19  
-**[page-mod](packages/addon-kit/page-mod.html)**<br>
  19
+**[page-mod](modules/sdk/page-mod.html)**<br>
20 20
 Execute scripts in the context of selected web pages.
21 21
 
22  
-**[widget](packages/addon-kit/widget.html)**<br>
  22
+**[widget](modules/sdk/widget.html)**<br>
23 23
 Host an add-on's user interface, including web content.
24 24
 
25  
-**[context-menu](packages/addon-kit/context-menu.html)**<br>
  25
+**[context-menu](modules/sdk/context-menu.html)**<br>
26 26
 Add items to the browser's context menu.
27 27
 
28 28
 Firefox is moving towards a model in which it uses separate
@@ -57,7 +57,7 @@ relationships. The gray fill represents code written by the add-on developer.
57 57
 alt="Content script events">
58 58
 
59 59
 This might sound complicated but it doesn't need to be. The following add-on
60  
-uses the [page-mod](packages/addon-kit/page-mod.html) module to replace the
  60
+uses the [page-mod](modules/sdk/page-mod.html) module to replace the
61 61
 content of any web page in the `.co.uk` domain by executing a content script
62 62
 in the context of that page:
63 63
 
2  doc/dev-guide-source/guides/content-scripts/reddit-example.md
Source Rendered
@@ -42,7 +42,7 @@ link clicks.
42 42
 
43 43
 Finally, it registers a listener to the user-defined `click` event which in
44 44
 turn passes the URL into the `open` function of the
45  
-[tabs](packages/addon-kit/tabs.html) module.
  45
+[tabs](modules/sdk/tabs.html) module.
46 46
 
47 47
 This is the `panel.js` content script that intercepts link clicks:
48 48
 
4  doc/dev-guide-source/guides/content-scripts/using-port.md
Source Rendered
@@ -51,7 +51,7 @@ the recipient but just emits the event and continues processing.
51 51
 ## Accessing `port` in the Content Script ##
52 52
 
53 53
 <span class="aside">Note that the global `self` object is completely
54  
-different from the [`self` module](packages/addon-kit/self.html), which
  54
+different from the [`self` module](modules/sdk/self.html), which
55 55
 provides an API for an add-on to access its data files and ID.</span>
56 56
 
57 57
 In the content script the `port` object is available as a property of the
@@ -67,7 +67,7 @@ To receive an event from the add-on code:
67 67
 
68 68
 Compare this to the technique used to receive _built-in_ events in the
69 69
 content script. For example, to receive the `context` event in a content script
70  
-associated with a [context menu](packages/addon-kit/context-menu.html)
  70
+associated with a [context menu](modules/sdk/context-menu.html)
71 71
 object, you would call the `on` function attached to the global `self` object:
72 72
 
73 73
     self.on("context", function() {
6  doc/dev-guide-source/guides/events.md
Source Rendered
@@ -5,7 +5,7 @@
5 5
 # Working with Events #
6 6
 
7 7
 The Add-on SDK supports event-driven programming through its
8  
-[`EventEmitter`](packages/api-utils/events.html) framework.
  8
+[`EventEmitter`](modules/sdk/deprecated/events.html) framework.
9 9
 
10 10
 Objects emit events on state changes that might be of interest to add-on code,
11 11
 such as browser windows opening, pages loading, network requests completing,
@@ -52,7 +52,7 @@ whenever the event occurs. The arguments that will be passed to the listener
52 52
 are specific to an event type and are documented with the event emitter.
53 53
 
54 54
 For example, the following add-on registers two listeners with the
55  
-[`private-browsing`](packages/addon-kit/private-browsing.html) module to
  55
+[`private-browsing`](modules/sdk/private-browsing.html) module to
56 56
 listen for the `start` and `stop` events, and logs a string to the console
57 57
 reporting the change:
58 58
 
@@ -83,7 +83,7 @@ with "on": for example, "onOpen", "onReady" and so on. Then in the constructor
83 83
 you can assign a listener function to this property as an alternative to
84 84
 calling the object's `on()` method.
85 85
 
86  
-For example: the [`widget`](packages/addon-kit/widget.html) object emits
  86
+For example: the [`widget`](modules/sdk/widget.html) object emits
87 87
 an event when the widget is clicked.
88 88
 
89 89
 The following add-on creates a widget and assigns a listener to the
2  doc/dev-guide-source/guides/firefox-compatibility.md
Source Rendered
@@ -5,7 +5,7 @@
5 5
 # Firefox Compatibility #
6 6
 
7 7
 One of the promises the SDK makes is to maintain compatibility for its
8  
-["supported" or "high-level" APIs](packages/addon-kit/index.html):
  8
+["supported" or "high-level" APIs]FIXME:
9 9
 meaning that code written against them will not need to change as new
10 10
 versions of Firefox are released.
11 11
 
10  doc/dev-guide-source/guides/library-detector.md
Source Rendered
@@ -72,7 +72,7 @@ access to the un-proxied DOM window, so they can see the objects added by
72 72
 libraries, so we’ll need to use the experimental [unsafeWindow](dev-guide/guides/content-scripts/accessing-the-dom.html#unsafeWindow)
73 73
 
74 74
 The main add-on script, `main.js`, will use a
75  
-[`page-mod`](packages/addon-kit/page-mod.html)
  75
+[`page-mod`](modules/sdk/page-mod.html)
76 76
 to inject the content script into every new page.
77 77
 
78 78
 The content script, which we'll call `library-detector.js`, will keep most of
@@ -101,7 +101,7 @@ the array of library names, and post it back to `main.js`:
101 101
 
102 102
 `main.js` responds to that message by fetching the tab
103 103
 corresponding to that worker using
104  
-[`worker.tab`](packages/api-utils/content/worker.html#tab), and adding
  104
+[`worker.tab`](modules/sdk/content/worker.html#tab), and adding
105 105
 the array of library names to that tab's `libraries` property:
106 106
 
107 107
     pageMod.PageMod({
@@ -134,11 +134,11 @@ a page contains more than one iframe, and those iframes use the same library.
134 134
 
135 135
 #### Showing the Library Array ####
136 136
 
137  
-The [`widget`](packages/addon-kit/widget.html) module is a natural fit
  137
+The [`widget`](modules/sdk/widget.html) module is a natural fit
138 138
 for displaying the library list. We'll specify its content using HTML, so we
139 139
 can display an array of icons. The widget must be able to display different
140 140
 content for different windows, so we'll use the
141  
-[`WidgetView`](packages/addon-kit/widget.html) object.
  141
+[`WidgetView`](modules/sdk/widget.html) object.
142 142
 
143 143
 `main.js` will create an array of icons corresponding to the array of library
144 144
 names, and use that to build the widget's HTML content dynamically:
@@ -163,7 +163,7 @@ names, and use that to build the widget's HTML content dynamically:
163 163
     }
164 164
 
165 165
 `main.js` will
166  
-use the [`tabs`](packages/addon-kit/tabs.html) module to update the
  166
+use the [`tabs`](modules/sdk/tabs.html) module to update the
167 167
 widget's content when necessary (for example, when the user switches between
168 168
 tabs):
169 169
 
2  doc/dev-guide-source/guides/module-search.md
Source Rendered
@@ -21,7 +21,7 @@ The module-search logic needs to provide features like:
21 21
 * support for "packages": groups of related modules that are bundled together
22 22
   for easy distribution
23 23
 * easy and concise use of "stdlib" modules like `panel` and `page-mod` in
24  
-  `packages/addon-kit/lib`, perhaps searching multiple packages for a module
  24
+  `FIXMElib`, perhaps searching multiple packages for a module
25 25
   with the right name
26 26
 * "absolute" imports: minimize searching (and ambiguity) by specifying
27 27
   exactly which package contains the module of interest
2  doc/dev-guide-source/guides/program-id.md
Source Rendered
@@ -11,7 +11,7 @@ add-on for distribution using `cfx xpi`, it will become the
11 11
 The ID is used for a variety
12 12
 of purposes. For example: [addons.mozilla.org](http://addons.mozilla.org) uses
13 13
 it to distinguish between new add-ons and updates to existing add-ons, and the
14  
-[`simple-storage`](packages/addon-kit/simple-storage.html) module uses it
  14
+[`simple-storage`](modules/sdk/simple-storage.html) module uses it
15 15
 to figure out which stored data belongs to which add-on.
16 16
 
17 17
 It is read from the `id` key in your add-on's [`package.json`](dev-guide/package-spec.html) file.
20  doc/dev-guide-source/guides/xul-migration.md
Source Rendered
@@ -81,7 +81,7 @@ registers a listener function for messages from the content script
81 81
 * the content script (3) extracts the data from the page and (4) sends
82 82
 it to the main add-on code in a message
83 83
 * the main add-on code (5) receives the message and (6) sends the request,
84  
-using the SDK's [`request`](packages/addon-kit/request.html) API
  84
+using the SDK's [`request`](modules/sdk/request.html) API
85 85
 
86 86
 <img class="image-center" src="static-files/media/xul-migration-cs.png"
87 87
 alt="Content script organization">
@@ -101,7 +101,7 @@ There's much more information on content scripts in the
101 101
 The SDK provides a set of high level APIs providing some basic user
102 102
 interface components and functionality commonly required by add-ons.
103 103
 These are collected together in the
104  
-[`addon-kit`](packages/addon-kit/index.html)
  104
+[`addon-kit`]FIXME
105 105
 package. Because we expect to keep these APIs compatible as new versions
106 106
 of Firefox are released, we call them the "supported" APIs.
107 107
 
@@ -111,8 +111,8 @@ If the supported APIs do what you need, they're the best option: you get the
111 111
 benefits of compatibility across Firefox releases and of the SDK's security
112 112
 model.
113 113
 
114  
-APIs like [`widget`](packages/addon-kit/widget.html) and
115  
-[`panel`](packages/addon-kit/panel.html) are very generic and with the
  114
+APIs like [`widget`](modules/sdk/widget.html) and
  115
+[`panel`](modules/sdk/panel.html) are very generic and with the
116 116
 right content can be used to replace many specific XUL elements. But there are
117 117
 some notable limitations in the SDK APIs and even a fairly simple UI may need
118 118
 some degree of redesign to work with them.
@@ -166,8 +166,8 @@ continue to work as new versions of Firefox are released.
166 166
 
167 167
 In addition to the High-Level APIs, the SDK includes a number of
168 168
 Low-Level APIs some of which, such
169  
-as [`tab-browser`](packages/api-utils/tab-browser.html), [`xhr`](packages/api-utils/xhr.html), and
170  
-[`window-utils`](packages/api-utils/window-utils.html), expose powerful
  169
+as [`tab-browser`](modules/sdk/deprecated/tab-browser.html), [`xhr`](modules/sdk/net/xhr.html), and
  170
+[`window-utils`](modules/sdk/deprecated/window-utils.html), expose powerful
171 171
 browser capabilities.
172 172
 
173 173
 In this section we'll use low-level modules how to:
@@ -178,7 +178,7 @@ object
178 178
 
179 179
 ### <a name="browser-chrome">Modifying the Browser Chrome</a> ###
180 180
 
181  
-The [`window-utils`](packages/api-utils/window-utils.html) module gives
  181
+The [`window-utils`](modules/sdk/deprecated/window-utils.html) module gives
182 182
 you direct access to chrome windows, including the browser's chrome window.
183 183
 Here's a really simple example add-on that modifies the browser chrome using
184 184
 `window-utils`:
@@ -206,7 +206,7 @@ collection of [third party modules](https://wiki.mozilla.org/Jetpack/Modules).
206 206
 ### <a name="accessing-tabbrowser">Accessing <a href="https://developer.mozilla.org/en/XUL/tabbrowser">tabbrowser</a> ###
207 207
 
208 208
 
209  
-The [`tab-browser`](packages/api-utils/tab-browser.html) module gives
  209
+The [`tab-browser`](modules/sdk/deprecated/tab-browser.html) module gives
210 210
 you direct access to the
211 211
 [tabbrowser](https://developer.mozilla.org/en/XUL/tabbrowser) object. This
212 212
 simple example modifies the selected tab's CSS to enable the user to highlight
@@ -241,9 +241,9 @@ APIs it explicitly imports via `require()`. This is useful, because it means
241 241
 that if a malicious web page is able to inject code into your add-on's
242 242
 context, it is only able to use the APIs you have imported. For example, if
243 243
 you have only imported the
244  
-[`notifications`](packages/addon-kit/notifications.html) module, then
  244
+[`notifications`](modules/sdk/notifications.html) module, then
245 245
 even if a malicious web page manages to inject code into your add-on, it
246  
-can't use the SDK's [`file`](packages/api-utils/file.html) module to
  246
+can't use the SDK's [`file`](modules/sdk/io/file.html) module to
247 247
 access the user's data.
248 248
 
249 249
 But this means that the more powerful modules you `require()`, the greater
4  doc/dev-guide-source/index.md
Source Rendered
@@ -131,9 +131,9 @@ Learn about common development techniques, such as
131 131
     <td>
132 132
       <h4>API reference</h4>
133 133
       Reference documentation for the high-level SDK APIs found in the
134  
-      <a href="packages/addon-kit/index.html">addon-kit</a>
  134
+      FIXME
135 135
       package, and the low-level APIs found in the
136  
-      <a href="packages/api-utils/index.html">api-utils</a> package.
  136
+      FIXME.
137 137
     </td>
138 138
 
139 139
     <td>
22  doc/dev-guide-source/low-level-apis.md
Source Rendered
@@ -8,27 +8,27 @@ Modules in this section implement low-level APIs. These
8 8
 modules fall roughly into three categories:
9 9
 
10 10
 * fundamental utilities such as
11  
-[collection](packages/api-utils/collection.html) and
12  
-[url](packages/api-utils/url.html). Many add-ons are likely to
  11
+[collection](modules/sdk/platform/xpcom.html) and
  12
+[url](modules/sdk/url.html). Many add-ons are likely to
13 13
 want to use modules from this category.
14 14
 
15 15
 * building blocks for higher level modules, such as
16  
-[events](packages/api-utils/events.html),
17  
-[worker](packages/api-utils/content/worker.html), and
18  
-[api-utils](packages/api-utils/api-utils.html). You're more
  16
+[events](modules/sdk/deprecated/events.html),
  17
+[worker](modules/sdk/content/worker.html), and
  18
+[api-utils](modules/sdk/deprecated/api-utils.html). You're more
19 19
 likely to use these if you are building your own modules that
20 20
 implement new APIs, thus extending the SDK itself.
21 21
 
22 22
 * privileged modules that expose powerful low-level capabilities
23  
-such as [tab-browser](packages/api-utils/tab-browser.html),
24  
-[xhr](packages/api-utils/xhr.html), and
25  
-[xpcom](packages/api-utils/xpcom.html). You can use these
  23
+such as [tab-browser](modules/sdk/deprecated/tab-browser.html),
  24
+[xhr](modules/sdk/net/xhr.html), and
  25
+[xpcom](modules/sdk/platform/xpcom.html). You can use these
26 26
 modules in your add-on if you need to, but should be aware that
27 27
 the cost of privileged access is the need to take more elaborate
28 28
 security precautions. In many cases these modules have simpler,
29 29
 more restricted analogs among the "High-Level APIs" (for
30  
-example, [tabs](packages/addon-kit/tabs.html) or
31  
-[request](packages/addon-kit/request.html)).
  30
+example, [tabs](modules/sdk/tabs.html) or
  31
+[request](modules/sdk/request.html)).
32 32
 
33 33
 These modules are still in active development, and we expect to
34  
-make incompatible changes to them in future releases.
  34
+make incompatible changes to them in future releases.
4  doc/dev-guide-source/package-spec.md
Source Rendered
@@ -56,7 +56,7 @@ called `package.json`. This file is also referred to as the
56 56
   An array of JSON objects that use the following keys `name`, `type`, `value`,
57 57
   `title`, and `description`.  These JSON objects will be used to automatically
58 58
   create a preferences interface for the addon in the Add-ons Manager.
59  
-  For more information see the documentation of [simple-prefs](packages/addon-kit/simple-prefs.html).
  59
+  For more information see the documentation of [simple-prefs](modules/sdk/simple-prefs.html).
60 60
 
61 61
 * `license` - the name of the license as a String, with an optional
62 62
   URL in parentheses.
@@ -113,7 +113,7 @@ API documentation.
113 113
 Packages may optionally contain a directory called `data` into which
114 114
 arbitrary files may be placed, such as images or text files. The
115 115
 URL for these resources may be reached using the
116  
-[self](packages/addon-kit/self.html) module.
  116
+[self](modules/sdk/self.html) module.
117 117
 
118 118
   [Markdown]: http://daringfireball.net/projects/markdown/
119 119
   [non-bootstrapped XUL extension]: #guide/xul-extensions
4  doc/dev-guide-source/tutorials/add-a-context-menu-item.md
Source Rendered
@@ -12,7 +12,7 @@ and learned the
12 12
 </span>
13 13
 
14 14
 To add items and submenus to the Firefox context menu, use the
15  
-[`context-menu`](packages/addon-kit/context-menu.html) module.
  15
+[`context-menu`](modules/sdk/context-menu.html) module.
16 16
 
17 17
 Here's an add-on that adds a new context menu item. The item is
18 18
 displayed whenever something in the page is selected. When it's
@@ -86,4 +86,4 @@ is passed the selected text, which it logs
86 86
 ## Learning More ##
87 87
 
88 88
 To learn more about the `context-menu` module, see the
89  
-[`context-menu` API reference](packages/addon-kit/context-menu.html).
  89
+[`context-menu` API reference](modules/sdk/context-menu.html).
6  doc/dev-guide-source/tutorials/adding-menus.md
Source Rendered
@@ -30,8 +30,8 @@ Third-party packages like `menuitems` can be installed in three
30 30
 different places:
31 31
 
32 32
 * in the `packages` directory under the SDK root, alongside built-in
33  
-packages like [`addon-kit`](packages/addon-kit/index.html) and
34  
-[`api-utils`](packages/api-utils/index.html). If you do this the package is
  33
+packages like [`addon-kit`]FIXME and
  34
+[`api-utils`]FIXME. If you do this the package is
35 35
 available to any other add-ons you're developing using that SDK instance,
36 36
 and the package's documentation is visible through `cfx docs`.
37 37
 * in a `packages` directory you create under your add-on's root: if you
@@ -109,7 +109,7 @@ In your add-on's `package.json` add the line:
109 109
 Note that due to
110 110
 [bug 663480](https://bugzilla.mozilla.org/show_bug.cgi?id=663480), if you
111 111
 add a `dependencies` line to `package.json`, and you use any modules from
112  
-built-in packages like [`addon-kit`](packages/addon-kit/index.html), then
  112
+built-in packages like [`addon-kit`]FIXME, then
113 113
 you must also declare your dependency on that built-in package, like this:
114 114
 
115 115
 <pre>
4  doc/dev-guide-source/tutorials/adding-toolbar-button.md
Source Rendered
@@ -12,7 +12,7 @@ and learned the
12 12
 </span>
13 13
 
14 14
 To add a button to the toolbar, use the
15  
-[`widget`](packages/addon-kit/widget.html) module.
  15
+[`widget`](modules/sdk/widget.html) module.
16 16
 
17 17
 Create a new directory, navigate to it, and execute `cfx init`.
18 18
 Then open the file called "main.js" in the "lib" directory and
@@ -164,7 +164,7 @@ To learn more about working with panels, see the tutorial on
164 164
 ## Learning More ##
165 165
 
166 166
 To learn more about the widget module, see its
167  
-[API reference documentation](packages/addon-kit/widget.html).
  167
+[API reference documentation](modules/sdk/widget.html).
168 168
 
169 169
 To learn more about content scripts, see the
170 170
 [content scripts guide](dev-guide/guides/content-scripts/index.html).
4  doc/dev-guide-source/tutorials/annotator/creating.md
Source Rendered
@@ -119,11 +119,11 @@ version you downloaded.
119 119
 The page-mod matches all pages, so each time the user loads a page the page-mod
120 120
 emits the `attach` event, which will call the listener function we've assigned
121 121
 to `onAttach`. The handler is passed a
122  
-[worker](packages/api-utils/content/worker.html) object. Each worker
  122
+[worker](modules/sdk/content/worker.html) object. Each worker
123 123
 represents a channel of communication between the add-on code and any content
124 124
 scripts running in that particular page context. For a more detailed discussion
125 125
 of the way `page-mod` uses workers, see the
126  
-[page-mod documentation](packages/addon-kit/page-mod.html).
  126
+[page-mod documentation](modules/sdk/page-mod.html).
127 127
 
128 128
 In the attach handler we do three things:
129 129
 
2  doc/dev-guide-source/tutorials/annotator/storing.md
Source Rendered
@@ -5,7 +5,7 @@
5 5
 # Storing Annotations #
6 6
 
7 7
 Now we are able to create annotations, let's store them using the
8  
-[`simple-storage`](packages/addon-kit/simple-storage.html) module. In
  8
+[`simple-storage`](modules/sdk/simple-storage.html) module. In
9 9
 this chapter we will cover three topics relating to persistent storage:
10 10
 
11 11
 * using `simple-storage` to persist objects
6  doc/dev-guide-source/tutorials/display-a-popup.md
Source Rendered
@@ -12,7 +12,7 @@ and learned the
12 12
 </span>
13 13
 
14 14
 To display a popup dialog, use the
15  
-[`panel`](packages/addon-kit/panel.html) module. A panel's content is
  15
+[`panel`](modules/sdk/panel.html) module. A panel's content is
16 16
 defined using HTML. You can run content scripts in the panel: although the
17 17
 script running in the panel can't directly access your main add-on code,
18 18
 you can exchange messages between the panel script and the add-on code.
@@ -145,7 +145,7 @@ in the console.
145 145
 ## Learning More ##
146 146
 
147 147
 To learn more about the `panel` module, see the
148  
-[`panel` API reference](packages/addon-kit/panel.html).
  148
+[`panel` API reference](modules/sdk/panel.html).
149 149
 
150 150
 To learn more about attaching panels to widgets, see the
151  
-[`widget` API reference](packages/addon-kit/widget.html).
  151
+[`widget` API reference](modules/sdk/widget.html).
18  doc/dev-guide-source/tutorials/event-targets.md
Source Rendered
@@ -10,8 +10,8 @@ incompatible changes to them in future releases.</span>
10 10
 
11 11
 The [guide to event-driven programming with the SDK](dev-guide/guides/events.html)
12 12
 describes how to consume events: that is, how to listen to events generated
13  
-by event targets. For example, you can listen to [`private-browsing`'s `start` event](packages/addon-kit/private-browsing.html#start) or the
14  
-[`Panel` object's `show` event](packages/addon-kit/panel.html#show).
  13
+by event targets. For example, you can listen to [`private-browsing`'s `start` event](modules/sdk/private-browsing.html#start) or the
  14
+[`Panel` object's `show` event](modules/sdk/panel.html#show).
15 15
 
16 16
 With the SDK, it's also simple to implement your own event targets.
17 17
 This is especially useful if you want to
@@ -65,7 +65,7 @@ the output in the console.
65 65
 We can adapt this code into a separate module that exposes the SDK's
66 66
 standard event interface.
67 67
 
68  
-To do this we'll use the [`event/core`](packages/api-utils/event/core.html)
  68
+To do this we'll use the [`event/core`](modules/sdk/event/core.html)
69 69
 module.
70 70
 
71 71
 Create a new file in "lib" called "bookmarks.js", and add the following code:
@@ -113,7 +113,7 @@ function is implemented by calling the underlying `off()` function.
113 113
 
114 114
 We can use this module in the same way we use any other module that emits
115 115
 module-level events, such as
116  
-[`private-browsing`](packages/addon-kit/private-browsing.html). For example,
  116
+[`private-browsing`](modules/sdk/private-browsing.html). For example,
117 117
 we can adapt "main.js" as follows:
118 118
 
119 119
     var bookmarks = require("./bookmarks");
@@ -142,7 +142,7 @@ Sometimes we want to emit events at the level of individual objects,
142 142
 rather than at the level of the module.
143 143
 
144 144
 To do this, we can inherit from the SDK's
145  
-[`EventTarget`](packages/api-utils/event/target.html) class. `EventTarget`
  145
+[`EventTarget`](modules/sdk/event/target.html) class. `EventTarget`
146 146
 provides an implementation of the functions needed to add and remove
147 147
 event listeners: `on()`, `once()`, and `removeListener()`.
148 148
 
@@ -188,13 +188,13 @@ Open "bookmarks.js" and replace its contents with this code:
188 188
 The code to interact with the Places API is the same here. However:
189 189
 
190 190
 * we're now importing from four modules:
191  
-    * [`event/core`](packages/api-utils/event/core.html) gives us
  191
+    * [`event/core`](modules/sdk/event/core.html) gives us
192 192
 `emit()`: note that we don't need `on`, `once`, or `off`,
193 193
 since we will use `EventTarget` for adding and removing listeners
194  
-    * [`event/target`](packages/api-utils/event/target.html) gives us
  194
+    * [`event/target`](modules/sdk/event/target.html) gives us
195 195
 `EventTarget`, which implements the interface for adding and removing
196 196
 listeners
197  
-    * [`heritage`](packages/api-utils/heritage.html) gives us
  197
+    * [`heritage`](modules/sdk/core/heritage.html) gives us
198 198
 `Class()`, which we can use to inherit from `EventTarget`
199 199
     * `utils/object` gives us `merge()`, which just simplifies setting up the
200 200
 `BookmarkManager`'s properties
@@ -236,7 +236,7 @@ To use this event target we can create it and call the `on()`, `once()`, and
236 236
 Finally, most event targets accept options of the form "onEvent", where
237 237
 "Event" is the capitalized form of the event type. For example, you
238 238
 can listen to the
239  
-[`Panel` object's `show` event](packages/addon-kit/panel.html#show)
  239
+[`Panel` object's `show` event](modules/sdk/panel.html#show)
240 240
 either by calling:
241 241
 
242 242
     myPanel.on("show", listenerFunction);
4  doc/dev-guide-source/tutorials/getting-started-with-cfx.md
Source Rendered
@@ -101,9 +101,9 @@ logo. Click the icon, and a new tab will open with
101 101
 [http://www.mozilla.org/](http://www.mozilla.org/) loaded into it.
102 102
 
103 103
 This add-on uses two SDK modules: the
104  
-[`widget`](packages/addon-kit/widget.html) module, which enables you
  104
+[`widget`](modules/sdk/widget.html) module, which enables you
105 105
 to add buttons to the browser, and the
106  
-[`tabs`](packages/addon-kit/tabs.html) module, which enables you to
  106
+[`tabs`](modules/sdk/tabs.html) module, which enables you to
107 107
 perform basic operations with tabs. In this case, we've created a widget
108 108
 whose icon is the Mozilla favicon, and added a click handler that loads
109 109
 the Mozilla home page in a new tab.
6  doc/dev-guide-source/tutorials/index.md
Source Rendered
@@ -93,12 +93,12 @@ on the left for the full list of APIs.
93 93
     <td>
94 94
       <h4><a href="dev-guide/tutorials/open-a-web-page.html">Open a web page</a></h4>
95 95
       Open a web page in a new browser tab or window using the
96  
-      <code><a href="packages/addon-kit/tabs.html">tabs</a></code> module, and access its content.
  96
+      <code><a href="modules/sdk/tabs.html">tabs</a></code> module, and access its content.
97 97
     </td>
98 98
 
99 99
     <td>
100 100
       <h4><a href="dev-guide/tutorials/list-open-tabs.html">Get the list of open tabs</a></h4>
101  
-      Use the <code><a href="packages/addon-kit/tabs.html">tabs</a></code>
  101
+      Use the <code><a href="modules/sdk/tabs.html">tabs</a></code>
102 102
       module to iterate through the currently open tabs, and access their content.
103 103
     </td>
104 104
 
@@ -107,7 +107,7 @@ on the left for the full list of APIs.
107 107
   <tr>
108 108
     <td>
109 109
       <h4><a href="dev-guide/tutorials/listen-for-page-load.html">Listen for page load</a></h4>
110  
-      Use the <code><a href="packages/addon-kit/tabs.html">tabs</a></code>
  110
+      Use the <code><a href="modules/sdk/tabs.html">tabs</a></code>
111 111
       module to get notified when new web pages are loaded, and access their content.
112 112
     </td>
113 113
 
2  doc/dev-guide-source/tutorials/l10n.md
Source Rendered
@@ -307,7 +307,7 @@ info: London is Bob's home town.
307 307
 ## Using Localized Strings in Preferences ##
308 308
 
309 309
 By including a
310  
-[`"preferences"` structure in your add-on's "package.json" file](packages/addon-kit/simple-prefs.html ), you can define
  310
+[`"preferences"` structure in your add-on's "package.json" file](modules/sdk/simple-prefs.html ), you can define
311 311
 preferences for your add-on that the user can see and edit
312 312
 using Firefox's
313 313
 [Add-ons Manager](https://support.mozilla.org/en-US/kb/Using%20extensions%20with%20Firefox#w_how-to-change-extension-settings).
6  doc/dev-guide-source/tutorials/list-open-tabs.md
Source Rendered
@@ -12,10 +12,10 @@ and learned the
12 12
 </span>
13 13
 
14 14
 To list the open tabs, you can iterate over the
15  
-[`tabs`](packages/addon-kit/tabs.html) object itself.
  15
+[`tabs`](modules/sdk/tabs.html) object itself.
16 16
 
17 17
 The following add-on adds a
18  
-[`widget`](packages/addon-kit/widget.html) that logs
  18
+[`widget`](modules/sdk/widget.html) that logs
19 19
 the URLs of open tabs when the user clicks it:
20 20
 
21 21
     var widget = require("widget").Widget({
@@ -67,7 +67,7 @@ tabs. The script adds a red border to the tab's document:
67 67
 ## Learning More ##
68 68
 
69 69
 To learn more about working with tabs in the SDK, see the
70  
-[`tabs` API reference](packages/addon-kit/tabs.html).
  70
+[`tabs` API reference](modules/sdk/tabs.html).
71 71
 
72 72
 To learn more about running scripts in tabs, see the
73 73
 [tutorial on using `tab.attach()`](dev-guide/tutorials/modifying-web-pages-tab.html).
4  doc/dev-guide-source/tutorials/listen-for-page-load.md
Source Rendered
@@ -12,7 +12,7 @@ and learned the
12 12
 </span>
13 13
 
14 14
 You can get notifications about new pages loading using the
15  
-[`tabs`](packages/addon-kit/tabs.html) module. The following add-on
  15
+[`tabs`](modules/sdk/tabs.html) module. The following add-on
16 16
 listens to the tab's built-in `ready` event and just logs the URL of each
17 17
 tab as the user loads it:
18 18
 
@@ -48,7 +48,7 @@ and specify "*" as the match-pattern.)
48 48
 ## Learning More ##
49 49
 
50 50
 To learn more about working with tabs in the SDK, see the
51  
-[`tabs` API reference](packages/addon-kit/tabs.html). You can listen
  51
+[`tabs` API reference](modules/sdk/tabs.html). You can listen
52 52
 for a number of other tab events, including `open`, `close`, and `activate`.
53 53
 
54 54
 To learn more about running scripts in tabs, see the
19  doc/dev-guide-source/tutorials/mobile.md
Source Rendered
@@ -28,16 +28,15 @@ and `cfx xpi` when targeting Firefox Mobile.
28 28
 
29 29
 Right now only the following modules are fully functional:
30 30
 
31  
-* [addon-page](packages/addon-kit/addon-page.html)
32  
-* [page-mod](packages/addon-kit/page-mod.html)
33  
-* [page-worker](packages/addon-kit/page-worker.html)
34  
-* [passwords](packages/addon-kit/passwords.html)
35  
-* [private-browsing](packages/addon-kit/private-browsing.html)
36  
-* [request](packages/addon-kit/request.html)
37  
-* [self](packages/addon-kit/self.html)
38  
-* [simple-prefs](packages/addon-kit/simple-prefs.html)
39  
-* [simple-storage](packages/addon-kit/simple-storage.html)
40  
-* [timers](packages/addon-kit/timers.html)
  31
+* [page-mod](modules/sdk/page-mod.html)
  32
+* [page-worker](modules/sdk/page-worker.html)
  33
+* [passwords](modules/sdk/passwords.html)
  34
+* [private-browsing](modules/sdk/private-browsing.html)
  35
+* [request](modules/sdk/request.html)
  36
+* [self](modules/sdk/self.html)
  37
+* [simple-prefs](modules/sdk/simple-prefs.html)
  38
+* [simple-storage](modules/sdk/simple-storage.html)
  39
+* [timers](modules/sdk/timers.html)
41 40
 
42 41
 We're working on adding support for the other modules.
43 42
 
4  doc/dev-guide-source/tutorials/modifying-web-pages-tab.md
Source Rendered
@@ -13,7 +13,7 @@ and learned the
13 13
 
14 14
 To modify the page hosted by a particular tab, load a script into it
15 15
 using the `attach()` method of the
16  
-[tab](packages/addon-kit/tabs.html) object. Because their job is
  16
+[tab](modules/sdk/tabs.html) object. Because their job is
17 17
 to interact with web content, these scripts are called *content scripts*.
18 18
 
19 19
 Here's a simple example:
@@ -147,7 +147,7 @@ To learn more about working with tabs in the SDK, see the
147 147
 [Open a Web Page](dev-guide/tutorials/open-a-web-page.html)
148 148
 tutorial, the
149 149
 [List Open Tabs](dev-guide/tutorials/list-open-tabs.html)
150  
-tutorial, and the [`tabs` API reference](packages/addon-kit/tabs.html).
  150
+tutorial, and the [`tabs` API reference](modules/sdk/tabs.html).
151 151
 
152 152
 To learn more about content scripts, see the
153 153
 [content scripts guide](dev-guide/guides/content-scripts/index.html).
8  doc/dev-guide-source/tutorials/modifying-web-pages-url.md
Source Rendered
@@ -13,7 +13,7 @@ and learned the
13 13
 
14 14
 To modify any pages that match a particular pattern
15 15
 (for example, "http://example.org/") as they are loaded, use the
16  
-[`page-mod`](packages/addon-kit/page-mod.html) module.
  16
+[`page-mod`](modules/sdk/page-mod.html) module.
17 17
 
18 18
 To create a page-mod you need to specify two things:
19 19
 
@@ -52,7 +52,7 @@ alt="ietf.org eaten by page-mod" />
52 52
 ## Specifying the Match Pattern ##
53 53
 
54 54
 The match pattern uses the
55  
-[`match-pattern`](packages/api-utils/match-pattern.html)
  55
+[`match-pattern`](modules/sdk/page-mod/match-pattern.html)
56 56
 syntax. You can pass a single match-pattern string, or an array.
57 57
 
58 58
 ## Keeping the Content Script in a Separate File ##
@@ -214,14 +214,14 @@ You can't currently use relative URLs in style sheets loaded with
214 214
 by the relative URLs will not be found.
215 215
 
216 216
 To learn more about this, and read about a workaround, see the
217  
-[relevant section in the page-mod API documentation](packages/addon-kit/page-mod.html#Working_with_Relative_URLs_in_CSS_Rules).
  217
+[relevant section in the page-mod API documentation](modules/sdk/page-mod.html#Working_with_Relative_URLs_in_CSS_Rules).
218 218
 
219 219
 </div>
220 220
 
221 221
 ## Learning More ##
222 222
 
223 223
 To learn more about `page-mod`, see its
224  
-[API reference page](packages/addon-kit/page-mod.html).
  224
+[API reference page](modules/sdk/page-mod.html).
225 225
 In particular, the `PageMod` constructor takes several additional options
226 226
 to control its behavior:
227 227
 
6  doc/dev-guide-source/tutorials/open-a-web-page.md
Source Rendered
@@ -12,13 +12,13 @@ and learned the
12 12
 </span>
13 13
 
14 14
 To open a new web page, you can use the
15  
-[`tabs`](packages/addon-kit/tabs.html) module:
  15
+[`tabs`](modules/sdk/tabs.html) module:
16 16
 
17 17
     var tabs = require("tabs");
18 18
     tabs.open("http://www.example.com");
19 19
 
20 20
 This function is asynchronous, so you don't immediately get back a
21  
-[`tab` object](packages/addon-kit/tabs.html#Tab) which you can examine.
  21
+[`tab` object](modules/sdk/tabs.html#Tab) which you can examine.
22 22
 To do this, pass a callback function into `open()`. The callback is assigned
23 23
 to the `onReady` property, and will be passed the tab as an argument:
24 24
 
@@ -51,7 +51,7 @@ the page which adds a red border to it:
51 51
 ## Learning More ##
52 52
 
53 53
 To learn more about working with tabs in the SDK, see the
54  
-[`tabs` API reference](packages/addon-kit/tabs.html).
  54
+[`tabs` API reference](modules/sdk/tabs.html).