From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- browser/base/content/aboutDialog-appUpdater.js | 428 + browser/base/content/aboutDialog.css | 97 + browser/base/content/aboutDialog.js | 80 + browser/base/content/aboutDialog.xul | 157 + browser/base/content/aboutNetError.xhtml | 699 ++ browser/base/content/aboutProviderDirectory.xhtml | 60 + browser/base/content/aboutRobots-icon.png | Bin 0 -> 9817 bytes browser/base/content/aboutRobots-widget-left.png | Bin 0 -> 2224 bytes browser/base/content/aboutRobots.xhtml | 108 + browser/base/content/aboutSocialError.xhtml | 111 + browser/base/content/aboutTabCrashed.css | 11 + browser/base/content/aboutTabCrashed.js | 309 + browser/base/content/aboutTabCrashed.xhtml | 97 + .../base/content/aboutaccounts/aboutaccounts.css | 24 + .../base/content/aboutaccounts/aboutaccounts.js | 543 ++ .../base/content/aboutaccounts/aboutaccounts.xhtml | 112 + browser/base/content/aboutaccounts/images/fox.png | Bin 0 -> 1951 bytes .../aboutaccounts/images/graphic_sync_intro.png | Bin 0 -> 6441 bytes .../aboutaccounts/images/graphic_sync_intro@2x.png | Bin 0 -> 12852 bytes browser/base/content/aboutaccounts/main.css | 166 + browser/base/content/aboutaccounts/normalize.css | 402 + .../base/content/abouthealthreport/abouthealth.css | 15 + .../base/content/abouthealthreport/abouthealth.js | 180 + .../content/abouthealthreport/abouthealth.xhtml | 31 + browser/base/content/abouthome/aboutHome.css | 454 ++ browser/base/content/abouthome/aboutHome.js | 398 + browser/base/content/abouthome/aboutHome.xhtml | 79 + browser/base/content/abouthome/addons.png | Bin 0 -> 1444 bytes browser/base/content/abouthome/addons@2x.png | Bin 0 -> 3783 bytes browser/base/content/abouthome/bookmarks.png | Bin 0 -> 1276 bytes browser/base/content/abouthome/bookmarks@2x.png | Bin 0 -> 2946 bytes browser/base/content/abouthome/downloads.png | Bin 0 -> 898 bytes browser/base/content/abouthome/downloads@2x.png | Bin 0 -> 2018 bytes browser/base/content/abouthome/history.png | Bin 0 -> 1654 bytes browser/base/content/abouthome/history@2x.png | Bin 0 -> 4629 bytes browser/base/content/abouthome/mozilla.png | Bin 0 -> 2684 bytes browser/base/content/abouthome/mozilla@2x.png | Bin 0 -> 5647 bytes browser/base/content/abouthome/restore-large.png | Bin 0 -> 2841 bytes .../base/content/abouthome/restore-large@2x.png | Bin 0 -> 7267 bytes browser/base/content/abouthome/restore.png | Bin 0 -> 1796 bytes browser/base/content/abouthome/restore@2x.png | Bin 0 -> 4810 bytes browser/base/content/abouthome/settings.png | Bin 0 -> 1557 bytes browser/base/content/abouthome/settings@2x.png | Bin 0 -> 3836 bytes browser/base/content/abouthome/snippet1.png | Bin 0 -> 1470 bytes browser/base/content/abouthome/snippet1@2x.png | Bin 0 -> 3243 bytes browser/base/content/abouthome/snippet2.png | Bin 0 -> 3287 bytes browser/base/content/abouthome/snippet2@2x.png | Bin 0 -> 11027 bytes browser/base/content/abouthome/sync.png | Bin 0 -> 1879 bytes browser/base/content/abouthome/sync@2x.png | Bin 0 -> 4615 bytes browser/base/content/baseMenuOverlay.xul | 118 + browser/base/content/blockedSite.xhtml | 196 + browser/base/content/browser-addons.js | 747 ++ browser/base/content/browser-captivePortal.js | 257 + browser/base/content/browser-charsetmenu.inc | 12 + browser/base/content/browser-context.inc | 472 ++ browser/base/content/browser-ctrlTab.js | 587 ++ browser/base/content/browser-customization.js | 100 + .../content/browser-data-submission-info-bar.js | 127 + browser/base/content/browser-devedition.js | 142 + browser/base/content/browser-doctype.inc | 23 + browser/base/content/browser-feeds.js | 646 ++ .../content/browser-fullScreenAndPointerLock.js | 673 ++ browser/base/content/browser-fullZoom.js | 526 ++ browser/base/content/browser-fxaccounts.js | 459 ++ browser/base/content/browser-gestureSupport.js | 1244 +++ browser/base/content/browser-media.js | 365 + browser/base/content/browser-menubar.inc | 535 ++ browser/base/content/browser-places.js | 2021 +++++ browser/base/content/browser-plugins.js | 548 ++ browser/base/content/browser-refreshblocker.js | 84 + browser/base/content/browser-safebrowsing.js | 48 + browser/base/content/browser-sets.inc | 380 + browser/base/content/browser-sidebar.js | 337 + browser/base/content/browser-social.js | 503 ++ browser/base/content/browser-syncui.js | 544 ++ browser/base/content/browser-tabPreviews.xml | 37 + .../base/content/browser-tabsintitlebar-stub.js | 17 + browser/base/content/browser-tabsintitlebar.js | 307 + browser/base/content/browser-thumbnails.js | 142 + browser/base/content/browser-trackingprotection.js | 239 + browser/base/content/browser.css | 1244 +++ browser/base/content/browser.js | 8281 ++++++++++++++++++++ browser/base/content/browser.xul | 1134 +++ browser/base/content/browserMountPoints.inc | 12 + browser/base/content/content.js | 1503 ++++ browser/base/content/contentSearchUI.css | 161 + browser/base/content/contentSearchUI.js | 915 +++ browser/base/content/defaultthemes/1.footer.jpg | Bin 0 -> 151200 bytes browser/base/content/defaultthemes/1.header.jpg | Bin 0 -> 266398 bytes browser/base/content/defaultthemes/1.icon.jpg | Bin 0 -> 1093 bytes browser/base/content/defaultthemes/1.preview.jpg | Bin 0 -> 7953 bytes browser/base/content/defaultthemes/2.footer.jpg | Bin 0 -> 81134 bytes browser/base/content/defaultthemes/2.header.jpg | Bin 0 -> 173983 bytes browser/base/content/defaultthemes/2.icon.jpg | Bin 0 -> 509 bytes browser/base/content/defaultthemes/2.preview.jpg | Bin 0 -> 2877 bytes browser/base/content/defaultthemes/3.footer.png | Bin 0 -> 180454 bytes browser/base/content/defaultthemes/3.header.png | Bin 0 -> 293504 bytes browser/base/content/defaultthemes/3.icon.png | Bin 0 -> 896 bytes browser/base/content/defaultthemes/3.preview.png | Bin 0 -> 56585 bytes browser/base/content/defaultthemes/4.footer.png | Bin 0 -> 384076 bytes browser/base/content/defaultthemes/4.header.png | Bin 0 -> 769368 bytes browser/base/content/defaultthemes/4.icon.png | Bin 0 -> 731 bytes browser/base/content/defaultthemes/4.preview.png | Bin 0 -> 95328 bytes browser/base/content/defaultthemes/5.footer.png | Bin 0 -> 9760 bytes browser/base/content/defaultthemes/5.header.png | Bin 0 -> 9760 bytes browser/base/content/defaultthemes/5.icon.jpg | Bin 0 -> 267 bytes browser/base/content/defaultthemes/5.preview.jpg | Bin 0 -> 2837 bytes .../content/defaultthemes/devedition.header.png | Bin 0 -> 95 bytes .../base/content/defaultthemes/devedition.icon.png | Bin 0 -> 2402 bytes .../content/docs/sslerrorreport/dataformat.rst | 54 + browser/base/content/docs/sslerrorreport/index.rst | 15 + .../content/docs/sslerrorreport/preferences.rst | 23 + browser/base/content/downloadManagerOverlay.xul | 32 + browser/base/content/gcli_sec_bad.svg | 7 + browser/base/content/gcli_sec_good.svg | 4 + browser/base/content/gcli_sec_moderate.svg | 4 + browser/base/content/global-scripts.inc | 38 + browser/base/content/hiddenWindow.xul | 20 + browser/base/content/macBrowserOverlay.xul | 66 + .../content/newtab/alternativeDefaultSites.json | 50 + browser/base/content/newtab/cells.js | 126 + browser/base/content/newtab/customize.js | 133 + browser/base/content/newtab/drag.js | 151 + browser/base/content/newtab/dragDataHelper.js | 22 + browser/base/content/newtab/drop.js | 150 + browser/base/content/newtab/dropPreview.js | 222 + browser/base/content/newtab/dropTargetShim.js | 232 + browser/base/content/newtab/grid.js | 279 + browser/base/content/newtab/newTab.css | 654 ++ browser/base/content/newtab/newTab.inadjacent.json | 3209 ++++++++ browser/base/content/newtab/newTab.js | 71 + browser/base/content/newtab/newTab.xhtml | 96 + browser/base/content/newtab/page.js | 297 + browser/base/content/newtab/search.js | 15 + browser/base/content/newtab/sites.js | 440 ++ browser/base/content/newtab/transformations.js | 270 + browser/base/content/newtab/undo.js | 116 + browser/base/content/newtab/updater.js | 177 + browser/base/content/nsContextMenu.js | 1878 +++++ browser/base/content/overrides/app-license.html | 6 + browser/base/content/pageinfo/feeds.js | 32 + browser/base/content/pageinfo/feeds.xml | 40 + browser/base/content/pageinfo/pageInfo.css | 26 + browser/base/content/pageinfo/pageInfo.js | 1140 +++ browser/base/content/pageinfo/pageInfo.xml | 20 + browser/base/content/pageinfo/pageInfo.xul | 438 ++ browser/base/content/pageinfo/permissions.js | 334 + browser/base/content/pageinfo/security.js | 388 + browser/base/content/popup-notifications.inc | 81 + browser/base/content/report-phishing-overlay.xul | 35 + browser/base/content/safeMode.css | 8 + browser/base/content/safeMode.js | 82 + browser/base/content/safeMode.xul | 51 + browser/base/content/sanitize.js | 910 +++ browser/base/content/sanitize.xul | 183 + browser/base/content/sanitizeDialog.css | 23 + browser/base/content/sanitizeDialog.js | 889 +++ browser/base/content/social-content.js | 172 + browser/base/content/softwareUpdateOverlay.xul | 18 + .../base/content/sync/aboutSyncTabs-bindings.xml | 46 + browser/base/content/sync/aboutSyncTabs.css | 11 + browser/base/content/sync/aboutSyncTabs.js | 361 + browser/base/content/sync/aboutSyncTabs.xul | 68 + browser/base/content/sync/addDevice.js | 157 + browser/base/content/sync/addDevice.xul | 129 + browser/base/content/sync/customize.css | 28 + browser/base/content/sync/customize.js | 25 + browser/base/content/sync/customize.xul | 67 + browser/base/content/sync/genericChange.js | 233 + browser/base/content/sync/genericChange.xul | 123 + browser/base/content/sync/key.xhtml | 54 + browser/base/content/sync/setup.js | 1060 +++ browser/base/content/sync/setup.xul | 490 ++ browser/base/content/sync/utils.js | 231 + browser/base/content/tab-content.js | 947 +++ browser/base/content/tab-shape.inc.svg | 11 + browser/base/content/tabbrowser.css | 98 + browser/base/content/tabbrowser.xml | 7417 ++++++++++++++++++ browser/base/content/test/alerts/.eslintrc.js | 7 + browser/base/content/test/alerts/browser.ini | 12 + .../test/alerts/browser_notification_close.js | 71 + .../alerts/browser_notification_do_not_disturb.js | 80 + .../alerts/browser_notification_open_settings.js | 58 + .../browser_notification_permission_migration.js | 45 + .../browser_notification_remove_permission.js | 72 + .../test/alerts/browser_notification_replace.js | 38 + .../alerts/browser_notification_tab_switching.js | 80 + .../test/alerts/file_dom_notifications.html | 39 + browser/base/content/test/alerts/head.js | 71 + .../base/content/test/captivePortal/browser.ini | 9 + .../captivePortal/browser_CaptivePortalWatcher.js | 119 + .../browser_CaptivePortalWatcher_1.js | 91 + .../browser_captivePortal_certErrorUI.js | 82 + browser/base/content/test/captivePortal/head.js | 181 + browser/base/content/test/chrome/.eslintrc.js | 7 + browser/base/content/test/chrome/chrome.ini | 3 + .../base/content/test/chrome/test_aboutCrashed.xul | 86 + browser/base/content/test/general/.eslintrc.js | 8 + .../base/content/test/general/POSTSearchEngine.xml | 6 + .../test/general/aboutHome_content_script.js | 6 + .../test/general/accounts_testRemoteCommands.html | 83 + .../base/content/test/general/alltabslistener.html | 8 + .../base/content/test/general/app_bug575561.html | 18 + .../test/general/app_subframe_bug575561.html | 12 + browser/base/content/test/general/audio.ogg | Bin 0 -> 14293 bytes browser/base/content/test/general/benignPage.html | 12 + browser/base/content/test/general/browser.ini | 494 ++ .../test/general/browser_PageMetaData_pushstate.js | 29 + .../content/test/general/browser_aboutAccounts.js | 499 ++ .../content/test/general/browser_aboutCertError.js | 409 + .../test/general/browser_aboutHealthReport.js | 139 + .../base/content/test/general/browser_aboutHome.js | 668 ++ .../general/browser_aboutHome_wrapsCorrectly.js | 28 + .../content/test/general/browser_aboutNetError.js | 47 + .../browser_aboutSupport_newtab_security_state.js | 26 + .../content/test/general/browser_accesskeys.js | 82 + .../test/general/browser_addCertException.js | 50 + .../test/general/browser_addKeywordSearch.js | 81 + .../test/general/browser_alltabslistener.js | 206 + .../content/test/general/browser_audioTabIcon.js | 504 ++ .../test/general/browser_backButtonFitts.js | 42 + .../browser_beforeunload_duplicate_dialogs.js | 76 + .../test/general/browser_blob-channelname.js | 11 + .../base/content/test/general/browser_blockHPKP.js | 101 + .../content/test/general/browser_bookmark_popup.js | 431 + .../test/general/browser_bookmark_titles.js | 98 + .../content/test/general/browser_bug1015721.js | 54 + .../content/test/general/browser_bug1045809.js | 68 + .../browser_bug1064280_changeUrlInPinnedTab.js | 36 + .../content/test/general/browser_bug1261299.js | 73 + .../content/test/general/browser_bug1297539.js | 114 + .../content/test/general/browser_bug1299667.js | 71 + .../base/content/test/general/browser_bug321000.js | 80 + .../base/content/test/general/browser_bug356571.js | 93 + .../base/content/test/general/browser_bug380960.js | 11 + .../base/content/test/general/browser_bug386835.js | 89 + .../base/content/test/general/browser_bug406216.js | 54 + .../base/content/test/general/browser_bug408415.js | 45 + .../base/content/test/general/browser_bug409481.js | 83 + .../base/content/test/general/browser_bug409624.js | 57 + .../base/content/test/general/browser_bug413915.js | 62 + .../base/content/test/general/browser_bug416661.js | 43 + .../base/content/test/general/browser_bug417483.js | 30 + .../base/content/test/general/browser_bug419612.js | 32 + .../base/content/test/general/browser_bug422590.js | 50 + .../base/content/test/general/browser_bug423833.js | 138 + .../base/content/test/general/browser_bug424101.js | 52 + .../base/content/test/general/browser_bug427559.js | 38 + .../base/content/test/general/browser_bug431826.js | 50 + .../base/content/test/general/browser_bug432599.js | 127 + .../base/content/test/general/browser_bug435035.js | 17 + .../base/content/test/general/browser_bug435325.js | 69 + .../base/content/test/general/browser_bug441778.js | 46 + .../base/content/test/general/browser_bug455852.js | 20 + .../base/content/test/general/browser_bug460146.js | 51 + .../base/content/test/general/browser_bug462289.js | 81 + .../base/content/test/general/browser_bug462673.js | 36 + .../base/content/test/general/browser_bug477014.js | 25 + .../base/content/test/general/browser_bug479408.js | 17 + .../test/general/browser_bug479408_sample.html | 4 + .../base/content/test/general/browser_bug481560.js | 21 + .../base/content/test/general/browser_bug484315.js | 23 + .../base/content/test/general/browser_bug491431.js | 34 + .../base/content/test/general/browser_bug495058.js | 38 + .../base/content/test/general/browser_bug517902.js | 42 + .../base/content/test/general/browser_bug519216.js | 45 + .../base/content/test/general/browser_bug520538.js | 15 + .../base/content/test/general/browser_bug521216.js | 50 + .../base/content/test/general/browser_bug533232.js | 36 + .../base/content/test/general/browser_bug537013.js | 135 + .../base/content/test/general/browser_bug537474.js | 8 + .../base/content/test/general/browser_bug550565.js | 44 + .../base/content/test/general/browser_bug553455.js | 1200 +++ .../base/content/test/general/browser_bug555224.js | 40 + .../base/content/test/general/browser_bug555767.js | 54 + .../base/content/test/general/browser_bug559991.js | 42 + .../base/content/test/general/browser_bug561636.js | 370 + .../base/content/test/general/browser_bug563588.js | 30 + .../base/content/test/general/browser_bug565575.js | 14 + .../base/content/test/general/browser_bug567306.js | 50 + .../base/content/test/general/browser_bug575561.js | 97 + .../base/content/test/general/browser_bug575830.js | 33 + .../base/content/test/general/browser_bug577121.js | 29 + .../base/content/test/general/browser_bug578534.js | 23 + .../base/content/test/general/browser_bug579872.js | 28 + .../base/content/test/general/browser_bug580638.js | 60 + .../base/content/test/general/browser_bug580956.js | 26 + .../base/content/test/general/browser_bug581242.js | 21 + .../base/content/test/general/browser_bug581253.js | 86 + .../base/content/test/general/browser_bug585558.js | 153 + .../base/content/test/general/browser_bug585785.js | 35 + .../base/content/test/general/browser_bug585830.js | 25 + .../base/content/test/general/browser_bug590206.js | 163 + .../base/content/test/general/browser_bug592338.js | 163 + .../base/content/test/general/browser_bug594131.js | 21 + .../base/content/test/general/browser_bug595507.js | 36 + .../base/content/test/general/browser_bug596687.js | 25 + .../base/content/test/general/browser_bug597218.js | 38 + .../base/content/test/general/browser_bug609700.js | 20 + .../base/content/test/general/browser_bug623893.js | 37 + .../base/content/test/general/browser_bug624734.js | 29 + .../base/content/test/general/browser_bug633691.js | 28 + .../base/content/test/general/browser_bug647886.js | 40 + .../base/content/test/general/browser_bug655584.js | 23 + .../base/content/test/general/browser_bug664672.js | 19 + .../base/content/test/general/browser_bug676619.js | 124 + .../content/test/general/browser_bug678392-1.html | 12 + .../content/test/general/browser_bug678392-2.html | 12 + .../base/content/test/general/browser_bug678392.js | 191 + .../base/content/test/general/browser_bug710878.js | 34 + .../base/content/test/general/browser_bug719271.js | 95 + .../base/content/test/general/browser_bug724239.js | 11 + .../base/content/test/general/browser_bug734076.js | 114 + .../base/content/test/general/browser_bug735471.js | 23 + .../base/content/test/general/browser_bug749738.js | 29 + .../test/general/browser_bug763468_perwindowpb.js | 70 + .../test/general/browser_bug767836_perwindowpb.js | 90 + .../base/content/test/general/browser_bug817947.js | 55 + .../base/content/test/general/browser_bug822367.js | 187 + .../base/content/test/general/browser_bug832435.js | 23 + .../base/content/test/general/browser_bug839103.js | 120 + .../base/content/test/general/browser_bug882977.js | 29 + .../base/content/test/general/browser_bug902156.js | 174 + .../base/content/test/general/browser_bug906190.js | 240 + .../base/content/test/general/browser_bug963945.js | 23 + .../base/content/test/general/browser_bug970746.js | 121 + .../content/test/general/browser_bug970746.xhtml | 20 + .../base/content/test/general/browser_clipboard.js | 174 + .../test/general/browser_clipboard_pastefile.js | 62 + .../test/general/browser_contentAltClick.js | 107 + .../test/general/browser_contentAreaClick.js | 307 + .../test/general/browser_contentSearchUI.js | 771 ++ .../content/test/general/browser_contextmenu.js | 996 +++ .../general/browser_contextmenu_childprocess.js | 84 + .../test/general/browser_contextmenu_input.js | 243 + .../general/browser_csp_block_all_mixedcontent.js | 55 + .../base/content/test/general/browser_ctrlTab.js | 185 + .../general/browser_datachoices_notification.js | 221 + .../content/test/general/browser_decoderDoctor.js | 122 + .../content/test/general/browser_devedition.js | 129 + .../base/content/test/general/browser_discovery.js | 162 + .../test/general/browser_documentnavigation.js | 266 + .../browser_domFullscreen_fullscreenMode.js | 221 + .../test/general/browser_double_close_tab.js | 80 + browser/base/content/test/general/browser_drag.js | 45 + .../content/test/general/browser_duplicateIDs.js | 8 + .../test/general/browser_e10s_about_process.js | 114 + .../test/general/browser_e10s_chrome_process.js | 150 + .../test/general/browser_e10s_javascript.js | 11 + .../test/general/browser_e10s_switchbrowser.js | 261 + .../content/test/general/browser_favicon_change.js | 41 + .../browser_favicon_change_not_in_document.js | 34 + .../content/test/general/browser_feed_discovery.js | 33 + .../content/test/general/browser_findbarClose.js | 35 + .../content/test/general/browser_focusonkeydown.js | 26 + .../test/general/browser_fullscreen-window-open.js | 347 + .../content/test/general/browser_fxa_migrate.js | 18 + .../content/test/general/browser_fxa_oauth.html | 30 + .../base/content/test/general/browser_fxa_oauth.js | 327 + .../test/general/browser_fxa_oauth_with_keys.html | 33 + .../test/general/browser_fxa_web_channel.html | 138 + .../test/general/browser_fxa_web_channel.js | 210 + .../content/test/general/browser_fxaccounts.js | 261 + .../test/general/browser_gZipOfflineChild.js | 80 + .../content/test/general/browser_gestureSupport.js | 670 ++ .../test/general/browser_getshortcutoruri.js | 143 + .../content/test/general/browser_hide_removing.js | 39 + .../base/content/test/general/browser_homeDrop.js | 90 + .../content/test/general/browser_identity_UI.js | 146 + .../test/general/browser_insecureLoginForms.js | 162 + ...rowser_invalid_uri_back_forward_manipulation.js | 39 + .../test/general/browser_keywordBookmarklets.js | 54 + .../content/test/general/browser_keywordSearch.js | 88 + .../test/general/browser_keywordSearch_postData.js | 94 + .../test/general/browser_lastAccessedTab.js | 47 + .../content/test/general/browser_mcb_redirect.js | 314 + .../test/general/browser_menuButtonBadgeManager.js | 46 + .../test/general/browser_menuButtonFitts.js | 32 + .../test/general/browser_middleMouse_noJSPaste.js | 34 + .../base/content/test/general/browser_minimize.js | 18 + .../browser_misused_characters_in_strings.js | 244 + .../general/browser_mixedContentFramesOnHttp.js | 34 + .../general/browser_mixedContentFromOnunload.js | 49 + .../general/browser_mixed_content_cert_override.js | 54 + .../general/browser_mixedcontent_securityflags.js | 70 + .../browser_modifiedclick_inherit_principal.js | 30 + .../content/test/general/browser_newTabDrop.js | 99 + .../content/test/general/browser_newWindowDrop.js | 120 + .../test/general/browser_newwindow_focus.js | 96 + .../test/general/browser_no_mcb_on_http_site.js | 106 + .../general/browser_offlineQuotaNotification.js | 95 + .../content/test/general/browser_overflowScroll.js | 91 + .../base/content/test/general/browser_pageInfo.js | 38 + .../test/general/browser_page_style_menu.js | 97 + .../test/general/browser_page_style_menu_update.js | 67 + .../test/general/browser_pageinfo_svg_image.js | 38 + .../content/test/general/browser_parsable_css.js | 376 + .../test/general/browser_parsable_script.js | 132 + .../content/test/general/browser_permissions.js | 202 + .../content/test/general/browser_pinnedTabs.js | 75 + .../content/test/general/browser_plainTextLinks.js | 146 + .../content/test/general/browser_printpreview.js | 74 + .../general/browser_private_browsing_window.js | 65 + .../test/general/browser_private_no_prompt.js | 12 + .../test/general/browser_purgehistory_clears_sh.js | 60 + .../content/test/general/browser_refreshBlocker.js | 135 + ...owser_registerProtocolHandler_notification.html | 15 + ...browser_registerProtocolHandler_notification.js | 43 + .../content/test/general/browser_relatedTabs.js | 51 + .../test/general/browser_remoteTroubleshoot.js | 93 + .../browser_remoteWebNavigation_postdata.js | 50 + .../test/general/browser_removeTabsToTheEnd.js | 24 + .../test/general/browser_restore_isAppTab.js | 160 + .../browser_sanitize-passwordDisabledHosts.js | 39 + .../general/browser_sanitize-sitepermissions.js | 52 + .../test/general/browser_sanitize-timespans.js | 733 ++ .../content/test/general/browser_sanitizeDialog.js | 1027 +++ .../test/general/browser_save_link-perwindowpb.js | 199 + .../browser_save_link_when_window_navigates.js | 173 + .../browser_save_private_link_perwindowpb.js | 116 + .../content/test/general/browser_save_video.js | 87 + .../test/general/browser_save_video_frame.js | 125 + browser/base/content/test/general/browser_scope.js | 10 + .../test/general/browser_selectTabAtIndex.js | 81 + .../content/test/general/browser_selectpopup.js | 563 ++ .../test/general/browser_ssl_error_reports.js | 174 + .../base/content/test/general/browser_star_hsts.js | 85 + .../content/test/general/browser_star_hsts.sjs | 13 + .../general/browser_subframe_favicons_not_used.js | 20 + .../base/content/test/general/browser_syncui.js | 205 + .../base/content/test/general/browser_tabDrop.js | 103 + .../content/test/general/browser_tabReorder.js | 49 + .../general/browser_tab_close_dependent_window.js | 24 + .../test/general/browser_tab_detach_restore.js | 34 + .../general/browser_tab_drag_drop_perwindow.js | 216 + .../content/test/general/browser_tab_dragdrop.js | 186 + .../content/test/general/browser_tab_dragdrop2.js | 57 + .../test/general/browser_tab_dragdrop2_frame1.xul | 169 + .../test/general/browser_tabbar_big_widgets.js | 29 + .../base/content/test/general/browser_tabfocus.js | 565 ++ .../test/general/browser_tabkeynavigation.js | 156 + .../test/general/browser_tabopen_reflows.js | 157 + .../general/browser_tabs_close_beforeunload.js | 49 + .../content/test/general/browser_tabs_isActive.js | 152 + .../content/test/general/browser_tabs_owner.js | 44 + ...r_testOpenNewRemoteTabsFromNonRemoteBrowsers.js | 126 + .../content/test/general/browser_trackingUI_1.js | 170 + .../content/test/general/browser_trackingUI_2.js | 96 + .../content/test/general/browser_trackingUI_3.js | 52 + .../content/test/general/browser_trackingUI_4.js | 109 + .../content/test/general/browser_trackingUI_5.js | 131 + .../content/test/general/browser_trackingUI_6.js | 46 + .../test/general/browser_trackingUI_telemetry.js | 145 + .../content/test/general/browser_typeAheadFind.js | 22 + .../general/browser_unknownContentType_title.js | 33 + .../content/test/general/browser_unloaddialogs.js | 41 + .../content/test/general/browser_utilityOverlay.js | 112 + .../general/browser_viewSourceInTabOnViewSource.js | 55 + .../test/general/browser_visibleFindSelection.js | 52 + .../content/test/general/browser_visibleTabs.js | 97 + .../browser_visibleTabs_bookmarkAllPages.js | 34 + .../general/browser_visibleTabs_bookmarkAllTabs.js | 66 + .../general/browser_visibleTabs_contextMenu.js | 72 + .../test/general/browser_visibleTabs_tabPreview.js | 41 + .../content/test/general/browser_web_channel.html | 189 + .../content/test/general/browser_web_channel.js | 436 ++ .../test/general/browser_web_channel_iframe.html | 96 + .../test/general/browser_windowactivation.js | 183 + .../test/general/browser_windowopen_reflows.js | 117 + .../content/test/general/browser_zbug569342.js | 80 + .../general/bug1262648_string_with_newlines.dtd | 3 + .../base/content/test/general/bug364677-data.xml | 5 + .../test/general/bug364677-data.xml^headers^ | 1 + .../base/content/test/general/bug395533-data.txt | 6 + browser/base/content/test/general/bug592338.html | 24 + browser/base/content/test/general/bug792517-2.html | 5 + browser/base/content/test/general/bug792517.html | 5 + browser/base/content/test/general/bug792517.sjs | 13 + browser/base/content/test/general/bug839103.css | 1 + .../content/test/general/clipboard_pastefile.html | 37 + .../content/test/general/close_beforeunload.html | 8 + .../close_beforeunload_opens_second_tab.html | 3 + .../base/content/test/general/contentSearchUI.html | 21 + .../base/content/test/general/contentSearchUI.js | 209 + .../content/test/general/content_aboutAccounts.js | 87 + .../content/test/general/contextmenu_common.js | 324 + .../base/content/test/general/ctxmenu-image.png | Bin 0 -> 5401 bytes browser/base/content/test/general/discovery.html | 8 + .../base/content/test/general/download_page.html | 47 + browser/base/content/test/general/dummy_page.html | 9 + .../base/content/test/general/feed_discovery.html | 73 + browser/base/content/test/general/feed_tab.html | 17 + .../content/test/general/file_bug1045809_1.html | 7 + .../content/test/general/file_bug1045809_2.html | 7 + .../content/test/general/file_bug822367_1.html | 18 + .../base/content/test/general/file_bug822367_1.js | 1 + .../content/test/general/file_bug822367_2.html | 16 + .../content/test/general/file_bug822367_3.html | 27 + .../content/test/general/file_bug822367_4.html | 18 + .../base/content/test/general/file_bug822367_4.js | 1 + .../content/test/general/file_bug822367_4B.html | 18 + .../content/test/general/file_bug822367_5.html | 24 + .../content/test/general/file_bug822367_6.html | 16 + .../base/content/test/general/file_bug902156.js | 5 + .../content/test/general/file_bug902156_1.html | 15 + .../content/test/general/file_bug902156_2.html | 17 + .../content/test/general/file_bug902156_3.html | 15 + .../base/content/test/general/file_bug906190.js | 5 + .../base/content/test/general/file_bug906190.sjs | 17 + .../content/test/general/file_bug906190_1.html | 15 + .../content/test/general/file_bug906190_2.html | 15 + .../content/test/general/file_bug906190_3_4.html | 14 + .../test/general/file_bug906190_redirected.html | 15 + .../test/general/file_bug970276_favicon1.ico | Bin 0 -> 1406 bytes .../test/general/file_bug970276_favicon2.ico | Bin 0 -> 1406 bytes .../test/general/file_bug970276_popup1.html | 14 + .../test/general/file_bug970276_popup2.html | 12 + .../general/file_csp_block_all_mixedcontent.html | 9 + .../general/file_csp_block_all_mixedcontent.js | 3 + .../general/file_documentnavigation_frameset.html | 12 + .../test/general/file_double_close_tab.html | 15 + .../content/test/general/file_favicon_change.html | 13 + .../file_favicon_change_not_in_document.html | 21 + .../test/general/file_fullscreen-window-open.html | 24 + .../content/test/general/file_generic_favicon.ico | Bin 0 -> 1406 bytes .../content/test/general/file_mediaPlayback.html | 2 + .../general/file_mixedContentFramesOnHttp.html | 14 + .../general/file_mixedContentFromOnunload.html | 18 + .../file_mixedContentFromOnunload_test1.html | 14 + .../file_mixedContentFromOnunload_test2.html | 15 + .../test/general/file_mixedPassiveContent.html | 13 + .../content/test/general/file_trackingUI_6.html | 16 + .../base/content/test/general/file_trackingUI_6.js | 2 + .../test/general/file_trackingUI_6.js^headers^ | 1 + .../content/test/general/file_with_favicon.html | 12 + .../content/test/general/fxa_profile_handler.sjs | 34 + .../test/general/gZipOfflineChild.cacheManifest | 2 + .../gZipOfflineChild.cacheManifest^headers^ | 1 + .../content/test/general/gZipOfflineChild.html | Bin 0 -> 303 bytes .../test/general/gZipOfflineChild.html^headers^ | 2 + .../general/gZipOfflineChild_uncompressed.html | 21 + browser/base/content/test/general/head.js | 1069 +++ browser/base/content/test/general/head_plain.js | 27 + .../content/test/general/healthreport_pingData.js | 17 + .../general/healthreport_testRemoteCommands.html | 243 + .../base/content/test/general/insecure_opener.html | 9 + browser/base/content/test/general/mochitest.ini | 27 + browser/base/content/test/general/moz.png | Bin 0 -> 580 bytes .../general/navigating_window_with_download.html | 7 + .../base/content/test/general/offlineByDefault.js | 17 + .../test/general/offlineChild.cacheManifest | 2 + .../general/offlineChild.cacheManifest^headers^ | 1 + .../base/content/test/general/offlineChild.html | 20 + .../test/general/offlineChild2.cacheManifest | 2 + .../general/offlineChild2.cacheManifest^headers^ | 1 + .../base/content/test/general/offlineChild2.html | 20 + .../test/general/offlineEvent.cacheManifest | 2 + .../general/offlineEvent.cacheManifest^headers^ | 1 + .../base/content/test/general/offlineEvent.html | 9 + .../general/offlineQuotaNotification.cacheManifest | 7 + .../test/general/offlineQuotaNotification.html | 9 + .../content/test/general/page_style_sample.html | 41 + .../content/test/general/parsingTestHelpers.jsm | 131 + browser/base/content/test/general/permissions.html | 14 + .../base/content/test/general/pinning_headers.sjs | 23 + .../base/content/test/general/print_postdata.sjs | 22 + .../base/content/test/general/refresh_header.sjs | 24 + browser/base/content/test/general/refresh_meta.sjs | 36 + .../test/general/searchSuggestionEngine.sjs | 9 + .../test/general/searchSuggestionEngine.xml | 9 + .../test/general/searchSuggestionEngine2.xml | 9 + .../content/test/general/ssl_error_reports.sjs | 91 + .../content/test/general/subtst_contextmenu.html | 73 + .../test/general/subtst_contextmenu_input.html | 29 + .../test/general/subtst_contextmenu_xul.xul | 9 + browser/base/content/test/general/svg_image.html | 11 + .../general/test-mixedcontent-securityerrors.html | 21 + .../base/content/test/general/test_bug364677.html | 32 + .../base/content/test/general/test_bug395533.html | 38 + .../base/content/test/general/test_bug435035.html | 1 + .../base/content/test/general/test_bug462673.html | 18 + .../base/content/test/general/test_bug628179.html | 10 + .../base/content/test/general/test_bug839103.html | 10 + .../base/content/test/general/test_bug959531.html | 9 + .../general/test_mcb_double_redirect_image.html | 23 + .../content/test/general/test_mcb_redirect.html | 15 + .../base/content/test/general/test_mcb_redirect.js | 5 + .../content/test/general/test_mcb_redirect.sjs | 22 + .../test/general/test_mcb_redirect_image.html | 23 + .../test/general/test_no_mcb_on_http_site_font.css | 10 + .../general/test_no_mcb_on_http_site_font.html | 47 + .../general/test_no_mcb_on_http_site_font2.css | 1 + .../general/test_no_mcb_on_http_site_font2.html | 48 + .../test/general/test_no_mcb_on_http_site_img.css | 3 + .../test/general/test_no_mcb_on_http_site_img.html | 47 + .../test/general/test_offlineNotification.html | 129 + .../content/test/general/test_offline_gzip.html | 21 + .../test/general/test_process_flags_chrome.html | 10 + .../test/general/test_remoteTroubleshoot.html | 50 + browser/base/content/test/general/title_test.svg | 59 + .../base/content/test/general/trackingPage.html | 12 + .../test/general/unknownContentType_file.pif | 1 + .../general/unknownContentType_file.pif^headers^ | 1 + browser/base/content/test/general/video.ogg | Bin 0 -> 285310 bytes browser/base/content/test/general/web_video.html | 10 + browser/base/content/test/general/web_video1.ogv | Bin 0 -> 28942 bytes .../content/test/general/web_video1.ogv^headers^ | 3 + browser/base/content/test/general/zoom_test.html | 14 + browser/base/content/test/newtab/.eslintrc.js | 7 + browser/base/content/test/newtab/browser.ini | 55 + .../content/test/newtab/browser_newtab_1188015.js | 26 + .../newtab/browser_newtab_background_captures.js | 64 + .../content/test/newtab/browser_newtab_block.js | 95 + .../test/newtab/browser_newtab_bug1145428.js | 87 + .../test/newtab/browser_newtab_bug1178586.js | 83 + .../test/newtab/browser_newtab_bug1194895.js | 146 + .../test/newtab/browser_newtab_bug1271075.js | 32 + .../test/newtab/browser_newtab_bug721442.js | 28 + .../test/newtab/browser_newtab_bug722273.js | 73 + .../test/newtab/browser_newtab_bug723102.js | 24 + .../test/newtab/browser_newtab_bug723121.js | 42 + .../test/newtab/browser_newtab_bug725996.js | 35 + .../test/newtab/browser_newtab_bug734043.js | 34 + .../test/newtab/browser_newtab_bug735987.js | 32 + .../test/newtab/browser_newtab_bug752841.js | 56 + .../test/newtab/browser_newtab_bug765628.js | 32 + .../test/newtab/browser_newtab_bug876313.js | 24 + .../test/newtab/browser_newtab_bug991111.js | 35 + .../test/newtab/browser_newtab_bug991210.js | 34 + .../test/newtab/browser_newtab_bug998387.js | 39 + .../content/test/newtab/browser_newtab_disable.js | 49 + .../test/newtab/browser_newtab_drag_drop.js | 95 + .../test/newtab/browser_newtab_drag_drop_ext.js | 63 + .../test/newtab/browser_newtab_drop_preview.js | 41 + .../content/test/newtab/browser_newtab_enhanced.js | 228 + .../content/test/newtab/browser_newtab_focus.js | 48 + .../browser_newtab_perwindow_private_browsing.js | 56 + .../test/newtab/browser_newtab_reflow_load.js | 37 + .../test/newtab/browser_newtab_reportLinkAction.js | 83 + .../content/test/newtab/browser_newtab_search.js | 247 + .../newtab/browser_newtab_sponsored_icon_click.js | 53 + .../content/test/newtab/browser_newtab_undo.js | 47 + .../content/test/newtab/browser_newtab_unpin.js | 56 + .../content/test/newtab/browser_newtab_update.js | 48 + .../base/content/test/newtab/content-reflows.js | 26 + browser/base/content/test/newtab/head.js | 552 ++ .../content/test/newtab/searchEngine1x2xLogo.xml | 9 + .../content/test/newtab/searchEngine1xLogo.xml | 7 + .../content/test/newtab/searchEngine2xLogo.xml | 7 + .../content/test/newtab/searchEngineFavicon.xml | 6 + .../content/test/newtab/searchEngineNoLogo.xml | 5 + browser/base/content/test/plugins/.eslintrc.js | 7 + .../base/content/test/plugins/blockNoPlugins.xml | 7 + .../base/content/test/plugins/blockPluginHard.xml | 11 + .../content/test/plugins/blockPluginInfoURL.xml | 12 + .../test/plugins/blockPluginVulnerableNoUpdate.xml | 11 + .../plugins/blockPluginVulnerableUpdatable.xml | 11 + .../base/content/test/plugins/blocklist_proxy.js | 78 + browser/base/content/test/plugins/browser.ini | 78 + .../test/plugins/browser_CTP_context_menu.js | 69 + .../test/plugins/browser_CTP_crashreporting.js | 233 + .../content/test/plugins/browser_CTP_data_urls.js | 255 + .../content/test/plugins/browser_CTP_drag_drop.js | 96 + .../test/plugins/browser_CTP_hide_overlay.js | 88 + .../content/test/plugins/browser_CTP_iframe.js | 48 + .../test/plugins/browser_CTP_multi_allow.js | 99 + .../content/test/plugins/browser_CTP_nonplugins.js | 58 + .../test/plugins/browser_CTP_notificationBar.js | 151 + .../test/plugins/browser_CTP_outsideScrollArea.js | 120 + .../test/plugins/browser_CTP_remove_navigate.js | 79 + .../content/test/plugins/browser_CTP_resize.js | 130 + .../base/content/test/plugins/browser_CTP_zoom.js | 62 + .../base/content/test/plugins/browser_blocking.js | 349 + .../test/plugins/browser_blocklist_content.js | 104 + .../base/content/test/plugins/browser_bug743421.js | 119 + .../base/content/test/plugins/browser_bug744745.js | 50 + .../base/content/test/plugins/browser_bug787619.js | 65 + .../base/content/test/plugins/browser_bug797677.js | 43 + .../base/content/test/plugins/browser_bug812562.js | 80 + .../base/content/test/plugins/browser_bug818118.js | 40 + .../base/content/test/plugins/browser_bug820497.js | 71 + .../test/plugins/browser_clearplugindata.html | 30 + .../test/plugins/browser_clearplugindata.js | 127 + .../plugins/browser_clearplugindata_noage.html | 30 + .../plugins/browser_globalplugin_crashinfobar.js | 34 + .../test/plugins/browser_pageInfo_plugins.js | 191 + .../plugins/browser_pluginCrashCommentAndURL.js | 207 + .../browser_pluginCrashReportNonDeterminism.js | 254 + .../test/plugins/browser_plugin_reloading.js | 85 + .../test/plugins/browser_pluginnotification.js | 626 ++ .../plugins/browser_plugins_added_dynamically.js | 137 + .../test/plugins/browser_private_clicktoplay.js | 216 + browser/base/content/test/plugins/head.js | 396 + .../test/plugins/plugin_add_dynamically.html | 18 + .../test/plugins/plugin_alternate_content.html | 9 + browser/base/content/test/plugins/plugin_big.html | 9 + browser/base/content/test/plugins/plugin_both.html | 10 + .../base/content/test/plugins/plugin_both2.html | 10 + .../content/test/plugins/plugin_bug744745.html | 12 + .../content/test/plugins/plugin_bug749455.html | 8 + .../content/test/plugins/plugin_bug787619.html | 9 + .../content/test/plugins/plugin_bug797677.html | 5 + .../content/test/plugins/plugin_bug820497.html | 17 + .../test/plugins/plugin_clickToPlayAllow.html | 9 + .../test/plugins/plugin_clickToPlayDeny.html | 9 + .../test/plugins/plugin_crashCommentAndURL.html | 27 + .../base/content/test/plugins/plugin_data_url.html | 11 + .../test/plugins/plugin_hidden_to_visible.html | 11 + .../base/content/test/plugins/plugin_iframe.html | 9 + .../test/plugins/plugin_outsideScrollArea.html | 25 + .../content/test/plugins/plugin_overlayed.html | 27 + .../content/test/plugins/plugin_positioned.html | 12 + .../base/content/test/plugins/plugin_small.html | 9 + .../base/content/test/plugins/plugin_small_2.html | 9 + .../content/test/plugins/plugin_syncRemoved.html | 15 + browser/base/content/test/plugins/plugin_test.html | 9 + .../base/content/test/plugins/plugin_test2.html | 10 + .../base/content/test/plugins/plugin_test3.html | 9 + .../content/test/plugins/plugin_two_types.html | 9 + .../base/content/test/plugins/plugin_unknown.html | 9 + browser/base/content/test/plugins/plugin_zoom.html | 10 + .../content/test/popupNotifications/.eslintrc.js | 7 + .../content/test/popupNotifications/browser.ini | 18 + .../test/popupNotifications/browser_displayURI.js | 28 + .../browser_popupNotification.js | 203 + .../browser_popupNotification_2.js | 266 + .../browser_popupNotification_3.js | 305 + .../browser_popupNotification_4.js | 294 + .../browser_popupNotification_checkbox.js | 211 + .../browser_popupNotification_keyboard.js | 74 + .../browser_reshow_in_background.js | 52 + .../base/content/test/popupNotifications/head.js | 303 + browser/base/content/test/popups/browser.ini | 4 + .../base/content/test/popups/browser_popupUI.js | 37 + .../content/test/popups/browser_popup_blocker.js | 96 + .../base/content/test/popups/popup_blocker.html | 13 + browser/base/content/test/referrer/.eslintrc.js | 7 + browser/base/content/test/referrer/browser.ini | 24 + .../test/referrer/browser_referrer_middle_click.js | 20 + .../browser_referrer_middle_click_in_container.js | 27 + .../browser_referrer_open_link_in_container_tab.js | 59 + ...browser_referrer_open_link_in_container_tab2.js | 31 + ...browser_referrer_open_link_in_container_tab3.js | 63 + .../browser_referrer_open_link_in_private.js | 22 + .../referrer/browser_referrer_open_link_in_tab.js | 21 + .../browser_referrer_open_link_in_window.js | 22 + ...er_referrer_open_link_in_window_in_container.js | 32 + .../test/referrer/browser_referrer_simple_click.js | 20 + .../test/referrer/file_referrer_policyserver.sjs | 37 + .../referrer/file_referrer_policyserver_attr.sjs | 36 + .../test/referrer/file_referrer_testserver.sjs | 31 + browser/base/content/test/referrer/head.js | 265 + browser/base/content/test/siteIdentity/browser.ini | 8 + .../siteIdentity/browser_identityBlock_focus.js | 62 + .../siteIdentity/browser_identityPopup_focus.js | 27 + browser/base/content/test/siteIdentity/head.js | 6 + browser/base/content/test/social/.eslintrc.js | 7 + browser/base/content/test/social/blocklist.xml | 6 + browser/base/content/test/social/browser.ini | 23 + .../test/social/browser_aboutHome_activation.js | 229 + browser/base/content/test/social/browser_addons.js | 217 + .../base/content/test/social/browser_blocklist.js | 211 + browser/base/content/test/social/browser_share.js | 396 + .../test/social/browser_social_activation.js | 270 + browser/base/content/test/social/head.js | 273 + browser/base/content/test/social/microformats.html | 18 + browser/base/content/test/social/moz.png | Bin 0 -> 580 bytes .../test/social/opengraph/og_invalid_url.html | 11 + .../content/test/social/opengraph/opengraph.html | 13 + .../test/social/opengraph/shortlink_linkrel.html | 10 + .../test/social/opengraph/shorturl_link.html | 10 + .../test/social/opengraph/shorturl_linkrel.html | 25 + browser/base/content/test/social/share.html | 9 + .../base/content/test/social/share_activate.html | 35 + .../base/content/test/social/social_activate.html | 41 + .../content/test/social/social_activate_basic.html | 41 + .../test/social/social_activate_iframe.html | 11 + .../test/social/social_crash_content_helper.js | 31 + .../content/test/social/social_postActivation.html | 12 + browser/base/content/test/tabPrompts/.eslintrc.js | 7 + browser/base/content/test/tabPrompts/browser.ini | 4 + .../tabPrompts/browser_closeTabSpecificPanels.js | 41 + .../test/tabPrompts/browser_multiplePrompts.js | 72 + .../browser_openPromptInBackgroundTab.js | 66 + .../test/tabPrompts/openPromptOffTimeout.html | 10 + browser/base/content/test/tabcrashed/browser.ini | 13 + .../test/tabcrashed/browser_autoSubmitRequest.js | 152 + .../content/test/tabcrashed/browser_clearEmail.js | 85 + .../content/test/tabcrashed/browser_showForm.js | 40 + .../base/content/test/tabcrashed/browser_shown.js | 203 + .../content/test/tabcrashed/browser_withoutDump.js | 36 + browser/base/content/test/tabcrashed/head.js | 110 + browser/base/content/test/tabs/.eslintrc.js | 7 + browser/base/content/test/tabs/browser.ini | 4 + .../content/test/tabs/browser_tabSpinnerProbe.js | 93 + .../test/tabs/browser_tabSwitchPrintPreview.js | 29 + browser/base/content/test/urlbar/.eslintrc.js | 7 + browser/base/content/test/urlbar/authenticate.sjs | 220 + browser/base/content/test/urlbar/browser.ini | 101 + .../content/test/urlbar/browser_URLBarSetURI.js | 100 + .../content/test/urlbar/browser_action_keyword.js | 119 + .../test/urlbar/browser_action_keyword_override.js | 40 + .../test/urlbar/browser_action_searchengine.js | 36 + .../urlbar/browser_action_searchengine_alias.js | 35 + .../test/urlbar/browser_autocomplete_a11y_label.js | 57 + .../test/urlbar/browser_autocomplete_autoselect.js | 92 + .../test/urlbar/browser_autocomplete_cursor.js | 17 + .../urlbar/browser_autocomplete_edit_completed.js | 48 + .../test/urlbar/browser_autocomplete_enter_race.js | 122 + .../test/urlbar/browser_autocomplete_no_title.js | 15 + .../browser_autocomplete_tag_star_visibility.js | 102 + .../browser_bug1003461-switchtab-override.js | 61 + ...browser_bug1024133-switchtab-override-keynav.js | 37 + ..._bug1025195_switchToTabHavingURI_aOpenParams.js | 124 + .../base/content/test/urlbar/browser_bug1070778.js | 55 + .../browser_bug1104165-switchtab-decodeuri.js | 29 + .../test/urlbar/browser_bug1225194-remotetab.js | 16 + .../base/content/test/urlbar/browser_bug304198.js | 109 + .../base/content/test/urlbar/browser_bug556061.js | 98 + .../base/content/test/urlbar/browser_bug562649.js | 24 + .../base/content/test/urlbar/browser_bug623155.js | 137 + .../base/content/test/urlbar/browser_bug783614.js | 13 + .../content/test/urlbar/browser_canonizeURL.js | 42 + .../content/test/urlbar/browser_dragdropURL.js | 15 + .../test/urlbar/browser_locationBarCommand.js | 218 + .../test/urlbar/browser_locationBarExternalLoad.js | 65 + .../content/test/urlbar/browser_moz_action_link.js | 31 + ...browser_removeUnsafeProtocolsFromURLBarPaste.js | 49 + .../content/test/urlbar/browser_search_favicon.js | 52 + .../test/urlbar/browser_tabMatchesInAwesomebar.js | 216 + .../browser_tabMatchesInAwesomebar_perwindowpb.js | 84 + .../content/test/urlbar/browser_urlHighlight.js | 134 + .../test/urlbar/browser_urlbarAboutHomeLoading.js | 104 + .../test/urlbar/browser_urlbarAutoFillTrimURLs.js | 49 + .../content/test/urlbar/browser_urlbarCopying.js | 232 + .../content/test/urlbar/browser_urlbarDecode.js | 97 + .../content/test/urlbar/browser_urlbarDelete.js | 39 + .../content/test/urlbar/browser_urlbarEnter.js | 45 + .../urlbar/browser_urlbarEnterAfterMouseOver.js | 69 + .../test/urlbar/browser_urlbarFocusedCmdK.js | 17 + .../urlbar/browser_urlbarHashChangeProxyState.js | 111 + .../browser_urlbarKeepStateAcrossTabSwitches.js | 49 + .../content/test/urlbar/browser_urlbarOneOffs.js | 232 + .../browser_urlbarPrivateBrowsingWindowChange.js | 41 + .../test/urlbar/browser_urlbarRaceWithTabs.js | 57 + .../content/test/urlbar/browser_urlbarRevert.js | 37 + .../browser_urlbarSearchSingleWordNotification.js | 198 + .../test/urlbar/browser_urlbarSearchSuggestions.js | 66 + .../browser_urlbarSearchSuggestionsNotification.js | 254 + .../test/urlbar/browser_urlbarSearchTelemetry.js | 216 + .../base/content/test/urlbar/browser_urlbarStop.js | 30 + .../content/test/urlbar/browser_urlbarTrimURLs.js | 98 + .../browser_urlbarUpdateForDomainCompletion.js | 17 + .../urlbar/browser_urlbar_autoFill_backspaced.js | 146 + .../content/test/urlbar/browser_urlbar_blanking.js | 35 + ...rowser_urlbar_locationchange_urlbar_edit_dos.js | 41 + .../urlbar/browser_urlbar_remoteness_switch.js | 39 + .../test/urlbar/browser_urlbar_searchsettings.js | 30 + .../test/urlbar/browser_urlbar_stop_pending.js | 138 + .../test/urlbar/browser_wyciwyg_urlbarCopying.js | 31 + browser/base/content/test/urlbar/dummy_page.html | 9 + .../test/urlbar/file_blank_but_not_blank.html | 2 + .../content/test/urlbar/file_urlbar_edit_dos.html | 23 + browser/base/content/test/urlbar/head.js | 205 + browser/base/content/test/urlbar/moz.png | Bin 0 -> 580 bytes .../base/content/test/urlbar/print_postdata.sjs | 22 + .../content/test/urlbar/redirect_bug623155.sjs | 16 + .../content/test/urlbar/searchSuggestionEngine.sjs | 9 + .../content/test/urlbar/searchSuggestionEngine.xml | 9 + browser/base/content/test/urlbar/slow-page.sjs | 22 + .../content/test/urlbar/test_wyciwyg_copying.html | 13 + browser/base/content/test/webrtc/.eslintrc.js | 7 + browser/base/content/test/webrtc/browser.ini | 11 + .../test/webrtc/browser_devices_get_user_media.js | 554 ++ .../webrtc/browser_devices_get_user_media_anim.js | 109 + .../browser_devices_get_user_media_in_frame.js | 266 + .../browser_devices_get_user_media_tear_off_tab.js | 109 + .../base/content/test/webrtc/get_user_media.html | 55 + .../test/webrtc/get_user_media_content_script.js | 85 + browser/base/content/test/webrtc/head.js | 453 ++ browser/base/content/urlbarBindings.xml | 2740 +++++++ browser/base/content/usercontext.svg | 23 + browser/base/content/utilityOverlay.js | 924 +++ browser/base/content/viewSourceOverlay.xul | 26 + browser/base/content/web-panels.js | 104 + browser/base/content/web-panels.xul | 71 + browser/base/content/webrtcIndicator.js | 194 + browser/base/content/webrtcIndicator.xul | 35 + browser/base/content/win6BrowserOverlay.xul | 12 + 889 files changed, 117137 insertions(+) create mode 100644 browser/base/content/aboutDialog-appUpdater.js create mode 100644 browser/base/content/aboutDialog.css create mode 100644 browser/base/content/aboutDialog.js create mode 100644 browser/base/content/aboutDialog.xul create mode 100644 browser/base/content/aboutNetError.xhtml create mode 100644 browser/base/content/aboutProviderDirectory.xhtml create mode 100644 browser/base/content/aboutRobots-icon.png create mode 100644 browser/base/content/aboutRobots-widget-left.png create mode 100644 browser/base/content/aboutRobots.xhtml create mode 100644 browser/base/content/aboutSocialError.xhtml create mode 100644 browser/base/content/aboutTabCrashed.css create mode 100644 browser/base/content/aboutTabCrashed.js create mode 100644 browser/base/content/aboutTabCrashed.xhtml create mode 100644 browser/base/content/aboutaccounts/aboutaccounts.css create mode 100644 browser/base/content/aboutaccounts/aboutaccounts.js create mode 100644 browser/base/content/aboutaccounts/aboutaccounts.xhtml create mode 100644 browser/base/content/aboutaccounts/images/fox.png create mode 100644 browser/base/content/aboutaccounts/images/graphic_sync_intro.png create mode 100644 browser/base/content/aboutaccounts/images/graphic_sync_intro@2x.png create mode 100644 browser/base/content/aboutaccounts/main.css create mode 100644 browser/base/content/aboutaccounts/normalize.css create mode 100644 browser/base/content/abouthealthreport/abouthealth.css create mode 100644 browser/base/content/abouthealthreport/abouthealth.js create mode 100644 browser/base/content/abouthealthreport/abouthealth.xhtml create mode 100644 browser/base/content/abouthome/aboutHome.css create mode 100644 browser/base/content/abouthome/aboutHome.js create mode 100644 browser/base/content/abouthome/aboutHome.xhtml create mode 100644 browser/base/content/abouthome/addons.png create mode 100644 browser/base/content/abouthome/addons@2x.png create mode 100644 browser/base/content/abouthome/bookmarks.png create mode 100644 browser/base/content/abouthome/bookmarks@2x.png create mode 100644 browser/base/content/abouthome/downloads.png create mode 100644 browser/base/content/abouthome/downloads@2x.png create mode 100644 browser/base/content/abouthome/history.png create mode 100644 browser/base/content/abouthome/history@2x.png create mode 100644 browser/base/content/abouthome/mozilla.png create mode 100644 browser/base/content/abouthome/mozilla@2x.png create mode 100644 browser/base/content/abouthome/restore-large.png create mode 100644 browser/base/content/abouthome/restore-large@2x.png create mode 100644 browser/base/content/abouthome/restore.png create mode 100644 browser/base/content/abouthome/restore@2x.png create mode 100644 browser/base/content/abouthome/settings.png create mode 100644 browser/base/content/abouthome/settings@2x.png create mode 100644 browser/base/content/abouthome/snippet1.png create mode 100644 browser/base/content/abouthome/snippet1@2x.png create mode 100644 browser/base/content/abouthome/snippet2.png create mode 100644 browser/base/content/abouthome/snippet2@2x.png create mode 100644 browser/base/content/abouthome/sync.png create mode 100644 browser/base/content/abouthome/sync@2x.png create mode 100644 browser/base/content/baseMenuOverlay.xul create mode 100644 browser/base/content/blockedSite.xhtml create mode 100644 browser/base/content/browser-addons.js create mode 100644 browser/base/content/browser-captivePortal.js create mode 100644 browser/base/content/browser-charsetmenu.inc create mode 100644 browser/base/content/browser-context.inc create mode 100644 browser/base/content/browser-ctrlTab.js create mode 100644 browser/base/content/browser-customization.js create mode 100644 browser/base/content/browser-data-submission-info-bar.js create mode 100644 browser/base/content/browser-devedition.js create mode 100644 browser/base/content/browser-doctype.inc create mode 100644 browser/base/content/browser-feeds.js create mode 100644 browser/base/content/browser-fullScreenAndPointerLock.js create mode 100644 browser/base/content/browser-fullZoom.js create mode 100644 browser/base/content/browser-fxaccounts.js create mode 100644 browser/base/content/browser-gestureSupport.js create mode 100644 browser/base/content/browser-media.js create mode 100644 browser/base/content/browser-menubar.inc create mode 100644 browser/base/content/browser-places.js create mode 100644 browser/base/content/browser-plugins.js create mode 100644 browser/base/content/browser-refreshblocker.js create mode 100644 browser/base/content/browser-safebrowsing.js create mode 100644 browser/base/content/browser-sets.inc create mode 100644 browser/base/content/browser-sidebar.js create mode 100644 browser/base/content/browser-social.js create mode 100644 browser/base/content/browser-syncui.js create mode 100644 browser/base/content/browser-tabPreviews.xml create mode 100644 browser/base/content/browser-tabsintitlebar-stub.js create mode 100644 browser/base/content/browser-tabsintitlebar.js create mode 100644 browser/base/content/browser-thumbnails.js create mode 100644 browser/base/content/browser-trackingprotection.js create mode 100644 browser/base/content/browser.css create mode 100755 browser/base/content/browser.js create mode 100644 browser/base/content/browser.xul create mode 100644 browser/base/content/browserMountPoints.inc create mode 100644 browser/base/content/content.js create mode 100644 browser/base/content/contentSearchUI.css create mode 100644 browser/base/content/contentSearchUI.js create mode 100644 browser/base/content/defaultthemes/1.footer.jpg create mode 100644 browser/base/content/defaultthemes/1.header.jpg create mode 100644 browser/base/content/defaultthemes/1.icon.jpg create mode 100644 browser/base/content/defaultthemes/1.preview.jpg create mode 100644 browser/base/content/defaultthemes/2.footer.jpg create mode 100644 browser/base/content/defaultthemes/2.header.jpg create mode 100644 browser/base/content/defaultthemes/2.icon.jpg create mode 100644 browser/base/content/defaultthemes/2.preview.jpg create mode 100644 browser/base/content/defaultthemes/3.footer.png create mode 100644 browser/base/content/defaultthemes/3.header.png create mode 100644 browser/base/content/defaultthemes/3.icon.png create mode 100644 browser/base/content/defaultthemes/3.preview.png create mode 100644 browser/base/content/defaultthemes/4.footer.png create mode 100644 browser/base/content/defaultthemes/4.header.png create mode 100644 browser/base/content/defaultthemes/4.icon.png create mode 100644 browser/base/content/defaultthemes/4.preview.png create mode 100644 browser/base/content/defaultthemes/5.footer.png create mode 100644 browser/base/content/defaultthemes/5.header.png create mode 100644 browser/base/content/defaultthemes/5.icon.jpg create mode 100644 browser/base/content/defaultthemes/5.preview.jpg create mode 100644 browser/base/content/defaultthemes/devedition.header.png create mode 100644 browser/base/content/defaultthemes/devedition.icon.png create mode 100644 browser/base/content/docs/sslerrorreport/dataformat.rst create mode 100644 browser/base/content/docs/sslerrorreport/index.rst create mode 100644 browser/base/content/docs/sslerrorreport/preferences.rst create mode 100644 browser/base/content/downloadManagerOverlay.xul create mode 100644 browser/base/content/gcli_sec_bad.svg create mode 100644 browser/base/content/gcli_sec_good.svg create mode 100644 browser/base/content/gcli_sec_moderate.svg create mode 100755 browser/base/content/global-scripts.inc create mode 100644 browser/base/content/hiddenWindow.xul create mode 100644 browser/base/content/macBrowserOverlay.xul create mode 100644 browser/base/content/newtab/alternativeDefaultSites.json create mode 100644 browser/base/content/newtab/cells.js create mode 100644 browser/base/content/newtab/customize.js create mode 100644 browser/base/content/newtab/drag.js create mode 100644 browser/base/content/newtab/dragDataHelper.js create mode 100644 browser/base/content/newtab/drop.js create mode 100644 browser/base/content/newtab/dropPreview.js create mode 100644 browser/base/content/newtab/dropTargetShim.js create mode 100644 browser/base/content/newtab/grid.js create mode 100644 browser/base/content/newtab/newTab.css create mode 100644 browser/base/content/newtab/newTab.inadjacent.json create mode 100644 browser/base/content/newtab/newTab.js create mode 100644 browser/base/content/newtab/newTab.xhtml create mode 100644 browser/base/content/newtab/page.js create mode 100644 browser/base/content/newtab/search.js create mode 100644 browser/base/content/newtab/sites.js create mode 100644 browser/base/content/newtab/transformations.js create mode 100644 browser/base/content/newtab/undo.js create mode 100644 browser/base/content/newtab/updater.js create mode 100644 browser/base/content/nsContextMenu.js create mode 100644 browser/base/content/overrides/app-license.html create mode 100644 browser/base/content/pageinfo/feeds.js create mode 100644 browser/base/content/pageinfo/feeds.xml create mode 100644 browser/base/content/pageinfo/pageInfo.css create mode 100644 browser/base/content/pageinfo/pageInfo.js create mode 100644 browser/base/content/pageinfo/pageInfo.xml create mode 100644 browser/base/content/pageinfo/pageInfo.xul create mode 100644 browser/base/content/pageinfo/permissions.js create mode 100644 browser/base/content/pageinfo/security.js create mode 100644 browser/base/content/popup-notifications.inc create mode 100644 browser/base/content/report-phishing-overlay.xul create mode 100644 browser/base/content/safeMode.css create mode 100644 browser/base/content/safeMode.js create mode 100644 browser/base/content/safeMode.xul create mode 100644 browser/base/content/sanitize.js create mode 100644 browser/base/content/sanitize.xul create mode 100644 browser/base/content/sanitizeDialog.css create mode 100644 browser/base/content/sanitizeDialog.js create mode 100644 browser/base/content/social-content.js create mode 100644 browser/base/content/softwareUpdateOverlay.xul create mode 100644 browser/base/content/sync/aboutSyncTabs-bindings.xml create mode 100644 browser/base/content/sync/aboutSyncTabs.css create mode 100644 browser/base/content/sync/aboutSyncTabs.js create mode 100644 browser/base/content/sync/aboutSyncTabs.xul create mode 100644 browser/base/content/sync/addDevice.js create mode 100644 browser/base/content/sync/addDevice.xul create mode 100644 browser/base/content/sync/customize.css create mode 100644 browser/base/content/sync/customize.js create mode 100644 browser/base/content/sync/customize.xul create mode 100644 browser/base/content/sync/genericChange.js create mode 100644 browser/base/content/sync/genericChange.xul create mode 100644 browser/base/content/sync/key.xhtml create mode 100644 browser/base/content/sync/setup.js create mode 100644 browser/base/content/sync/setup.xul create mode 100644 browser/base/content/sync/utils.js create mode 100644 browser/base/content/tab-content.js create mode 100644 browser/base/content/tab-shape.inc.svg create mode 100644 browser/base/content/tabbrowser.css create mode 100644 browser/base/content/tabbrowser.xml create mode 100644 browser/base/content/test/alerts/.eslintrc.js create mode 100644 browser/base/content/test/alerts/browser.ini create mode 100644 browser/base/content/test/alerts/browser_notification_close.js create mode 100644 browser/base/content/test/alerts/browser_notification_do_not_disturb.js create mode 100644 browser/base/content/test/alerts/browser_notification_open_settings.js create mode 100644 browser/base/content/test/alerts/browser_notification_permission_migration.js create mode 100644 browser/base/content/test/alerts/browser_notification_remove_permission.js create mode 100644 browser/base/content/test/alerts/browser_notification_replace.js create mode 100644 browser/base/content/test/alerts/browser_notification_tab_switching.js create mode 100644 browser/base/content/test/alerts/file_dom_notifications.html create mode 100644 browser/base/content/test/alerts/head.js create mode 100644 browser/base/content/test/captivePortal/browser.ini create mode 100644 browser/base/content/test/captivePortal/browser_CaptivePortalWatcher.js create mode 100644 browser/base/content/test/captivePortal/browser_CaptivePortalWatcher_1.js create mode 100644 browser/base/content/test/captivePortal/browser_captivePortal_certErrorUI.js create mode 100644 browser/base/content/test/captivePortal/head.js create mode 100644 browser/base/content/test/chrome/.eslintrc.js create mode 100644 browser/base/content/test/chrome/chrome.ini create mode 100644 browser/base/content/test/chrome/test_aboutCrashed.xul create mode 100644 browser/base/content/test/general/.eslintrc.js create mode 100644 browser/base/content/test/general/POSTSearchEngine.xml create mode 100644 browser/base/content/test/general/aboutHome_content_script.js create mode 100644 browser/base/content/test/general/accounts_testRemoteCommands.html create mode 100644 browser/base/content/test/general/alltabslistener.html create mode 100644 browser/base/content/test/general/app_bug575561.html create mode 100644 browser/base/content/test/general/app_subframe_bug575561.html create mode 100644 browser/base/content/test/general/audio.ogg create mode 100644 browser/base/content/test/general/benignPage.html create mode 100644 browser/base/content/test/general/browser.ini create mode 100644 browser/base/content/test/general/browser_PageMetaData_pushstate.js create mode 100644 browser/base/content/test/general/browser_aboutAccounts.js create mode 100644 browser/base/content/test/general/browser_aboutCertError.js create mode 100644 browser/base/content/test/general/browser_aboutHealthReport.js create mode 100644 browser/base/content/test/general/browser_aboutHome.js create mode 100644 browser/base/content/test/general/browser_aboutHome_wrapsCorrectly.js create mode 100644 browser/base/content/test/general/browser_aboutNetError.js create mode 100644 browser/base/content/test/general/browser_aboutSupport_newtab_security_state.js create mode 100644 browser/base/content/test/general/browser_accesskeys.js create mode 100644 browser/base/content/test/general/browser_addCertException.js create mode 100644 browser/base/content/test/general/browser_addKeywordSearch.js create mode 100644 browser/base/content/test/general/browser_alltabslistener.js create mode 100644 browser/base/content/test/general/browser_audioTabIcon.js create mode 100644 browser/base/content/test/general/browser_backButtonFitts.js create mode 100644 browser/base/content/test/general/browser_beforeunload_duplicate_dialogs.js create mode 100644 browser/base/content/test/general/browser_blob-channelname.js create mode 100644 browser/base/content/test/general/browser_blockHPKP.js create mode 100644 browser/base/content/test/general/browser_bookmark_popup.js create mode 100644 browser/base/content/test/general/browser_bookmark_titles.js create mode 100644 browser/base/content/test/general/browser_bug1015721.js create mode 100644 browser/base/content/test/general/browser_bug1045809.js create mode 100644 browser/base/content/test/general/browser_bug1064280_changeUrlInPinnedTab.js create mode 100644 browser/base/content/test/general/browser_bug1261299.js create mode 100644 browser/base/content/test/general/browser_bug1297539.js create mode 100644 browser/base/content/test/general/browser_bug1299667.js create mode 100644 browser/base/content/test/general/browser_bug321000.js create mode 100644 browser/base/content/test/general/browser_bug356571.js create mode 100644 browser/base/content/test/general/browser_bug380960.js create mode 100644 browser/base/content/test/general/browser_bug386835.js create mode 100644 browser/base/content/test/general/browser_bug406216.js create mode 100644 browser/base/content/test/general/browser_bug408415.js create mode 100644 browser/base/content/test/general/browser_bug409481.js create mode 100644 browser/base/content/test/general/browser_bug409624.js create mode 100644 browser/base/content/test/general/browser_bug413915.js create mode 100644 browser/base/content/test/general/browser_bug416661.js create mode 100644 browser/base/content/test/general/browser_bug417483.js create mode 100644 browser/base/content/test/general/browser_bug419612.js create mode 100644 browser/base/content/test/general/browser_bug422590.js create mode 100644 browser/base/content/test/general/browser_bug423833.js create mode 100644 browser/base/content/test/general/browser_bug424101.js create mode 100644 browser/base/content/test/general/browser_bug427559.js create mode 100644 browser/base/content/test/general/browser_bug431826.js create mode 100644 browser/base/content/test/general/browser_bug432599.js create mode 100644 browser/base/content/test/general/browser_bug435035.js create mode 100644 browser/base/content/test/general/browser_bug435325.js create mode 100644 browser/base/content/test/general/browser_bug441778.js create mode 100644 browser/base/content/test/general/browser_bug455852.js create mode 100644 browser/base/content/test/general/browser_bug460146.js create mode 100644 browser/base/content/test/general/browser_bug462289.js create mode 100644 browser/base/content/test/general/browser_bug462673.js create mode 100644 browser/base/content/test/general/browser_bug477014.js create mode 100644 browser/base/content/test/general/browser_bug479408.js create mode 100644 browser/base/content/test/general/browser_bug479408_sample.html create mode 100644 browser/base/content/test/general/browser_bug481560.js create mode 100644 browser/base/content/test/general/browser_bug484315.js create mode 100644 browser/base/content/test/general/browser_bug491431.js create mode 100644 browser/base/content/test/general/browser_bug495058.js create mode 100644 browser/base/content/test/general/browser_bug517902.js create mode 100644 browser/base/content/test/general/browser_bug519216.js create mode 100644 browser/base/content/test/general/browser_bug520538.js create mode 100644 browser/base/content/test/general/browser_bug521216.js create mode 100644 browser/base/content/test/general/browser_bug533232.js create mode 100644 browser/base/content/test/general/browser_bug537013.js create mode 100644 browser/base/content/test/general/browser_bug537474.js create mode 100644 browser/base/content/test/general/browser_bug550565.js create mode 100644 browser/base/content/test/general/browser_bug553455.js create mode 100644 browser/base/content/test/general/browser_bug555224.js create mode 100644 browser/base/content/test/general/browser_bug555767.js create mode 100644 browser/base/content/test/general/browser_bug559991.js create mode 100644 browser/base/content/test/general/browser_bug561636.js create mode 100644 browser/base/content/test/general/browser_bug563588.js create mode 100644 browser/base/content/test/general/browser_bug565575.js create mode 100644 browser/base/content/test/general/browser_bug567306.js create mode 100644 browser/base/content/test/general/browser_bug575561.js create mode 100644 browser/base/content/test/general/browser_bug575830.js create mode 100644 browser/base/content/test/general/browser_bug577121.js create mode 100644 browser/base/content/test/general/browser_bug578534.js create mode 100644 browser/base/content/test/general/browser_bug579872.js create mode 100644 browser/base/content/test/general/browser_bug580638.js create mode 100644 browser/base/content/test/general/browser_bug580956.js create mode 100644 browser/base/content/test/general/browser_bug581242.js create mode 100644 browser/base/content/test/general/browser_bug581253.js create mode 100644 browser/base/content/test/general/browser_bug585558.js create mode 100644 browser/base/content/test/general/browser_bug585785.js create mode 100644 browser/base/content/test/general/browser_bug585830.js create mode 100644 browser/base/content/test/general/browser_bug590206.js create mode 100644 browser/base/content/test/general/browser_bug592338.js create mode 100644 browser/base/content/test/general/browser_bug594131.js create mode 100644 browser/base/content/test/general/browser_bug595507.js create mode 100644 browser/base/content/test/general/browser_bug596687.js create mode 100644 browser/base/content/test/general/browser_bug597218.js create mode 100644 browser/base/content/test/general/browser_bug609700.js create mode 100644 browser/base/content/test/general/browser_bug623893.js create mode 100644 browser/base/content/test/general/browser_bug624734.js create mode 100644 browser/base/content/test/general/browser_bug633691.js create mode 100644 browser/base/content/test/general/browser_bug647886.js create mode 100644 browser/base/content/test/general/browser_bug655584.js create mode 100644 browser/base/content/test/general/browser_bug664672.js create mode 100644 browser/base/content/test/general/browser_bug676619.js create mode 100644 browser/base/content/test/general/browser_bug678392-1.html create mode 100644 browser/base/content/test/general/browser_bug678392-2.html create mode 100644 browser/base/content/test/general/browser_bug678392.js create mode 100644 browser/base/content/test/general/browser_bug710878.js create mode 100644 browser/base/content/test/general/browser_bug719271.js create mode 100644 browser/base/content/test/general/browser_bug724239.js create mode 100644 browser/base/content/test/general/browser_bug734076.js create mode 100644 browser/base/content/test/general/browser_bug735471.js create mode 100644 browser/base/content/test/general/browser_bug749738.js create mode 100644 browser/base/content/test/general/browser_bug763468_perwindowpb.js create mode 100644 browser/base/content/test/general/browser_bug767836_perwindowpb.js create mode 100644 browser/base/content/test/general/browser_bug817947.js create mode 100644 browser/base/content/test/general/browser_bug822367.js create mode 100644 browser/base/content/test/general/browser_bug832435.js create mode 100644 browser/base/content/test/general/browser_bug839103.js create mode 100644 browser/base/content/test/general/browser_bug882977.js create mode 100644 browser/base/content/test/general/browser_bug902156.js create mode 100644 browser/base/content/test/general/browser_bug906190.js create mode 100644 browser/base/content/test/general/browser_bug963945.js create mode 100644 browser/base/content/test/general/browser_bug970746.js create mode 100644 browser/base/content/test/general/browser_bug970746.xhtml create mode 100644 browser/base/content/test/general/browser_clipboard.js create mode 100644 browser/base/content/test/general/browser_clipboard_pastefile.js create mode 100644 browser/base/content/test/general/browser_contentAltClick.js create mode 100644 browser/base/content/test/general/browser_contentAreaClick.js create mode 100644 browser/base/content/test/general/browser_contentSearchUI.js create mode 100644 browser/base/content/test/general/browser_contextmenu.js create mode 100644 browser/base/content/test/general/browser_contextmenu_childprocess.js create mode 100644 browser/base/content/test/general/browser_contextmenu_input.js create mode 100644 browser/base/content/test/general/browser_csp_block_all_mixedcontent.js create mode 100644 browser/base/content/test/general/browser_ctrlTab.js create mode 100644 browser/base/content/test/general/browser_datachoices_notification.js create mode 100644 browser/base/content/test/general/browser_decoderDoctor.js create mode 100644 browser/base/content/test/general/browser_devedition.js create mode 100644 browser/base/content/test/general/browser_discovery.js create mode 100644 browser/base/content/test/general/browser_documentnavigation.js create mode 100644 browser/base/content/test/general/browser_domFullscreen_fullscreenMode.js create mode 100644 browser/base/content/test/general/browser_double_close_tab.js create mode 100644 browser/base/content/test/general/browser_drag.js create mode 100644 browser/base/content/test/general/browser_duplicateIDs.js create mode 100644 browser/base/content/test/general/browser_e10s_about_process.js create mode 100644 browser/base/content/test/general/browser_e10s_chrome_process.js create mode 100644 browser/base/content/test/general/browser_e10s_javascript.js create mode 100644 browser/base/content/test/general/browser_e10s_switchbrowser.js create mode 100644 browser/base/content/test/general/browser_favicon_change.js create mode 100644 browser/base/content/test/general/browser_favicon_change_not_in_document.js create mode 100644 browser/base/content/test/general/browser_feed_discovery.js create mode 100644 browser/base/content/test/general/browser_findbarClose.js create mode 100644 browser/base/content/test/general/browser_focusonkeydown.js create mode 100644 browser/base/content/test/general/browser_fullscreen-window-open.js create mode 100644 browser/base/content/test/general/browser_fxa_migrate.js create mode 100644 browser/base/content/test/general/browser_fxa_oauth.html create mode 100644 browser/base/content/test/general/browser_fxa_oauth.js create mode 100644 browser/base/content/test/general/browser_fxa_oauth_with_keys.html create mode 100644 browser/base/content/test/general/browser_fxa_web_channel.html create mode 100644 browser/base/content/test/general/browser_fxa_web_channel.js create mode 100644 browser/base/content/test/general/browser_fxaccounts.js create mode 100644 browser/base/content/test/general/browser_gZipOfflineChild.js create mode 100644 browser/base/content/test/general/browser_gestureSupport.js create mode 100644 browser/base/content/test/general/browser_getshortcutoruri.js create mode 100644 browser/base/content/test/general/browser_hide_removing.js create mode 100644 browser/base/content/test/general/browser_homeDrop.js create mode 100644 browser/base/content/test/general/browser_identity_UI.js create mode 100644 browser/base/content/test/general/browser_insecureLoginForms.js create mode 100644 browser/base/content/test/general/browser_invalid_uri_back_forward_manipulation.js create mode 100644 browser/base/content/test/general/browser_keywordBookmarklets.js create mode 100644 browser/base/content/test/general/browser_keywordSearch.js create mode 100644 browser/base/content/test/general/browser_keywordSearch_postData.js create mode 100644 browser/base/content/test/general/browser_lastAccessedTab.js create mode 100644 browser/base/content/test/general/browser_mcb_redirect.js create mode 100644 browser/base/content/test/general/browser_menuButtonBadgeManager.js create mode 100644 browser/base/content/test/general/browser_menuButtonFitts.js create mode 100644 browser/base/content/test/general/browser_middleMouse_noJSPaste.js create mode 100644 browser/base/content/test/general/browser_minimize.js create mode 100644 browser/base/content/test/general/browser_misused_characters_in_strings.js create mode 100644 browser/base/content/test/general/browser_mixedContentFramesOnHttp.js create mode 100644 browser/base/content/test/general/browser_mixedContentFromOnunload.js create mode 100644 browser/base/content/test/general/browser_mixed_content_cert_override.js create mode 100644 browser/base/content/test/general/browser_mixedcontent_securityflags.js create mode 100644 browser/base/content/test/general/browser_modifiedclick_inherit_principal.js create mode 100644 browser/base/content/test/general/browser_newTabDrop.js create mode 100644 browser/base/content/test/general/browser_newWindowDrop.js create mode 100644 browser/base/content/test/general/browser_newwindow_focus.js create mode 100644 browser/base/content/test/general/browser_no_mcb_on_http_site.js create mode 100644 browser/base/content/test/general/browser_offlineQuotaNotification.js create mode 100644 browser/base/content/test/general/browser_overflowScroll.js create mode 100644 browser/base/content/test/general/browser_pageInfo.js create mode 100644 browser/base/content/test/general/browser_page_style_menu.js create mode 100644 browser/base/content/test/general/browser_page_style_menu_update.js create mode 100644 browser/base/content/test/general/browser_pageinfo_svg_image.js create mode 100644 browser/base/content/test/general/browser_parsable_css.js create mode 100644 browser/base/content/test/general/browser_parsable_script.js create mode 100644 browser/base/content/test/general/browser_permissions.js create mode 100644 browser/base/content/test/general/browser_pinnedTabs.js create mode 100644 browser/base/content/test/general/browser_plainTextLinks.js create mode 100644 browser/base/content/test/general/browser_printpreview.js create mode 100644 browser/base/content/test/general/browser_private_browsing_window.js create mode 100644 browser/base/content/test/general/browser_private_no_prompt.js create mode 100644 browser/base/content/test/general/browser_purgehistory_clears_sh.js create mode 100644 browser/base/content/test/general/browser_refreshBlocker.js create mode 100644 browser/base/content/test/general/browser_registerProtocolHandler_notification.html create mode 100644 browser/base/content/test/general/browser_registerProtocolHandler_notification.js create mode 100644 browser/base/content/test/general/browser_relatedTabs.js create mode 100644 browser/base/content/test/general/browser_remoteTroubleshoot.js create mode 100644 browser/base/content/test/general/browser_remoteWebNavigation_postdata.js create mode 100644 browser/base/content/test/general/browser_removeTabsToTheEnd.js create mode 100644 browser/base/content/test/general/browser_restore_isAppTab.js create mode 100644 browser/base/content/test/general/browser_sanitize-passwordDisabledHosts.js create mode 100644 browser/base/content/test/general/browser_sanitize-sitepermissions.js create mode 100644 browser/base/content/test/general/browser_sanitize-timespans.js create mode 100644 browser/base/content/test/general/browser_sanitizeDialog.js create mode 100644 browser/base/content/test/general/browser_save_link-perwindowpb.js create mode 100644 browser/base/content/test/general/browser_save_link_when_window_navigates.js create mode 100644 browser/base/content/test/general/browser_save_private_link_perwindowpb.js create mode 100644 browser/base/content/test/general/browser_save_video.js create mode 100644 browser/base/content/test/general/browser_save_video_frame.js create mode 100644 browser/base/content/test/general/browser_scope.js create mode 100644 browser/base/content/test/general/browser_selectTabAtIndex.js create mode 100644 browser/base/content/test/general/browser_selectpopup.js create mode 100644 browser/base/content/test/general/browser_ssl_error_reports.js create mode 100644 browser/base/content/test/general/browser_star_hsts.js create mode 100644 browser/base/content/test/general/browser_star_hsts.sjs create mode 100644 browser/base/content/test/general/browser_subframe_favicons_not_used.js create mode 100644 browser/base/content/test/general/browser_syncui.js create mode 100644 browser/base/content/test/general/browser_tabDrop.js create mode 100644 browser/base/content/test/general/browser_tabReorder.js create mode 100644 browser/base/content/test/general/browser_tab_close_dependent_window.js create mode 100644 browser/base/content/test/general/browser_tab_detach_restore.js create mode 100644 browser/base/content/test/general/browser_tab_drag_drop_perwindow.js create mode 100644 browser/base/content/test/general/browser_tab_dragdrop.js create mode 100644 browser/base/content/test/general/browser_tab_dragdrop2.js create mode 100644 browser/base/content/test/general/browser_tab_dragdrop2_frame1.xul create mode 100644 browser/base/content/test/general/browser_tabbar_big_widgets.js create mode 100644 browser/base/content/test/general/browser_tabfocus.js create mode 100644 browser/base/content/test/general/browser_tabkeynavigation.js create mode 100644 browser/base/content/test/general/browser_tabopen_reflows.js create mode 100644 browser/base/content/test/general/browser_tabs_close_beforeunload.js create mode 100644 browser/base/content/test/general/browser_tabs_isActive.js create mode 100644 browser/base/content/test/general/browser_tabs_owner.js create mode 100644 browser/base/content/test/general/browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js create mode 100644 browser/base/content/test/general/browser_trackingUI_1.js create mode 100644 browser/base/content/test/general/browser_trackingUI_2.js create mode 100644 browser/base/content/test/general/browser_trackingUI_3.js create mode 100644 browser/base/content/test/general/browser_trackingUI_4.js create mode 100644 browser/base/content/test/general/browser_trackingUI_5.js create mode 100644 browser/base/content/test/general/browser_trackingUI_6.js create mode 100644 browser/base/content/test/general/browser_trackingUI_telemetry.js create mode 100644 browser/base/content/test/general/browser_typeAheadFind.js create mode 100644 browser/base/content/test/general/browser_unknownContentType_title.js create mode 100644 browser/base/content/test/general/browser_unloaddialogs.js create mode 100644 browser/base/content/test/general/browser_utilityOverlay.js create mode 100644 browser/base/content/test/general/browser_viewSourceInTabOnViewSource.js create mode 100644 browser/base/content/test/general/browser_visibleFindSelection.js create mode 100644 browser/base/content/test/general/browser_visibleTabs.js create mode 100644 browser/base/content/test/general/browser_visibleTabs_bookmarkAllPages.js create mode 100644 browser/base/content/test/general/browser_visibleTabs_bookmarkAllTabs.js create mode 100644 browser/base/content/test/general/browser_visibleTabs_contextMenu.js create mode 100644 browser/base/content/test/general/browser_visibleTabs_tabPreview.js create mode 100644 browser/base/content/test/general/browser_web_channel.html create mode 100644 browser/base/content/test/general/browser_web_channel.js create mode 100644 browser/base/content/test/general/browser_web_channel_iframe.html create mode 100644 browser/base/content/test/general/browser_windowactivation.js create mode 100644 browser/base/content/test/general/browser_windowopen_reflows.js create mode 100644 browser/base/content/test/general/browser_zbug569342.js create mode 100644 browser/base/content/test/general/bug1262648_string_with_newlines.dtd create mode 100644 browser/base/content/test/general/bug364677-data.xml create mode 100644 browser/base/content/test/general/bug364677-data.xml^headers^ create mode 100644 browser/base/content/test/general/bug395533-data.txt create mode 100644 browser/base/content/test/general/bug592338.html create mode 100644 browser/base/content/test/general/bug792517-2.html create mode 100644 browser/base/content/test/general/bug792517.html create mode 100644 browser/base/content/test/general/bug792517.sjs create mode 100644 browser/base/content/test/general/bug839103.css create mode 100644 browser/base/content/test/general/clipboard_pastefile.html create mode 100644 browser/base/content/test/general/close_beforeunload.html create mode 100644 browser/base/content/test/general/close_beforeunload_opens_second_tab.html create mode 100644 browser/base/content/test/general/contentSearchUI.html create mode 100644 browser/base/content/test/general/contentSearchUI.js create mode 100644 browser/base/content/test/general/content_aboutAccounts.js create mode 100644 browser/base/content/test/general/contextmenu_common.js create mode 100644 browser/base/content/test/general/ctxmenu-image.png create mode 100644 browser/base/content/test/general/discovery.html create mode 100644 browser/base/content/test/general/download_page.html create mode 100644 browser/base/content/test/general/dummy_page.html create mode 100644 browser/base/content/test/general/feed_discovery.html create mode 100644 browser/base/content/test/general/feed_tab.html create mode 100644 browser/base/content/test/general/file_bug1045809_1.html create mode 100644 browser/base/content/test/general/file_bug1045809_2.html create mode 100644 browser/base/content/test/general/file_bug822367_1.html create mode 100644 browser/base/content/test/general/file_bug822367_1.js create mode 100644 browser/base/content/test/general/file_bug822367_2.html create mode 100644 browser/base/content/test/general/file_bug822367_3.html create mode 100644 browser/base/content/test/general/file_bug822367_4.html create mode 100644 browser/base/content/test/general/file_bug822367_4.js create mode 100644 browser/base/content/test/general/file_bug822367_4B.html create mode 100644 browser/base/content/test/general/file_bug822367_5.html create mode 100644 browser/base/content/test/general/file_bug822367_6.html create mode 100644 browser/base/content/test/general/file_bug902156.js create mode 100644 browser/base/content/test/general/file_bug902156_1.html create mode 100644 browser/base/content/test/general/file_bug902156_2.html create mode 100644 browser/base/content/test/general/file_bug902156_3.html create mode 100644 browser/base/content/test/general/file_bug906190.js create mode 100644 browser/base/content/test/general/file_bug906190.sjs create mode 100644 browser/base/content/test/general/file_bug906190_1.html create mode 100644 browser/base/content/test/general/file_bug906190_2.html create mode 100644 browser/base/content/test/general/file_bug906190_3_4.html create mode 100644 browser/base/content/test/general/file_bug906190_redirected.html create mode 100644 browser/base/content/test/general/file_bug970276_favicon1.ico create mode 100644 browser/base/content/test/general/file_bug970276_favicon2.ico create mode 100644 browser/base/content/test/general/file_bug970276_popup1.html create mode 100644 browser/base/content/test/general/file_bug970276_popup2.html create mode 100644 browser/base/content/test/general/file_csp_block_all_mixedcontent.html create mode 100644 browser/base/content/test/general/file_csp_block_all_mixedcontent.js create mode 100644 browser/base/content/test/general/file_documentnavigation_frameset.html create mode 100644 browser/base/content/test/general/file_double_close_tab.html create mode 100644 browser/base/content/test/general/file_favicon_change.html create mode 100644 browser/base/content/test/general/file_favicon_change_not_in_document.html create mode 100644 browser/base/content/test/general/file_fullscreen-window-open.html create mode 100644 browser/base/content/test/general/file_generic_favicon.ico create mode 100644 browser/base/content/test/general/file_mediaPlayback.html create mode 100644 browser/base/content/test/general/file_mixedContentFramesOnHttp.html create mode 100644 browser/base/content/test/general/file_mixedContentFromOnunload.html create mode 100644 browser/base/content/test/general/file_mixedContentFromOnunload_test1.html create mode 100644 browser/base/content/test/general/file_mixedContentFromOnunload_test2.html create mode 100644 browser/base/content/test/general/file_mixedPassiveContent.html create mode 100644 browser/base/content/test/general/file_trackingUI_6.html create mode 100644 browser/base/content/test/general/file_trackingUI_6.js create mode 100644 browser/base/content/test/general/file_trackingUI_6.js^headers^ create mode 100644 browser/base/content/test/general/file_with_favicon.html create mode 100644 browser/base/content/test/general/fxa_profile_handler.sjs create mode 100644 browser/base/content/test/general/gZipOfflineChild.cacheManifest create mode 100644 browser/base/content/test/general/gZipOfflineChild.cacheManifest^headers^ create mode 100644 browser/base/content/test/general/gZipOfflineChild.html create mode 100644 browser/base/content/test/general/gZipOfflineChild.html^headers^ create mode 100644 browser/base/content/test/general/gZipOfflineChild_uncompressed.html create mode 100644 browser/base/content/test/general/head.js create mode 100644 browser/base/content/test/general/head_plain.js create mode 100644 browser/base/content/test/general/healthreport_pingData.js create mode 100644 browser/base/content/test/general/healthreport_testRemoteCommands.html create mode 100644 browser/base/content/test/general/insecure_opener.html create mode 100644 browser/base/content/test/general/mochitest.ini create mode 100644 browser/base/content/test/general/moz.png create mode 100644 browser/base/content/test/general/navigating_window_with_download.html create mode 100644 browser/base/content/test/general/offlineByDefault.js create mode 100644 browser/base/content/test/general/offlineChild.cacheManifest create mode 100644 browser/base/content/test/general/offlineChild.cacheManifest^headers^ create mode 100644 browser/base/content/test/general/offlineChild.html create mode 100644 browser/base/content/test/general/offlineChild2.cacheManifest create mode 100644 browser/base/content/test/general/offlineChild2.cacheManifest^headers^ create mode 100644 browser/base/content/test/general/offlineChild2.html create mode 100644 browser/base/content/test/general/offlineEvent.cacheManifest create mode 100644 browser/base/content/test/general/offlineEvent.cacheManifest^headers^ create mode 100644 browser/base/content/test/general/offlineEvent.html create mode 100644 browser/base/content/test/general/offlineQuotaNotification.cacheManifest create mode 100644 browser/base/content/test/general/offlineQuotaNotification.html create mode 100644 browser/base/content/test/general/page_style_sample.html create mode 100644 browser/base/content/test/general/parsingTestHelpers.jsm create mode 100644 browser/base/content/test/general/permissions.html create mode 100644 browser/base/content/test/general/pinning_headers.sjs create mode 100644 browser/base/content/test/general/print_postdata.sjs create mode 100644 browser/base/content/test/general/refresh_header.sjs create mode 100644 browser/base/content/test/general/refresh_meta.sjs create mode 100644 browser/base/content/test/general/searchSuggestionEngine.sjs create mode 100644 browser/base/content/test/general/searchSuggestionEngine.xml create mode 100644 browser/base/content/test/general/searchSuggestionEngine2.xml create mode 100644 browser/base/content/test/general/ssl_error_reports.sjs create mode 100644 browser/base/content/test/general/subtst_contextmenu.html create mode 100644 browser/base/content/test/general/subtst_contextmenu_input.html create mode 100644 browser/base/content/test/general/subtst_contextmenu_xul.xul create mode 100644 browser/base/content/test/general/svg_image.html create mode 100644 browser/base/content/test/general/test-mixedcontent-securityerrors.html create mode 100644 browser/base/content/test/general/test_bug364677.html create mode 100644 browser/base/content/test/general/test_bug395533.html create mode 100644 browser/base/content/test/general/test_bug435035.html create mode 100644 browser/base/content/test/general/test_bug462673.html create mode 100644 browser/base/content/test/general/test_bug628179.html create mode 100644 browser/base/content/test/general/test_bug839103.html create mode 100644 browser/base/content/test/general/test_bug959531.html create mode 100644 browser/base/content/test/general/test_mcb_double_redirect_image.html create mode 100644 browser/base/content/test/general/test_mcb_redirect.html create mode 100644 browser/base/content/test/general/test_mcb_redirect.js create mode 100644 browser/base/content/test/general/test_mcb_redirect.sjs create mode 100644 browser/base/content/test/general/test_mcb_redirect_image.html create mode 100644 browser/base/content/test/general/test_no_mcb_on_http_site_font.css create mode 100644 browser/base/content/test/general/test_no_mcb_on_http_site_font.html create mode 100644 browser/base/content/test/general/test_no_mcb_on_http_site_font2.css create mode 100644 browser/base/content/test/general/test_no_mcb_on_http_site_font2.html create mode 100644 browser/base/content/test/general/test_no_mcb_on_http_site_img.css create mode 100644 browser/base/content/test/general/test_no_mcb_on_http_site_img.html create mode 100644 browser/base/content/test/general/test_offlineNotification.html create mode 100644 browser/base/content/test/general/test_offline_gzip.html create mode 100644 browser/base/content/test/general/test_process_flags_chrome.html create mode 100644 browser/base/content/test/general/test_remoteTroubleshoot.html create mode 100644 browser/base/content/test/general/title_test.svg create mode 100644 browser/base/content/test/general/trackingPage.html create mode 100644 browser/base/content/test/general/unknownContentType_file.pif create mode 100644 browser/base/content/test/general/unknownContentType_file.pif^headers^ create mode 100644 browser/base/content/test/general/video.ogg create mode 100644 browser/base/content/test/general/web_video.html create mode 100644 browser/base/content/test/general/web_video1.ogv create mode 100644 browser/base/content/test/general/web_video1.ogv^headers^ create mode 100644 browser/base/content/test/general/zoom_test.html create mode 100644 browser/base/content/test/newtab/.eslintrc.js create mode 100644 browser/base/content/test/newtab/browser.ini create mode 100644 browser/base/content/test/newtab/browser_newtab_1188015.js create mode 100644 browser/base/content/test/newtab/browser_newtab_background_captures.js create mode 100644 browser/base/content/test/newtab/browser_newtab_block.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug1145428.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug1178586.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug1194895.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug1271075.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug721442.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug722273.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug723102.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug723121.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug725996.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug734043.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug735987.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug752841.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug765628.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug876313.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug991111.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug991210.js create mode 100644 browser/base/content/test/newtab/browser_newtab_bug998387.js create mode 100644 browser/base/content/test/newtab/browser_newtab_disable.js create mode 100644 browser/base/content/test/newtab/browser_newtab_drag_drop.js create mode 100644 browser/base/content/test/newtab/browser_newtab_drag_drop_ext.js create mode 100644 browser/base/content/test/newtab/browser_newtab_drop_preview.js create mode 100644 browser/base/content/test/newtab/browser_newtab_enhanced.js create mode 100644 browser/base/content/test/newtab/browser_newtab_focus.js create mode 100644 browser/base/content/test/newtab/browser_newtab_perwindow_private_browsing.js create mode 100644 browser/base/content/test/newtab/browser_newtab_reflow_load.js create mode 100644 browser/base/content/test/newtab/browser_newtab_reportLinkAction.js create mode 100644 browser/base/content/test/newtab/browser_newtab_search.js create mode 100644 browser/base/content/test/newtab/browser_newtab_sponsored_icon_click.js create mode 100644 browser/base/content/test/newtab/browser_newtab_undo.js create mode 100644 browser/base/content/test/newtab/browser_newtab_unpin.js create mode 100644 browser/base/content/test/newtab/browser_newtab_update.js create mode 100644 browser/base/content/test/newtab/content-reflows.js create mode 100644 browser/base/content/test/newtab/head.js create mode 100644 browser/base/content/test/newtab/searchEngine1x2xLogo.xml create mode 100644 browser/base/content/test/newtab/searchEngine1xLogo.xml create mode 100644 browser/base/content/test/newtab/searchEngine2xLogo.xml create mode 100644 browser/base/content/test/newtab/searchEngineFavicon.xml create mode 100644 browser/base/content/test/newtab/searchEngineNoLogo.xml create mode 100644 browser/base/content/test/plugins/.eslintrc.js create mode 100644 browser/base/content/test/plugins/blockNoPlugins.xml create mode 100644 browser/base/content/test/plugins/blockPluginHard.xml create mode 100644 browser/base/content/test/plugins/blockPluginInfoURL.xml create mode 100644 browser/base/content/test/plugins/blockPluginVulnerableNoUpdate.xml create mode 100644 browser/base/content/test/plugins/blockPluginVulnerableUpdatable.xml create mode 100644 browser/base/content/test/plugins/blocklist_proxy.js create mode 100644 browser/base/content/test/plugins/browser.ini create mode 100644 browser/base/content/test/plugins/browser_CTP_context_menu.js create mode 100644 browser/base/content/test/plugins/browser_CTP_crashreporting.js create mode 100644 browser/base/content/test/plugins/browser_CTP_data_urls.js create mode 100644 browser/base/content/test/plugins/browser_CTP_drag_drop.js create mode 100644 browser/base/content/test/plugins/browser_CTP_hide_overlay.js create mode 100644 browser/base/content/test/plugins/browser_CTP_iframe.js create mode 100644 browser/base/content/test/plugins/browser_CTP_multi_allow.js create mode 100644 browser/base/content/test/plugins/browser_CTP_nonplugins.js create mode 100644 browser/base/content/test/plugins/browser_CTP_notificationBar.js create mode 100644 browser/base/content/test/plugins/browser_CTP_outsideScrollArea.js create mode 100644 browser/base/content/test/plugins/browser_CTP_remove_navigate.js create mode 100644 browser/base/content/test/plugins/browser_CTP_resize.js create mode 100644 browser/base/content/test/plugins/browser_CTP_zoom.js create mode 100644 browser/base/content/test/plugins/browser_blocking.js create mode 100644 browser/base/content/test/plugins/browser_blocklist_content.js create mode 100644 browser/base/content/test/plugins/browser_bug743421.js create mode 100644 browser/base/content/test/plugins/browser_bug744745.js create mode 100644 browser/base/content/test/plugins/browser_bug787619.js create mode 100644 browser/base/content/test/plugins/browser_bug797677.js create mode 100644 browser/base/content/test/plugins/browser_bug812562.js create mode 100644 browser/base/content/test/plugins/browser_bug818118.js create mode 100644 browser/base/content/test/plugins/browser_bug820497.js create mode 100644 browser/base/content/test/plugins/browser_clearplugindata.html create mode 100644 browser/base/content/test/plugins/browser_clearplugindata.js create mode 100644 browser/base/content/test/plugins/browser_clearplugindata_noage.html create mode 100644 browser/base/content/test/plugins/browser_globalplugin_crashinfobar.js create mode 100644 browser/base/content/test/plugins/browser_pageInfo_plugins.js create mode 100644 browser/base/content/test/plugins/browser_pluginCrashCommentAndURL.js create mode 100644 browser/base/content/test/plugins/browser_pluginCrashReportNonDeterminism.js create mode 100644 browser/base/content/test/plugins/browser_plugin_reloading.js create mode 100644 browser/base/content/test/plugins/browser_pluginnotification.js create mode 100644 browser/base/content/test/plugins/browser_plugins_added_dynamically.js create mode 100644 browser/base/content/test/plugins/browser_private_clicktoplay.js create mode 100644 browser/base/content/test/plugins/head.js create mode 100644 browser/base/content/test/plugins/plugin_add_dynamically.html create mode 100644 browser/base/content/test/plugins/plugin_alternate_content.html create mode 100644 browser/base/content/test/plugins/plugin_big.html create mode 100644 browser/base/content/test/plugins/plugin_both.html create mode 100644 browser/base/content/test/plugins/plugin_both2.html create mode 100644 browser/base/content/test/plugins/plugin_bug744745.html create mode 100644 browser/base/content/test/plugins/plugin_bug749455.html create mode 100644 browser/base/content/test/plugins/plugin_bug787619.html create mode 100644 browser/base/content/test/plugins/plugin_bug797677.html create mode 100644 browser/base/content/test/plugins/plugin_bug820497.html create mode 100644 browser/base/content/test/plugins/plugin_clickToPlayAllow.html create mode 100644 browser/base/content/test/plugins/plugin_clickToPlayDeny.html create mode 100644 browser/base/content/test/plugins/plugin_crashCommentAndURL.html create mode 100644 browser/base/content/test/plugins/plugin_data_url.html create mode 100644 browser/base/content/test/plugins/plugin_hidden_to_visible.html create mode 100644 browser/base/content/test/plugins/plugin_iframe.html create mode 100644 browser/base/content/test/plugins/plugin_outsideScrollArea.html create mode 100644 browser/base/content/test/plugins/plugin_overlayed.html create mode 100644 browser/base/content/test/plugins/plugin_positioned.html create mode 100644 browser/base/content/test/plugins/plugin_small.html create mode 100644 browser/base/content/test/plugins/plugin_small_2.html create mode 100644 browser/base/content/test/plugins/plugin_syncRemoved.html create mode 100644 browser/base/content/test/plugins/plugin_test.html create mode 100644 browser/base/content/test/plugins/plugin_test2.html create mode 100644 browser/base/content/test/plugins/plugin_test3.html create mode 100644 browser/base/content/test/plugins/plugin_two_types.html create mode 100644 browser/base/content/test/plugins/plugin_unknown.html create mode 100644 browser/base/content/test/plugins/plugin_zoom.html create mode 100644 browser/base/content/test/popupNotifications/.eslintrc.js create mode 100644 browser/base/content/test/popupNotifications/browser.ini create mode 100644 browser/base/content/test/popupNotifications/browser_displayURI.js create mode 100644 browser/base/content/test/popupNotifications/browser_popupNotification.js create mode 100644 browser/base/content/test/popupNotifications/browser_popupNotification_2.js create mode 100644 browser/base/content/test/popupNotifications/browser_popupNotification_3.js create mode 100644 browser/base/content/test/popupNotifications/browser_popupNotification_4.js create mode 100644 browser/base/content/test/popupNotifications/browser_popupNotification_checkbox.js create mode 100644 browser/base/content/test/popupNotifications/browser_popupNotification_keyboard.js create mode 100644 browser/base/content/test/popupNotifications/browser_reshow_in_background.js create mode 100644 browser/base/content/test/popupNotifications/head.js create mode 100644 browser/base/content/test/popups/browser.ini create mode 100644 browser/base/content/test/popups/browser_popupUI.js create mode 100644 browser/base/content/test/popups/browser_popup_blocker.js create mode 100644 browser/base/content/test/popups/popup_blocker.html create mode 100644 browser/base/content/test/referrer/.eslintrc.js create mode 100644 browser/base/content/test/referrer/browser.ini create mode 100644 browser/base/content/test/referrer/browser_referrer_middle_click.js create mode 100644 browser/base/content/test/referrer/browser_referrer_middle_click_in_container.js create mode 100644 browser/base/content/test/referrer/browser_referrer_open_link_in_container_tab.js create mode 100644 browser/base/content/test/referrer/browser_referrer_open_link_in_container_tab2.js create mode 100644 browser/base/content/test/referrer/browser_referrer_open_link_in_container_tab3.js create mode 100644 browser/base/content/test/referrer/browser_referrer_open_link_in_private.js create mode 100644 browser/base/content/test/referrer/browser_referrer_open_link_in_tab.js create mode 100644 browser/base/content/test/referrer/browser_referrer_open_link_in_window.js create mode 100644 browser/base/content/test/referrer/browser_referrer_open_link_in_window_in_container.js create mode 100644 browser/base/content/test/referrer/browser_referrer_simple_click.js create mode 100644 browser/base/content/test/referrer/file_referrer_policyserver.sjs create mode 100644 browser/base/content/test/referrer/file_referrer_policyserver_attr.sjs create mode 100644 browser/base/content/test/referrer/file_referrer_testserver.sjs create mode 100644 browser/base/content/test/referrer/head.js create mode 100644 browser/base/content/test/siteIdentity/browser.ini create mode 100644 browser/base/content/test/siteIdentity/browser_identityBlock_focus.js create mode 100644 browser/base/content/test/siteIdentity/browser_identityPopup_focus.js create mode 100644 browser/base/content/test/siteIdentity/head.js create mode 100644 browser/base/content/test/social/.eslintrc.js create mode 100644 browser/base/content/test/social/blocklist.xml create mode 100644 browser/base/content/test/social/browser.ini create mode 100644 browser/base/content/test/social/browser_aboutHome_activation.js create mode 100644 browser/base/content/test/social/browser_addons.js create mode 100644 browser/base/content/test/social/browser_blocklist.js create mode 100644 browser/base/content/test/social/browser_share.js create mode 100644 browser/base/content/test/social/browser_social_activation.js create mode 100644 browser/base/content/test/social/head.js create mode 100644 browser/base/content/test/social/microformats.html create mode 100644 browser/base/content/test/social/moz.png create mode 100644 browser/base/content/test/social/opengraph/og_invalid_url.html create mode 100644 browser/base/content/test/social/opengraph/opengraph.html create mode 100644 browser/base/content/test/social/opengraph/shortlink_linkrel.html create mode 100644 browser/base/content/test/social/opengraph/shorturl_link.html create mode 100644 browser/base/content/test/social/opengraph/shorturl_linkrel.html create mode 100644 browser/base/content/test/social/share.html create mode 100644 browser/base/content/test/social/share_activate.html create mode 100644 browser/base/content/test/social/social_activate.html create mode 100644 browser/base/content/test/social/social_activate_basic.html create mode 100644 browser/base/content/test/social/social_activate_iframe.html create mode 100644 browser/base/content/test/social/social_crash_content_helper.js create mode 100644 browser/base/content/test/social/social_postActivation.html create mode 100644 browser/base/content/test/tabPrompts/.eslintrc.js create mode 100644 browser/base/content/test/tabPrompts/browser.ini create mode 100644 browser/base/content/test/tabPrompts/browser_closeTabSpecificPanels.js create mode 100644 browser/base/content/test/tabPrompts/browser_multiplePrompts.js create mode 100644 browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js create mode 100644 browser/base/content/test/tabPrompts/openPromptOffTimeout.html create mode 100644 browser/base/content/test/tabcrashed/browser.ini create mode 100644 browser/base/content/test/tabcrashed/browser_autoSubmitRequest.js create mode 100644 browser/base/content/test/tabcrashed/browser_clearEmail.js create mode 100644 browser/base/content/test/tabcrashed/browser_showForm.js create mode 100644 browser/base/content/test/tabcrashed/browser_shown.js create mode 100644 browser/base/content/test/tabcrashed/browser_withoutDump.js create mode 100644 browser/base/content/test/tabcrashed/head.js create mode 100644 browser/base/content/test/tabs/.eslintrc.js create mode 100644 browser/base/content/test/tabs/browser.ini create mode 100644 browser/base/content/test/tabs/browser_tabSpinnerProbe.js create mode 100644 browser/base/content/test/tabs/browser_tabSwitchPrintPreview.js create mode 100644 browser/base/content/test/urlbar/.eslintrc.js create mode 100644 browser/base/content/test/urlbar/authenticate.sjs create mode 100644 browser/base/content/test/urlbar/browser.ini create mode 100644 browser/base/content/test/urlbar/browser_URLBarSetURI.js create mode 100644 browser/base/content/test/urlbar/browser_action_keyword.js create mode 100644 browser/base/content/test/urlbar/browser_action_keyword_override.js create mode 100644 browser/base/content/test/urlbar/browser_action_searchengine.js create mode 100644 browser/base/content/test/urlbar/browser_action_searchengine_alias.js create mode 100644 browser/base/content/test/urlbar/browser_autocomplete_a11y_label.js create mode 100644 browser/base/content/test/urlbar/browser_autocomplete_autoselect.js create mode 100644 browser/base/content/test/urlbar/browser_autocomplete_cursor.js create mode 100644 browser/base/content/test/urlbar/browser_autocomplete_edit_completed.js create mode 100644 browser/base/content/test/urlbar/browser_autocomplete_enter_race.js create mode 100644 browser/base/content/test/urlbar/browser_autocomplete_no_title.js create mode 100644 browser/base/content/test/urlbar/browser_autocomplete_tag_star_visibility.js create mode 100644 browser/base/content/test/urlbar/browser_bug1003461-switchtab-override.js create mode 100644 browser/base/content/test/urlbar/browser_bug1024133-switchtab-override-keynav.js create mode 100644 browser/base/content/test/urlbar/browser_bug1025195_switchToTabHavingURI_aOpenParams.js create mode 100644 browser/base/content/test/urlbar/browser_bug1070778.js create mode 100644 browser/base/content/test/urlbar/browser_bug1104165-switchtab-decodeuri.js create mode 100644 browser/base/content/test/urlbar/browser_bug1225194-remotetab.js create mode 100644 browser/base/content/test/urlbar/browser_bug304198.js create mode 100644 browser/base/content/test/urlbar/browser_bug556061.js create mode 100644 browser/base/content/test/urlbar/browser_bug562649.js create mode 100644 browser/base/content/test/urlbar/browser_bug623155.js create mode 100644 browser/base/content/test/urlbar/browser_bug783614.js create mode 100644 browser/base/content/test/urlbar/browser_canonizeURL.js create mode 100644 browser/base/content/test/urlbar/browser_dragdropURL.js create mode 100644 browser/base/content/test/urlbar/browser_locationBarCommand.js create mode 100644 browser/base/content/test/urlbar/browser_locationBarExternalLoad.js create mode 100644 browser/base/content/test/urlbar/browser_moz_action_link.js create mode 100644 browser/base/content/test/urlbar/browser_removeUnsafeProtocolsFromURLBarPaste.js create mode 100644 browser/base/content/test/urlbar/browser_search_favicon.js create mode 100644 browser/base/content/test/urlbar/browser_tabMatchesInAwesomebar.js create mode 100644 browser/base/content/test/urlbar/browser_tabMatchesInAwesomebar_perwindowpb.js create mode 100644 browser/base/content/test/urlbar/browser_urlHighlight.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarAboutHomeLoading.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarAutoFillTrimURLs.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarCopying.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarDecode.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarDelete.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarEnter.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarEnterAfterMouseOver.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarFocusedCmdK.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarHashChangeProxyState.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarKeepStateAcrossTabSwitches.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarOneOffs.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarPrivateBrowsingWindowChange.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarRaceWithTabs.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarRevert.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarSearchSingleWordNotification.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarSearchSuggestions.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarSearchSuggestionsNotification.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarSearchTelemetry.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarStop.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarTrimURLs.js create mode 100644 browser/base/content/test/urlbar/browser_urlbarUpdateForDomainCompletion.js create mode 100644 browser/base/content/test/urlbar/browser_urlbar_autoFill_backspaced.js create mode 100644 browser/base/content/test/urlbar/browser_urlbar_blanking.js create mode 100644 browser/base/content/test/urlbar/browser_urlbar_locationchange_urlbar_edit_dos.js create mode 100644 browser/base/content/test/urlbar/browser_urlbar_remoteness_switch.js create mode 100644 browser/base/content/test/urlbar/browser_urlbar_searchsettings.js create mode 100644 browser/base/content/test/urlbar/browser_urlbar_stop_pending.js create mode 100644 browser/base/content/test/urlbar/browser_wyciwyg_urlbarCopying.js create mode 100644 browser/base/content/test/urlbar/dummy_page.html create mode 100644 browser/base/content/test/urlbar/file_blank_but_not_blank.html create mode 100644 browser/base/content/test/urlbar/file_urlbar_edit_dos.html create mode 100644 browser/base/content/test/urlbar/head.js create mode 100644 browser/base/content/test/urlbar/moz.png create mode 100644 browser/base/content/test/urlbar/print_postdata.sjs create mode 100644 browser/base/content/test/urlbar/redirect_bug623155.sjs create mode 100644 browser/base/content/test/urlbar/searchSuggestionEngine.sjs create mode 100644 browser/base/content/test/urlbar/searchSuggestionEngine.xml create mode 100644 browser/base/content/test/urlbar/slow-page.sjs create mode 100644 browser/base/content/test/urlbar/test_wyciwyg_copying.html create mode 100644 browser/base/content/test/webrtc/.eslintrc.js create mode 100644 browser/base/content/test/webrtc/browser.ini create mode 100644 browser/base/content/test/webrtc/browser_devices_get_user_media.js create mode 100644 browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js create mode 100644 browser/base/content/test/webrtc/browser_devices_get_user_media_in_frame.js create mode 100644 browser/base/content/test/webrtc/browser_devices_get_user_media_tear_off_tab.js create mode 100644 browser/base/content/test/webrtc/get_user_media.html create mode 100644 browser/base/content/test/webrtc/get_user_media_content_script.js create mode 100644 browser/base/content/test/webrtc/head.js create mode 100644 browser/base/content/urlbarBindings.xml create mode 100644 browser/base/content/usercontext.svg create mode 100644 browser/base/content/utilityOverlay.js create mode 100644 browser/base/content/viewSourceOverlay.xul create mode 100644 browser/base/content/web-panels.js create mode 100644 browser/base/content/web-panels.xul create mode 100644 browser/base/content/webrtcIndicator.js create mode 100644 browser/base/content/webrtcIndicator.xul create mode 100644 browser/base/content/win6BrowserOverlay.xul (limited to 'browser/base/content') diff --git a/browser/base/content/aboutDialog-appUpdater.js b/browser/base/content/aboutDialog-appUpdater.js new file mode 100644 index 000000000..4b4fc6618 --- /dev/null +++ b/browser/base/content/aboutDialog-appUpdater.js @@ -0,0 +1,428 @@ +/* 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/. */ + +// Note: this file is included in aboutDialog.xul if MOZ_UPDATER is defined. + +Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); +Components.utils.import("resource://gre/modules/DownloadUtils.jsm"); + +XPCOMUtils.defineLazyModuleGetter(this, "UpdateUtils", + "resource://gre/modules/UpdateUtils.jsm"); + +const PREF_APP_UPDATE_CANCELATIONS_OSX = "app.update.cancelations.osx"; +const PREF_APP_UPDATE_ELEVATE_NEVER = "app.update.elevate.never"; + +var gAppUpdater; + +function onUnload(aEvent) { + if (gAppUpdater.isChecking) + gAppUpdater.checker.stopChecking(Components.interfaces.nsIUpdateChecker.CURRENT_CHECK); + // Safe to call even when there isn't a download in progress. + gAppUpdater.removeDownloadListener(); + gAppUpdater = null; +} + + +function appUpdater() +{ + XPCOMUtils.defineLazyServiceGetter(this, "aus", + "@mozilla.org/updates/update-service;1", + "nsIApplicationUpdateService"); + XPCOMUtils.defineLazyServiceGetter(this, "checker", + "@mozilla.org/updates/update-checker;1", + "nsIUpdateChecker"); + XPCOMUtils.defineLazyServiceGetter(this, "um", + "@mozilla.org/updates/update-manager;1", + "nsIUpdateManager"); + + this.updateDeck = document.getElementById("updateDeck"); + + // Hide the update deck when the update window is already open and it's not + // already applied, to avoid syncing issues between them. Applied updates + // don't have any information to sync between the windows as they both just + // show the "Restart to continue"-type button. + if (Services.wm.getMostRecentWindow("Update:Wizard") && + !this.isApplied) { + this.updateDeck.hidden = true; + return; + } + + this.bundle = Services.strings. + createBundle("chrome://browser/locale/browser.properties"); + + let manualURL = Services.urlFormatter.formatURLPref("app.update.url.manual"); + let manualLink = document.getElementById("manualLink"); + manualLink.value = manualURL; + manualLink.href = manualURL; + document.getElementById("failedLink").href = manualURL; + + if (this.updateDisabledAndLocked) { + this.selectPanel("adminDisabled"); + return; + } + + if (this.isPending || this.isApplied) { + this.selectPanel("apply"); + return; + } + + if (this.aus.isOtherInstanceHandlingUpdates) { + this.selectPanel("otherInstanceHandlingUpdates"); + return; + } + + if (this.isDownloading) { + this.startDownload(); + // selectPanel("downloading") is called from setupDownloadingUI(). + return; + } + + // Honor the "Never check for updates" option by not only disabling background + // update checks, but also in the About dialog, by presenting a + // "Check for updates" button. + // If updates are found, the user is then asked if he wants to "Update to ". + if (!this.updateEnabled || + Services.prefs.prefHasUserValue(PREF_APP_UPDATE_ELEVATE_NEVER)) { + this.selectPanel("checkForUpdates"); + return; + } + + // That leaves the options + // "Check for updates, but let me choose whether to install them", and + // "Automatically install updates". + // In both cases, we check for updates without asking. + // In the "let me choose" case, we ask before downloading though, in onCheckComplete. + this.checkForUpdates(); +} + +appUpdater.prototype = +{ + // true when there is an update check in progress. + isChecking: false, + + // true when there is an update already staged / ready to be applied. + get isPending() { + if (this.update) { + return this.update.state == "pending" || + this.update.state == "pending-service" || + this.update.state == "pending-elevate"; + } + return this.um.activeUpdate && + (this.um.activeUpdate.state == "pending" || + this.um.activeUpdate.state == "pending-service" || + this.um.activeUpdate.state == "pending-elevate"); + }, + + // true when there is an update already installed in the background. + get isApplied() { + if (this.update) + return this.update.state == "applied" || + this.update.state == "applied-service"; + return this.um.activeUpdate && + (this.um.activeUpdate.state == "applied" || + this.um.activeUpdate.state == "applied-service"); + }, + + // true when there is an update download in progress. + get isDownloading() { + if (this.update) + return this.update.state == "downloading"; + return this.um.activeUpdate && + this.um.activeUpdate.state == "downloading"; + }, + + // true when updating is disabled by an administrator. + get updateDisabledAndLocked() { + return !this.updateEnabled && + Services.prefs.prefIsLocked("app.update.enabled"); + }, + + // true when updating is enabled. + get updateEnabled() { + try { + return Services.prefs.getBoolPref("app.update.enabled"); + } + catch (e) { } + return true; // Firefox default is true + }, + + // true when updating in background is enabled. + get backgroundUpdateEnabled() { + return this.updateEnabled && + gAppUpdater.aus.canStageUpdates; + }, + + // true when updating is automatic. + get updateAuto() { + try { + return Services.prefs.getBoolPref("app.update.auto"); + } + catch (e) { } + return true; // Firefox default is true + }, + + /** + * Sets the panel of the updateDeck. + * + * @param aChildID + * The id of the deck's child to select, e.g. "apply". + */ + selectPanel: function(aChildID) { + let panel = document.getElementById(aChildID); + + let button = panel.querySelector("button"); + if (button) { + if (aChildID == "downloadAndInstall") { + let updateVersion = gAppUpdater.update.displayVersion; + button.label = this.bundle.formatStringFromName("update.downloadAndInstallButton.label", [updateVersion], 1); + button.accessKey = this.bundle.GetStringFromName("update.downloadAndInstallButton.accesskey"); + } + this.updateDeck.selectedPanel = panel; + if (!document.commandDispatcher.focusedElement || // don't steal the focus + document.commandDispatcher.focusedElement.localName == "button") // except from the other buttons + button.focus(); + + } else { + this.updateDeck.selectedPanel = panel; + } + }, + + /** + * Check for updates + */ + checkForUpdates: function() { + // Clear prefs that could prevent a user from discovering available updates. + if (Services.prefs.prefHasUserValue(PREF_APP_UPDATE_CANCELATIONS_OSX)) { + Services.prefs.clearUserPref(PREF_APP_UPDATE_CANCELATIONS_OSX); + } + if (Services.prefs.prefHasUserValue(PREF_APP_UPDATE_ELEVATE_NEVER)) { + Services.prefs.clearUserPref(PREF_APP_UPDATE_ELEVATE_NEVER); + } + this.selectPanel("checkingForUpdates"); + this.isChecking = true; + this.checker.checkForUpdates(this.updateCheckListener, true); + // after checking, onCheckComplete() is called + }, + + /** + * Handles oncommand for the "Restart to Update" button + * which is presented after the download has been downloaded. + */ + buttonRestartAfterDownload: function() { + if (!this.isPending && !this.isApplied) { + return; + } + + gAppUpdater.selectPanel("restarting"); + + // Notify all windows that an application quit has been requested. + let cancelQuit = Components.classes["@mozilla.org/supports-PRBool;1"]. + createInstance(Components.interfaces.nsISupportsPRBool); + Services.obs.notifyObservers(cancelQuit, "quit-application-requested", "restart"); + + // Something aborted the quit process. + if (cancelQuit.data) { + gAppUpdater.selectPanel("apply"); + return; + } + + let appStartup = Components.classes["@mozilla.org/toolkit/app-startup;1"]. + getService(Components.interfaces.nsIAppStartup); + + // If already in safe mode restart in safe mode (bug 327119) + if (Services.appinfo.inSafeMode) { + appStartup.restartInSafeMode(Components.interfaces.nsIAppStartup.eAttemptQuit); + return; + } + + appStartup.quit(Components.interfaces.nsIAppStartup.eAttemptQuit | + Components.interfaces.nsIAppStartup.eRestart); + }, + + /** + * Implements nsIUpdateCheckListener. The methods implemented by + * nsIUpdateCheckListener are in a different scope from nsIIncrementalDownload + * to make it clear which are used by each interface. + */ + updateCheckListener: { + /** + * See nsIUpdateService.idl + */ + onCheckComplete: function(aRequest, aUpdates, aUpdateCount) { + gAppUpdater.isChecking = false; + gAppUpdater.update = gAppUpdater.aus. + selectUpdate(aUpdates, aUpdates.length); + if (!gAppUpdater.update) { + gAppUpdater.selectPanel("noUpdatesFound"); + return; + } + + if (gAppUpdater.update.unsupported) { + if (gAppUpdater.update.detailsURL) { + let unsupportedLink = document.getElementById("unsupportedLink"); + unsupportedLink.href = gAppUpdater.update.detailsURL; + } + gAppUpdater.selectPanel("unsupportedSystem"); + return; + } + + if (!gAppUpdater.aus.canApplyUpdates) { + gAppUpdater.selectPanel("manualUpdate"); + return; + } + + if (gAppUpdater.updateAuto) // automatically download and install + gAppUpdater.startDownload(); + else // ask + gAppUpdater.selectPanel("downloadAndInstall"); + }, + + /** + * See nsIUpdateService.idl + */ + onError: function(aRequest, aUpdate) { + // Errors in the update check are treated as no updates found. If the + // update check fails repeatedly without a success the user will be + // notified with the normal app update user interface so this is safe. + gAppUpdater.isChecking = false; + gAppUpdater.selectPanel("noUpdatesFound"); + }, + + /** + * See nsISupports.idl + */ + QueryInterface: function(aIID) { + if (!aIID.equals(Components.interfaces.nsIUpdateCheckListener) && + !aIID.equals(Components.interfaces.nsISupports)) + throw Components.results.NS_ERROR_NO_INTERFACE; + return this; + } + }, + + /** + * Starts the download of an update mar. + */ + startDownload: function() { + if (!this.update) + this.update = this.um.activeUpdate; + this.update.QueryInterface(Components.interfaces.nsIWritablePropertyBag); + this.update.setProperty("foregroundDownload", "true"); + + this.aus.pauseDownload(); + let state = this.aus.downloadUpdate(this.update, false); + if (state == "failed") { + this.selectPanel("downloadFailed"); + return; + } + + this.setupDownloadingUI(); + }, + + /** + * Switches to the UI responsible for tracking the download. + */ + setupDownloadingUI: function() { + this.downloadStatus = document.getElementById("downloadStatus"); + this.downloadStatus.value = + DownloadUtils.getTransferTotal(0, this.update.selectedPatch.size); + this.selectPanel("downloading"); + this.aus.addDownloadListener(this); + }, + + removeDownloadListener: function() { + if (this.aus) { + this.aus.removeDownloadListener(this); + } + }, + + /** + * See nsIRequestObserver.idl + */ + onStartRequest: function(aRequest, aContext) { + }, + + /** + * See nsIRequestObserver.idl + */ + onStopRequest: function(aRequest, aContext, aStatusCode) { + switch (aStatusCode) { + case Components.results.NS_ERROR_UNEXPECTED: + if (this.update.selectedPatch.state == "download-failed" && + (this.update.isCompleteUpdate || this.update.patchCount != 2)) { + // Verification error of complete patch, informational text is held in + // the update object. + this.removeDownloadListener(); + this.selectPanel("downloadFailed"); + break; + } + // Verification failed for a partial patch, complete patch is now + // downloading so return early and do NOT remove the download listener! + break; + case Components.results.NS_BINDING_ABORTED: + // Do not remove UI listener since the user may resume downloading again. + break; + case Components.results.NS_OK: + this.removeDownloadListener(); + if (this.backgroundUpdateEnabled) { + this.selectPanel("applying"); + let self = this; + Services.obs.addObserver(function (aSubject, aTopic, aData) { + // Update the UI when the background updater is finished + let status = aData; + if (status == "applied" || status == "applied-service" || + status == "pending" || status == "pending-service" || + status == "pending-elevate") { + // If the update is successfully applied, or if the updater has + // fallen back to non-staged updates, show the "Restart to Update" + // button. + self.selectPanel("apply"); + } else if (status == "failed") { + // Background update has failed, let's show the UI responsible for + // prompting the user to update manually. + self.selectPanel("downloadFailed"); + } else if (status == "downloading") { + // We've fallen back to downloading the full update because the + // partial update failed to get staged in the background. + // Therefore we need to keep our observer. + self.setupDownloadingUI(); + return; + } + Services.obs.removeObserver(arguments.callee, "update-staged"); + }, "update-staged", false); + } else { + this.selectPanel("apply"); + } + break; + default: + this.removeDownloadListener(); + this.selectPanel("downloadFailed"); + break; + } + }, + + /** + * See nsIProgressEventSink.idl + */ + onStatus: function(aRequest, aContext, aStatus, aStatusArg) { + }, + + /** + * See nsIProgressEventSink.idl + */ + onProgress: function(aRequest, aContext, aProgress, aProgressMax) { + this.downloadStatus.value = + DownloadUtils.getTransferTotal(aProgress, aProgressMax); + }, + + /** + * See nsISupports.idl + */ + QueryInterface: function(aIID) { + if (!aIID.equals(Components.interfaces.nsIProgressEventSink) && + !aIID.equals(Components.interfaces.nsIRequestObserver) && + !aIID.equals(Components.interfaces.nsISupports)) + throw Components.results.NS_ERROR_NO_INTERFACE; + return this; + } +}; diff --git a/browser/base/content/aboutDialog.css b/browser/base/content/aboutDialog.css new file mode 100644 index 000000000..65830c8bb --- /dev/null +++ b/browser/base/content/aboutDialog.css @@ -0,0 +1,97 @@ +/* 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/. */ + +#aboutDialog { + width: 620px; + /* Set an explicit line-height to avoid discrepancies in 'auto' spacing + across screens with different device DPI, which may cause font metrics + to round differently. */ + line-height: 1.5; +} + +#rightBox { + background-image: url("chrome://branding/content/about-wordmark.png"); + background-repeat: no-repeat; + /* padding-top creates room for the wordmark */ + padding-top: 38px; + margin-top:20px; +} + +#rightBox:-moz-locale-dir(rtl) { + background-position: 100% 0; +} + +#bottomBox { + padding: 15px 10px 0; +} + +#version { + font-weight: bold; + margin-top: 10px; + margin-left: 0; + -moz-user-select: text; + -moz-user-focus: normal; + cursor: text; +} + +#version:-moz-locale-dir(rtl) { + direction: ltr; + text-align: right; + margin-left: 5px; + margin-right: 0; +} + +#releasenotes { + margin-top: 10px; +} + +#distribution, +#distributionId { + display: none; + margin-top: 0; + margin-bottom: 0; +} + +.text-blurb { + margin-bottom: 10px; + margin-inline-start: 0; + padding-inline-start: 0; +} + +#updateButton, +#updateDeck > hbox > label { + margin-inline-start: 0; + padding-inline-start: 0; +} + +.update-throbber { + width: 16px; + min-height: 16px; + margin-inline-end: 3px; + list-style-image: url("chrome://global/skin/icons/loading.png"); +} + +@media (min-resolution: 1.1dppx) { + .update-throbber { + list-style-image: url("chrome://global/skin/icons/loading@2x.png"); + } +} + +description > .text-link, +description > .text-link:focus { + margin: 0px; + padding: 0px; +} + +.bottom-link, +.bottom-link:focus { + text-align: center; + margin: 0 40px; +} + +#currentChannel { + margin: 0; + padding: 0; + font-weight: bold; +} diff --git a/browser/base/content/aboutDialog.js b/browser/base/content/aboutDialog.js new file mode 100644 index 000000000..569a65adb --- /dev/null +++ b/browser/base/content/aboutDialog.js @@ -0,0 +1,80 @@ +/* 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/. */ + +"use strict"; + +// Services = object with smart getters for common XPCOM services +Components.utils.import("resource://gre/modules/Services.jsm"); +Components.utils.import("resource://gre/modules/AppConstants.jsm"); + +function init(aEvent) +{ + if (aEvent.target != document) + return; + + try { + var distroId = Services.prefs.getCharPref("distribution.id"); + if (distroId) { + var distroVersion = Services.prefs.getCharPref("distribution.version"); + + var distroIdField = document.getElementById("distributionId"); + distroIdField.value = distroId + " - " + distroVersion; + distroIdField.style.display = "block"; + + try { + // This is in its own try catch due to bug 895473 and bug 900925. + var distroAbout = Services.prefs.getComplexValue("distribution.about", + Components.interfaces.nsISupportsString); + var distroField = document.getElementById("distribution"); + distroField.value = distroAbout; + distroField.style.display = "block"; + } + catch (ex) { + // Pref is unset + Components.utils.reportError(ex); + } + } + } + catch (e) { + // Pref is unset + } + + // Include the build ID and display warning if this is an "a#" (nightly or aurora) build + let versionField = document.getElementById("version"); + let version = Services.appinfo.version; + if (/a\d+$/.test(version)) { + let buildID = Services.appinfo.appBuildID; + let year = buildID.slice(0, 4); + let month = buildID.slice(4, 6); + let day = buildID.slice(6, 8); + versionField.textContent += ` (${year}-${month}-${day})`; + + document.getElementById("experimental").hidden = false; + document.getElementById("communityDesc").hidden = true; + } + + // Append "(32-bit)" or "(64-bit)" build architecture to the version number: + let bundle = Services.strings.createBundle("chrome://browser/locale/browser.properties"); + let archResource = Services.appinfo.is64Bit + ? "aboutDialog.architecture.sixtyFourBit" + : "aboutDialog.architecture.thirtyTwoBit"; + let arch = bundle.GetStringFromName(archResource); + versionField.textContent += ` (${arch})`; + + if (AppConstants.MOZ_UPDATER) { + gAppUpdater = new appUpdater(); + + let channelLabel = document.getElementById("currentChannel"); + let currentChannelText = document.getElementById("currentChannelText"); + channelLabel.value = UpdateUtils.UpdateChannel; + if (/^release($|\-)/.test(channelLabel.value)) + currentChannelText.hidden = true; + } + + if (AppConstants.platform == "macosx") { + // it may not be sized at this point, and we need its width to calculate its position + window.sizeToContent(); + window.moveTo((screen.availWidth / 2) - (window.outerWidth / 2), screen.availHeight / 5); + } +} diff --git a/browser/base/content/aboutDialog.xul b/browser/base/content/aboutDialog.xul new file mode 100644 index 000000000..cbb07a5e1 --- /dev/null +++ b/browser/base/content/aboutDialog.xul @@ -0,0 +1,157 @@ + + +# 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/. + + + + + + +%brandDTD; + +%aboutDialogDTD; +]> + +#ifdef XP_MACOSX + +#endif + + + + + + + + + + + + +
+
+

