diff options
author | grizzlyuser <grizzlyuser@protonmail.com> | 2020-06-03 23:01:27 +0300 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-06-25 07:19:05 -0400 |
commit | ca3d7e7c052ec4de1671a2c2c3f484d10fc5aae6 (patch) | |
tree | 3dc3d5e5bf5ea2b6ff344182cd0af153f402fe70 | |
parent | 356ef67a1aafd7f94a617522f26d37ead675884b (diff) | |
download | abslibre-ca3d7e7c052ec4de1671a2c2c3f484d10fc5aae6.tar.gz abslibre-ca3d7e7c052ec4de1671a2c2c3f484d10fc5aae6.tar.bz2 abslibre-ca3d7e7c052ec4de1671a2c2c3f484d10fc5aae6.zip |
libre/iceweasel: update patching of DevTools What's New
Apart from the update according to the upstream changes, also removed
the reference to Firefox Developer Edition on Google Play because:
1. It appears to have the same freedom issues as regular Firefox;
2. Google Play webpage executes some JavaScript that's not clearly
licensed, so can be considered nonfree.
-rw-r--r-- | libre/iceweasel/libre.patch | 81 |
1 files changed, 70 insertions, 11 deletions
diff --git a/libre/iceweasel/libre.patch b/libre/iceweasel/libre.patch index 94458f7f6..136a33a46 100644 --- a/libre/iceweasel/libre.patch +++ b/libre/iceweasel/libre.patch @@ -166,19 +166,36 @@ index 2d3c7b4..00221d3 100644 -#endif </dl> diff --git a/devtools/client/whats-new/src/main.js b/devtools/client/whats-new/src/main.js -index 0b62b2e74f..1afd87d0e1 100644 +index e5c4676da6..adcc1708de 100644 --- a/devtools/client/whats-new/src/main.js +++ b/devtools/client/whats-new/src/main.js -@@ -29,7 +29,7 @@ const aside = { - }; +@@ -21,15 +21,8 @@ const utmParams = new URLSearchParams({ + utm_medium: "devtools_whatsnew", + }); +-const aside = { +- header: "Instantly Send Tabs to Mobile", +- content: `Test your site on mobile and other devices without having to copy, paste, or leave the browser.`, +- cta: "Learn More About Send Tabs", +- href: `https://play.google.com/store/apps/details?id=org.mozilla.fennec_aurora&referrer=utm_source%3Dmozilla%26utm_medium%3DReferral%26utm_campaign%3Dmozilla-org${utmParams}`, +-}; +- const release = { -- title: "What’s New in DevTools (Firefox 76)", -+ title: "What’s New in DevTools (Iceweasel 76)", +- title: "What’s New in DevTools (Firefox 77)", ++ title: "What’s New in DevTools (Iceweasel 77)", linkText: "Read more", - linkUrl: `https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/76?${utmParams}`, + linkUrl: `https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/77?${utmParams}`, features: [ -@@ -66,19 +66,6 @@ const release = { +@@ -40,7 +33,7 @@ const release = { + }, + { + header: `Source Maps that just work`, +- description: `Firefox 77 has the most fixes yet to make source maps faster and more dependable so that your original CSS and JavaScript/TypeScript/etc code is always at hand. Especially improved: build outputs which previously failed to load source maps.`, ++ description: `Iceweasel 77 has the most fixes yet to make source maps faster and more dependable so that your original CSS and JavaScript/TypeScript/etc code is always at hand. Especially improved: build outputs which previously failed to load source maps.`, + href: `https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map?${utmParams}`, + }, + { +@@ -61,19 +54,6 @@ const release = { ], }; @@ -188,9 +205,9 @@ index 0b62b2e74f..1afd87d0e1 100644 - linkText: "Get DevEdition", - features: [ - { -- header: `Full Asynchronous Stacks in Debugger`, -- description: `Step through event, timeout and promise-based function calls over time with the full-featured async stacks in Debugger.`, -- href: `https://developer.mozilla.org/en-US/docs/Tools/Debugger/UI_Tour?${utmParams}`, +- header: `Cross-browser CSS compatibility audit`, +- description: `Analyze your CSS for cross-browser compatibility with a new sidepanel in the Inspector. Let us know how well it worked for your projects via the Feedback option!`, +- href: `https://discourse.mozilla.org/t/new-in-devedition-77-css-compatibility-in-inspector/60669`, - }, - ], -}; @@ -198,7 +215,49 @@ index 0b62b2e74f..1afd87d0e1 100644 function openLink(href, e) { return openDocLink(href, { relatedToCurrent: true, -@@ -172,11 +159,6 @@ class App extends Component { +@@ -81,33 +61,6 @@ function openLink(href, e) { + }); + } + +-class Aside extends Component { +- render() { +- return dom.aside( +- {}, +- dom.div( +- { className: "call-out" }, +- dom.h3({}, aside.header), +- dom.p({}, aside.content), +- dom.p( +- { className: "cta" }, +- dom.a( +- { +- href: aside.href, +- className: "devtools-button", +- onClick: e => { +- e.preventDefault(); +- openLink(aside.href, e); +- }, +- }, +- aside.cta +- ) +- ) +- ) +- ); +- } +-} +- + class Feature extends Component { + static get propTypes() { + return { +@@ -154,7 +107,6 @@ class App extends Component { + render() { + return dom.main( + {}, +- createFactory(Aside)(), + dom.article( + {}, + dom.h2( +@@ -167,11 +119,6 @@ class App extends Component { ...release.features .filter(feature => !feature.hidden) .map(feature => createFactory(Feature)(feature)) |