Граф коммитов

362 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 54fd961a29 Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin
There's no use case for stateful comparators, so they can be just plain
function pointers.

This is used in some hot places like CSS selector matching.

Differential Revision: https://phabricator.services.mozilla.com/D77084
2020-05-27 18:11:12 +00:00
Ian Moody 011b59d595 Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi
Raw Cr.ERROR don't get stack information, same as throwing JS literals instead
of `new Error()`s.

This was done automatically with a new eslint rule that will be introduced in
the next commit.  One instance of a raw Cr.ERROR was not replaced since it is
used in a test that specifically checks the preservation of raw Cr values in
XPCJS.  The rule will be disabled for that instance.

Differential Revision: https://phabricator.services.mozilla.com/D28073
2020-05-05 17:41:36 +00:00
Lifan Zeng lifanfzeng c6990491a5 Bug 1608191 - Port profileDowngrade.dtd to Fluent, r=fluent-reviewers,flod,Gijs
https://phabricator.services.mozilla.com/D66648

Differential Revision: https://phabricator.services.mozilla.com/D66648

--HG--
extra : moz-landing-system : lando
2020-04-08 18:56:45 +00:00
Andreas Farre 63e21eec70 Bug 1620594 - Part 1: Rework NS_ReleaseOnMainThreadSystemGroup. r=nika
To be able to remove SystemGroup, NS_ReleaseOnMainThreadSystemGroup
needs to have its dependency on SystemGroup removed. Since all
releases using SystemGroup would've released on the main thread anyway
we can safely replace NS_ReleaseOnMainThreadSystemGroup with
NS_ReleaseOnMainThread.

Depends on D64390

Differential Revision: https://phabricator.services.mozilla.com/D67631

--HG--
extra : moz-landing-system : lando
2020-04-07 15:16:23 +00:00
Brian Grinstead 30b9da5519 Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky
This was generated with

```
cp .gitignore .rgignore
rg -l -g '*.{html,xhtml}' 'href="chrome://global/skin/"' | xargs sed -i "" 's/href\="chrome:\/\/global\/skin\/"/href\="chrome:\/\/global\/skin\/global.css"/g'
```

Differential Revision: https://phabricator.services.mozilla.com/D67687

--HG--
extra : moz-landing-system : lando
2020-04-03 22:23:23 +00:00
Tim Nguyen d1bf0ebec3 Bug 1624882 - Scope dialog.css styles to dialog custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68216

--HG--
extra : moz-landing-system : lando
2020-03-27 12:52:03 +00:00
Artem 0a5bdf8085 Bug 1608197 - port createProfileWizard DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D62867

--HG--
extra : moz-landing-system : lando
2020-03-24 16:35:16 +00:00
Sylvestre Ledru be18fd4dba Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D67319

--HG--
extra : moz-landing-system : lando
2020-03-19 13:47:51 +00:00
Artem 3c3a57a026 Bug 1608165 - port profileSelection DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D66912

--HG--
extra : moz-landing-system : lando
2020-03-18 09:01:51 +00:00
Simon Giesecke 8ad76c7e47 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in toolkit. r=mossop
Depends on D66008

Differential Revision: https://phabricator.services.mozilla.com/D66010

--HG--
extra : moz-landing-system : lando
2020-03-10 08:48:24 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D65703

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Eric Rahm b224a7461c Bug 1617334 - Remove nsAutoPtr usage from toolkit. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D63746

--HG--
extra : moz-landing-system : lando
2020-02-22 14:50:52 +00:00
Alex Henrie 51c21554f5 Bug 1611745 - Link to QueryFullProcessImageNameW at compile time. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D61130

--HG--
extra : moz-landing-system : lando
2020-01-29 17:59:16 +00:00
Emma Malysz 75ea156d47 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:44:54 +00:00
Gurzau Raul 824bc2bf90 Backed out changeset dd809e835f2a (bug 1601093) for eslint failures at alert.xhtml and commonDialog.xhtml on a CLOSED TREE.
--HG--
rename : toolkit/components/alerts/resources/content/alert.xhtml => toolkit/components/alerts/resources/content/alert.xul
rename : toolkit/components/apppicker/content/appPicker.xhtml => toolkit/components/apppicker/content/appPicker.xul
rename : toolkit/components/extensions/dummy.xhtml => toolkit/components/extensions/dummy.xul
rename : toolkit/components/passwordmgr/content/passwordManager.xhtml => toolkit/components/passwordmgr/content/passwordManager.xul
rename : toolkit/components/printing/content/printPageSetup.xhtml => toolkit/components/printing/content/printPageSetup.xul
rename : toolkit/components/printing/content/printPreviewProgress.xhtml => toolkit/components/printing/content/printPreviewProgress.xul
rename : toolkit/components/printing/content/printProgress.xhtml => toolkit/components/printing/content/printProgress.xul
rename : toolkit/components/prompts/content/commonDialog.xhtml => toolkit/components/prompts/content/commonDialog.xul
rename : toolkit/components/prompts/content/selectDialog.xhtml => toolkit/components/prompts/content/selectDialog.xul
rename : toolkit/components/viewconfig/content/config.xhtml => toolkit/components/viewconfig/content/config.xul
rename : toolkit/content/editMenuKeys.inc.xhtml => toolkit/content/editMenuKeys.inc.xul
rename : toolkit/content/resetProfile.xhtml => toolkit/content/resetProfile.xul
rename : toolkit/content/resetProfileProgress.xhtml => toolkit/content/resetProfileProgress.xul
rename : toolkit/modules/win.xhtml => toolkit/modules/win.xul
rename : toolkit/profile/content/createProfileWizard.xhtml => toolkit/profile/content/createProfileWizard.xul
rename : toolkit/profile/content/profileDowngrade.xhtml => toolkit/profile/content/profileDowngrade.xul
rename : toolkit/profile/content/profileSelection.xhtml => toolkit/profile/content/profileSelection.xul
2019-12-11 19:27:28 +02:00
Emma Malysz 106f09dd53 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:02:20 +00:00
Kirk Steuber 589b7532ea Bug 1585482 - Restructure all <xul:dialog> usages such that they are not the top level element r=bgrins
This patch also includes necessary JS changes to support this. Most commonly, the dialog was accessed with document.documentElement, which needed to be changed now that the dialog is not the top level element.