&generic.title;

+

&captivePortal.title;

+

&dnsNotFound.title;

+

&fileNotFound.title;

+

&fileAccessDenied.title;

+

&malformedURI.title;

+

&unknownProtocolFound.title;

+

&connectionFailure.title;

+

&netTimeout.title;

+

&redirectLoop.title;

+

&unknownSocketType.title;

+

&netReset.title;

+

¬Cached.title;

+

&netOffline.title;

+

&netInterrupt.title;

+

&deniedPortAccess.title;

+

&proxyResolveFailure.title;

+

&proxyConnectFailure.title;

+

&contentEncodingError.title;

+

&unsafeContentType.title;

+

&nssFailure2.title;

+

&certerror.longpagetitle1;

+

&cspBlocked.title;

+

&remoteXUL.title;

+

&corruptedContentErrorv2.title;

+

&sslv3Used.title;

+

&weakCryptoUsed.title;

+

&inadequateSecurityError.title;

+
+
+
&generic.longDesc;
+
&captivePortal.longDesc;
+
&dnsNotFound.longDesc;
+
&fileNotFound.longDesc;
+
&fileAccessDenied.longDesc;
+
&malformedURI.longDesc;
+
&unknownProtocolFound.longDesc;
+
&connectionFailure.longDesc;
+
&netTimeout.longDesc;
+
&redirectLoop.longDesc;
+
&unknownSocketType.longDesc;
+
&netReset.longDesc;
+
¬Cached.longDesc;
+
&netOffline.longDesc2;
+
&netInterrupt.longDesc;
+
&deniedPortAccess.longDesc;
+
&proxyResolveFailure.longDesc;
+
&proxyConnectFailure.longDesc;
+
&contentEncodingError.longDesc;
+
&unsafeContentType.longDesc;
+
&nssFailure2.longDesc2;
+
&certerror.introPara;
+
&cspBlocked.longDesc;
+
&remoteXUL.longDesc;
+
&corruptedContentErrorv2.longDesc;
+
&sslv3Used.longDesc2;
+
&weakCryptoUsed.longDesc2;
+
&inadequateSecurityError.longDesc;
+
+
+ + +
+ + +
+

+

+ + +
+ + +
+

+

+ + + + + +
+ + + +
+

&prefReset.longDesc;

+ +
+ +
+ + +
+ +
+
+ +
+ +
+ + +
+

+ + +

+
+ +
+
+
+

&weakCryptoAdvanced.longDesc;

+
+ + +
+

+ +

+
+ +
+ +
+ +
+ +
+ + + + + + diff --git a/browser/base/content/aboutProviderDirectory.xhtml b/browser/base/content/aboutProviderDirectory.xhtml new file mode 100644 index 000000000..596ede4b3 --- /dev/null +++ b/browser/base/content/aboutProviderDirectory.xhtml @@ -0,0 +1,60 @@ + + + + + + %htmlDTD; + + %brandDTD; + + %browserDTD; +]> + + + + &social.directory.label; + + + + + +