CINXE.COM
prefs.js - mozsearch
<!DOCTYPE html> <html lang="en-US" class="old-rev"> <head> <meta charset="utf-8" /> <meta name="color-scheme" content="light dark"> <link href="/mozilla-central/static/icons/search.png" rel="shortcut icon"> <title>prefs.js - mozsearch</title> <link href="/mozilla-central/static/css/mozsearch.css" rel="stylesheet" media="screen"/> <link href="/mozilla-central/static/css/icons.css" rel="stylesheet" media="screen"/> <link href="/mozilla-central/static/css/font-icons.css" rel="stylesheet" media="screen"/> </head> <body> <div id="fixed-header"> <form method="get" action="/mozilla-central/search" class="search-box" id="search-box"> <fieldset> <div id="query-section"> <label for="query" class="query_label visually-hidden">Find</label> <input type="text" name="q" value="" maxlength="2048" id="query" accesskey="s" title="Search" placeholder="Search mozilla-central" autocomplete="off" /> <div class="zero-size-container"> <div class="bubble" id="query-bubble"> </div> </div> <section id="spinner"></section> </div> <div id="option-section" class="v-flex-container"> <label for="case"> <input type="checkbox" name="case" id="case" class="option-checkbox" value="true" accesskey="c"/><span class="access-key">C</span>ase-sensitive </label> <label for="regexp"> <input type="checkbox" name="regexp" id="regexp" class="option-checkbox" value="true" accesskey="r"/><span class="access-key">R</span>egexp search </label> </div> <div id="path-section"> <label for="path" class="query_label visually-hidden">Path</label> <input type="text" name="path" value="" maxlength="2048" id="path" accesskey="p" title="Path" placeholder="Path filter (supports globbing and ^, $)" autocomplete="off" /> <div class="zero-size-container"> <div class="bubble" id="path-bubble"> </div> </div> </div> </fieldset> <!-- disabled to avoid enter-submits behavior that conflicts with JS search logic --> <input type="submit" value="Search" disabled class="visually-hidden" /> <div id="revision"> <span id="rev-id">Showing <a href="/mozilla-central/commit/a4935c8cb9edb35981871dee4a9132ab3e77d92b">a4935c8c</a>:</span> <span id="rev-desc">Backed out changeset 62ed9ebaa426 (bug <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1933152">1933152</a>) for causing bc failures @browser_ext_themes_tab_text.js. CLOSED TREE</span> </div> </form> </div> <div id="scrolling"> <div id="content" class="content source-listing not-diff" data-no-results="No results for current query."> <div class="breadcrumbs"><a href="/mozilla-central/source/">mozilla-central</a><button id="tree-switcher" title="Open tree switcher menu" aria-expanded="false" aria-haspopup="true" aria-controls="tree-switcher-menu"></button><div id="tree-switcher-menu" title="Tree switcher" role="menu" class="context-menu" style="display: none"></div><span class="path-separator">/</span><a href="/mozilla-central/source/devtools">devtools</a><span class="path-separator">/</span><a href="/mozilla-central/source/devtools/client">client</a><span class="path-separator">/</span><a href="/mozilla-central/source/devtools/client/netmonitor">netmonitor</a><span class="path-separator">/</span><a href="/mozilla-central/source/devtools/client/netmonitor/src">src</a><span class="path-separator">/</span><a href="/mozilla-central/source/devtools/client/netmonitor/src/middleware">middleware</a><span class="path-separator">/</span><a href="/mozilla-central/source/devtools/client/netmonitor/src/middleware/prefs.js">prefs.js</a> <span data-symbols="FILE_devtools/client/netmonitor/src/middleware/prefs@2Ejs">(file symbol)</span></div> <div class="panel" id="panel"> <button id="panel-toggle"> <span class="navpanel-icon icon-down-dir expanded" aria-hidden="false"></span> Navigation <a id="show-settings" title="Go to settings page" href="/mozilla-central/pages/settings.html"><span class="navpanel-icon icon-cog expanded" aria-hidden="false"></span></a> </button> <section id="panel-content" aria-expanded="true" aria-hidden="false"> <label class="panel-accel"><input type="checkbox" id="panel-accel-enable" checked="checked">Enable keyboard shortcuts</label> <h4>Source code</h4> <ul> <li> <a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=DevTools&component=Netmonitor" title="File a bug in DevTools :: Netmonitor" class="icon item">File a bug in DevTools :: Netmonitor<button class="copy" title="Copy to clipboard"><span class="icon-docs copy-icon"></span><span class="icon-ok tick-icon"></span></button></a> </li> </ul> <h4>Revision control</h4> <ul> <li> <a href="/mozilla-central/rev/a4935c8cb9edb35981871dee4a9132ab3e77d92b/devtools/client/netmonitor/src/middleware/prefs.js" title="Permalink" class="icon item" data-update-link="#{}" data-link="/mozilla-central/rev/a4935c8cb9edb35981871dee4a9132ab3e77d92b/devtools/client/netmonitor/src/middleware/prefs.js">Permalink <span class="accel">Y</span><button class="copy" title="Copy to clipboard"><span class="icon-docs copy-icon"></span><span class="icon-ok tick-icon"></span></button></a> </li> <li> <a href="/mozilla-central/source/devtools/client/netmonitor/src/middleware/prefs.js" title="Remove the Permalink" class="icon item" data-update-link="#{}" data-link="/mozilla-central/source/devtools/client/netmonitor/src/middleware/prefs.js">Remove the Permalink</a> </li> <li> <a href="https://hg.mozilla.org/mozilla-central/log/tip/devtools/client/netmonitor/src/middleware/prefs.js" title="Log" class="icon item">Log <span class="accel">L</span><button class="copy" title="Copy to clipboard"><span class="icon-docs copy-icon"></span><span class="icon-ok tick-icon"></span></button></a> </li> <li> <a href="https://hg.mozilla.org/mozilla-central/raw-file/tip/devtools/client/netmonitor/src/middleware/prefs.js" title="Raw" class="icon item">Raw <span class="accel">R</span><button class="copy" title="Copy to clipboard"><span class="icon-docs copy-icon"></span><span class="icon-ok tick-icon"></span></button></a> </li> <li> <a href="javascript:alert('Hover over the gray bar on the left to see blame information.')" title="Blame" class="icon item">Blame</a> </li> </ul> <h4>Copy as Markdown</h4> <ul> <li> <button title="Filename Link" class="icon item">Filename Link <span class="accel">F</span><span class="icon copy indicator"><span class="icon-docs copy-icon"></span><span class="icon-ok tick-icon"></span></span></button> </li> <li> <button title="Symbol Link" class="icon item">Symbol Link <span class="accel">S</span><span class="icon copy indicator"><span class="icon-docs copy-icon"></span><span class="icon-ok tick-icon"></span></span></button> </li> <li> <button title="Code Block" class="icon item">Code Block <span class="accel">C</span><span class="icon copy indicator"><span class="icon-docs copy-icon"></span><span class="icon-ok tick-icon"></span></span></button> </li> </ul> <h4>Other Tools</h4> <ul> <li> <a href="https://hg.mozilla.org/mozilla-central/file/tip/devtools/client/netmonitor/src/middleware/prefs.js" title="HG Web" class="icon item" data-update-link="#l{}" data-link="https://hg.mozilla.org/mozilla-central/file/tip/devtools/client/netmonitor/src/middleware/prefs.js">HG Web</a> </li> <li> <a href="https://coverage.moz.tools/#revision=latest&path=devtools/client/netmonitor/src/middleware/prefs.js&view=file" title="Code Coverage" class="icon item" data-update-link="&line={}" data-link="https://coverage.moz.tools/#revision=latest&path=devtools/client/netmonitor/src/middleware/prefs.js&view=file">Code Coverage</a> </li> </ul> </section> </div> <section class="info-boxes" id="info-boxes-container"> </section> <div id="file" class="file" role="table" data-markdown-slug="js"> <div role="row" id="line-1" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#1" role="button" aria-label="new hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="1"></div> <code role="cell" class="source-line"><span class="syn_comment" >/* This Source Code Form is subject to the terms of the Mozilla Public</span> </code> </div> <div role="row" id="line-2" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#2" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="2"></div> <code role="cell" class="source-line"><span class="syn_comment" > * License, v. 2.0. If a copy of the MPL was not distributed with this</span> </code> </div> <div role="row" id="line-3" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#3" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="3"></div> <code role="cell" class="source-line"><span class="syn_comment" > * file, You can obtain one at <a href="http://mozilla.org/MPL/2.0/">http://mozilla.org/MPL/2.0/</a>. */</span> </code> </div> <div role="row" id="line-4" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#4" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="4"></div> <code role="cell" class="source-line"> </code> </div> <div role="row" id="line-5" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#5" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="5"></div> <code role="cell" class="source-line"><span class="syn_string" >"use strict"</span>; </code> </div> <div role="row" id="line-6" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#6" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="6"></div> <code role="cell" class="source-line"> </code> </div> <div role="row" id="line-7" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#7" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="7"></div> <code role="cell" class="source-line"><span class="syn_reserved" >const</span> { </code> </div> <div role="row" id="line-8" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#8" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="8"></div> <code role="cell" class="source-line"> <span class="syn_def" data-symbols="#ENABLE_REQUEST_FILTER_TYPE_ONLY" data-confidences="["concrete"]">ENABLE_REQUEST_FILTER_TYPE_ONLY</span>, </code> </div> <div role="row" id="line-9" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="d96389660cc71180a888e315b354368057570dec#%#9" role="button" aria-label="new hash 2" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="9"></div> <code role="cell" class="source-line"> <span class="syn_def" data-symbols="#RESET_COLUMNS" data-confidences="["concrete"]">RESET_COLUMNS</span>, </code> </div> <div role="row" id="line-10" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="d96389660cc71180a888e315b354368057570dec#%#10" role="button" aria-label="same hash 2" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="10"></div> <code role="cell" class="source-line"> <span class="syn_def" data-symbols="#TOGGLE_COLUMN" data-confidences="["concrete"]">TOGGLE_COLUMN</span>, </code> </div> <div role="row" id="line-11" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#9" role="button" aria-label="new hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="11"></div> <code role="cell" class="source-line"> <span class="syn_def" data-symbols="#TOGGLE_REQUEST_FILTER_TYPE" data-confidences="["concrete"]">TOGGLE_REQUEST_FILTER_TYPE</span>, </code> </div> <div role="row" id="line-12" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f8f22a254c9648333af62bc52d0439bba6f96678#%#13" role="button" aria-label="new hash 3" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="12"></div> <code role="cell" class="source-line"> <span class="syn_def" data-symbols="#ENABLE_PERSISTENT_LOGS" data-confidences="["concrete"]">ENABLE_PERSISTENT_LOGS</span>, </code> </div> <div role="row" id="line-13" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="a19f2c13d1fdf97cbcf78cbd4bce137f070c5df5#%#13" role="button" aria-label="new hash 4" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="13"></div> <code role="cell" class="source-line"> <span class="syn_def" data-symbols="#DISABLE_BROWSER_CACHE" data-confidences="["concrete"]">DISABLE_BROWSER_CACHE</span>, </code> </div> <div role="row" id="line-14" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#15" role="button" aria-label="new hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="14"></div> <code role="cell" class="source-line"> <span class="syn_def" data-symbols="#SET_COLUMNS_WIDTH" data-confidences="["concrete"]">SET_COLUMNS_WIDTH</span>, </code> </div> <div role="row" id="line-15" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#16" role="button" aria-label="new hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="15"></div> <code role="cell" class="source-line"> <span class="syn_def" data-symbols="#WS_TOGGLE_COLUMN" data-confidences="["concrete"]">WS_TOGGLE_COLUMN</span>, </code> </div> <div role="row" id="line-16" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#17" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="16"></div> <code role="cell" class="source-line"> <span class="syn_def" data-symbols="#WS_RESET_COLUMNS" data-confidences="["concrete"]">WS_RESET_COLUMNS</span>, </code> </div> <div role="row" id="line-17" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="13bf78b543faf367f812d93105e818fd18a2e582#%#17" role="button" aria-label="new hash 7" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="17"></div> <code role="cell" class="source-line">} = <span data-symbols="#require" data-confidences="["concrete"]">require</span>(<span class="syn_string" data-symbols="FILE_devtools/client/netmonitor/src/constants@2Ejs" data-confidences="["concrete"]">"<span data-symbols="FILE_devtools/client/netmonitor/src/constants@2Ejs">resource://devtools/client/netmonitor/src/constants.js</span>"</span>); </code> </div> <div role="row" id="line-18" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#13" role="button" aria-label="new hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="18"></div> <code role="cell" class="source-line"> </code> </div> <div role="row" id="line-19" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#14" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="19"></div> <code role="cell" class="source-line"><span class="syn_comment" >/**</span> </code> </div> <div role="row" id="line-20" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#19" role="button" aria-label="new hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="20"></div> <code role="cell" class="source-line"><span class="syn_comment" > * Update the relevant prefs when:</span> </code> </div> <div role="row" id="line-21" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#20" role="button" aria-label="same hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="21"></div> <code role="cell" class="source-line"><span class="syn_comment" > * - a column has been toggled</span> </code> </div> <div role="row" id="line-22" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#21" role="button" aria-label="same hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="22"></div> <code role="cell" class="source-line"><span class="syn_comment" > * - a filter type has been set</span> </code> </div> <div role="row" id="line-23" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#22" role="button" aria-label="same hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="23"></div> <code role="cell" class="source-line"><span class="syn_comment" > */</span> </code> </div> <div class="nesting-container nesting-depth-0" data-nesting-sym="#prefsMiddleware"><div role="row" id="line-24" class="source-line-with-number nesting-sticky-line"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#18" role="button" aria-label="new hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="24"></div> <code role="cell" class="source-line"><span class="syn_reserved" >function</span> <span class="syn_def" data-symbols="#prefsMiddleware" data-confidences="["concrete"]">prefsMiddleware</span>(<span data-symbols="8176-0" data-confidences="["concrete"]">store</span>) { </code> </div> <div role="row" id="line-25" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#19" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="25"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >return</span> <span data-symbols="8176-1" data-confidences="["concrete"]">next</span> => <span data-symbols="8176-2" data-confidences="["concrete"]">action</span> => { </code> </div> <div role="row" id="line-26" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#20" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="26"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >const</span> <span data-symbols="8176-3" data-confidences="["concrete"]">res</span> = <span data-symbols="8176-1" data-confidences="["concrete"]">next</span>(<span data-symbols="8176-2" data-confidences="["concrete"]">action</span>); </code> </div> <div role="row" id="line-27" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="d96389660cc71180a888e315b354368057570dec#%#24" role="button" aria-label="new hash 2" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="27"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >switch</span> (<span data-symbols="8176-2" data-confidences="["concrete"]">action</span>.<span data-symbols="#type,action#type" data-confidences="["concrete","concrete"]">type</span>) { </code> </div> <div role="row" id="line-28" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="d96389660cc71180a888e315b354368057570dec#%#25" role="button" aria-label="same hash 2" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="28"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >case</span> <span data-symbols="#ENABLE_REQUEST_FILTER_TYPE_ONLY" data-confidences="["concrete"]">ENABLE_REQUEST_FILTER_TYPE_ONLY</span>: </code> </div> <div role="row" id="line-29" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="d96389660cc71180a888e315b354368057570dec#%#26" role="button" aria-label="same hash 2" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="29"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >case</span> <span data-symbols="#TOGGLE_REQUEST_FILTER_TYPE" data-confidences="["concrete"]">TOGGLE_REQUEST_FILTER_TYPE</span>: </code> </div> <div role="row" id="line-30" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#29" role="button" aria-label="new hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="30"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >const</span> <span data-symbols="8176-4" data-confidences="["concrete"]">filters</span> = <span data-symbols="#Object" data-confidences="["concrete"]">Object</span>.<span data-symbols="#entries,Object#entries" data-confidences="["concrete","concrete"]">entries</span>( </code> </div> <div role="row" id="line-31" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#30" role="button" aria-label="same hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="31"></div> <code role="cell" class="source-line"> <span data-symbols="8176-0" data-confidences="["concrete"]">store</span>.<span data-symbols="#getState,store#getState" data-confidences="["concrete","concrete"]">getState</span>().<span data-symbols="#filters" data-confidences="["concrete"]">filters</span>.<span data-symbols="#requestFilterTypes" data-confidences="["concrete"]">requestFilterTypes</span> </code> </div> <div role="row" id="line-32" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#31" role="button" aria-label="same hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="32"></div> <code role="cell" class="source-line"> ) </code> </div> <div role="row" id="line-33" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="9e30d1f3f9c799443018e114fcab31cc1ad68623#%#33" role="button" aria-label="new hash 9" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="33"></div> <code role="cell" class="source-line"> .<span data-symbols="#filter" data-confidences="["concrete"]">filter</span>(([, <span data-symbols="8176-5" data-confidences="["concrete"]">check</span>]) => <span data-symbols="8176-5" data-confidences="["concrete"]">check</span>) </code> </div> <div role="row" id="line-34" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="9e30d1f3f9c799443018e114fcab31cc1ad68623#%#34" role="button" aria-label="same hash 9" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="34"></div> <code role="cell" class="source-line"> .<span data-symbols="#map" data-confidences="["concrete"]">map</span>(([<span data-symbols="8176-6" data-confidences="["concrete"]">type</span>]) => <span data-symbols="8176-6" data-confidences="["concrete"]">type</span>); </code> </div> <div role="row" id="line-35" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="4bd13775e660296b4df358db2d910658b09f4ef3#%#31" role="button" aria-label="new hash 10" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="35"></div> <code role="cell" class="source-line"> <span data-symbols="#Services" data-confidences="["concrete"]">Services</span>.<span data-symbols="#prefs,Services#prefs" data-confidences="["concrete","concrete"]">prefs</span>.<span data-symbols="#setCharPref" data-confidences="["concrete"]">setCharPref</span>( </code> </div> <div role="row" id="line-36" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#35" role="button" aria-label="new hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="36"></div> <code role="cell" class="source-line"> <span class="syn_string" >"devtools.netmonitor.filters"</span>, </code> </div> <div role="row" id="line-37" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#36" role="button" aria-label="same hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="37"></div> <code role="cell" class="source-line"> <span data-symbols="#JSON" data-confidences="["concrete"]">JSON</span>.<span data-symbols="#stringify,JSON#stringify" data-confidences="["concrete","concrete"]">stringify</span>(<span data-symbols="8176-4" data-confidences="["concrete"]">filters</span>) </code> </div> <div role="row" id="line-38" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#37" role="button" aria-label="same hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="38"></div> <code role="cell" class="source-line"> ); </code> </div> <div role="row" id="line-39" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="d96389660cc71180a888e315b354368057570dec#%#30" role="button" aria-label="new hash 2" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="39"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >break</span>; </code> </div> <div role="row" id="line-40" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f8f22a254c9648333af62bc52d0439bba6f96678#%#35" role="button" aria-label="new hash 3" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="40"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >case</span> <span data-symbols="#ENABLE_PERSISTENT_LOGS" data-confidences="["concrete"]">ENABLE_PERSISTENT_LOGS</span>: </code> </div> <div role="row" id="line-41" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="329c56536c2a3f255759eb5a8766524faefa1bbb#%#42" role="button" aria-label="new hash 11" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="41"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >const</span> <span data-symbols="8176-7" data-confidences="["concrete"]">enabled</span> = <span data-symbols="8176-0" data-confidences="["concrete"]">store</span>.<span data-symbols="#getState,store#getState" data-confidences="["concrete","concrete"]">getState</span>().<span data-symbols="#ui" data-confidences="["concrete"]">ui</span>.<span data-symbols="#persistentLogsEnabled" data-confidences="["concrete"]">persistentLogsEnabled</span>; </code> </div> <div role="row" id="line-42" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="329c56536c2a3f255759eb5a8766524faefa1bbb#%#43" role="button" aria-label="same hash 11" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="42"></div> <code role="cell" class="source-line"> <span data-symbols="#Services" data-confidences="["concrete"]">Services</span>.<span data-symbols="#prefs,Services#prefs" data-confidences="["concrete","concrete"]">prefs</span>.<span data-symbols="#setBoolPref" data-confidences="["concrete"]">setBoolPref</span>(<span class="syn_string" >"devtools.netmonitor.persistlog"</span>, <span data-symbols="8176-7" data-confidences="["concrete"]">enabled</span>); </code> </div> <div role="row" id="line-43" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f8f22a254c9648333af62bc52d0439bba6f96678#%#38" role="button" aria-label="new hash 3" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="43"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >break</span>; </code> </div> <div role="row" id="line-44" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="a19f2c13d1fdf97cbcf78cbd4bce137f070c5df5#%#34" role="button" aria-label="new hash 4" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="44"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >case</span> <span data-symbols="#DISABLE_BROWSER_CACHE" data-confidences="["concrete"]">DISABLE_BROWSER_CACHE</span>: </code> </div> <div role="row" id="line-45" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="a19f2c13d1fdf97cbcf78cbd4bce137f070c5df5#%#35" role="button" aria-label="same hash 4" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="45"></div> <code role="cell" class="source-line"> <span data-symbols="#Services" data-confidences="["concrete"]">Services</span>.<span data-symbols="#prefs,Services#prefs" data-confidences="["concrete","concrete"]">prefs</span>.<span data-symbols="#setBoolPref" data-confidences="["concrete"]">setBoolPref</span>( </code> </div> <div role="row" id="line-46" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#47" role="button" aria-label="new hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="46"></div> <code role="cell" class="source-line"> <span class="syn_string" >"devtools.cache.disabled"</span>, </code> </div> <div role="row" id="line-47" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#48" role="button" aria-label="same hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="47"></div> <code role="cell" class="source-line"> <span data-symbols="8176-0" data-confidences="["concrete"]">store</span>.<span data-symbols="#getState,store#getState" data-confidences="["concrete","concrete"]">getState</span>().<span data-symbols="#ui" data-confidences="["concrete"]">ui</span>.<span data-symbols="#browserCacheDisabled" data-confidences="["concrete"]">browserCacheDisabled</span> </code> </div> <div role="row" id="line-48" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#49" role="button" aria-label="same hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="48"></div> <code role="cell" class="source-line"> ); </code> </div> <div role="row" id="line-49" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="a19f2c13d1fdf97cbcf78cbd4bce137f070c5df5#%#37" role="button" aria-label="new hash 4" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="49"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >break</span>; </code> </div> <div role="row" id="line-50" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="d96389660cc71180a888e315b354368057570dec#%#32" role="button" aria-label="new hash 2" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="50"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >case</span> <span data-symbols="#TOGGLE_COLUMN" data-confidences="["concrete"]">TOGGLE_COLUMN</span>: </code> </div> <div role="row" id="line-51" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#44" role="button" aria-label="new hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="51"></div> <code role="cell" class="source-line"> <span data-symbols="#persistVisibleColumns" data-confidences="["concrete"]">persistVisibleColumns</span>(<span data-symbols="8176-0" data-confidences="["concrete"]">store</span>.<span data-symbols="#getState,store#getState" data-confidences="["concrete","concrete"]">getState</span>()); </code> </div> <div role="row" id="line-52" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#45" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="52"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >break</span>; </code> </div> <div role="row" id="line-53" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="a3de551a16765a954cecbd586511cf3f0f941b4f#%#34" role="button" aria-label="new hash 12" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="53"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >case</span> <span data-symbols="#RESET_COLUMNS" data-confidences="["concrete"]">RESET_COLUMNS</span>: </code> </div> <div role="row" id="line-54" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#47" role="button" aria-label="new hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="54"></div> <code role="cell" class="source-line"> <span data-symbols="#persistVisibleColumns" data-confidences="["concrete"]">persistVisibleColumns</span>(<span data-symbols="8176-0" data-confidences="["concrete"]">store</span>.<span data-symbols="#getState,store#getState" data-confidences="["concrete","concrete"]">getState</span>()); </code> </div> <div role="row" id="line-55" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#48" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="55"></div> <code role="cell" class="source-line"> <span data-symbols="#persistColumnsData" data-confidences="["concrete"]">persistColumnsData</span>(<span data-symbols="8176-0" data-confidences="["concrete"]">store</span>.<span data-symbols="#getState,store#getState" data-confidences="["concrete","concrete"]">getState</span>()); </code> </div> <div role="row" id="line-56" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#49" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="56"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >break</span>; </code> </div> <div role="row" id="line-57" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#50" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="57"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >case</span> <span data-symbols="#SET_COLUMNS_WIDTH" data-confidences="["concrete"]">SET_COLUMNS_WIDTH</span>: </code> </div> <div role="row" id="line-58" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#51" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="58"></div> <code role="cell" class="source-line"> <span data-symbols="#persistColumnsData" data-confidences="["concrete"]">persistColumnsData</span>(<span data-symbols="8176-0" data-confidences="["concrete"]">store</span>.<span data-symbols="#getState,store#getState" data-confidences="["concrete","concrete"]">getState</span>()); </code> </div> <div role="row" id="line-59" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="d96389660cc71180a888e315b354368057570dec#%#36" role="button" aria-label="new hash 2" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="59"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >break</span>; </code> </div> <div role="row" id="line-60" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#63" role="button" aria-label="new hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="60"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >case</span> <span data-symbols="#WS_TOGGLE_COLUMN" data-confidences="["concrete"]">WS_TOGGLE_COLUMN</span>: </code> </div> <div role="row" id="line-61" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#64" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="61"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >case</span> <span data-symbols="#WS_RESET_COLUMNS" data-confidences="["concrete"]">WS_RESET_COLUMNS</span>: </code> </div> <div role="row" id="line-62" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#65" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="62"></div> <code role="cell" class="source-line"> <span data-symbols="#persistVisibleWebSocketsColumns" data-confidences="["concrete"]">persistVisibleWebSocketsColumns</span>(<span data-symbols="8176-0" data-confidences="["concrete"]">store</span>.<span data-symbols="#getState,store#getState" data-confidences="["concrete","concrete"]">getState</span>()); </code> </div> <div role="row" id="line-63" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#66" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="63"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >break</span>; </code> </div> <div role="row" id="line-64" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#24" role="button" aria-label="new hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="64"></div> <code role="cell" class="source-line"> } </code> </div> <div role="row" id="line-65" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#25" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="65"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >return</span> <span data-symbols="8176-3" data-confidences="["concrete"]">res</span>; </code> </div> <div role="row" id="line-66" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#26" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="66"></div> <code role="cell" class="source-line"> }; </code> </div> </div><div role="row" id="line-67" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#27" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="67"></div> <code role="cell" class="source-line">} </code> </div> <div role="row" id="line-68" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#28" role="button" aria-label="same hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="68"></div> <code role="cell" class="source-line"> </code> </div> <div role="row" id="line-69" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#58" role="button" aria-label="new hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="69"></div> <code role="cell" class="source-line"><span class="syn_comment" >/**</span> </code> </div> <div role="row" id="line-70" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#59" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="70"></div> <code role="cell" class="source-line"><span class="syn_comment" > * Store list of visible columns into preferences.</span> </code> </div> <div role="row" id="line-71" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#60" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="71"></div> <code role="cell" class="source-line"><span class="syn_comment" > */</span> </code> </div> <div class="nesting-container nesting-depth-0" data-nesting-sym="#persistVisibleColumns"><div role="row" id="line-72" class="source-line-with-number nesting-sticky-line"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#61" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="72"></div> <code role="cell" class="source-line"><span class="syn_reserved" >function</span> <span class="syn_def" data-symbols="#persistVisibleColumns" data-confidences="["concrete"]">persistVisibleColumns</span>(<span data-symbols="8176-8" data-confidences="["concrete"]">state</span>) { </code> </div> <div role="row" id="line-73" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#62" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="73"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >const</span> <span data-symbols="8176-9" data-confidences="["concrete"]">visibleColumns</span> = []; </code> </div> <div role="row" id="line-74" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="2c001a1b01aa51e336857b8d173a402eafd9e2d9#%#77" role="button" aria-label="new hash 13" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="74"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >const</span> { <span data-symbols="8176-10" data-confidences="["concrete"]">columns</span> } = <span data-symbols="8176-8" data-confidences="["concrete"]">state</span>.<span data-symbols="#ui,state#ui" data-confidences="["concrete","concrete"]">ui</span>; </code> </div> <div role="row" id="line-75" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#64" role="button" aria-label="new hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="75"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >for</span> (<span class="syn_reserved" >const</span> <span data-symbols="8176-11" data-confidences="["concrete"]">column</span> <span class="syn_reserved" >in</span> <span data-symbols="8176-10" data-confidences="["concrete"]">columns</span>) { </code> </div> <div role="row" id="line-76" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#65" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="76"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >if</span> (<span data-symbols="8176-10" data-confidences="["concrete"]">columns</span>[<span data-symbols="8176-11" data-confidences="["concrete"]">column</span>]) { </code> </div> <div role="row" id="line-77" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#66" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="77"></div> <code role="cell" class="source-line"> <span data-symbols="8176-9" data-confidences="["concrete"]">visibleColumns</span>.<span data-symbols="#push,visibleColumns#push" data-confidences="["concrete","concrete"]">push</span>(<span data-symbols="8176-11" data-confidences="["concrete"]">column</span>); </code> </div> <div role="row" id="line-78" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#67" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="78"></div> <code role="cell" class="source-line"> } </code> </div> <div role="row" id="line-79" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#68" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="79"></div> <code role="cell" class="source-line"> } </code> </div> <div role="row" id="line-80" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#69" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="80"></div> <code role="cell" class="source-line"> </code> </div> <div role="row" id="line-81" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#70" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="81"></div> <code role="cell" class="source-line"> <span data-symbols="#Services" data-confidences="["concrete"]">Services</span>.<span data-symbols="#prefs,Services#prefs" data-confidences="["concrete","concrete"]">prefs</span>.<span data-symbols="#setCharPref" data-confidences="["concrete"]">setCharPref</span>( </code> </div> <div role="row" id="line-82" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#71" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="82"></div> <code role="cell" class="source-line"> <span class="syn_string" >"devtools.netmonitor.visibleColumns"</span>, </code> </div> <div role="row" id="line-83" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#80" role="button" aria-label="new hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="83"></div> <code role="cell" class="source-line"> <span data-symbols="#JSON" data-confidences="["concrete"]">JSON</span>.<span data-symbols="#stringify,JSON#stringify" data-confidences="["concrete","concrete"]">stringify</span>(<span data-symbols="8176-9" data-confidences="["concrete"]">visibleColumns</span>) </code> </div> <div role="row" id="line-84" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#81" role="button" aria-label="same hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="84"></div> <code role="cell" class="source-line"> ); </code> </div> </div><div role="row" id="line-85" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#73" role="button" aria-label="new hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="85"></div> <code role="cell" class="source-line">} </code> </div> <div role="row" id="line-86" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#74" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="86"></div> <code role="cell" class="source-line"> </code> </div> <div role="row" id="line-87" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#75" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="87"></div> <code role="cell" class="source-line"><span class="syn_comment" >/**</span> </code> </div> <div role="row" id="line-88" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="8b7017979f9b92f0c700e343461f128027a45a65#%#91" role="button" aria-label="new hash 14" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="88"></div> <code role="cell" class="source-line"><span class="syn_comment" > * Store list of visible columns into preferences.</span> </code> </div> <div role="row" id="line-89" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#92" role="button" aria-label="new hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="89"></div> <code role="cell" class="source-line"><span class="syn_comment" > */</span> </code> </div> <div class="nesting-container nesting-depth-0" data-nesting-sym="#persistVisibleWebSocketsColumns"><div role="row" id="line-90" class="source-line-with-number nesting-sticky-line"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#93" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="90"></div> <code role="cell" class="source-line"><span class="syn_reserved" >function</span> <span class="syn_def" data-symbols="#persistVisibleWebSocketsColumns" data-confidences="["concrete"]">persistVisibleWebSocketsColumns</span>(<span data-symbols="8176-12" data-confidences="["concrete"]">state</span>) { </code> </div> <div role="row" id="line-91" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#94" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="91"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >const</span> <span data-symbols="8176-13" data-confidences="["concrete"]">visibleColumns</span> = []; </code> </div> <div role="row" id="line-92" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="8b7017979f9b92f0c700e343461f128027a45a65#%#95" role="button" aria-label="new hash 14" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="92"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >const</span> { <span data-symbols="8176-14" data-confidences="["concrete"]">columns</span> } = <span data-symbols="8176-12" data-confidences="["concrete"]">state</span>.<span data-symbols="#messages,state#messages" data-confidences="["concrete","concrete"]">messages</span>; </code> </div> <div role="row" id="line-93" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#96" role="button" aria-label="new hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="93"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >for</span> (<span class="syn_reserved" >const</span> <span data-symbols="8176-15" data-confidences="["concrete"]">column</span> <span class="syn_reserved" >in</span> <span data-symbols="8176-14" data-confidences="["concrete"]">columns</span>) { </code> </div> <div role="row" id="line-94" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#97" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="94"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >if</span> (<span data-symbols="8176-14" data-confidences="["concrete"]">columns</span>[<span data-symbols="8176-15" data-confidences="["concrete"]">column</span>]) { </code> </div> <div role="row" id="line-95" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#98" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="95"></div> <code role="cell" class="source-line"> <span data-symbols="8176-13" data-confidences="["concrete"]">visibleColumns</span>.<span data-symbols="#push,visibleColumns#push" data-confidences="["concrete","concrete"]">push</span>(<span data-symbols="8176-15" data-confidences="["concrete"]">column</span>); </code> </div> <div role="row" id="line-96" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#99" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="96"></div> <code role="cell" class="source-line"> } </code> </div> <div role="row" id="line-97" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#100" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="97"></div> <code role="cell" class="source-line"> } </code> </div> <div role="row" id="line-98" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#101" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="98"></div> <code role="cell" class="source-line"> </code> </div> <div role="row" id="line-99" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#102" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="99"></div> <code role="cell" class="source-line"> <span data-symbols="#Services" data-confidences="["concrete"]">Services</span>.<span data-symbols="#prefs,Services#prefs" data-confidences="["concrete","concrete"]">prefs</span>.<span data-symbols="#setCharPref" data-confidences="["concrete"]">setCharPref</span>( </code> </div> <div role="row" id="line-100" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="8b7017979f9b92f0c700e343461f128027a45a65#%#103" role="button" aria-label="new hash 14" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="100"></div> <code role="cell" class="source-line"> <span class="syn_string" >"devtools.netmonitor.msg.visibleColumns"</span>, </code> </div> <div role="row" id="line-101" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#104" role="button" aria-label="new hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="101"></div> <code role="cell" class="source-line"> <span data-symbols="#JSON" data-confidences="["concrete"]">JSON</span>.<span data-symbols="#stringify,JSON#stringify" data-confidences="["concrete","concrete"]">stringify</span>(<span data-symbols="8176-13" data-confidences="["concrete"]">visibleColumns</span>) </code> </div> <div role="row" id="line-102" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#105" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="102"></div> <code role="cell" class="source-line"> ); </code> </div> </div><div role="row" id="line-103" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#106" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="103"></div> <code role="cell" class="source-line">} </code> </div> <div role="row" id="line-104" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#107" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="104"></div> <code role="cell" class="source-line"> </code> </div> <div role="row" id="line-105" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="9983b8eaa69bbd706257f3f970081869617e0043#%#108" role="button" aria-label="same hash 6" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="105"></div> <code role="cell" class="source-line"><span class="syn_comment" >/**</span> </code> </div> <div role="row" id="line-106" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#76" role="button" aria-label="new hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="106"></div> <code role="cell" class="source-line"><span class="syn_comment" > * Store columns data (width, min-width, etc.) into preferences.</span> </code> </div> <div role="row" id="line-107" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#77" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="107"></div> <code role="cell" class="source-line"><span class="syn_comment" > */</span> </code> </div> <div class="nesting-container nesting-depth-0" data-nesting-sym="#persistColumnsData"><div role="row" id="line-108" class="source-line-with-number nesting-sticky-line"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#78" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="108"></div> <code role="cell" class="source-line"><span class="syn_reserved" >function</span> <span class="syn_def" data-symbols="#persistColumnsData" data-confidences="["concrete"]">persistColumnsData</span>(<span data-symbols="8176-16" data-confidences="["concrete"]">state</span>) { </code> </div> <div role="row" id="line-109" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#79" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="109"></div> <code role="cell" class="source-line"> <span class="syn_reserved" >const</span> <span data-symbols="8176-17" data-confidences="["concrete"]">columnsData</span> = [...<span data-symbols="8176-16" data-confidences="["concrete"]">state</span>.<span data-symbols="#ui,state#ui" data-confidences="["concrete","concrete"]">ui</span>.<span data-symbols="#columnsData" data-confidences="["concrete"]">columnsData</span>.<span data-symbols="#values" data-confidences="["concrete"]">values</span>()]; </code> </div> <div role="row" id="line-110" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#80" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="110"></div> <code role="cell" class="source-line"> <span data-symbols="#Services" data-confidences="["concrete"]">Services</span>.<span data-symbols="#prefs,Services#prefs" data-confidences="["concrete","concrete"]">prefs</span>.<span data-symbols="#setCharPref" data-confidences="["concrete"]">setCharPref</span>( </code> </div> <div role="row" id="line-111" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#81" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="111"></div> <code role="cell" class="source-line"> <span class="syn_string" >"devtools.netmonitor.columnsData"</span>, </code> </div> <div role="row" id="line-112" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#91" role="button" aria-label="new hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="112"></div> <code role="cell" class="source-line"> <span data-symbols="#JSON" data-confidences="["concrete"]">JSON</span>.<span data-symbols="#stringify,JSON#stringify" data-confidences="["concrete","concrete"]">stringify</span>(<span data-symbols="8176-17" data-confidences="["concrete"]">columnsData</span>) </code> </div> <div role="row" id="line-113" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="f6db0ee55782a171ce893389645b7ec1473bc6a6#%#92" role="button" aria-label="same hash 8" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="113"></div> <code role="cell" class="source-line"> ); </code> </div> </div><div role="row" id="line-114" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#83" role="button" aria-label="new hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="114"></div> <code role="cell" class="source-line">} </code> </div> <div role="row" id="line-115" class="source-line-with-number"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c2" data-blame="f098dc0c1ecd53365423fd64203398dabb9f7b84#%#84" role="button" aria-label="same hash 5" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="115"></div> <code role="cell" class="source-line"> </code> </div> <div class="nesting-container nesting-depth-0" data-nesting-sym="#exports"><div role="row" id="line-116" class="source-line-with-number nesting-sticky-line"> <div role="cell"><div class="cov-strip cov-no-data"></div></div> <div role="cell"><div class="blame-strip c1" data-blame="16e4fa26df1ad98b75cf8e5b00ae6517bc377352#devtools/client/netmonitor/middleware/prefs.js#29" role="button" aria-label="new hash 1" aria-expanded="false"></div></div> <div role="cell" class="line-number" data-line-number="116"></div> <code role="cell" class="source-line"><span data-symbols="#module" data-confidences="["concrete"]">module</span>.<span data-symbols="#exports,module#exports" data-confidences="["concrete","concrete"]">exports</span> = <span data-symbols="#prefsMiddleware" data-confidences="["concrete"]">prefsMiddleware</span>; </code> </div> </div></div> <script>var SYM_INFO = {"#DISABLE_BROWSER_CACHE":{"sym":"#DISABLE_BROWSER_CACHE","pretty":"DISABLE_BROWSER_CACHE"},"#ENABLE_PERSISTENT_LOGS":{"sym":"#ENABLE_PERSISTENT_LOGS","pretty":"ENABLE_PERSISTENT_LOGS"},"#ENABLE_REQUEST_FILTER_TYPE_ONLY":{"sym":"#ENABLE_REQUEST_FILTER_TYPE_ONLY","pretty":"ENABLE_REQUEST_FILTER_TYPE_ONLY"},"#JSON":{"sym":"#JSON","pretty":"JSON"},"#Object":{"sym":"#Object","pretty":"Object"},"#RESET_COLUMNS":{"sym":"#RESET_COLUMNS","pretty":"RESET_COLUMNS"},"#SET_COLUMNS_WIDTH":{"sym":"#SET_COLUMNS_WIDTH","pretty":"SET_COLUMNS_WIDTH"},"#Services":{"sym":"#Services","pretty":"Services"},"#TOGGLE_COLUMN":{"sym":"#TOGGLE_COLUMN","pretty":"TOGGLE_COLUMN"},"#TOGGLE_REQUEST_FILTER_TYPE":{"sym":"#TOGGLE_REQUEST_FILTER_TYPE","pretty":"TOGGLE_REQUEST_FILTER_TYPE"},"#WS_RESET_COLUMNS":{"sym":"#WS_RESET_COLUMNS","pretty":"WS_RESET_COLUMNS","jumps":{"def":"devtools/client/netmonitor/src/middleware/prefs.js#16"}},"#WS_TOGGLE_COLUMN":{"sym":"#WS_TOGGLE_COLUMN","pretty":"WS_TOGGLE_COLUMN","jumps":{"def":"devtools/client/netmonitor/src/middleware/prefs.js#15"}},"#browserCacheDisabled":{"sym":"#browserCacheDisabled","pretty":"browserCacheDisabled"},"#columnsData":{"sym":"#columnsData","pretty":"columnsData"},"#entries":{"sym":"#entries","pretty":"entries"},"#exports":{"sym":"#exports","pretty":"exports"},"#filter":{"sym":"#filter","pretty":"filter"},"#filters":{"sym":"#filters","pretty":"filters"},"#getState":{"sym":"#getState","pretty":"getState"},"#map":{"sym":"#map","pretty":"map"},"#messages":{"sym":"#messages","pretty":"messages"},"#module":{"sym":"#module","pretty":"module"},"#persistColumnsData":{"sym":"#persistColumnsData","pretty":"persistColumnsData","jumps":{"def":"devtools/client/netmonitor/src/middleware/prefs.js#108"}},"#persistVisibleColumns":{"sym":"#persistVisibleColumns","pretty":"persistVisibleColumns","jumps":{"def":"devtools/client/netmonitor/src/middleware/prefs.js#72"}},"#persistVisibleWebSocketsColumns":{"sym":"#persistVisibleWebSocketsColumns","pretty":"persistVisibleWebSocketsColumns","jumps":{"def":"devtools/client/netmonitor/src/middleware/prefs.js#90"}},"#persistentLogsEnabled":{"sym":"#persistentLogsEnabled","pretty":"persistentLogsEnabled"},"#prefs":{"sym":"#prefs","pretty":"prefs"},"#prefsMiddleware":{"sym":"#prefsMiddleware","pretty":"prefsMiddleware","jumps":{"def":"devtools/client/netmonitor/src/middleware/prefs.js#24"}},"#push":{"sym":"#push","pretty":"push"},"#requestFilterTypes":{"sym":"#requestFilterTypes","pretty":"requestFilterTypes"},"#require":{"sym":"#require","pretty":"require"},"#setBoolPref":{"sym":"#setBoolPref","pretty":"setBoolPref"},"#setCharPref":{"sym":"#setCharPref","pretty":"setCharPref"},"#stringify":{"sym":"#stringify","pretty":"stringify"},"#type":{"sym":"#type","pretty":"type"},"#ui":{"sym":"#ui","pretty":"ui"},"#values":{"sym":"#values","pretty":"values"},"FILE_devtools/client/netmonitor/src/constants@2Ejs":{"sym":"FILE_devtools/client/netmonitor/src/constants@2Ejs","pretty":"devtools/client/netmonitor/src/constants.js","meta":{"structured":1,"pretty":"devtools/client/netmonitor/src/constants.js","sym":"FILE_devtools/client/netmonitor/src/constants@2Ejs","type_pretty":null,"kind":"file","subsystem":"DevTools/Netmonitor","implKind":"impl","sizeBytes":null,"ownVFPtrBytes":null,"bindingSlots":[],"ontologySlots":[],"supers":[],"methods":[],"fields":[],"overrides":[],"props":[],"variants":[]},"jumps":{"def":"devtools/client/netmonitor/src/constants.js#1"}},"FILE_devtools/client/netmonitor/src/middleware/prefs@2Ejs":{"sym":"FILE_devtools/client/netmonitor/src/middleware/prefs@2Ejs","pretty":"devtools/client/netmonitor/src/middleware/prefs.js","meta":{"structured":1,"pretty":"devtools/client/netmonitor/src/middleware/prefs.js","sym":"FILE_devtools/client/netmonitor/src/middleware/prefs@2Ejs","type_pretty":null,"kind":"file","subsystem":"DevTools/Netmonitor","implKind":"impl","sizeBytes":null,"ownVFPtrBytes":null,"bindingSlots":[],"ontologySlots":[],"supers":[],"methods":[],"fields":[],"overrides":[],"props":[],"variants":[]},"jumps":{"def":"devtools/client/netmonitor/src/middleware/prefs.js#1"}},"JSON#stringify":{"sym":"JSON#stringify","pretty":"JSON.stringify"},"Object#entries":{"sym":"Object#entries","pretty":"Object.entries"},"Services#prefs":{"sym":"Services#prefs","pretty":"Services.prefs","jumps":{"def":"devtools/client/shared/test-helpers/jest-fixtures/Services.js#533"}},"action#type":{"sym":"action#type","pretty":"action.type"},"module#exports":{"sym":"module#exports","pretty":"module.exports"},"state#messages":{"sym":"state#messages","pretty":"state.messages"},"state#ui":{"sym":"state#ui","pretty":"state.ui"},"store#getState":{"sym":"store#getState","pretty":"store.getState"},"visibleColumns#push":{"sym":"visibleColumns#push","pretty":"visibleColumns.push"}};</script> </div> <div id="foot" class="footer"> This page was generated by Searchfox <span class="pretty-date" data-datetime="Wed, 27 Nov 2024 18:05:46 +0000"></span>. </div> <span id="data" data-root="/" data-search="/mozilla-central/search" data-tree="mozilla-central" data-path="devtools/client/netmonitor/src/middleware/prefs.js"></span> <script src="/tree-list.js"></script> <script src="/mozilla-central/static/js/settings.js"></script> <script src="/mozilla-central/static/js/search.js"></script> <script src="/mozilla-central/static/js/context-menu.js"></script> <script src="/mozilla-central/static/js/panel.js"></script> <script src="/mozilla-central/static/js/code-highlighter.js"></script> <script src="/mozilla-central/static/js/blame.js"></script> </div> </body> </html>