Differential Revision: https://phabricator.services.mozilla.com/D52411

--HG--
extra : moz-landing-system : lando
2019-12-10 18:25:59 +00:00
Gabriele Svelto 5dc21d568c Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

Differential Revision: https://phabricator.services.mozilla.com/D55444

--HG--
extra : moz-landing-system : lando
2019-12-06 09:17:57 +00:00
Dave Townsend ed99bed8ef Bug 1564083: The profile command line argument should match a profile with the same root directory and use its local directory. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52736

--HG--
extra : moz-landing-system : lando
2019-11-18 19:27:51 +00:00
Emma Malysz c154961d64 Bug 1592141, rename .xul test files in toolkit/ to .xhtml r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D50884

--HG--
rename : toolkit/components/aboutmemory/tests/remote.xul => toolkit/components/aboutmemory/tests/remote.xhtml
rename : toolkit/components/aboutmemory/tests/test_aboutmemory.xul => toolkit/components/aboutmemory/tests/test_aboutmemory.xhtml
rename : toolkit/components/aboutmemory/tests/test_aboutmemory2.xul => toolkit/components/aboutmemory/tests/test_aboutmemory2.xhtml
rename : toolkit/components/aboutmemory/tests/test_aboutmemory3.xul => toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml
rename : toolkit/components/aboutmemory/tests/test_aboutmemory4.xul => toolkit/components/aboutmemory/tests/test_aboutmemory4.xhtml
rename : toolkit/components/aboutmemory/tests/test_aboutmemory5.xul => toolkit/components/aboutmemory/tests/test_aboutmemory5.xhtml
rename : toolkit/components/aboutmemory/tests/test_aboutmemory6.xul => toolkit/components/aboutmemory/tests/test_aboutmemory6.xhtml
rename : toolkit/components/aboutmemory/tests/test_aboutmemory7.xul => toolkit/components/aboutmemory/tests/test_aboutmemory7.xhtml
rename : toolkit/components/aboutmemory/tests/test_dumpGCAndCCLogsToFile.xul => toolkit/components/aboutmemory/tests/test_dumpGCAndCCLogsToFile.xhtml
rename : toolkit/components/aboutmemory/tests/test_memoryReporters.xul => toolkit/components/aboutmemory/tests/test_memoryReporters.xhtml
rename : toolkit/components/aboutmemory/tests/test_memoryReporters2.xul => toolkit/components/aboutmemory/tests/test_memoryReporters2.xhtml
rename : toolkit/components/aboutmemory/tests/test_sqliteMultiReporter.xul => toolkit/components/aboutmemory/tests/test_sqliteMultiReporter.xhtml
rename : toolkit/components/ctypes/tests/chrome/test_ctypes.xul => toolkit/components/ctypes/tests/chrome/test_ctypes.xhtml
rename : toolkit/components/osfile/tests/mochi/test_osfile_async.xul => toolkit/components/osfile/tests/mochi/test_osfile_async.xhtml
rename : toolkit/components/osfile/tests/mochi/test_osfile_back.xul => toolkit/components/osfile/tests/mochi/test_osfile_back.xhtml
rename : toolkit/components/osfile/tests/mochi/test_osfile_comms.xul => toolkit/components/osfile/tests/mochi/test_osfile_comms.xhtml
rename : toolkit/components/osfile/tests/mochi/test_osfile_front.xul => toolkit/components/osfile/tests/mochi/test_osfile_front.xhtml
rename : toolkit/components/places/tests/chrome/browser_disableglobalhistory.xul => toolkit/components/places/tests/chrome/browser_disableglobalhistory.xhtml
rename : toolkit/components/places/tests/chrome/test_371798.xul => toolkit/components/places/tests/chrome/test_371798.xhtml
rename : toolkit/components/places/tests/chrome/test_browser_disableglobalhistory.xul => toolkit/components/places/tests/chrome/test_browser_disableglobalhistory.xhtml
rename : toolkit/components/places/tests/chrome/test_favicon_annotations.xul => toolkit/components/places/tests/chrome/test_favicon_annotations.xhtml
rename : toolkit/components/workerloader/tests/test_loading.xul => toolkit/components/workerloader/tests/test_loading.xhtml
rename : toolkit/components/xulstore/tests/chrome/test_persistence.xul => toolkit/components/xulstore/tests/chrome/test_persistence.xhtml
rename : toolkit/components/xulstore/tests/chrome/window_persistence.xul => toolkit/components/xulstore/tests/chrome/window_persistence.xhtml
rename : toolkit/content/tests/chrome/bug263683_window.xul => toolkit/content/tests/chrome/bug263683_window.xhtml
rename : toolkit/content/tests/chrome/bug304188_window.xul => toolkit/content/tests/chrome/bug304188_window.xhtml
rename : toolkit/content/tests/chrome/bug331215_window.xul => toolkit/content/tests/chrome/bug331215_window.xhtml
rename : toolkit/content/tests/chrome/bug360437_window.xul => toolkit/content/tests/chrome/bug360437_window.xhtml
rename : toolkit/content/tests/chrome/bug366992_window.xul => toolkit/content/tests/chrome/bug366992_window.xhtml
rename : toolkit/content/tests/chrome/bug409624_window.xul => toolkit/content/tests/chrome/bug409624_window.xhtml
rename : toolkit/content/tests/chrome/bug429723_window.xul => toolkit/content/tests/chrome/bug429723_window.xhtml
rename : toolkit/content/tests/chrome/bug451540_window.xul => toolkit/content/tests/chrome/bug451540_window.xhtml
rename : toolkit/content/tests/chrome/bug624329_window.xul => toolkit/content/tests/chrome/bug624329_window.xhtml
rename : toolkit/content/tests/chrome/dialog_dialogfocus.xul => toolkit/content/tests/chrome/dialog_dialogfocus.xhtml
rename : toolkit/content/tests/chrome/dialog_dialogfocus2.xul => toolkit/content/tests/chrome/dialog_dialogfocus2.xhtml
rename : toolkit/content/tests/chrome/file_edit_contextmenu.xul => toolkit/content/tests/chrome/file_edit_contextmenu.xhtml
rename : toolkit/content/tests/chrome/findbar_entireword_window.xul => toolkit/content/tests/chrome/findbar_entireword_window.xhtml
rename : toolkit/content/tests/chrome/findbar_events_window.xul => toolkit/content/tests/chrome/findbar_events_window.xhtml
rename : toolkit/content/tests/chrome/findbar_window.xul => toolkit/content/tests/chrome/findbar_window.xhtml
rename : toolkit/content/tests/chrome/frame_popup_anchor.xul => toolkit/content/tests/chrome/frame_popup_anchor.xhtml
rename : toolkit/content/tests/chrome/frame_popupremoving_frame.xul => toolkit/content/tests/chrome/frame_popupremoving_frame.xhtml
rename : toolkit/content/tests/chrome/frame_subframe_origin_subframe1.xul => toolkit/content/tests/chrome/frame_subframe_origin_subframe1.xhtml
rename : toolkit/content/tests/chrome/frame_subframe_origin_subframe2.xul => toolkit/content/tests/chrome/frame_subframe_origin_subframe2.xhtml
rename : toolkit/content/tests/chrome/popup_childframe_node.xul => toolkit/content/tests/chrome/popup_childframe_node.xhtml
rename : toolkit/content/tests/chrome/rtltest/content/dirtest.xul => toolkit/content/tests/chrome/rtltest/content/dirtest.xhtml
rename : toolkit/content/tests/chrome/test_arrowpanel.xul => toolkit/content/tests/chrome/test_arrowpanel.xhtml
rename : toolkit/content/tests/chrome/test_autocomplete2.xul => toolkit/content/tests/chrome/test_autocomplete2.xhtml
rename : toolkit/content/tests/chrome/test_autocomplete3.xul => toolkit/content/tests/chrome/test_autocomplete3.xhtml
rename : toolkit/content/tests/chrome/test_autocomplete4.xul => toolkit/content/tests/chrome/test_autocomplete4.xhtml
rename : toolkit/content/tests/chrome/test_autocomplete5.xul => toolkit/content/tests/chrome/test_autocomplete5.xhtml
rename : toolkit/content/tests/chrome/test_autocomplete_emphasis.xul => toolkit/content/tests/chrome/test_autocomplete_emphasis.xhtml
rename : toolkit/content/tests/chrome/test_autocomplete_mac_caret.xul => toolkit/content/tests/chrome/test_autocomplete_mac_caret.xhtml
rename : toolkit/content/tests/chrome/test_autocomplete_placehold_last_complete.xul => toolkit/content/tests/chrome/test_autocomplete_placehold_last_complete.xhtml
rename : toolkit/content/tests/chrome/test_browser_drop.xul => toolkit/content/tests/chrome/test_browser_drop.xhtml
rename : toolkit/content/tests/chrome/test_bug1048178.xul => toolkit/content/tests/chrome/test_bug1048178.xhtml
rename : toolkit/content/tests/chrome/test_bug263683.xul => toolkit/content/tests/chrome/test_bug263683.xhtml
rename : toolkit/content/tests/chrome/test_bug304188.xul => toolkit/content/tests/chrome/test_bug304188.xhtml
rename : toolkit/content/tests/chrome/test_bug331215.xul => toolkit/content/tests/chrome/test_bug331215.xhtml
rename : toolkit/content/tests/chrome/test_bug360220.xul => toolkit/content/tests/chrome/test_bug360220.xhtml
rename : toolkit/content/tests/chrome/test_bug360437.xul => toolkit/content/tests/chrome/test_bug360437.xhtml
rename : toolkit/content/tests/chrome/test_bug365773.xul => toolkit/content/tests/chrome/test_bug365773.xhtml
rename : toolkit/content/tests/chrome/test_bug366992.xul => toolkit/content/tests/chrome/test_bug366992.xhtml
rename : toolkit/content/tests/chrome/test_bug382990.xul => toolkit/content/tests/chrome/test_bug382990.xhtml
rename : toolkit/content/tests/chrome/test_bug409624.xul => toolkit/content/tests/chrome/test_bug409624.xhtml
rename : toolkit/content/tests/chrome/test_bug418874.xul => toolkit/content/tests/chrome/test_bug418874.xhtml
rename : toolkit/content/tests/chrome/test_bug429723.xul => toolkit/content/tests/chrome/test_bug429723.xhtml
rename : toolkit/content/tests/chrome/test_bug437844.xul => toolkit/content/tests/chrome/test_bug437844.xhtml
rename : toolkit/content/tests/chrome/test_bug451540.xul => toolkit/content/tests/chrome/test_bug451540.xhtml
rename : toolkit/content/tests/chrome/test_bug457632.xul => toolkit/content/tests/chrome/test_bug457632.xhtml
rename : toolkit/content/tests/chrome/test_bug460942.xul => toolkit/content/tests/chrome/test_bug460942.xhtml
rename : toolkit/content/tests/chrome/test_bug471776.xul => toolkit/content/tests/chrome/test_bug471776.xhtml
rename : toolkit/content/tests/chrome/test_bug509732.xul => toolkit/content/tests/chrome/test_bug509732.xhtml
rename : toolkit/content/tests/chrome/test_bug557987.xul => toolkit/content/tests/chrome/test_bug557987.xhtml
rename : toolkit/content/tests/chrome/test_bug562554.xul => toolkit/content/tests/chrome/test_bug562554.xhtml
rename : toolkit/content/tests/chrome/test_bug624329.xul => toolkit/content/tests/chrome/test_bug624329.xhtml
rename : toolkit/content/tests/chrome/test_bug792324.xul => toolkit/content/tests/chrome/test_bug792324.xhtml
rename : toolkit/content/tests/chrome/test_button.xul => toolkit/content/tests/chrome/test_button.xhtml
rename : toolkit/content/tests/chrome/test_chromemargin.xul => toolkit/content/tests/chrome/test_chromemargin.xhtml
rename : toolkit/content/tests/chrome/test_closemenu_attribute.xul => toolkit/content/tests/chrome/test_closemenu_attribute.xhtml
rename : toolkit/content/tests/chrome/test_contextmenu_list.xul => toolkit/content/tests/chrome/test_contextmenu_list.xhtml
rename : toolkit/content/tests/chrome/test_cursorsnap.xul => toolkit/content/tests/chrome/test_cursorsnap.xhtml
rename : toolkit/content/tests/chrome/test_custom_element_base.xul => toolkit/content/tests/chrome/test_custom_element_base.xhtml
rename : toolkit/content/tests/chrome/test_custom_element_delay_connection.xul => toolkit/content/tests/chrome/test_custom_element_delay_connection.xhtml
rename : toolkit/content/tests/chrome/test_deck.xul => toolkit/content/tests/chrome/test_deck.xhtml
rename : toolkit/content/tests/chrome/test_dialogfocus.xul => toolkit/content/tests/chrome/test_dialogfocus.xhtml
rename : toolkit/content/tests/chrome/test_findbar.xul => toolkit/content/tests/chrome/test_findbar.xhtml
rename : toolkit/content/tests/chrome/test_findbar_entireword.xul => toolkit/content/tests/chrome/test_findbar_entireword.xhtml
rename : toolkit/content/tests/chrome/test_findbar_events.xul => toolkit/content/tests/chrome/test_findbar_events.xhtml
rename : toolkit/content/tests/chrome/test_frames.xul => toolkit/content/tests/chrome/test_frames.xhtml
rename : toolkit/content/tests/chrome/test_hiddenitems.xul => toolkit/content/tests/chrome/test_hiddenitems.xhtml
rename : toolkit/content/tests/chrome/test_hiddenpaging.xul => toolkit/content/tests/chrome/test_hiddenpaging.xhtml
rename : toolkit/content/tests/chrome/test_keys.xul => toolkit/content/tests/chrome/test_keys.xhtml
rename : toolkit/content/tests/chrome/test_labelcontrol.xul => toolkit/content/tests/chrome/test_labelcontrol.xhtml
rename : toolkit/content/tests/chrome/test_maximized_persist.xul => toolkit/content/tests/chrome/test_maximized_persist.xhtml
rename : toolkit/content/tests/chrome/test_menu.xul => toolkit/content/tests/chrome/test_menu.xhtml
rename : toolkit/content/tests/chrome/test_menu_hide.xul => toolkit/content/tests/chrome/test_menu_hide.xhtml
rename : toolkit/content/tests/chrome/test_menu_withcapture.xul => toolkit/content/tests/chrome/test_menu_withcapture.xhtml
rename : toolkit/content/tests/chrome/test_menuchecks.xul => toolkit/content/tests/chrome/test_menuchecks.xhtml
rename : toolkit/content/tests/chrome/test_menuitem_blink.xul => toolkit/content/tests/chrome/test_menuitem_blink.xhtml
rename : toolkit/content/tests/chrome/test_menuitem_commands.xul => toolkit/content/tests/chrome/test_menuitem_commands.xhtml
rename : toolkit/content/tests/chrome/test_menulist.xul => toolkit/content/tests/chrome/test_menulist.xhtml
rename : toolkit/content/tests/chrome/test_menulist_keynav.xul => toolkit/content/tests/chrome/test_menulist_keynav.xhtml
rename : toolkit/content/tests/chrome/test_menulist_null_value.xul => toolkit/content/tests/chrome/test_menulist_null_value.xhtml
rename : toolkit/content/tests/chrome/test_menulist_paging.xul => toolkit/content/tests/chrome/test_menulist_paging.xhtml
rename : toolkit/content/tests/chrome/test_menulist_position.xul => toolkit/content/tests/chrome/test_menulist_position.xhtml
rename : toolkit/content/tests/chrome/test_mousescroll.xul => toolkit/content/tests/chrome/test_mousescroll.xhtml
rename : toolkit/content/tests/chrome/test_mozinputbox_dictionary.xul => toolkit/content/tests/chrome/test_mozinputbox_dictionary.xhtml
rename : toolkit/content/tests/chrome/test_notificationbox.xul => toolkit/content/tests/chrome/test_notificationbox.xhtml
rename : toolkit/content/tests/chrome/test_panel.xul => toolkit/content/tests/chrome/test_panel.xhtml
rename : toolkit/content/tests/chrome/test_panel_anchoradjust.xul => toolkit/content/tests/chrome/test_panel_anchoradjust.xhtml
rename : toolkit/content/tests/chrome/test_panel_focus.xul => toolkit/content/tests/chrome/test_panel_focus.xhtml
rename : toolkit/content/tests/chrome/test_panelfrommenu.xul => toolkit/content/tests/chrome/test_panelfrommenu.xhtml
rename : toolkit/content/tests/chrome/test_popup_anchor.xul => toolkit/content/tests/chrome/test_popup_anchor.xhtml
rename : toolkit/content/tests/chrome/test_popup_anchoratrect.xul => toolkit/content/tests/chrome/test_popup_anchoratrect.xhtml
rename : toolkit/content/tests/chrome/test_popup_attribute.xul => toolkit/content/tests/chrome/test_popup_attribute.xhtml
rename : toolkit/content/tests/chrome/test_popup_button.xul => toolkit/content/tests/chrome/test_popup_button.xhtml
rename : toolkit/content/tests/chrome/test_popup_coords.xul => toolkit/content/tests/chrome/test_popup_coords.xhtml
rename : toolkit/content/tests/chrome/test_popup_keys.xul => toolkit/content/tests/chrome/test_popup_keys.xhtml
rename : toolkit/content/tests/chrome/test_popup_moveToAnchor.xul => toolkit/content/tests/chrome/test_popup_moveToAnchor.xhtml
rename : toolkit/content/tests/chrome/test_popup_preventdefault.xul => toolkit/content/tests/chrome/test_popup_preventdefault.xhtml
rename : toolkit/content/tests/chrome/test_popup_preventdefault_chrome.xul => toolkit/content/tests/chrome/test_popup_preventdefault_chrome.xhtml
rename : toolkit/content/tests/chrome/test_popup_recreate.xul => toolkit/content/tests/chrome/test_popup_recreate.xhtml
rename : toolkit/content/tests/chrome/test_popup_scaled.xul => toolkit/content/tests/chrome/test_popup_scaled.xhtml
rename : toolkit/content/tests/chrome/test_popup_tree.xul => toolkit/content/tests/chrome/test_popup_tree.xhtml
rename : toolkit/content/tests/chrome/test_popuphidden.xul => toolkit/content/tests/chrome/test_popuphidden.xhtml
rename : toolkit/content/tests/chrome/test_popupincontent.xul => toolkit/content/tests/chrome/test_popupincontent.xhtml
rename : toolkit/content/tests/chrome/test_popupremoving.xul => toolkit/content/tests/chrome/test_popupremoving.xhtml
rename : toolkit/content/tests/chrome/test_popupremoving_frame.xul => toolkit/content/tests/chrome/test_popupremoving_frame.xhtml
rename : toolkit/content/tests/chrome/test_position.xul => toolkit/content/tests/chrome/test_position.xhtml
rename : toolkit/content/tests/chrome/test_preferences.xul => toolkit/content/tests/chrome/test_preferences.xhtml
rename : toolkit/content/tests/chrome/test_preferences_beforeaccept.xul => toolkit/content/tests/chrome/test_preferences_beforeaccept.xhtml
rename : toolkit/content/tests/chrome/test_preferences_onsyncfrompreference.xul => toolkit/content/tests/chrome/test_preferences_onsyncfrompreference.xhtml
rename : toolkit/content/tests/chrome/test_props.xul => toolkit/content/tests/chrome/test_props.xhtml
rename : toolkit/content/tests/chrome/test_radio.xul => toolkit/content/tests/chrome/test_radio.xhtml
rename : toolkit/content/tests/chrome/test_richlistbox.xul => toolkit/content/tests/chrome/test_richlistbox.xhtml
rename : toolkit/content/tests/chrome/test_righttoleft.xul => toolkit/content/tests/chrome/test_righttoleft.xhtml
rename : toolkit/content/tests/chrome/test_screenPersistence.xul => toolkit/content/tests/chrome/test_screenPersistence.xhtml
rename : toolkit/content/tests/chrome/test_scrollbar.xul => toolkit/content/tests/chrome/test_scrollbar.xhtml
rename : toolkit/content/tests/chrome/test_showcaret.xul => toolkit/content/tests/chrome/test_showcaret.xhtml
rename : toolkit/content/tests/chrome/test_subframe_origin.xul => toolkit/content/tests/chrome/test_subframe_origin.xhtml
rename : toolkit/content/tests/chrome/test_tabbox.xul => toolkit/content/tests/chrome/test_tabbox.xhtml
rename : toolkit/content/tests/chrome/test_tabindex.xul => toolkit/content/tests/chrome/test_tabindex.xhtml
rename : toolkit/content/tests/chrome/test_textbox_search.xul => toolkit/content/tests/chrome/test_textbox_search.xhtml
rename : toolkit/content/tests/chrome/test_titlebar.xul => toolkit/content/tests/chrome/test_titlebar.xhtml
rename : toolkit/content/tests/chrome/test_tooltip.xul => toolkit/content/tests/chrome/test_tooltip.xhtml
rename : toolkit/content/tests/chrome/test_tooltip_noautohide.xul => toolkit/content/tests/chrome/test_tooltip_noautohide.xhtml
rename : toolkit/content/tests/chrome/test_tree.xul => toolkit/content/tests/chrome/test_tree.xhtml
rename : toolkit/content/tests/chrome/test_tree_hier.xul => toolkit/content/tests/chrome/test_tree_hier.xhtml
rename : toolkit/content/tests/chrome/test_tree_single.xul => toolkit/content/tests/chrome/test_tree_single.xhtml
rename : toolkit/content/tests/chrome/test_tree_view.xul => toolkit/content/tests/chrome/test_tree_view.xhtml
rename : toolkit/content/tests/chrome/test_window_intrinsic_size.xul => toolkit/content/tests/chrome/test_window_intrinsic_size.xhtml
rename : toolkit/content/tests/chrome/window_browser_drop.xul => toolkit/content/tests/chrome/window_browser_drop.xhtml
rename : toolkit/content/tests/chrome/window_chromemargin.xul => toolkit/content/tests/chrome/window_chromemargin.xhtml
rename : toolkit/content/tests/chrome/window_cursorsnap_dialog.xul => toolkit/content/tests/chrome/window_cursorsnap_dialog.xhtml
rename : toolkit/content/tests/chrome/window_cursorsnap_wizard.xul => toolkit/content/tests/chrome/window_cursorsnap_wizard.xhtml
rename : toolkit/content/tests/chrome/window_intrinsic_size.xul => toolkit/content/tests/chrome/window_intrinsic_size.xhtml
rename : toolkit/content/tests/chrome/window_keys.xul => toolkit/content/tests/chrome/window_keys.xhtml
rename : toolkit/content/tests/chrome/window_largemenu.xul => toolkit/content/tests/chrome/window_largemenu.xhtml
rename : toolkit/content/tests/chrome/window_maximized_persist.xul => toolkit/content/tests/chrome/window_maximized_persist.xhtml
rename : toolkit/content/tests/chrome/window_panel.xul => toolkit/content/tests/chrome/window_panel.xhtml
rename : toolkit/content/tests/chrome/window_panel_anchoradjust.xul => toolkit/content/tests/chrome/window_panel_anchoradjust.xhtml
rename : toolkit/content/tests/chrome/window_panel_focus.xul => toolkit/content/tests/chrome/window_panel_focus.xhtml
rename : toolkit/content/tests/chrome/window_popup_anchor.xul => toolkit/content/tests/chrome/window_popup_anchor.xhtml
rename : toolkit/content/tests/chrome/window_popup_anchoratrect.xul => toolkit/content/tests/chrome/window_popup_anchoratrect.xhtml
rename : toolkit/content/tests/chrome/window_popup_attribute.xul => toolkit/content/tests/chrome/window_popup_attribute.xhtml
rename : toolkit/content/tests/chrome/window_popup_button.xul => toolkit/content/tests/chrome/window_popup_button.xhtml
rename : toolkit/content/tests/chrome/window_popup_preventdefault_chrome.xul => toolkit/content/tests/chrome/window_popup_preventdefault_chrome.xhtml
rename : toolkit/content/tests/chrome/window_preferences.xul => toolkit/content/tests/chrome/window_preferences.xhtml
rename : toolkit/content/tests/chrome/window_preferences2.xul => toolkit/content/tests/chrome/window_preferences2.xhtml
rename : toolkit/content/tests/chrome/window_preferences3.xul => toolkit/content/tests/chrome/window_preferences3.xhtml
rename : toolkit/content/tests/chrome/window_preferences_beforeaccept.xul => toolkit/content/tests/chrome/window_preferences_beforeaccept.xhtml
rename : toolkit/content/tests/chrome/window_preferences_commandretarget.xul => toolkit/content/tests/chrome/window_preferences_commandretarget.xhtml
rename : toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xul => toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xhtml
rename : toolkit/content/tests/chrome/window_screenPosSize.xul => toolkit/content/tests/chrome/window_screenPosSize.xhtml
rename : toolkit/content/tests/chrome/window_showcaret.xul => toolkit/content/tests/chrome/window_showcaret.xhtml
rename : toolkit/content/tests/chrome/window_subframe_origin.xul => toolkit/content/tests/chrome/window_subframe_origin.xhtml
rename : toolkit/content/tests/chrome/window_titlebar.xul => toolkit/content/tests/chrome/window_titlebar.xhtml
rename : toolkit/content/tests/chrome/window_tooltip.xul => toolkit/content/tests/chrome/window_tooltip.xhtml
rename : toolkit/content/tests/widgets/test_contextmenu_menugroup.xul => toolkit/content/tests/widgets/test_contextmenu_menugroup.xhtml
rename : toolkit/content/tests/widgets/test_contextmenu_nested.xul => toolkit/content/tests/widgets/test_contextmenu_nested.xhtml
rename : toolkit/content/tests/widgets/test_editor_currentURI.xul => toolkit/content/tests/widgets/test_editor_currentURI.xhtml
rename : toolkit/content/tests/widgets/test_label_checkbox.xul => toolkit/content/tests/widgets/test_label_checkbox.xhtml
rename : toolkit/content/tests/widgets/test_menubar.xul => toolkit/content/tests/widgets/test_menubar.xhtml
rename : toolkit/content/tests/widgets/test_popupanchor.xul => toolkit/content/tests/widgets/test_popupanchor.xhtml
rename : toolkit/content/tests/widgets/test_popupreflows.xul => toolkit/content/tests/widgets/test_popupreflows.xhtml
rename : toolkit/content/tests/widgets/test_tree_column_reorder.xul => toolkit/content/tests/widgets/test_tree_column_reorder.xhtml
rename : toolkit/content/tests/widgets/window_label_checkbox.xul => toolkit/content/tests/widgets/window_label_checkbox.xhtml
rename : toolkit/content/tests/widgets/window_menubar.xul => toolkit/content/tests/widgets/window_menubar.xhtml
rename : toolkit/modules/tests/chrome/test_bug544442_checkCert.xul => toolkit/modules/tests/chrome/test_bug544442_checkCert.xhtml
rename : toolkit/mozapps/extensions/test/browser/addon_prefs.xul => toolkit/mozapps/extensions/test/browser/addon_prefs.xhtml
rename : toolkit/mozapps/extensions/test/browser/more_options.xul => toolkit/mozapps/extensions/test/browser/more_options.xhtml
rename : toolkit/mozapps/extensions/test/browser/options.xul => toolkit/mozapps/extensions/test/browser/options.xhtml
rename : toolkit/mozapps/extensions/test/browser/webapi_checkchromeframe.xul => toolkit/mozapps/extensions/test/browser/webapi_checkchromeframe.xhtml
rename : toolkit/profile/test/test_create_profile.xul => toolkit/profile/test/test_create_profile.xhtml
extra : moz-landing-system : lando
2019-11-11 19:14:34 +00:00
Kirk Steuber a3ec866dd5 Bug 1589134 - Move <script> tags out of <wizard>s r=bgrins
Moving these script tags has caused some code to be called in a different order. This patch enforces the necessary ordering by explicitly initializing MozWizardButtons from MozWizard's connectedCallback.

