canmove, Confirmed users
1,448
edits
(GFX blocks) |
(Adding testing process) |
||
| Line 25: | Line 25: | ||
<sup>1</sup> Data for the blocklist can be found in the [https://firefox.settings.services.mozilla.com/v1/buckets/blocklists/collections/addons/records public JSON endpoint]. | <sup>1</sup> Data for the blocklist can be found in the [https://firefox.settings.services.mozilla.com/v1/buckets/blocklists/collections/addons/records public JSON endpoint]. | ||
===Testing=== | ===Testing=== | ||
To test a staged block: | |||
# You must first enable chrome debugging: in <code>about:config</code>, set <code>devtools.chrome.enabled</code> to <code>true</code>. | |||
# Go to <code>about:config</code>, find the <code>services.blocklist.bucket</code> pref and change its value from <code>blocklists</code> to <code>blocklists-preview</code>. | |||
# Open Browser Console (Tools > Web Developer > Browser Console) | |||
#Paste and run this snippet: | |||
Components.classes["@mozilla.org/extensions/blocklist;1"].getService(Components.interfaces.nsITimerCallback).notify(null);</code> | |||
====JSON Example==== | ====JSON Example==== | ||
| Line 59: | Line 65: | ||
</pre> | </pre> | ||
===Deploying=== | ===Deploying=== | ||
# Click on ''' | # Click on '''staging bucket''' :: '''addons''' | ||
# The staged blocks should be shown with an option to Approve. | |||
# Approve :) | |||
== Plugin blocks == | == Plugin blocks == | ||
| Line 81: | Line 89: | ||
<sup>1</sup> Data for the blocklist can be found in the [https://firefox.settings.services.mozilla.com/v1/buckets/blocklists/collections/plugins/records public JSON endpoint]. | <sup>1</sup> Data for the blocklist can be found in the [https://firefox.settings.services.mozilla.com/v1/buckets/blocklists/collections/plugins/records public JSON endpoint]. | ||
===Testing=== | ===Testing=== | ||
To test a staged block: | |||
# You must first enable chrome debugging: in <code>about:config</code>, set <code>devtools.chrome.enabled</code> to <code>true</code>. | |||
# Go to <code>about:config</code>, find the <code>services.blocklist.bucket</code> pref and change its value from <code>blocklists</code> to <code>blocklists-preview</code>. | |||
# Open Browser Console (Tools > Web Developer > Browser Console) | |||
#Paste and run this snippet: | |||
Components.classes["@mozilla.org/extensions/blocklist;1"].getService(Components.interfaces.nsITimerCallback).notify(null);</code> | |||
===Deploying=== | ===Deploying=== | ||
# Click on ''' | # Click on '''staging bucket''' :: '''plugins''' | ||
# The staged blocks should be shown with an option to Approve. | |||
# Approve :) | |||
== Graphics card blocks == | == Graphics card blocks == | ||
| Line 103: | Line 119: | ||
<sup>1</sup> Data for the blocklist can be found in the [https://firefox.settings.services.mozilla.com/v1/buckets/blocklists/collections/plugins/records public JSON endpoint]. | <sup>1</sup> Data for the blocklist can be found in the [https://firefox.settings.services.mozilla.com/v1/buckets/blocklists/collections/plugins/records public JSON endpoint]. | ||
===Testing=== | ===Testing=== | ||
To test a staged block: | |||
# You must first enable chrome debugging: in <code>about:config</code>, set <code>devtools.chrome.enabled</code> to <code>true</code>. | |||
# Go to <code>about:config</code>, find the <code>services.blocklist.bucket</code> pref and change its value from <code>blocklists</code> to <code>blocklists-preview</code>. | |||
# Open Browser Console (Tools > Web Developer > Browser Console) | |||
#Paste and run this snippet: | |||
Components.classes["@mozilla.org/extensions/blocklist;1"].getService(Components.interfaces.nsITimerCallback).notify(null);</code> | |||
===Deploying=== | ===Deploying=== | ||
# Click on ''' | # Click on '''staging bucket''' :: '''gfx''' | ||
# The staged blocks should be shown with an option to Approve. | |||
# Approve :) | |||