mirror of
				https://github.com/mozilla/gecko-dev.git
				synced 2025-11-04 02:09:05 +02:00 
			
		
		
		
	Privileged pages do this automatically via: https://searchfox.org/mozilla-central/rev/aa8c75b83f636948f708986173965c84cae8c25f/widget/nsXPLookAndFeel.cpp#1179-1183 So this makes everything more consistent. Known exceptions: * Pocket panels (as those don't seem to support dark mode) * about:reader (because it has its own dark mode handling) Differential Revision: https://phabricator.services.mozilla.com/D132019
		
			
				
	
	
		
			81 lines
		
	
	
	
		
			3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			81 lines
		
	
	
	
		
			3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<?xml version="1.0" encoding="UTF-8"?>
 | 
						|
 | 
						|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
 | 
						|
   - License, v. 2.0. If a copy of the MPL was not distributed with this
 | 
						|
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 | 
						|
 | 
						|
<!DOCTYPE html>
 | 
						|
 | 
						|
<html xmlns="http://www.w3.org/1999/xhtml">
 | 
						|
  <head>
 | 
						|
    <meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'" />
 | 
						|
    <meta name="color-scheme" content="light dark" />
 | 
						|
    <link rel="stylesheet" type="text/css" media="all"
 | 
						|
          href="chrome://global/skin/in-content/info-pages.css"/>
 | 
						|
    <link rel="stylesheet" type="text/css" media="all"
 | 
						|
          href="chrome://browser/content/aboutTabCrashed.css"/>
 | 
						|
    <link rel="stylesheet" type="text/css" media="all"
 | 
						|
          href="chrome://browser/skin/aboutTabCrashed.css"/>
 | 
						|
    <link rel="localization" href="branding/brand.ftl"/>
 | 
						|
    <link rel="localization" href="browser/aboutTabCrashed.ftl"/>
 | 
						|
	
 | 
						|
    <title data-l10n-id="crashed-title"></title>
 | 
						|
  </head>
 | 
						|
 | 
						|
  <body>
 | 
						|
    <div id="main" class="container" multiple="false">
 | 
						|
 | 
						|
      <div class="title">
 | 
						|
        <h1 class="title-text" data-l10n-id="crashed-header"></h1>
 | 
						|
      </div>
 | 
						|
 | 
						|
      <div class="offers">
 | 
						|
        <h2 data-l10n-id="crashed-offer-help"></h2>
 | 
						|
        <p id="offerHelpMessageSingle" data-l10n-id="crashed-single-offer-help-message"></p>
 | 
						|
        <p id="offerHelpMessageMultiple" data-l10n-id="crashed-multiple-offer-help-message"></p>
 | 
						|
      </div>
 | 
						|
 | 
						|
      <div id="reportBox">
 | 
						|
        <h2 data-l10n-id="crashed-request-help"></h2>
 | 
						|
        <p data-l10n-id="crashed-request-help-message"></p>
 | 
						|
 | 
						|
        <h2 data-l10n-id="crashed-request-report-title"></h2>
 | 
						|
 | 
						|
        <label class="toggle-container-with-text">
 | 
						|
          <input type="checkbox" id="sendReport" role="checkbox"/>
 | 
						|
          <span data-l10n-id="crashed-send-report-2"></span>
 | 
						|
        </label>
 | 
						|
 | 
						|
        <ul id="options">
 | 
						|
          <li>
 | 
						|
            <textarea id="comments" data-l10n-id="crashed-comment" rows="4"></textarea>
 | 
						|
          </li>
 | 
						|
 | 
						|
          <li>
 | 
						|
            <label class="toggle-container-with-text">
 | 
						|
              <input type="checkbox" id="includeURL" role="checkbox"/>
 | 
						|
              <span data-l10n-id="crashed-include-URL-2"></span>
 | 
						|
            </label>
 | 
						|
          </li>
 | 
						|
        </ul>
 | 
						|
 | 
						|
        <div id="requestAutoSubmit" hidden="true">
 | 
						|
          <h2 data-l10n-id="crashed-request-auto-submit-title"></h2>
 | 
						|
          <label class="toggle-container-with-text">
 | 
						|
            <input type="checkbox" id="autoSubmit" role="checkbox"/>
 | 
						|
            <span data-l10n-id="crashed-auto-submit-checkbox-2"></span>
 | 
						|
          </label>
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
 | 
						|
      <p id="reportSent" data-l10n-id="crashed-report-sent"></p>
 | 
						|
 | 
						|
      <div class="button-container">
 | 
						|
        <button id="closeTab" data-l10n-id="crashed-close-tab-button"></button>
 | 
						|
        <button id="restoreTab" class="primary" data-l10n-id="crashed-restore-tab-button"></button>
 | 
						|
        <button id="restoreAll" autofocus="true" data-l10n-id="crashed-restore-all-button"/>
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
  </body>
 | 
						|
  <script src="chrome://browser/content/aboutTabCrashed.js"/>
 | 
						|
</html>
 |