Differential Revision: https://phabricator.services.mozilla.com/D49490

--HG--
extra : moz-landing-system : lando
2019-11-05 21:08:50 +00:00
Jorg K eb530ab0f2 Bug 1593540 - Follow-up to bug 1587067: Check install path match before trying to match x68 path. r=mossop DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D51534

--HG--
extra : moz-landing-system : lando
2019-11-04 18:26:35 +00:00
Kirk Steuber 047d40ee73 Bug 1584283 - Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child r=surkov. On a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D48922

--HG--
extra : source : 01007f3333ea182c83bced4ff750c96b22925e80
extra : amend_source : 3b06af7be6009d6bd94798e14f30a2550f1c4c4f
extra : histedit_source : be50ba403a84dda5af1c902438c918c17a971578
2019-10-17 21:25:53 +00:00
Dorel Luca 659e2d2335 Backed out changeset 01007f3333ea (bug 1584283) for Browser-chrome failures in widget/tests/browser/browser_test_procinfo.js 2019-10-23 03:23:24 +03:00
Kirk Steuber e937081418 Bug 1584283 - Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D48922

--HG--
extra : moz-landing-system : lando
2019-10-17 21:25:53 +00:00
Jorg K e16526e5db Bug 1587067 - Don't distinguish between 32bit and 64bit install location in IsProfileForCurrentInstall(). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D49466

