Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2017 07:48:15 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r452907 - in head/www/firefox: . files
Message-ID:  <201710260748.v9Q7mFfh027091@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Oct 26 07:48:15 2017
New Revision: 452907
URL: https://svnweb.freebsd.org/changeset/ports/452907

Log:
  www/firefox: unbreak JS debugger
  
  console.error:
    Message: TypeError: KEYS[os] is undefined
    Stack:
      getKeyForOS@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/debugger/new/debugger.js:29496:4
  getKey@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/debugger/new/debugger.js:29492:11
  formatKey@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/debugger/new/debugger.js:29500:14
  renderPauseButton@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/debugger/new/debugger.js:29575:94
  render@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/debugger/new/debugger.js:29603:58
  [...]
  
  PR:		223257
  Reported by:	rodrigo
  MFH:		2017Q4

Added:
  head/www/firefox/files/patch-bug1401573   (contents, props changed)
Modified:
  head/www/firefox/Makefile   (contents, props changed)

Modified: head/www/firefox/Makefile
==============================================================================
--- head/www/firefox/Makefile	Thu Oct 26 07:28:07 2017	(r452906)
+++ head/www/firefox/Makefile	Thu Oct 26 07:48:15 2017	(r452907)
@@ -4,7 +4,7 @@
 PORTNAME=	firefox
 DISTVERSION=	56.0.2
 DISTVERSIONSUFFIX=.source
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	www ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \

Added: head/www/firefox/files/patch-bug1401573
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/firefox/files/patch-bug1401573	Thu Oct 26 07:48:15 2017	(r452907)
@@ -0,0 +1,27 @@
+commit d0ed05261f20
+Author: jason laster <jlaster@mozilla.com>
+Date:   Wed Sep 20 10:52:54 2017 -0400
+
+    Bug 1401573 - Fix PoE, Link, and linux issue. r=nchevobbe
+    
+    MozReview-Commit-ID: 35TA6bhW1Wr
+---
+ devtools/client/debugger/new/debugger.js           | 68 +++++++++++++++++-----
+ devtools/client/debugger/new/panel.js              | 27 ++++++++-
+ .../new/test/mochitest/browser_dbg-expressions.js  |  2 +-
+ 3 files changed, 79 insertions(+), 18 deletions(-)
+
+diff --git devtools/client/debugger/new/debugger.js devtools/client/debugger/new/debugger.js
+index f52a3e380ab6..c1213180cb13 100644
+--- devtools/client/debugger/new/debugger.js
++++ devtools/client/debugger/new/debugger.js
+@@ -29493,7 +29493,8 @@ return /******/ (function(modules) { // webpackBootstr
+ 	}
+ 
+ 	function getKeyForOS(os, action) {
+-	  return KEYS[os][action];
++         var osActions = KEYS[os] || KEYS.Linux;
++         return osActions[action];
+ 	}
+ 
+ 	function formatKey(action) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710260748.v9Q7mFfh027091>