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

652 Коммитов

Автор SHA1 Сообщение Дата
Ed Lee acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Florian Quèze 2c3a1ae0be Bug 1620630 - The OS.File worker should record markers indicating which operation it is performing on which file, r=Yoric.
Differential Revision: https://phabricator.services.mozilla.com/D65747

--HG--
extra : moz-landing-system : lando
2020-03-11 14:22:06 +00:00
Daniel Varga df858c9057 Backed out changeset 6aaa835ae0eb (bug 1620630) for causing xpcshell failures at osfile/tests/xpcshell/test_osfile_closed.js
CLOSED TREE
2020-03-10 21:08:48 +02:00
Florian Quèze 5345d6fcbb Bug 1620630 - The OS.File worker should record markers indicating which operation it is performing on which file, r=Yoric.
Differential Revision: https://phabricator.services.mozilla.com/D65747

--HG--
extra : moz-landing-system : lando
2020-03-10 17:04:10 +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
Noemi Erli 4f84a00cd0 Backed out changeset c1b10a848d64 (bug 1620630) for causing failures in test_attachments_downloader.js 2020-03-09 17:00:08 +02:00
Florian Quèze 26cef7bbdf Bug 1620630 - The OS.File worker should record markers indicating which operation it is performing on which file, r=Yoric.
Differential Revision: https://phabricator.services.mozilla.com/D65747

--HG--
extra : moz-landing-system : lando
2020-03-09 14:00:04 +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
Brian Grinstead 3d2d2d0ea7 Bug 1608281 - Automated rewrite away from reading properties on the global `this` in JSM files - round 1 r=mossop
This patch was generated with a script. It doesn't include all files:

- Files that use the preprocessor or fail to parse are skipped
- Files that are loaded as JSMs but don't use the .jsm extension are skipped (those will be renamed in Bug 1609269)

It was generated with the following command using d855222aa2/no-this-property-read.js:

```
hg revert --all &&
cp .gitignore .rgignore &&
rg --files-without-match -g '*.jsm' '^#endif|^#include|^#filter' | jscodeshift --stdin --transform ~/Code/jsm-rewrites/no-this-property-read.js --ignore-pattern ./mobile/android/modules/Sanitizer.jsm --ignore-pattern ./js/xpconnect/tests/unit/syntax_error.jsm &&
./mach eslint `hg st | rg '^M ' | sed 's/^M //'`
```

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

--HG--
extra : moz-landing-system : lando
2020-01-29 21:50:04 +00:00
Emilio Cobos Álvarez 278b36aafb Bug 1607816 - Replace mozilla::{Max, Min}Value with std::numeric_limits. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D59153

--HG--
extra : moz-landing-system : lando
2020-01-08 16:30:40 +00:00
David Teller 5cd11bc312 Bug 1555644 - If a file cannot be fast-renamed, copy it and remove the original;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58188

--HG--
extra : moz-landing-system : lando
2019-12-24 09:48:34 +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
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
Mihai Alexandru Michis d17d0b0276 Backed out changeset 1091690427f2 (bug 1555644) for causing browser-chrome failures. CLOSED TREE 2019-09-16 21:50:40 +03:00
preyunk fb6f570e48 Bug 1555644 - Added fallback to call File.copy and File.remove function if moving function fails r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D43220

--HG--
extra : moz-landing-system : lando
2019-09-16 17:05:35 +00:00
monikamaheshwari 9d60e0d578 Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629

--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00
Mark Banner b1970e6a2f Bug 1571466 - Cleanup unnecessary ESLint global definitions. r=mossop
These are raised as redeclares or unused variables by ESLint 6.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 07:11:56 +00:00
Bryce Van Dyk 7d4f2e2fa9 Bug 1566700 - Add tests for OS.File extended attribute MacOS functions. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D38965

--HG--
extra : moz-landing-system : lando
2019-07-25 01:13:03 +00:00
Bryce Van Dyk 69eee89b05 Bug 1566700 - Add functions to OS.File to set and get extended attributes on MacOS. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D38964

--HG--
extra : moz-landing-system : lando
2019-07-24 16:14:42 +00:00
Bryce Van Dyk 6b33621140 Bug 1566700 - Add File.OS macRemoveXAttr. r=Yoric
Add functionality to remove an extended attribute from a file. This
functionality is currently MacOS specific due to that being the only use case we
currently have (see bug 1566523).

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

--HG--
extra : moz-landing-system : lando
2019-07-23 23:12:36 +00:00
M. Sirringhaus ab47597a2c Bug 1564900 - [OS.File] Fix size of statvfs::f_frsize;r=Yoric
Make Firefox not assume type of member statvfs::f_frsize from sys head, which may vary

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

--HG--
extra : moz-landing-system : lando
2019-07-18 08:55:43 +00:00
Sylvestre Ledru 90fac8fa22 Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37217

--HG--
extra : moz-landing-system : lando
2019-07-10 12:03:37 +00:00
Andreea Pavel b698eeec56 Backed out changeset 3d59cb02b6ff (bug 1562642) for eslint failure on a CLOSED TREE 2019-07-10 14:44:29 +03:00
Sylvestre Ledru fd95abf361 Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37217

--HG--
extra : moz-landing-system : lando
2019-07-10 11:15:25 +00:00
Victor Porof 815b9d372b Bug 1561435 - Fix linting errors for toolkit/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : e6571d8ed75be94bdcdef8fbd0d977bfa92f3a34
extra : intermediate-source : 1351521a4bb3f78be45cf6bf6df90b4c75a959c4
2019-06-25 23:43:58 +02:00
Victor Porof 4a06c925ac Bug 1561435 - Format toolkit/components/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : b5be5b4f4b47c256e28a29f665dc754f6407ee7f
2019-07-05 11:14:05 +02:00
Jon Coppeard 2674733d06 Bug 1536154 - Update JS_updateMallocCounter callers to use the new API r=bzbarsky
This updates existing callers to use the new JS::AddAssociatedMemory API and adds calls to RemoveAssociatedMemory in finalizers.