--HG--
extra : moz-landing-system : lando
2019-10-18 17:52:38 +00:00
Kris Maglione 53c2adf481 Bug 1586671: Pass callbacks as openDialog argument to profile creation wizard rather than using window.opener. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D48717

--HG--
extra : moz-landing-system : lando
2019-10-09 16:59:13 +00:00
Michael Kaply 24237032d4 Bug 1574963 - Add a policy for using legacy profiles on Windows. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D47841

--HG--
extra : moz-landing-system : lando
2019-10-03 17:47:17 +00:00
Dorel Luca 4d474a42ea Backed out changeset 18cdbda1b5e1 (bug 1574963) for build bustage in /toolkit/profile/nsToolkitProfileService.cpp. CLOSED TREE 2019-10-02 22:43:04 +03:00
Michael Kaply 1ddd4cc6a3 Bug 1574963 - Add a policy for using legacy profiles on Windows. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D47841

--HG--
extra : moz-landing-system : lando
2019-10-02 18:25:29 +00:00
mandy cheang f97af149f2 Bug 1546931 - Remove installs.ini stat during early start-up on the main thread. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D43295

--HG--
extra : moz-landing-system : lando
2019-08-30 22:05:41 +00:00
Tom Ritter d922064696 Bug 1547519 - Rename NS_STRINGIFY to MOZ_STRINGIFY, move to mfbt, and unify stragglers r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D39961

