[arch-commits] Commit in chromium/trunk (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Jan 11 01:24:33 UTC 2018


    Date: Thursday, January 11, 2018 @ 01:24:25
  Author: foutrelis
Revision: 314337

upgpkg: chromium 63.0.3239.132-3

Disable SharedArrayBuffer by default (FS#57039).

Added:
  chromium/trunk/chromium-disable-SharedArrayBuffer-by-default.patch
Modified:
  chromium/trunk/PKGBUILD

-----------------------------------------------------+
 PKGBUILD                                            |    7 +++
 chromium-disable-SharedArrayBuffer-by-default.patch |   35 ++++++++++++++++++
 2 files changed, 41 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-10 23:05:32 UTC (rev 314336)
+++ PKGBUILD	2018-01-11 01:24:25 UTC (rev 314337)
@@ -6,7 +6,7 @@
 
 pkgname=chromium
 pkgver=63.0.3239.132
-pkgrel=2
+pkgrel=3
 _launcher_ver=5
 pkgdesc="A web browser built for speed, simplicity, and security"
 arch=('x86_64')
@@ -26,6 +26,7 @@
         chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz
         chromium-$pkgver.txt::https://chromium.googlesource.com/chromium/src.git/+/$pkgver?format=TEXT
         chromium-omnibox-unescape-fragment.patch
+        chromium-disable-SharedArrayBuffer-by-default.patch
         chromium-skia-harmony.patch
         chromium-clang-r1.patch
         chromium-webrtc-r0.patch
@@ -35,6 +36,7 @@
             '4dc3428f2c927955d9ae117f2fb24d098cc6dd67adb760ac9c82b522ec8b0587'
             'ab330f30c14ea3b5e77976d674304b91cfb02251fe8771cecb0bb4092c7f6b74'
             '814eb2cecb10cb697e24036b08aac41e88d0e38971741f9e946200764e2401ae'
+            '1e040caa43ba34c627fe3750fb44c781a74298d010ef40657ab8deb4780db70b'
             'feca54ab09ac0fc9d0626770a6b899a6ac5a12173c7d0c1005bc3964ec83e7b3'
             'ab5368a3e3a67fa63b33fefc6788ad5b4a79089ef4db1011a14c3bee9fdf70c6'
             'bcb2f4588cf5dcf75cde855c7431e94fdcc34bdd68b876a90f65ab9938594562'
@@ -101,6 +103,9 @@
   # https://crbug.com/789163
   patch -Np1 -i ../chromium-omnibox-unescape-fragment.patch
 
+  # https://crbug.com/798864
+  patch -Np1 -i ../chromium-disable-SharedArrayBuffer-by-default.patch
+
   # https://crbug.com/skia/6663#c10
   patch -Np4 -i ../chromium-skia-harmony.patch
 

Added: chromium-disable-SharedArrayBuffer-by-default.patch
===================================================================
--- chromium-disable-SharedArrayBuffer-by-default.patch	                        (rev 0)
+++ chromium-disable-SharedArrayBuffer-by-default.patch	2018-01-11 01:24:25 UTC (rev 314337)
@@ -0,0 +1,35 @@
+From a354b4ecf2434f2f6460b33031aeaf646edf5e64 Mon Sep 17 00:00:00 2001
+From: Brad Nelson <bradnelson at chromium.org>
+Date: Thu, 4 Jan 2018 00:36:18 -0800
+Subject: [PATCH] Disable SharedArrayBuffer by default.
+
+BUG=chromium:798864
+R=jschuh at chromium.org,binji at chromium.org
+
+Change-Id: I5ebfae41a4b4c7e89faf071e6d009ea3d9ca30d4
+Reviewed-on: https://chromium-review.googlesource.com/849429
+Reviewed-by: Ben Smith <binji at chromium.org>
+Reviewed-by: Justin Schuh <jschuh at chromium.org>
+Reviewed-by: Darin Fisher <darin at chromium.org>
+Commit-Queue: Brad Nelson <bradnelson at chromium.org>
+Cr-Commit-Position: refs/heads/master@{#527460}
+---
+ content/public/common/content_features.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
+index 847a1af6db7b..9075bd853d0f 100644
+--- a/content/public/common/content_features.cc
++++ b/content/public/common/content_features.cc
+@@ -312,7 +312,7 @@ const base::Feature kServiceWorkerScriptFullCodeCache{
+ 
+ // http://tc39.github.io/ecmascript_sharedmem/shmem.html
+ const base::Feature kSharedArrayBuffer{"SharedArrayBuffer",
+-                                       base::FEATURE_ENABLED_BY_DEFAULT};
++                                       base::FEATURE_DISABLED_BY_DEFAULT};
+ 
+ // An experiment to require process isolation for the sign-in origin,
+ // https://accounts.google.com.  Launch bug: https://crbug.com/739418.
+-- 
+2.15.1
+



More information about the arch-commits mailing list