diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-10-26 15:48:15 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2018-02-04 05:49:18 +0800 |
commit | d287349a5a26e31ca467ceeef0fe73321d4360d7 (patch) | |
tree | 5a37dc4d0fec6ea9768a10a15043c02f7871a2ab /www | |
parent | 5de19e4085941d793728cef5c20d866497735095 (diff) | |
download | freebsd-ports-gnome-d287349a5a26e31ca467ceeef0fe73321d4360d7.tar.gz freebsd-ports-gnome-d287349a5a26e31ca467ceeef0fe73321d4360d7.tar.zst freebsd-ports-gnome-d287349a5a26e31ca467ceeef0fe73321d4360d7.zip |
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
Diffstat (limited to 'www')
-rw-r--r-- | www/firefox/Makefile | 2 | ||||
-rw-r--r-- | www/firefox/files/patch-bug1401573 | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile index db5a5fe75bd4..a7f03d147281 100644 --- a/www/firefox/Makefile +++ b/www/firefox/Makefile @@ -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 \ diff --git a/www/firefox/files/patch-bug1401573 b/www/firefox/files/patch-bug1401573 new file mode 100644 index 000000000000..22fc6f569a59 --- /dev/null +++ b/www/firefox/files/patch-bug1401573 @@ -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) { |