--HG--
extra : moz-landing-system : lando
2019-09-04 02:40:32 +00:00
Gijs Kruitbosch 7b142a3c2b Bug 1572838 - ensure osint commandline args are passed appropriately, r=mhowell,mossop
Differential Revision: https://phabricator.services.mozilla.com/D42311

--HG--
extra : moz-landing-system : lando
2019-08-20 19:51:34 +00:00
Jared Wein 119b3dc08a Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746

--HG--
extra : moz-landing-system : lando
2019-08-08 16:18:24 +00:00
Bogdan Tara 844afcfb06 Backed out 10 changesets (bug 1571567) complementary backout after es lint failure on the patch CLOSED TREE
Backed out changeset ce83fa75ae32 (bug 1571567)
Backed out changeset 7aa97ba7cce9 (bug 1571567)
Backed out changeset 777d79076e99 (bug 1571567)
Backed out changeset fbdf6b75a484 (bug 1571567)
Backed out changeset e2ed4620f232 (bug 1571567)
Backed out changeset 2c67015f12c6 (bug 1571567)
Backed out changeset 7ec086bb5bd5 (bug 1571567)
Backed out changeset 42df735c8556 (bug 1571567)
Backed out changeset 7d5fc57b2809 (bug 1571567)
Backed out changeset 606bafb8211c (bug 1571567)
2019-08-08 18:13:54 +03:00
Jared Wein 30f7f34419 Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746

