Bug 969782: Fennec: "viewFor is undefined" when loading the page-mod module on Firefox 28. r=dtownsend, a=lsblakk
authorJordan Santell <jsantell@mozilla.com>
Mon, 03 Mar 2014 10:03:54 -0800
changeset 176419 689b8b011263c9d9864c5ebdff3594c152cdc2a6
parent 176418 d50fcbb2ad06b545001ea2c6d14bc80d587fe0c9
child 176420 da5745cc5980c8f8ecc2eeedf318c383cfb4d2de
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdtownsend, lsblakk
bugs969782
milestone28.0
Bug 969782: Fennec: "viewFor is undefined" when loading the page-mod module on Firefox 28. r=dtownsend, a=lsblakk
addon-sdk/source/lib/sdk/tabs/tab-fennec.js
--- a/addon-sdk/source/lib/sdk/tabs/tab-fennec.js
+++ b/addon-sdk/source/lib/sdk/tabs/tab-fennec.js
@@ -5,20 +5,20 @@
 
 const { Cc, Ci } = require('chrome');
 const { Class } = require('../core/heritage');
 const { tabNS, rawTabNS } = require('./namespace');
 const { EventTarget } = require('../event/target');
 const { activateTab, getTabTitle, setTabTitle, closeTab, getTabURL, getTabContentWindow,
         getTabForBrowser,
         setTabURL, getOwnerWindow, getTabContentType, getTabId } = require('./utils');
-const { emit } = require('../view/core');
+const { emit } = require('../event/core');
 const { getOwnerWindow: getPBOwnerWindow } = require('../private-browsing/window/utils');
 const { when: unload } = require('../system/unload');
-const { viewFor } = require('../event/core');
+const { viewFor } = require('../view/core');
 const { EVENTS } = require('./events');
 
 const ERR_FENNEC_MSG = 'This method is not yet supported by Fennec';
 
 const Tab = Class({
   extends: EventTarget,
   initialize: function initialize(options) {
     options = options.tab ? options : { tab: options };