The associated memory doesn't need to be exact, so some simplifiations are made, e.g. in CanvasRenderingContext2D where we don't wait for memory to be allocated but update the number of bytes when the dimensions change, and for stream blobs where the value returned by SizeOfIncludingThis changes over the lifetime of the object.

Differential Revision: https://phabricator.services.mozilla.com/D28692
2019-04-24 15:58:42 +01:00
Brian Grinstead 911776d674 Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Mark Banner dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Jeff Walden 3f385ffa33 Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D21827

--HG--
extra : rebase_source : 833bbfce12d90bcb92f7cd88ec65247e48c024c0
2019-03-04 15:19:16 -08:00
Razvan Maries 65e4948ca0 Backed out 4 changesets (bug 1532005, bug 1531638) for causing perma fails and Spidermonkey fail. CLOSED TREE
Backed out changeset 4913d941de92 (bug 1532005)
Backed out changeset 9635abe5bf24 (bug 1532005)
Backed out changeset 738cf4b1126a (bug 1532005)
Backed out changeset e5d9f2ee7ac7 (bug 1531638)
2019-03-05 01:07:28 +02:00
Jeff Walden ecb4e10bda Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D21827

--HG--
extra : rebase_source : 36c43233ad6d804bd691c8c40d6a6984331c7162
2019-02-28 17:00:56 -08:00
Masatoshi Kimura e25fbce870 Bug 1528651 - Re-enable warnings-as-errors on Windows in some directories. r=dmajor
--HG--
extra : source : ba86ea25070b37f4725834e1c2d9ec4c0783e119
2019-02-17 15:03:02 +09:00
Myk Melez 25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Mark Banner d1705a170b Bug 1517456 - Remove remaining production code references to Task.jsm. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D15646

--HG--
extra : moz-landing-system : lando
2019-01-04 08:41:49 +00:00
Mark Banner 0304564ac7 Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:40 +00:00
Csoregi Natalia 9e970681f2 Backed out 2 changesets (bug 1415483) for multiple failures e.g. on test_message_manager_ipc.html. CLOSED TREE
Backed out changeset d00748de66fc (bug 1415483)
Backed out changeset 8dea94258f54 (bug 1415483)
2018-12-11 19:30:57 +02:00
Mark Banner 1abdc8687f Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 14:09:44 +00:00
Mark Banner ff9179a99e Bug 1507487 - Handling of importScripts by ESLint should fallback to the file name if there is no entry in modules.json. r=mossop
We already have a fallback for items that aren't in a worker scope, we should have the same for ones that are. This means we don't need single maps (foo.js -> foo) in modules.json, and also we can identify more as explicit variables, so that no-unused-vars can detect them.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 09:31:26 +00:00
Cosmin Sabou e3d5f2a521 Backed out changeset 6f69dc19ed7c (bug 1507487) for devtools failures on browser_scratchpad_pprint.js CLOSED TREE 2018-12-10 19:04:49 +02:00
Mark Banner d4cd673de5 Bug 1507487 - Handling of importScripts by ESLint should fallback to the file name if there is no entry in modules.json. r=mossop
We already have a fallback for items that aren't in a worker scope, we should have the same for ones that are. This means we don't need single maps (foo.js -> foo) in modules.json, and also we can identify more as explicit variables, so that no-unused-vars can detect them.

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

--HG--
extra : moz-landing-system : lando
2018-12-06 17:27:56 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jan-Erik Rediger 5fd1cd8036 Bug 1498163 - Migrate external callers to the new snapshot API r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D12890

--HG--
extra : moz-landing-system : lando
2018-11-28 09:36:03 +00:00
Jeff Walden af9a670e28 Bug 1510007 - Move JSFreeOp's definition to js/public/MemoryFunctions.h, and make jsapi.h not #include that header. r=sfink
--HG--
extra : rebase_source : 4d6debefd66b89647df53c104b8560ba2de68abd
2018-11-21 18:11:15 -08:00
Kris Maglione ade8c9ede8 Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888

--HG--
extra : source : afd0a13bcfff4c92ad2497ec687f466484481667
extra : amend_source : 501bca3f94a0cb0c8bec1f30d0b3f64a50b04e48
extra : intermediate-source : bc03f101937e373fdaca735f3f356960a5239bc0
2018-10-25 19:04:01 -07:00
arthur.iakab 0c81738411 Backed out 2 changesets (bug 1482091) for bc failures on browser_domFullscreen_fullscreenMode.js
Backed out changeset bc03f101937e (bug 1482091)
Backed out changeset 28a19b7290ab (bug 1482091)
2018-11-03 01:08:36 +02:00
Kris Maglione 7fa01216a4 Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888

--HG--
extra : source : afd0a13bcfff4c92ad2497ec687f466484481667
extra : amend_source : bf22d8e9ce5c081902bd5c75b892cc434a167300
2018-10-25 19:04:01 -07:00
arthur.iakab cf2aa54f83 Backed out 2 changesets (bug 1482091)for failing browser chrome failures on browser_panelUINotifications_fullscreen_noAutoHideToolbar.js
Backed out changeset afd0a13bcfff (bug 1482091)
Backed out changeset a19c6b3e0402 (bug 1482091)
2018-11-02 23:01:15 +02:00