--HG--
extra : moz-landing-system : lando
2019-08-08 01:38:50 +00:00
Tim Nguyen f9b01dd5b0 Bug 1565921 - Load editMenuOverlay.js and globalOverlay.js on documents with HTML inputs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38018

--HG--
extra : moz-landing-system : lando
2019-07-15 11:14:44 +00:00
Victor Porof 463c2994cb Bug 1561435 - Format toolkit/profile/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36058

--HG--
extra : source : fbfc0ec0d915eb554382401ed6b6f28f1d001f92
2019-07-05 11:17:27 +02:00
Tim Nguyen 0afde289d9 Bug 1562240 - Remove XUL textbox from toolkit/profile/content/createProfileWizard.xul. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D36339

--HG--
extra : moz-landing-system : lando
2019-07-01 15:27:52 +00:00
Dave Townsend ce00037e9a Bug 1555319: Normalize the case of the installation path to always get a consistent install hash. r=froydnj
The XRE_EXECUTABLE_FILE directory entry gives us the actual path that the binary
was launched with. On systems where the filesystem is case insensitive this
can be in any case, which ends up being a different install hash. This patch
ensures that we get the correct case for the install path before generating the
hash.

We have the problem of users who are already affected by this issue. This patch
also leaves the old hash available, if no default profile is found for the
correct hash then we also check for a profile for the old hash, if so we use it
for this hash going forwards. Testing this is kind of a pain, we have to add a
way to override the old hash that we will check against. I'm not totally happy with
how it is done here but not sure there is anything better.

This also adds a test that calling xpcshell with differing cases returns the
same install hash.

Differential Revision: https://phabricator.services.mozilla.com/D34774

--HG--
extra : source : 1a595782402c95aa1f7b26e892e38a500ebb9a77
extra : amend_source : 749b03b93cd4687a83cd696a5cbedc9f2ebc69fc
extra : histedit_source : 459eae02e0e953d5108fd6d7609d9e640eeb695e%2C9fdaaec17723a5e1e7d277d08cd41d16da99437f
2019-06-12 10:48:09 -07:00
Csoregi Natalia 3b2ed723f5 Backed out 2 changesets (bug 1555319) for xpcshell failures on test_install_hash.js.
Backed out changeset aa7807c7e488 (bug 1555319)
Backed out changeset 1a595782402c (bug 1555319)
2019-06-26 23:09:47 +03:00
Dave Townsend 604b35687d Bug 1555319: Normalize the case of the installation path to always get a consistent install hash. r=froydnj
The XRE_EXECUTABLE_FILE directory entry gives us the actual path that the binary
was launched with. On systems where the filesystem is case insensitive this
can be in any case, which ends up being a different install hash. This patch
ensures that we get the correct case for the install path before generating the
hash.

We have the problem of users who are already affected by this issue. This patch
also leaves the old hash available, if no default profile is found for the
correct hash then we also check for a profile for the old hash, if so we use it
for this hash going forwards. Testing this is kind of a pain, we have to add a
way to override the old hash that we will check against. I'm not totally happy with
how it is done here but not sure there is anything better.

This also adds a test that calling xpcshell with differing cases returns the
same install hash.

Differential Revision: https://phabricator.services.mozilla.com/D34774

--HG--
extra : rebase_source : 43277e55337f9198b0ec0e6ef8d03ece61c1c5a7
2019-06-12 10:48:09 -07:00
Dorel Luca 33af9598d8 Backed out changeset 7aef19c3fd3d (bug 1555319) for build bustage on OSX. CLOSED TREE 2019-06-24 21:46:37 +03:00
Dave Townsend 3a5af74d53 Bug 1555319: Normalize the case of the installation path to always get a consistent install hash. r=froydnj
The XRE_EXECUTABLE_FILE directory entry gives us the actual path that the binary
was launched with. On systems where the filesystem is case insensitive this
can be in any case, which ends up being a different install hash. This patch
ensures that we get the correct case for the install path before generating the
hash.

We have the problem of users who are already affected by this issue. This patch
also leaves the old hash available, if no default profile is found for the
correct hash then we also check for a profile for the old hash, if so we use it
for this hash going forwards. Testing this is kind of a pain, we have to add a
way to override the old hash that we will check against. I'm not totally happy with
how it is done here but not sure there is anything better.

This also adds a test that calling xpcshell with differing cases returns the
same install hash.

Differential Revision: https://phabricator.services.mozilla.com/D34774

--HG--
extra : moz-landing-system : lando
2019-06-24 17:52:58 +00:00
Dave Townsend 69f70ce6ae Bug 1528082: Add an environment variable to disable dedicated profiles for enterprise use. r=froydnj
In some situations dedicated profile support does not work well. This includes a
handful of linux distributions which always install different application
versions to different locations, some application sandboxing systems as well as
enterprise deployments. This environment variable provides a way to opt out of
dedicated profiles for these cases.

Differential Revision: https://phabricator.services.mozilla.com/D35249

--HG--
extra : moz-landing-system : lando
2019-06-20 13:47:42 +00:00
Dave Townsend 2a143cf5e9 Bug 1556173: Fix test_profile_reset.js on dev-edition builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D34002

--HG--
extra : moz-landing-system : lando
2019-06-10 17:55:12 +00:00
Dave Townsend 1f96e1db88 Bug 1553929: Make some attempt to correctly match default profiles after profiles.ini has been manually edited by the user. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D34038

--HG--
extra : moz-landing-system : lando
2019-06-11 17:32:17 +00:00
Alexander Surkov 61cc7103cf Bug 1544916 - migrate dialog binding to Custom Element r=bgrins,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D30289

--HG--
rename : toolkit/content/widgets/dialog.xml => toolkit/content/widgets/dialog.js
extra : moz-landing-system : lando
2019-06-04 17:28:16 +00:00
Dave Townsend 6f429041bd Bug 1555117: Ignore attempts to reset the profile when a new profile had to be created for the install. r=froydnj
Since bug 1518587 when a command line argument or environment variable requests
a profile refresh but no existing profile is selected we would just exit
thinking that there is some problem here. But it turns out that the installer
sometimes passes this argument when it doesn't know that the new install will
not use the existing profiles.

So instead we just ignore attempts to refresh when we create a new profile. To
do this we just have to remove the checks that bail out and continue to create
the new profile, nsAppRunner will see that a new profile has been created and
cancel the attempted refresh anyway:
https://searchfox.org/mozilla-central/rev/ddb81c7a43ffada1f6cb4200c4f625e50e44dcf3/toolkit/xre/nsAppRunner.cpp#2021

Differential Revision: https://phabricator.services.mozilla.com/D32891

--HG--
extra : moz-landing-system : lando
2019-05-31 16:49:56 +00:00
Dave Townsend cf20f54068 Bug 1553781: When the remote service finds an instance to remote to it doesn't clean up the startup lock. r=glandium
This fixes the issue in a few redundant ways:
* nsProfileLock is made to properly clean itself up when destroyed.
* nsRemoteService makes sure the unlock when destroyed.
* nsAppRunner unlocks when a remote client has been found.

Differential Revision: https://phabricator.services.mozilla.com/D32360

--HG--
extra : moz-landing-system : lando
2019-05-30 17:53:36 +00:00