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

6932 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru 8d2f0d1b1f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-11-26 14:35:02 +00:00
Brindusan Cristian 6c34625fa0 Backed out 4 changesets (bug 1584031) for crashtest failures at crashtests/914521.html.
Backed out changeset 48a289c7226f (bug 1584031)
Backed out changeset cac72426ac2a (bug 1584031)
Backed out changeset bfb6286d68b6 (bug 1584031)
Backed out changeset c94a216693c5 (bug 1584031)
2019-11-26 06:42:14 +02:00
Matt Woodrow a4c0f4ca76 Bug 1584031 - Pass load flags to NS_NewChannelInternal in ContentChild in the same way we do in DocumentChannelChild. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D54222

--HG--
extra : moz-landing-system : lando
2019-11-26 03:19:13 +00:00
Jean-Yves Avenard 9d62b283ad Bug 1596665 - P3. Copy property bag from parent to child. r=kmag,mayhemer
Rather that setting the property bag on both the child and parent from the docshell; we first set it on the parent instead, and once the redirect (or process switch) has completed we carry that bag across.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 01:24:34 +00:00
Jean-Yves Avenard 490c24b75a Bug 1596665 - P1. Add IPDL serializer for nsHasPropertyBag/nsIVariant. r=mattwoodrow
Only nsIURI are handled for the nsIVariant::GetAsInterface().

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

--HG--
extra : moz-landing-system : lando
2019-11-26 01:24:12 +00:00
Coroiu Cristina b55f6bda39 Backed out 6 changesets (bug 1598516) for Mn and pgo failures on a CLOSED TREE
Backed out changeset 63a84cdfd937 (bug 1598516)
Backed out changeset 894aaa4bc62e (bug 1598516)
Backed out changeset e19ada9e8b30 (bug 1598516)
Backed out changeset 72f2256ae171 (bug 1598516)
Backed out changeset 6ba74ff735ba (bug 1598516)
Backed out changeset b235cf22b0e4 (bug 1598516)
2019-11-26 04:40:35 +02:00
Coroiu Cristina 62da09d5c5 Backed out changeset ae4078ba01fa (bug 1595908) for browser-chrome failures at browser/base/content/test/static/browser_all_files_referenced.js on a CLOSED TREE
--HG--
rename : dom/base/crashtests/1027461-inner.xhtml => dom/base/crashtests/1027461-inner.xul
rename : dom/base/crashtests/1353529.xhtml => dom/base/crashtests/1353529.xul
rename : dom/base/crashtests/1369363.xhtml => dom/base/crashtests/1369363.xul
rename : dom/base/crashtests/1370968-inner.xhtml => dom/base/crashtests/1370968-inner.xul
rename : dom/base/crashtests/384663-1-inner.xhtml => dom/base/crashtests/384663-1-inner.xul
rename : dom/base/test/chrome/cpows_parent.xhtml => dom/base/test/chrome/cpows_parent.xul
rename : dom/base/test/chrome/file_bug1139964.xhtml => dom/base/test/chrome/file_bug1139964.xul
rename : dom/base/test/chrome/file_bug1209621.xhtml => dom/base/test/chrome/file_bug1209621.xul
rename : dom/base/test/chrome/file_bug549682.xhtml => dom/base/test/chrome/file_bug549682.xul
rename : dom/base/test/chrome/file_bug616841.xhtml => dom/base/test/chrome/file_bug616841.xul
rename : dom/base/test/chrome/file_bug816340.xhtml => dom/base/test/chrome/file_bug816340.xul
rename : dom/base/test/chrome/file_bug990812-1.xhtml => dom/base/test/chrome/file_bug990812-1.xul
rename : dom/base/test/chrome/file_bug990812-2.xhtml => dom/base/test/chrome/file_bug990812-2.xul
rename : dom/base/test/chrome/file_bug990812-3.xhtml => dom/base/test/chrome/file_bug990812-3.xul
rename : dom/base/test/chrome/file_bug990812-4.xhtml => dom/base/test/chrome/file_bug990812-4.xul
rename : dom/base/test/chrome/file_bug990812-5.xhtml => dom/base/test/chrome/file_bug990812-5.xul
rename : dom/base/test/chrome/file_bug990812.xhtml => dom/base/test/chrome/file_bug990812.xul
rename : dom/base/test/chrome/file_document-element-inserted-inner.xhtml => dom/base/test/chrome/file_document-element-inserted-inner.xul
rename : dom/base/test/chrome/file_document-element-inserted.xhtml => dom/base/test/chrome/file_document-element-inserted.xul
rename : dom/base/test/file_title.xhtml => dom/base/test/chrome/file_title.xul
rename : dom/base/test/chrome/frame_bug814638.xhtml => dom/base/test/chrome/frame_bug814638.xul
rename : dom/base/test/chrome/host_bug814638.xhtml => dom/base/test/chrome/host_bug814638.xul
rename : dom/base/test/chrome/test_bug1063837.xhtml => dom/base/test/chrome/test_bug1063837.xul
rename : dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xhtml => dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xul
rename : dom/base/test/chrome/test_bug1139964.xhtml => dom/base/test/chrome/test_bug1139964.xul
rename : dom/base/test/chrome/test_bug120684.xhtml => dom/base/test/chrome/test_bug120684.xul
rename : dom/base/test/chrome/test_bug1209621.xhtml => dom/base/test/chrome/test_bug1209621.xul
rename : dom/base/test/chrome/test_bug206691.xhtml => dom/base/test/chrome/test_bug206691.xul
rename : dom/base/test/chrome/test_bug289714.xhtml => dom/base/test/chrome/test_bug289714.xul
rename : dom/base/test/chrome/test_bug339494.xhtml => dom/base/test/chrome/test_bug339494.xul
rename : dom/base/test/chrome/test_bug357450.xhtml => dom/base/test/chrome/test_bug357450.xul
rename : dom/base/test/chrome/test_bug418986-1.xhtml => dom/base/test/chrome/test_bug418986-1.xul
rename : dom/base/test/chrome/test_bug421622.xhtml => dom/base/test/chrome/test_bug421622.xul
rename : dom/base/test/chrome/test_bug429785.xhtml => dom/base/test/chrome/test_bug429785.xul
rename : dom/base/test/chrome/test_bug430050.xhtml => dom/base/test/chrome/test_bug430050.xul
rename : dom/base/test/chrome/test_bug467123.xhtml => dom/base/test/chrome/test_bug467123.xul
rename : dom/base/test/chrome/test_bug473284.xhtml => dom/base/test/chrome/test_bug473284.xul
rename : dom/base/test/chrome/test_bug549682.xhtml => dom/base/test/chrome/test_bug549682.xul
rename : dom/base/test/chrome/test_bug571390.xhtml => dom/base/test/chrome/test_bug571390.xul
rename : dom/base/test/chrome/test_bug616841.xhtml => dom/base/test/chrome/test_bug616841.xul
rename : dom/base/test/chrome/test_bug635835.xhtml => dom/base/test/chrome/test_bug635835.xul
rename : dom/base/test/chrome/test_bug683852.xhtml => dom/base/test/chrome/test_bug683852.xul
rename : dom/base/test/chrome/test_bug752226-3.xhtml => dom/base/test/chrome/test_bug752226-3.xul
rename : dom/base/test/chrome/test_bug752226-4.xhtml => dom/base/test/chrome/test_bug752226-4.xul
rename : dom/base/test/chrome/test_bug780199.xhtml => dom/base/test/chrome/test_bug780199.xul
rename : dom/base/test/chrome/test_bug780529.xhtml => dom/base/test/chrome/test_bug780529.xul
rename : dom/base/test/chrome/test_bug800386.xhtml => dom/base/test/chrome/test_bug800386.xul
rename : dom/base/test/chrome/test_bug814638.xhtml => dom/base/test/chrome/test_bug814638.xul
rename : dom/base/test/chrome/test_bug816340.xhtml => dom/base/test/chrome/test_bug816340.xul
rename : dom/base/test/chrome/test_bug884693.xhtml => dom/base/test/chrome/test_bug884693.xul
rename : dom/base/test/chrome/test_bug990812.xhtml => dom/base/test/chrome/test_bug990812.xul
rename : dom/base/test/chrome/test_chromeOuterWindowID.xhtml => dom/base/test/chrome/test_chromeOuterWindowID.xul
rename : dom/base/test/chrome/test_cpows.xhtml => dom/base/test/chrome/test_cpows.xul
rename : dom/base/test/chrome/test_custom_element_content.xhtml => dom/base/test/chrome/test_custom_element_content.xul
rename : dom/base/test/chrome/test_custom_element_ep.xhtml => dom/base/test/chrome/test_custom_element_ep.xul
rename : dom/base/test/chrome/test_document-element-inserted.xhtml => dom/base/test/chrome/test_document-element-inserted.xul
rename : dom/base/test/chrome/test_domparsing.xhtml => dom/base/test/chrome/test_domparsing.xul
rename : dom/base/test/chrome/test_fileconstructor.xhtml => dom/base/test/chrome/test_fileconstructor.xul
rename : dom/base/test/chrome/test_nsITextInputProcessor.xhtml => dom/base/test/chrome/test_nsITextInputProcessor.xul
rename : dom/base/test/chrome/test_permission_isHandlingUserInput.xhtml => dom/base/test/chrome/test_permission_isHandlingUserInput.xul
rename : dom/base/test/chrome/test_swapFrameLoaders.xhtml => dom/base/test/chrome/test_swapFrameLoaders.xul
rename : dom/base/test/chrome/test_title.xhtml => dom/base/test/chrome/test_title.xul
rename : dom/base/test/chrome/test_windowroot.xhtml => dom/base/test/chrome/test_windowroot.xul
rename : dom/base/test/chrome/title_window.xhtml => dom/base/test/chrome/title_window.xul
rename : dom/base/test/chrome/window_chromeOuterWindowID.xhtml => dom/base/test/chrome/window_chromeOuterWindowID.xul
rename : dom/base/test/chrome/window_nsITextInputProcessor.xhtml => dom/base/test/chrome/window_nsITextInputProcessor.xul
rename : dom/base/test/chrome/window_swapFrameLoaders.xhtml => dom/base/test/chrome/window_swapFrameLoaders.xul
rename : dom/base/test/file_navigator_resolve_identity_xrays.xhtml => dom/base/test/file_navigator_resolve_identity_xrays.xul
rename : dom/base/test/test_anonymousContent_xul_window.xhtml => dom/base/test/test_anonymousContent_xul_window.xul
rename : dom/base/test/test_domrequesthelper.xhtml => dom/base/test/test_domrequesthelper.xul
rename : dom/base/test/test_fragment_sanitization.xhtml => dom/base/test/test_fragment_sanitization.xul
rename : dom/base/test/test_navigator_resolve_identity_xrays.xhtml => dom/base/test/test_navigator_resolve_identity_xrays.xul
rename : dom/base/test/unit/nodelist_data_2.xhtml => dom/base/test/unit/nodelist_data_2.xul
rename : dom/bindings/test/test_bug1123516_maplikesetlikechrome.xhtml => dom/bindings/test/test_bug1123516_maplikesetlikechrome.xul
rename : dom/console/tests/test_console.xhtml => dom/console/tests/test_console.xul
rename : dom/console/tests/test_jsm.xhtml => dom/console/tests/test_jsm.xul
rename : dom/encoding/test/test_stringencoding.xhtml => dom/encoding/test/test_stringencoding.xul
rename : dom/events/test/bug591249_iframe.xhtml => dom/events/test/bug591249_iframe.xul
rename : dom/events/test/bug602962.xhtml => dom/events/test/bug602962.xul
rename : dom/events/test/test_bug1412775.xhtml => dom/events/test/test_bug1412775.xul
rename : dom/events/test/test_bug336682_2.xhtml => dom/events/test/test_bug336682_2.xul
rename : dom/events/test/test_bug415498.xhtml => dom/events/test/test_bug415498.xul
rename : dom/events/test/test_bug418986-3.xhtml => dom/events/test/test_bug418986-3.xul
rename : dom/events/test/test_bug524674.xhtml => dom/events/test/test_bug524674.xul
rename : dom/events/test/test_bug586961.xhtml => dom/events/test/test_bug586961.xul
rename : dom/events/test/test_bug591249.xhtml => dom/events/test/test_bug591249.xul
rename : dom/events/test/test_bug602962.xhtml => dom/events/test/test_bug602962.xul
rename : dom/events/test/test_bug617528.xhtml => dom/events/test/test_bug617528.xul
rename : dom/events/test/test_bug679494.xhtml => dom/events/test/test_bug679494.xul
rename : dom/events/test/test_eventctors.xhtml => dom/events/test/test_eventctors.xul
rename : dom/events/test/window_bug1412775.xhtml => dom/events/test/window_bug1412775.xul
rename : dom/events/test/window_bug617528.xhtml => dom/events/test/window_bug617528.xul
rename : dom/indexedDB/test/bug839193.xhtml => dom/indexedDB/test/bug839193.xul
rename : dom/indexedDB/test/test_globalObjects_chrome.xhtml => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_wrappedArray.xhtml => dom/indexedDB/test/test_wrappedArray.xul
rename : dom/ipc/test.xhtml => dom/ipc/test.xul
rename : dom/ipc/tests/process_error.xhtml => dom/ipc/tests/process_error.xul
rename : dom/ipc/tests/test_process_error.xhtml => dom/ipc/tests/test_process_error.xul
rename : dom/l10n/tests/mochitest/dom_localization/test_domloc.xhtml => dom/l10n/tests/mochitest/dom_localization/test_domloc.xul
rename : dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xhtml => dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xul
rename : dom/messagechannel/tests/mm_messageChannelParent.xhtml => dom/messagechannel/tests/mm_messageChannelParent.xul
rename : dom/messagechannel/tests/mm_messageChannelParentNotRemote.xhtml => dom/messagechannel/tests/mm_messageChannelParentNotRemote.xul
rename : dom/messagechannel/tests/test_messageChannel.xhtml => dom/messagechannel/tests/test_messageChannel.xul
rename : dom/messagechannel/tests/test_messageChannelWithMessageManager.xhtml => dom/messagechannel/tests/test_messageChannelWithMessageManager.xul
rename : dom/messagechannel/tests/test_messageChannelWithMessageManagerNotRemote.xhtml => dom/messagechannel/tests/test_messageChannelWithMessageManagerNotRemote.xul
rename : dom/notification/test/chrome/test_notification_system_principal.xhtml => dom/notification/test/chrome/test_notification_system_principal.xul
rename : dom/plugins/test/mochitest/privatemode_perwindowpb.xhtml => dom/plugins/test/mochitest/privatemode_perwindowpb.xul
rename : dom/plugins/test/mochitest/test_bug479979.xhtml => dom/plugins/test/mochitest/test_bug479979.xul
rename : dom/plugins/test/mochitest/test_busy_hang.xhtml => dom/plugins/test/mochitest/test_busy_hang.xul
rename : dom/plugins/test/mochitest/test_convertpoint.xhtml => dom/plugins/test/mochitest/test_convertpoint.xul
rename : dom/plugins/test/mochitest/test_crash_notify.xhtml => dom/plugins/test/mochitest/test_crash_notify.xul
rename : dom/plugins/test/mochitest/test_crash_notify_no_report.xhtml => dom/plugins/test/mochitest/test_crash_notify_no_report.xul
rename : dom/plugins/test/mochitest/test_crash_submit.xhtml => dom/plugins/test/mochitest/test_crash_submit.xul
rename : dom/plugins/test/mochitest/test_hang_submit.xhtml => dom/plugins/test/mochitest/test_hang_submit.xul
rename : dom/plugins/test/mochitest/test_hangui.xhtml => dom/plugins/test/mochitest/test_hangui.xul
rename : dom/plugins/test/mochitest/test_idle_hang.xhtml => dom/plugins/test/mochitest/test_idle_hang.xul
rename : dom/plugins/test/mochitest/test_npruntime.xhtml => dom/plugins/test/mochitest/test_npruntime.xul
rename : dom/plugins/test/mochitest/test_privatemode_perwindowpb.xhtml => dom/plugins/test/mochitest/test_privatemode_perwindowpb.xul
rename : dom/plugins/test/mochitest/test_wmode.xhtml => dom/plugins/test/mochitest/test_wmode.xul
rename : dom/plugins/test/mochitest/test_xulbrowser_plugin_visibility.xhtml => dom/plugins/test/mochitest/test_xulbrowser_plugin_visibility.xul
rename : dom/plugins/test/mochitest/xulbrowser_plugin_visibility.xhtml => dom/plugins/test/mochitest/xulbrowser_plugin_visibility.xul
rename : dom/security/test/general/test_bug1277803.xhtml => dom/security/test/general/test_bug1277803.xul
rename : dom/serviceworkers/test/test_serviceworkerinfo.xhtml => dom/serviceworkers/test/test_serviceworkerinfo.xul
rename : dom/serviceworkers/test/test_serviceworkermanager.xhtml => dom/serviceworkers/test/test_serviceworkermanager.xul
rename : dom/serviceworkers/test/test_serviceworkerregistrationinfo.xhtml => dom/serviceworkers/test/test_serviceworkerregistrationinfo.xul
rename : dom/svg/crashtests/385554-2.xhtml => dom/svg/crashtests/385554-2.xul
rename : dom/system/tests/test_constants.xhtml => dom/system/tests/test_constants.xul
rename : dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xhtml => dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xul
rename : dom/tests/mochitest/chrome/MozDomFullscreen_chrome.xhtml => dom/tests/mochitest/chrome/MozDomFullscreen_chrome.xul
rename : dom/tests/mochitest/chrome/file_DOM_element_instanceof.xhtml => dom/tests/mochitest/chrome/file_DOM_element_instanceof.xul
rename : dom/tests/mochitest/chrome/file_bug1224790-1_modal.xhtml => dom/tests/mochitest/chrome/file_bug1224790-1_modal.xul
rename : dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xhtml => dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xul
rename : dom/tests/mochitest/chrome/file_bug1224790-2_modal.xhtml => dom/tests/mochitest/chrome/file_bug1224790-2_modal.xul
rename : dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xhtml => dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xul
rename : dom/tests/mochitest/chrome/file_bug799299.xhtml => dom/tests/mochitest/chrome/file_bug799299.xul
rename : dom/tests/mochitest/chrome/file_bug800817.xhtml => dom/tests/mochitest/chrome/file_bug800817.xul
rename : dom/tests/mochitest/chrome/file_bug830858.xhtml => dom/tests/mochitest/chrome/file_bug830858.xul
rename : dom/tests/mochitest/chrome/focus_window2.xhtml => dom/tests/mochitest/chrome/focus_window2.xul
rename : dom/tests/mochitest/chrome/fullscreen.xhtml => dom/tests/mochitest/chrome/fullscreen.xul
rename : dom/tests/mochitest/chrome/sizemode_attribute.xhtml => dom/tests/mochitest/chrome/sizemode_attribute.xul
rename : dom/tests/mochitest/chrome/test_DOMWindowCreated.xhtml => dom/tests/mochitest/chrome/test_DOMWindowCreated.xul
rename : dom/tests/mochitest/chrome/test_DOM_element_instanceof.xhtml => dom/tests/mochitest/chrome/test_DOM_element_instanceof.xul
rename : dom/tests/mochitest/chrome/test_MozDomFullscreen_event.xhtml => dom/tests/mochitest/chrome/test_MozDomFullscreen_event.xul
rename : dom/tests/mochitest/chrome/test_activation.xhtml => dom/tests/mochitest/chrome/test_activation.xul
rename : dom/tests/mochitest/chrome/test_bug1224790-1.xhtml => dom/tests/mochitest/chrome/test_bug1224790-1.xul
rename : dom/tests/mochitest/chrome/test_bug1224790-2.xhtml => dom/tests/mochitest/chrome/test_bug1224790-2.xul
rename : dom/tests/mochitest/chrome/test_bug799299.xhtml => dom/tests/mochitest/chrome/test_bug799299.xul
rename : dom/tests/mochitest/chrome/test_bug800817.xhtml => dom/tests/mochitest/chrome/test_bug800817.xul
rename : dom/tests/mochitest/chrome/test_bug830858.xhtml => dom/tests/mochitest/chrome/test_bug830858.xul
rename : dom/tests/mochitest/chrome/test_callback_wrapping.xhtml => dom/tests/mochitest/chrome/test_callback_wrapping.xul
rename : dom/tests/mochitest/chrome/test_clonewrapper.xhtml => dom/tests/mochitest/chrome/test_clonewrapper.xul
rename : dom/tests/mochitest/chrome/test_cyclecollector.xhtml => dom/tests/mochitest/chrome/test_cyclecollector.xul
rename : dom/tests/mochitest/chrome/test_docshell_swap.xhtml => dom/tests/mochitest/chrome/test_docshell_swap.xul
rename : dom/tests/mochitest/chrome/test_elements_proto.xhtml => dom/tests/mochitest/chrome/test_elements_proto.xul
rename : dom/tests/mochitest/chrome/test_focus.xhtml => dom/tests/mochitest/chrome/test_focus.xul
rename : dom/tests/mochitest/chrome/test_focus_docnav.xhtml => dom/tests/mochitest/chrome/test_focus_docnav.xul
rename : dom/tests/mochitest/chrome/test_focused_link_scroll.xhtml => dom/tests/mochitest/chrome/test_focused_link_scroll.xul
rename : dom/tests/mochitest/chrome/test_fullscreen.xhtml => dom/tests/mochitest/chrome/test_fullscreen.xul
rename : dom/tests/mochitest/chrome/test_geolocation.xhtml => dom/tests/mochitest/chrome/test_geolocation.xul
rename : dom/tests/mochitest/chrome/test_moving_nodeList.xhtml => dom/tests/mochitest/chrome/test_moving_nodeList.xul
rename : dom/tests/mochitest/chrome/test_moving_xhr.xhtml => dom/tests/mochitest/chrome/test_moving_xhr.xul
rename : dom/tests/mochitest/chrome/test_popup_blocker_chrome.xhtml => dom/tests/mochitest/chrome/test_popup_blocker_chrome.xul
rename : dom/tests/mochitest/chrome/test_resize_move_windows.xhtml => dom/tests/mochitest/chrome/test_resize_move_windows.xul
rename : dom/tests/mochitest/chrome/test_sandbox_bindings.xhtml => dom/tests/mochitest/chrome/test_sandbox_bindings.xul
rename : dom/tests/mochitest/chrome/test_sandbox_eventhandler.xhtml => dom/tests/mochitest/chrome/test_sandbox_eventhandler.xul
rename : dom/tests/mochitest/chrome/test_sandbox_image.xhtml => dom/tests/mochitest/chrome/test_sandbox_image.xul
rename : dom/tests/mochitest/chrome/test_sizemode_attribute.xhtml => dom/tests/mochitest/chrome/test_sizemode_attribute.xul
rename : dom/tests/mochitest/chrome/test_subscript_bindings.xhtml => dom/tests/mochitest/chrome/test_subscript_bindings.xul
rename : dom/tests/mochitest/chrome/test_xray_event_constructor.xhtml => dom/tests/mochitest/chrome/test_xray_event_constructor.xul
rename : dom/tests/mochitest/chrome/window_activation.xhtml => dom/tests/mochitest/chrome/window_activation.xul
rename : dom/tests/mochitest/chrome/window_callback_wrapping.xhtml => dom/tests/mochitest/chrome/window_callback_wrapping.xul
rename : dom/tests/mochitest/chrome/window_docshell_swap.xhtml => dom/tests/mochitest/chrome/window_docshell_swap.xul
rename : dom/tests/mochitest/chrome/window_focus.xhtml => dom/tests/mochitest/chrome/window_focus.xul
rename : dom/tests/mochitest/chrome/window_focus_docnav.xhtml => dom/tests/mochitest/chrome/window_focus_docnav.xul
rename : dom/tests/mochitest/chrome/window_focus_inner.xhtml => dom/tests/mochitest/chrome/window_focus_inner.xul
rename : dom/tests/mochitest/general/test_focusrings.xhtml => dom/tests/mochitest/general/test_focusrings.xul
rename : dom/tests/mochitest/general/test_innerScreen.xhtml => dom/tests/mochitest/general/test_innerScreen.xul
rename : dom/tests/mochitest/general/test_nodeAdoption_chrome_boundary.xhtml => dom/tests/mochitest/general/test_nodeAdoption_chrome_boundary.xul
rename : dom/tests/mochitest/general/test_offsets.xhtml => dom/tests/mochitest/general/test_offsets.xul
rename : dom/tests/mochitest/keyhandling/test_browser.xhtml => dom/tests/mochitest/keyhandling/test_browser.xul
rename : dom/tests/mochitest/keyhandling/test_editor.xhtml => dom/tests/mochitest/keyhandling/test_editor.xul
rename : dom/tests/mochitest/keyhandling/test_windowed.xhtml => dom/tests/mochitest/keyhandling/test_windowed.xul
rename : dom/tests/mochitest/webcomponents/test_xul_custom_element.xhtml => dom/tests/mochitest/webcomponents/test_xul_custom_element.xul
rename : dom/url/tests/test_bug883784.xhtml => dom/url/tests/test_bug883784.xul
rename : dom/url/tests/test_url.xhtml => dom/url/tests/test_url.xul
rename : dom/url/tests/test_worker_url.xhtml => dom/url/tests/test_worker_url.xul
rename : dom/workers/test/test_WorkerDebugger.initialize.xhtml => dom/workers/test/test_WorkerDebugger.initialize.xul
rename : dom/workers/test/test_WorkerDebugger.postMessage.xhtml => dom/workers/test/test_WorkerDebugger.postMessage.xul
rename : dom/workers/test/test_WorkerDebugger.xhtml => dom/workers/test/test_WorkerDebugger.xul
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.createSandbox.xhtml => dom/workers/test/test_WorkerDebuggerGlobalScope.createSandbox.xul
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.enterEventLoop.xhtml => dom/workers/test/test_WorkerDebuggerGlobalScope.enterEventLoop.xul
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.reportError.xhtml => dom/workers/test/test_WorkerDebuggerGlobalScope.reportError.xul
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.setImmediate.xhtml => dom/workers/test/test_WorkerDebuggerGlobalScope.setImmediate.xul
rename : dom/workers/test/test_WorkerDebuggerManager.xhtml => dom/workers/test/test_WorkerDebuggerManager.xul
rename : dom/workers/test/test_WorkerDebugger_console.xhtml => dom/workers/test/test_WorkerDebugger_console.xul
rename : dom/workers/test/test_WorkerDebugger_frozen.xhtml => dom/workers/test/test_WorkerDebugger_frozen.xul
rename : dom/workers/test/test_WorkerDebugger_promise.xhtml => dom/workers/test/test_WorkerDebugger_promise.xul
rename : dom/workers/test/test_WorkerDebugger_suspended.xhtml => dom/workers/test/test_WorkerDebugger_suspended.xul
rename : dom/workers/test/test_bug1062920.xhtml => dom/workers/test/test_bug1062920.xul
rename : dom/workers/test/test_chromeWorker.xhtml => dom/workers/test/test_chromeWorker.xul
rename : dom/workers/test/test_chromeWorkerJSM.xhtml => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/workers/test/test_file.xhtml => dom/workers/test/test_file.xul
rename : dom/workers/test/test_fileBlobPosting.xhtml => dom/workers/test/test_fileBlobPosting.xul
rename : dom/workers/test/test_fileBlobSubWorker.xhtml => dom/workers/test/test_fileBlobSubWorker.xul
rename : dom/workers/test/test_filePosting.xhtml => dom/workers/test/test_filePosting.xul
rename : dom/workers/test/test_fileReadSlice.xhtml => dom/workers/test/test_fileReadSlice.xul
rename : dom/workers/test/test_fileReaderSync.xhtml => dom/workers/test/test_fileReaderSync.xul
rename : dom/workers/test/test_fileReaderSyncErrors.xhtml => dom/workers/test/test_fileReaderSyncErrors.xul
rename : dom/workers/test/test_fileSlice.xhtml => dom/workers/test/test_fileSlice.xul
rename : dom/workers/test/test_fileSubWorker.xhtml => dom/workers/test/test_fileSubWorker.xul
rename : dom/workers/test/test_shutdownCheck.xhtml => dom/workers/test/test_shutdownCheck.xul
rename : dom/xml/crashtests/382636-4.xhtml => dom/xml/crashtests/382636-4.xul
rename : dom/xml/crashtests/420429.xhtml => dom/xml/crashtests/420429.xul
rename : dom/xslt/tests/XSLTMark/XSLTMark.xhtml => dom/xslt/tests/XSLTMark/XSLTMark.xul
rename : dom/xul/crashtests/253479-1.xhtml => dom/xul/crashtests/253479-1.xul
rename : dom/xul/crashtests/253479-2.xhtml => dom/xul/crashtests/253479-2.xul
rename : dom/xul/crashtests/326204-1.xhtml => dom/xul/crashtests/326204-1.xul
rename : dom/xul/crashtests/326644-1-inner.xhtml => dom/xul/crashtests/326644-1-inner.xul
rename : dom/xul/crashtests/326875-1.xhtml => dom/xul/crashtests/326875-1.xul
rename : dom/xul/crashtests/344215-1.xhtml => dom/xul/crashtests/344215-1.xul
rename : dom/xul/crashtests/363791-1.xhtml => dom/xul/crashtests/363791-1.xul
rename : dom/xul/crashtests/384877-1-inner.xhtml => dom/xul/crashtests/384877-1-inner.xul
rename : dom/xul/crashtests/386914-1-inner.xhtml => dom/xul/crashtests/386914-1-inner.xul
rename : dom/xul/crashtests/425821-1.xhtml => dom/xul/crashtests/425821-1.xul
rename : dom/xul/crashtests/428951-1.xhtml => dom/xul/crashtests/428951-1.xul
rename : dom/xul/crashtests/431906-1-inner.xhtml => dom/xul/crashtests/431906-1-inner.xul
rename : dom/xul/test/398289-resource.xhtml => dom/xul/test/398289-resource.xul
rename : dom/xul/test/test_bug1070049_throw_from_script.xhtml => dom/xul/test/test_bug1070049_throw_from_script.xul
rename : dom/xul/test/test_bug1290965.xhtml => dom/xul/test/test_bug1290965.xul
rename : dom/xul/test/test_bug199692.xhtml => dom/xul/test/test_bug199692.xul
rename : dom/xul/test/test_bug311681.xhtml => dom/xul/test/test_bug311681.xul
rename : dom/xul/test/test_bug391002.xhtml => dom/xul/test/test_bug391002.xul
rename : dom/xul/test/test_bug403868.xhtml => dom/xul/test/test_bug403868.xul
rename : dom/xul/test/test_bug418216.xhtml => dom/xul/test/test_bug418216.xul
rename : dom/xul/test/test_bug445177.xhtml => dom/xul/test/test_bug445177.xul
rename : dom/xul/test/test_bug449457.xhtml => dom/xul/test/test_bug449457.xul
rename : dom/xul/test/test_bug468176.xhtml => dom/xul/test/test_bug468176.xul
rename : dom/xul/test/test_bug583948.xhtml => dom/xul/test/test_bug583948.xul
rename : dom/xul/test/test_bug749367.xhtml => dom/xul/test/test_bug749367.xul
rename : dom/xul/test/test_bug757137.xhtml => dom/xul/test/test_bug757137.xul
rename : dom/xul/test/test_bug775972.xhtml => dom/xul/test/test_bug775972.xul
rename : dom/xul/test/test_html_template.xhtml => dom/xul/test/test_html_template.xul
rename : dom/xul/test/test_import_xul_to_content.xhtml => dom/xul/test/test_import_xul_to_content.xul
rename : dom/xul/test/window_bug583948.xhtml => dom/xul/test/window_bug583948.xul
rename : dom/xul/test/window_bug757137.xhtml => dom/xul/test/window_bug757137.xul
2019-11-26 04:38:55 +02:00
Emma Malysz fae60e41e9 Bug 1595908, replace .xul test files in dom/ to .xhtml r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D52775

--HG--
rename : dom/base/crashtests/1027461-inner.xul => dom/base/crashtests/1027461-inner.xhtml
rename : dom/base/crashtests/1353529.xul => dom/base/crashtests/1353529.xhtml
rename : dom/base/crashtests/1369363.xul => dom/base/crashtests/1369363.xhtml
rename : dom/base/crashtests/1370968-inner.xul => dom/base/crashtests/1370968-inner.xhtml
rename : dom/base/crashtests/384663-1-inner.xul => dom/base/crashtests/384663-1-inner.xhtml
rename : dom/base/test/chrome/cpows_parent.xul => dom/base/test/chrome/cpows_parent.xhtml
rename : dom/base/test/chrome/file_bug1139964.xul => dom/base/test/chrome/file_bug1139964.xhtml
rename : dom/base/test/chrome/file_bug1209621.xul => dom/base/test/chrome/file_bug1209621.xhtml
rename : dom/base/test/chrome/file_bug549682.xul => dom/base/test/chrome/file_bug549682.xhtml
rename : dom/base/test/chrome/file_bug616841.xul => dom/base/test/chrome/file_bug616841.xhtml
rename : dom/base/test/chrome/file_bug816340.xul => dom/base/test/chrome/file_bug816340.xhtml
rename : dom/base/test/chrome/file_bug990812-1.xul => dom/base/test/chrome/file_bug990812-1.xhtml
rename : dom/base/test/chrome/file_bug990812-2.xul => dom/base/test/chrome/file_bug990812-2.xhtml
rename : dom/base/test/chrome/file_bug990812-3.xul => dom/base/test/chrome/file_bug990812-3.xhtml
rename : dom/base/test/chrome/file_bug990812-4.xul => dom/base/test/chrome/file_bug990812-4.xhtml
rename : dom/base/test/chrome/file_bug990812-5.xul => dom/base/test/chrome/file_bug990812-5.xhtml
rename : dom/base/test/chrome/file_bug990812.xul => dom/base/test/chrome/file_bug990812.xhtml
rename : dom/base/test/chrome/file_document-element-inserted-inner.xul => dom/base/test/chrome/file_document-element-inserted-inner.xhtml
rename : dom/base/test/chrome/file_document-element-inserted.xul => dom/base/test/chrome/file_document-element-inserted.xhtml
rename : dom/base/test/chrome/file_title.xul => dom/base/test/chrome/file_title.xhtml
rename : dom/base/test/chrome/frame_bug814638.xul => dom/base/test/chrome/frame_bug814638.xhtml
rename : dom/base/test/chrome/host_bug814638.xul => dom/base/test/chrome/host_bug814638.xhtml
rename : dom/base/test/chrome/test_bug1063837.xul => dom/base/test/chrome/test_bug1063837.xhtml
rename : dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xul => dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xhtml
rename : dom/base/test/chrome/test_bug1139964.xul => dom/base/test/chrome/test_bug1139964.xhtml
rename : dom/base/test/chrome/test_bug120684.xul => dom/base/test/chrome/test_bug120684.xhtml
rename : dom/base/test/chrome/test_bug1209621.xul => dom/base/test/chrome/test_bug1209621.xhtml
rename : dom/base/test/chrome/test_bug206691.xul => dom/base/test/chrome/test_bug206691.xhtml
rename : dom/base/test/chrome/test_bug289714.xul => dom/base/test/chrome/test_bug289714.xhtml
rename : dom/base/test/chrome/test_bug339494.xul => dom/base/test/chrome/test_bug339494.xhtml
rename : dom/base/test/chrome/test_bug357450.xul => dom/base/test/chrome/test_bug357450.xhtml
rename : dom/base/test/chrome/test_bug418986-1.xul => dom/base/test/chrome/test_bug418986-1.xhtml
rename : dom/base/test/chrome/test_bug421622.xul => dom/base/test/chrome/test_bug421622.xhtml
rename : dom/base/test/chrome/test_bug429785.xul => dom/base/test/chrome/test_bug429785.xhtml
rename : dom/base/test/chrome/test_bug430050.xul => dom/base/test/chrome/test_bug430050.xhtml
rename : dom/base/test/chrome/test_bug467123.xul => dom/base/test/chrome/test_bug467123.xhtml
rename : dom/base/test/chrome/test_bug473284.xul => dom/base/test/chrome/test_bug473284.xhtml
rename : dom/base/test/chrome/test_bug549682.xul => dom/base/test/chrome/test_bug549682.xhtml
rename : dom/base/test/chrome/test_bug571390.xul => dom/base/test/chrome/test_bug571390.xhtml
rename : dom/base/test/chrome/test_bug616841.xul => dom/base/test/chrome/test_bug616841.xhtml
rename : dom/base/test/chrome/test_bug635835.xul => dom/base/test/chrome/test_bug635835.xhtml
rename : dom/base/test/chrome/test_bug683852.xul => dom/base/test/chrome/test_bug683852.xhtml
rename : dom/base/test/chrome/test_bug752226-3.xul => dom/base/test/chrome/test_bug752226-3.xhtml
rename : dom/base/test/chrome/test_bug752226-4.xul => dom/base/test/chrome/test_bug752226-4.xhtml
rename : dom/base/test/chrome/test_bug780199.xul => dom/base/test/chrome/test_bug780199.xhtml
rename : dom/base/test/chrome/test_bug780529.xul => dom/base/test/chrome/test_bug780529.xhtml
rename : dom/base/test/chrome/test_bug800386.xul => dom/base/test/chrome/test_bug800386.xhtml
rename : dom/base/test/chrome/test_bug814638.xul => dom/base/test/chrome/test_bug814638.xhtml
rename : dom/base/test/chrome/test_bug816340.xul => dom/base/test/chrome/test_bug816340.xhtml
rename : dom/base/test/chrome/test_bug884693.xul => dom/base/test/chrome/test_bug884693.xhtml
rename : dom/base/test/chrome/test_bug990812.xul => dom/base/test/chrome/test_bug990812.xhtml
rename : dom/base/test/chrome/test_chromeOuterWindowID.xul => dom/base/test/chrome/test_chromeOuterWindowID.xhtml
rename : dom/base/test/chrome/test_cpows.xul => dom/base/test/chrome/test_cpows.xhtml
rename : dom/base/test/chrome/test_custom_element_content.xul => dom/base/test/chrome/test_custom_element_content.xhtml
rename : dom/base/test/chrome/test_custom_element_ep.xul => dom/base/test/chrome/test_custom_element_ep.xhtml
rename : dom/base/test/chrome/test_document-element-inserted.xul => dom/base/test/chrome/test_document-element-inserted.xhtml
rename : dom/base/test/chrome/test_domparsing.xul => dom/base/test/chrome/test_domparsing.xhtml
rename : dom/base/test/chrome/test_fileconstructor.xul => dom/base/test/chrome/test_fileconstructor.xhtml
rename : dom/base/test/chrome/test_nsITextInputProcessor.xul => dom/base/test/chrome/test_nsITextInputProcessor.xhtml
rename : dom/base/test/chrome/test_permission_isHandlingUserInput.xul => dom/base/test/chrome/test_permission_isHandlingUserInput.xhtml
rename : dom/base/test/chrome/test_swapFrameLoaders.xul => dom/base/test/chrome/test_swapFrameLoaders.xhtml
rename : dom/base/test/chrome/test_title.xul => dom/base/test/chrome/test_title.xhtml
rename : dom/base/test/chrome/test_windowroot.xul => dom/base/test/chrome/test_windowroot.xhtml
rename : dom/base/test/chrome/title_window.xul => dom/base/test/chrome/title_window.xhtml
rename : dom/base/test/chrome/window_chromeOuterWindowID.xul => dom/base/test/chrome/window_chromeOuterWindowID.xhtml
rename : dom/base/test/chrome/window_nsITextInputProcessor.xul => dom/base/test/chrome/window_nsITextInputProcessor.xhtml
rename : dom/base/test/chrome/window_swapFrameLoaders.xul => dom/base/test/chrome/window_swapFrameLoaders.xhtml
rename : dom/base/test/file_navigator_resolve_identity_xrays.xul => dom/base/test/file_navigator_resolve_identity_xrays.xhtml
rename : dom/base/test/chrome/file_title.xul => dom/base/test/file_title.xhtml
rename : dom/base/test/test_anonymousContent_xul_window.xul => dom/base/test/test_anonymousContent_xul_window.xhtml
rename : dom/base/test/test_domrequesthelper.xul => dom/base/test/test_domrequesthelper.xhtml
rename : dom/base/test/test_fragment_sanitization.xul => dom/base/test/test_fragment_sanitization.xhtml
rename : dom/base/test/test_navigator_resolve_identity_xrays.xul => dom/base/test/test_navigator_resolve_identity_xrays.xhtml
rename : dom/base/test/unit/nodelist_data_2.xul => dom/base/test/unit/nodelist_data_2.xhtml
rename : dom/bindings/test/test_bug1123516_maplikesetlikechrome.xul => dom/bindings/test/test_bug1123516_maplikesetlikechrome.xhtml
rename : dom/console/tests/test_console.xul => dom/console/tests/test_console.xhtml
rename : dom/console/tests/test_jsm.xul => dom/console/tests/test_jsm.xhtml
rename : dom/encoding/test/test_stringencoding.xul => dom/encoding/test/test_stringencoding.xhtml
rename : dom/events/test/bug591249_iframe.xul => dom/events/test/bug591249_iframe.xhtml
rename : dom/events/test/bug602962.xul => dom/events/test/bug602962.xhtml
rename : dom/events/test/test_bug1412775.xul => dom/events/test/test_bug1412775.xhtml
rename : dom/events/test/test_bug336682_2.xul => dom/events/test/test_bug336682_2.xhtml
rename : dom/events/test/test_bug415498.xul => dom/events/test/test_bug415498.xhtml
rename : dom/events/test/test_bug418986-3.xul => dom/events/test/test_bug418986-3.xhtml
rename : dom/events/test/test_bug524674.xul => dom/events/test/test_bug524674.xhtml
rename : dom/events/test/test_bug586961.xul => dom/events/test/test_bug586961.xhtml
rename : dom/events/test/test_bug591249.xul => dom/events/test/test_bug591249.xhtml
rename : dom/events/test/test_bug602962.xul => dom/events/test/test_bug602962.xhtml
rename : dom/events/test/test_bug617528.xul => dom/events/test/test_bug617528.xhtml
rename : dom/events/test/test_bug679494.xul => dom/events/test/test_bug679494.xhtml
rename : dom/events/test/test_eventctors.xul => dom/events/test/test_eventctors.xhtml
rename : dom/events/test/window_bug1412775.xul => dom/events/test/window_bug1412775.xhtml
rename : dom/events/test/window_bug617528.xul => dom/events/test/window_bug617528.xhtml
rename : dom/indexedDB/test/bug839193.xul => dom/indexedDB/test/bug839193.xhtml
rename : dom/indexedDB/test/test_globalObjects_chrome.xul => dom/indexedDB/test/test_globalObjects_chrome.xhtml
rename : dom/indexedDB/test/test_wrappedArray.xul => dom/indexedDB/test/test_wrappedArray.xhtml
rename : dom/ipc/test.xul => dom/ipc/test.xhtml
rename : dom/ipc/tests/process_error.xul => dom/ipc/tests/process_error.xhtml
rename : dom/ipc/tests/test_process_error.xul => dom/ipc/tests/test_process_error.xhtml
rename : dom/l10n/tests/mochitest/dom_localization/test_domloc.xul => dom/l10n/tests/mochitest/dom_localization/test_domloc.xhtml
rename : dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xul => dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xhtml
rename : dom/messagechannel/tests/mm_messageChannelParent.xul => dom/messagechannel/tests/mm_messageChannelParent.xhtml
rename : dom/messagechannel/tests/mm_messageChannelParentNotRemote.xul => dom/messagechannel/tests/mm_messageChannelParentNotRemote.xhtml
rename : dom/messagechannel/tests/test_messageChannel.xul => dom/messagechannel/tests/test_messageChannel.xhtml
rename : dom/messagechannel/tests/test_messageChannelWithMessageManager.xul => dom/messagechannel/tests/test_messageChannelWithMessageManager.xhtml
rename : dom/messagechannel/tests/test_messageChannelWithMessageManagerNotRemote.xul => dom/messagechannel/tests/test_messageChannelWithMessageManagerNotRemote.xhtml
rename : dom/notification/test/chrome/test_notification_system_principal.xul => dom/notification/test/chrome/test_notification_system_principal.xhtml
rename : dom/plugins/test/mochitest/privatemode_perwindowpb.xul => dom/plugins/test/mochitest/privatemode_perwindowpb.xhtml
rename : dom/plugins/test/mochitest/test_bug479979.xul => dom/plugins/test/mochitest/test_bug479979.xhtml
rename : dom/plugins/test/mochitest/test_busy_hang.xul => dom/plugins/test/mochitest/test_busy_hang.xhtml
rename : dom/plugins/test/mochitest/test_convertpoint.xul => dom/plugins/test/mochitest/test_convertpoint.xhtml
rename : dom/plugins/test/mochitest/test_crash_notify.xul => dom/plugins/test/mochitest/test_crash_notify.xhtml
rename : dom/plugins/test/mochitest/test_crash_notify_no_report.xul => dom/plugins/test/mochitest/test_crash_notify_no_report.xhtml
rename : dom/plugins/test/mochitest/test_crash_submit.xul => dom/plugins/test/mochitest/test_crash_submit.xhtml
rename : dom/plugins/test/mochitest/test_hang_submit.xul => dom/plugins/test/mochitest/test_hang_submit.xhtml
rename : dom/plugins/test/mochitest/test_hangui.xul => dom/plugins/test/mochitest/test_hangui.xhtml
rename : dom/plugins/test/mochitest/test_idle_hang.xul => dom/plugins/test/mochitest/test_idle_hang.xhtml
rename : dom/plugins/test/mochitest/test_npruntime.xul => dom/plugins/test/mochitest/test_npruntime.xhtml
rename : dom/plugins/test/mochitest/test_privatemode_perwindowpb.xul => dom/plugins/test/mochitest/test_privatemode_perwindowpb.xhtml
rename : dom/plugins/test/mochitest/test_wmode.xul => dom/plugins/test/mochitest/test_wmode.xhtml
rename : dom/plugins/test/mochitest/test_xulbrowser_plugin_visibility.xul => dom/plugins/test/mochitest/test_xulbrowser_plugin_visibility.xhtml
rename : dom/plugins/test/mochitest/xulbrowser_plugin_visibility.xul => dom/plugins/test/mochitest/xulbrowser_plugin_visibility.xhtml
rename : dom/security/test/general/test_bug1277803.xul => dom/security/test/general/test_bug1277803.xhtml
rename : dom/serviceworkers/test/test_serviceworkerinfo.xul => dom/serviceworkers/test/test_serviceworkerinfo.xhtml
rename : dom/serviceworkers/test/test_serviceworkermanager.xul => dom/serviceworkers/test/test_serviceworkermanager.xhtml
rename : dom/serviceworkers/test/test_serviceworkerregistrationinfo.xul => dom/serviceworkers/test/test_serviceworkerregistrationinfo.xhtml
rename : dom/svg/crashtests/385554-2.xul => dom/svg/crashtests/385554-2.xhtml
rename : dom/system/tests/test_constants.xul => dom/system/tests/test_constants.xhtml
rename : dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xul => dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xhtml
rename : dom/tests/mochitest/chrome/MozDomFullscreen_chrome.xul => dom/tests/mochitest/chrome/MozDomFullscreen_chrome.xhtml
rename : dom/tests/mochitest/chrome/file_DOM_element_instanceof.xul => dom/tests/mochitest/chrome/file_DOM_element_instanceof.xhtml
rename : dom/tests/mochitest/chrome/file_bug1224790-1_modal.xul => dom/tests/mochitest/chrome/file_bug1224790-1_modal.xhtml
rename : dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xul => dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xhtml
rename : dom/tests/mochitest/chrome/file_bug1224790-2_modal.xul => dom/tests/mochitest/chrome/file_bug1224790-2_modal.xhtml
rename : dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xul => dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xhtml
rename : dom/tests/mochitest/chrome/file_bug799299.xul => dom/tests/mochitest/chrome/file_bug799299.xhtml
rename : dom/tests/mochitest/chrome/file_bug800817.xul => dom/tests/mochitest/chrome/file_bug800817.xhtml
rename : dom/tests/mochitest/chrome/file_bug830858.xul => dom/tests/mochitest/chrome/file_bug830858.xhtml
rename : dom/tests/mochitest/chrome/focus_window2.xul => dom/tests/mochitest/chrome/focus_window2.xhtml
rename : dom/tests/mochitest/chrome/fullscreen.xul => dom/tests/mochitest/chrome/fullscreen.xhtml
rename : dom/tests/mochitest/chrome/sizemode_attribute.xul => dom/tests/mochitest/chrome/sizemode_attribute.xhtml
rename : dom/tests/mochitest/chrome/test_DOMWindowCreated.xul => dom/tests/mochitest/chrome/test_DOMWindowCreated.xhtml
rename : dom/tests/mochitest/chrome/test_DOM_element_instanceof.xul => dom/tests/mochitest/chrome/test_DOM_element_instanceof.xhtml
rename : dom/tests/mochitest/chrome/test_MozDomFullscreen_event.xul => dom/tests/mochitest/chrome/test_MozDomFullscreen_event.xhtml
rename : dom/tests/mochitest/chrome/test_activation.xul => dom/tests/mochitest/chrome/test_activation.xhtml
rename : dom/tests/mochitest/chrome/test_bug1224790-1.xul => dom/tests/mochitest/chrome/test_bug1224790-1.xhtml
rename : dom/tests/mochitest/chrome/test_bug1224790-2.xul => dom/tests/mochitest/chrome/test_bug1224790-2.xhtml
rename : dom/tests/mochitest/chrome/test_bug799299.xul => dom/tests/mochitest/chrome/test_bug799299.xhtml
rename : dom/tests/mochitest/chrome/test_bug800817.xul => dom/tests/mochitest/chrome/test_bug800817.xhtml
rename : dom/tests/mochitest/chrome/test_bug830858.xul => dom/tests/mochitest/chrome/test_bug830858.xhtml
rename : dom/tests/mochitest/chrome/test_callback_wrapping.xul => dom/tests/mochitest/chrome/test_callback_wrapping.xhtml
rename : dom/tests/mochitest/chrome/test_clonewrapper.xul => dom/tests/mochitest/chrome/test_clonewrapper.xhtml
rename : dom/tests/mochitest/chrome/test_cyclecollector.xul => dom/tests/mochitest/chrome/test_cyclecollector.xhtml
rename : dom/tests/mochitest/chrome/test_docshell_swap.xul => dom/tests/mochitest/chrome/test_docshell_swap.xhtml
rename : dom/tests/mochitest/chrome/test_elements_proto.xul => dom/tests/mochitest/chrome/test_elements_proto.xhtml
rename : dom/tests/mochitest/chrome/test_focus.xul => dom/tests/mochitest/chrome/test_focus.xhtml
rename : dom/tests/mochitest/chrome/test_focus_docnav.xul => dom/tests/mochitest/chrome/test_focus_docnav.xhtml
rename : dom/tests/mochitest/chrome/test_focused_link_scroll.xul => dom/tests/mochitest/chrome/test_focused_link_scroll.xhtml
rename : dom/tests/mochitest/chrome/test_fullscreen.xul => dom/tests/mochitest/chrome/test_fullscreen.xhtml
rename : dom/tests/mochitest/chrome/test_geolocation.xul => dom/tests/mochitest/chrome/test_geolocation.xhtml
rename : dom/tests/mochitest/chrome/test_moving_nodeList.xul => dom/tests/mochitest/chrome/test_moving_nodeList.xhtml
rename : dom/tests/mochitest/chrome/test_moving_xhr.xul => dom/tests/mochitest/chrome/test_moving_xhr.xhtml
rename : dom/tests/mochitest/chrome/test_popup_blocker_chrome.xul => dom/tests/mochitest/chrome/test_popup_blocker_chrome.xhtml
rename : dom/tests/mochitest/chrome/test_resize_move_windows.xul => dom/tests/mochitest/chrome/test_resize_move_windows.xhtml
rename : dom/tests/mochitest/chrome/test_sandbox_bindings.xul => dom/tests/mochitest/chrome/test_sandbox_bindings.xhtml
rename : dom/tests/mochitest/chrome/test_sandbox_eventhandler.xul => dom/tests/mochitest/chrome/test_sandbox_eventhandler.xhtml
rename : dom/tests/mochitest/chrome/test_sandbox_image.xul => dom/tests/mochitest/chrome/test_sandbox_image.xhtml
rename : dom/tests/mochitest/chrome/test_sizemode_attribute.xul => dom/tests/mochitest/chrome/test_sizemode_attribute.xhtml
rename : dom/tests/mochitest/chrome/test_subscript_bindings.xul => dom/tests/mochitest/chrome/test_subscript_bindings.xhtml
rename : dom/tests/mochitest/chrome/test_xray_event_constructor.xul => dom/tests/mochitest/chrome/test_xray_event_constructor.xhtml
rename : dom/tests/mochitest/chrome/window_activation.xul => dom/tests/mochitest/chrome/window_activation.xhtml
rename : dom/tests/mochitest/chrome/window_callback_wrapping.xul => dom/tests/mochitest/chrome/window_callback_wrapping.xhtml
rename : dom/tests/mochitest/chrome/window_docshell_swap.xul => dom/tests/mochitest/chrome/window_docshell_swap.xhtml
rename : dom/tests/mochitest/chrome/window_focus.xul => dom/tests/mochitest/chrome/window_focus.xhtml
rename : dom/tests/mochitest/chrome/window_focus_docnav.xul => dom/tests/mochitest/chrome/window_focus_docnav.xhtml
rename : dom/tests/mochitest/chrome/window_focus_inner.xul => dom/tests/mochitest/chrome/window_focus_inner.xhtml
rename : dom/tests/mochitest/general/test_focusrings.xul => dom/tests/mochitest/general/test_focusrings.xhtml
rename : dom/tests/mochitest/general/test_innerScreen.xul => dom/tests/mochitest/general/test_innerScreen.xhtml
rename : dom/tests/mochitest/general/test_nodeAdoption_chrome_boundary.xul => dom/tests/mochitest/general/test_nodeAdoption_chrome_boundary.xhtml
rename : dom/tests/mochitest/general/test_offsets.xul => dom/tests/mochitest/general/test_offsets.xhtml
rename : dom/tests/mochitest/keyhandling/test_browser.xul => dom/tests/mochitest/keyhandling/test_browser.xhtml
rename : dom/tests/mochitest/keyhandling/test_editor.xul => dom/tests/mochitest/keyhandling/test_editor.xhtml
rename : dom/tests/mochitest/keyhandling/test_windowed.xul => dom/tests/mochitest/keyhandling/test_windowed.xhtml
rename : dom/tests/mochitest/webcomponents/test_xul_custom_element.xul => dom/tests/mochitest/webcomponents/test_xul_custom_element.xhtml
rename : dom/url/tests/test_bug883784.xul => dom/url/tests/test_bug883784.xhtml
rename : dom/url/tests/test_url.xul => dom/url/tests/test_url.xhtml
rename : dom/url/tests/test_worker_url.xul => dom/url/tests/test_worker_url.xhtml
rename : dom/workers/test/test_WorkerDebugger.initialize.xul => dom/workers/test/test_WorkerDebugger.initialize.xhtml
rename : dom/workers/test/test_WorkerDebugger.postMessage.xul => dom/workers/test/test_WorkerDebugger.postMessage.xhtml
rename : dom/workers/test/test_WorkerDebugger.xul => dom/workers/test/test_WorkerDebugger.xhtml
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.createSandbox.xul => dom/workers/test/test_WorkerDebuggerGlobalScope.createSandbox.xhtml
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.enterEventLoop.xul => dom/workers/test/test_WorkerDebuggerGlobalScope.enterEventLoop.xhtml
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.reportError.xul => dom/workers/test/test_WorkerDebuggerGlobalScope.reportError.xhtml
rename : dom/workers/test/test_WorkerDebuggerGlobalScope.setImmediate.xul => dom/workers/test/test_WorkerDebuggerGlobalScope.setImmediate.xhtml
rename : dom/workers/test/test_WorkerDebuggerManager.xul => dom/workers/test/test_WorkerDebuggerManager.xhtml
rename : dom/workers/test/test_WorkerDebugger_console.xul => dom/workers/test/test_WorkerDebugger_console.xhtml
rename : dom/workers/test/test_WorkerDebugger_frozen.xul => dom/workers/test/test_WorkerDebugger_frozen.xhtml
rename : dom/workers/test/test_WorkerDebugger_promise.xul => dom/workers/test/test_WorkerDebugger_promise.xhtml
rename : dom/workers/test/test_WorkerDebugger_suspended.xul => dom/workers/test/test_WorkerDebugger_suspended.xhtml
rename : dom/workers/test/test_bug1062920.xul => dom/workers/test/test_bug1062920.xhtml
rename : dom/workers/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xhtml
rename : dom/workers/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xhtml
rename : dom/workers/test/test_file.xul => dom/workers/test/test_file.xhtml
rename : dom/workers/test/test_fileBlobPosting.xul => dom/workers/test/test_fileBlobPosting.xhtml
rename : dom/workers/test/test_fileBlobSubWorker.xul => dom/workers/test/test_fileBlobSubWorker.xhtml
rename : dom/workers/test/test_filePosting.xul => dom/workers/test/test_filePosting.xhtml
rename : dom/workers/test/test_fileReadSlice.xul => dom/workers/test/test_fileReadSlice.xhtml
rename : dom/workers/test/test_fileReaderSync.xul => dom/workers/test/test_fileReaderSync.xhtml
rename : dom/workers/test/test_fileReaderSyncErrors.xul => dom/workers/test/test_fileReaderSyncErrors.xhtml
rename : dom/workers/test/test_fileSlice.xul => dom/workers/test/test_fileSlice.xhtml
rename : dom/workers/test/test_fileSubWorker.xul => dom/workers/test/test_fileSubWorker.xhtml
rename : dom/workers/test/test_shutdownCheck.xul => dom/workers/test/test_shutdownCheck.xhtml
rename : dom/xml/crashtests/382636-4.xul => dom/xml/crashtests/382636-4.xhtml
rename : dom/xml/crashtests/420429.xul => dom/xml/crashtests/420429.xhtml
rename : dom/xslt/tests/XSLTMark/XSLTMark.xul => dom/xslt/tests/XSLTMark/XSLTMark.xhtml
rename : dom/xul/crashtests/253479-1.xul => dom/xul/crashtests/253479-1.xhtml
rename : dom/xul/crashtests/253479-2.xul => dom/xul/crashtests/253479-2.xhtml
rename : dom/xul/crashtests/326204-1.xul => dom/xul/crashtests/326204-1.xhtml
rename : dom/xul/crashtests/326644-1-inner.xul => dom/xul/crashtests/326644-1-inner.xhtml
rename : dom/xul/crashtests/326875-1.xul => dom/xul/crashtests/326875-1.xhtml
rename : dom/xul/crashtests/344215-1.xul => dom/xul/crashtests/344215-1.xhtml
rename : dom/xul/crashtests/363791-1.xul => dom/xul/crashtests/363791-1.xhtml
rename : dom/xul/crashtests/384877-1-inner.xul => dom/xul/crashtests/384877-1-inner.xhtml
rename : dom/xul/crashtests/386914-1-inner.xul => dom/xul/crashtests/386914-1-inner.xhtml
rename : dom/xul/crashtests/425821-1.xul => dom/xul/crashtests/425821-1.xhtml
rename : dom/xul/crashtests/428951-1.xul => dom/xul/crashtests/428951-1.xhtml
rename : dom/xul/crashtests/431906-1-inner.xul => dom/xul/crashtests/431906-1-inner.xhtml
rename : dom/xul/test/398289-resource.xul => dom/xul/test/398289-resource.xhtml
rename : dom/xul/test/test_bug1070049_throw_from_script.xul => dom/xul/test/test_bug1070049_throw_from_script.xhtml
rename : dom/xul/test/test_bug1290965.xul => dom/xul/test/test_bug1290965.xhtml
rename : dom/xul/test/test_bug199692.xul => dom/xul/test/test_bug199692.xhtml
rename : dom/xul/test/test_bug311681.xul => dom/xul/test/test_bug311681.xhtml
rename : dom/xul/test/test_bug391002.xul => dom/xul/test/test_bug391002.xhtml
rename : dom/xul/test/test_bug403868.xul => dom/xul/test/test_bug403868.xhtml
rename : dom/xul/test/test_bug418216.xul => dom/xul/test/test_bug418216.xhtml
rename : dom/xul/test/test_bug445177.xul => dom/xul/test/test_bug445177.xhtml
rename : dom/xul/test/test_bug449457.xul => dom/xul/test/test_bug449457.xhtml
rename : dom/xul/test/test_bug468176.xul => dom/xul/test/test_bug468176.xhtml
rename : dom/xul/test/test_bug583948.xul => dom/xul/test/test_bug583948.xhtml
rename : dom/xul/test/test_bug749367.xul => dom/xul/test/test_bug749367.xhtml
rename : dom/xul/test/test_bug757137.xul => dom/xul/test/test_bug757137.xhtml
rename : dom/xul/test/test_bug775972.xul => dom/xul/test/test_bug775972.xhtml
rename : dom/xul/test/test_html_template.xul => dom/xul/test/test_html_template.xhtml
rename : dom/xul/test/test_import_xul_to_content.xul => dom/xul/test/test_import_xul_to_content.xhtml
rename : dom/xul/test/window_bug583948.xul => dom/xul/test/window_bug583948.xhtml
rename : dom/xul/test/window_bug757137.xul => dom/xul/test/window_bug757137.xhtml
extra : moz-landing-system : lando
2019-11-26 00:38:44 +00:00
Matt Woodrow 9631fb7196 Bug 1598516 - Don't crash if NS_NewChannelInternal fails. r=mayhemer
Looks like this can sometimes fail with moz-extension URIs, so we shouldn't crash

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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:23:14 +00:00
Matt Woodrow f1d25c550d Bug 1598516 - Expose a RemoteWindowContext on ParentChannelListener. r=mayhemer,kmag
Without DocumentChannel, nsExtProtocolChannel::OpenURL calls into nsExternalHelperAppService::LoadURI in the content process.
We then manually forward this to the parent process over PContent, create a RemoteWindowContext around the browser parent, and then call LoadURI again.

With DocumemntChannel, the nsExtProtocolChannel already lives in the parent, so we just need to provide a RemoteWindowContext directly (that the code accesses via GetInterface on the callbacks).

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

--HG--
extra : moz-landing-system : lando
2019-11-25 23:43:06 +00:00
Emilio Cobos Álvarez 0eb000c3ae Bug 1599161 - Rename nsLayoutStylesheetCache to GlobalStyleSheetCache. r=boris
It's a better name, and will avoid confusion when I add other stylesheet caches
outside of the CSS loader.

Depends on D54556

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

--HG--
rename : layout/style/nsLayoutStylesheetCache.cpp => layout/style/GlobalStyleSheetCache.cpp
rename : layout/style/nsLayoutStylesheetCache.h => layout/style/GlobalStyleSheetCache.h
extra : moz-landing-system : lando
2019-11-25 22:08:43 +00:00
Andrew McCreight d25c3b20ae Bug 1598787 - Rename XRE_ChildProcessTypeToString to XRE_GeckoProcessTypeToString. r=froydnj
This function works on all GeckoProcessTypes, not just those for child
processes.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 22:45:31 +00:00
Coroiu Cristina 0356c7a1b5 Backed out changeset 8f52344661fe (bug 1598787) for build bustages at build/src/tools/fuzzing/faulty/Faulty.cpp on a CLOSED TREE 2019-11-26 00:22:28 +02:00
Andrew McCreight b8c9932d5b Bug 1598787 - Rename XRE_ChildProcessTypeToString to XRE_GeckoProcessTypeToString. r=froydnj
This function works on all GeckoProcessTypes, not just those for child
processes.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 17:24:46 +00:00
Matt Woodrow b3e87fb19a Bug 1586411 - Don't crash if AttachLayerManager fails. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D53760

--HG--
extra : moz-landing-system : lando
2019-11-24 21:23:04 +00:00
Andreea Pavel b30d1c40a4 Backed out 2 changesets (bug 1586411, bug 1588484) for build bustages at nsBaseWidget.cpp on a CLOSED TREE
Backed out changeset 8f8105dabc47 (bug 1586411)
Backed out changeset 6339a731c30d (bug 1588484)
2019-11-24 21:40:59 +02:00
Matt Woodrow ad010d29d3 Bug 1586411 - Don't crash if AttachLayerManager fails. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D53760

--HG--
extra : moz-landing-system : lando
2019-11-24 19:02:20 +00:00
Doug Thayer bad3183238 Bug 1594577 - Record hangs which precede forced shutdowns r=froydnj
In short - if a user forcibly terminates the browser because it seems
to be permanently hung, we currently do not get a change to record the
hang. This is unfortunate, because these likely represent the most
egregious hangs in terms of user frustration. This patch seeks to
address that.

If a hang exceeds 8192ms (the current definition of a "permahang" in
existing BHR terms), then we decide to immediately persist it to disk,
in case we never get a chance to return to the main thread and
submit it. On the next start of the browser, we read the file from
disk on a background thread, and just submit it using the normal
mechanism.

Regarding the handling of the file itself, I tried to do the simplest
thing I could - as far as I can tell there is no standard simple
serialization mechanism available directly to C++ in Gecko, so I just
serialized it by hand. I didn't take any special care with endianness
or anything as I can't think of a situation in which we really care
at all about these files being transferable between architectures. I
directly used PR_Write / PR_Read instead of doing something fancy
like memory mapping the file, because I don't think performance is a
critical concern here and it offers a simple protection against
reading out of bounds.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 22:41:00 +00:00
Hiroyuki Ikezoe 9b165804d8 Bug 1586986 - Deliver 'fixed-bottom' offset to the top of the pres context on the foreground tab. r=geckoview-reviewers,tnikkel,snorp
The dynamic toolbar transition doesn't affect on background tabs since to
switch tabs the dynamic toolbar should be restored to its original state (i.e.,
completely visible state).

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

--HG--
extra : moz-landing-system : lando
2019-11-21 21:15:46 +00:00
Narcis Beleuzu 46f83924c1 Backed out changeset c7b4e89f5ee6 (bug 1594577) for xpcshell failures on test_watchdog_hibernate.js . CLOSED TREE 2019-11-21 02:22:32 +02:00
Perry Jiang 25638418f9 Bug 1575092 - add "web COOP+COEP" process type helpers r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D50814

--HG--
extra : moz-landing-system : lando
2019-11-20 19:45:14 +00:00
Doug Thayer 87634aef93 Bug 1594577 - Record hangs which precede forced shutdowns r=froydnj
In short - if a user forcibly terminates the browser because it seems
to be permanently hung, we currently do not get a change to record the
hang. This is unfortunate, because these likely represent the most
egregious hangs in terms of user frustration. This patch seeks to
address that.

If a hang exceeds 8192ms (the current definition of a "permahang" in
existing BHR terms), then we decide to immediately persist it to disk,
in case we never get a chance to return to the main thread and
submit it. On the next start of the browser, we read the file from
disk on a background thread, and just submit it using the normal
mechanism.

Regarding the handling of the file itself, I tried to do the simplest
thing I could - as far as I can tell there is no standard simple
serialization mechanism available directly to C++ in Gecko, so I just
serialized it by hand. I didn't take any special care with endianness
or anything as I can't think of a situation in which we really care
at all about these files being transferable between architectures. I
directly used PR_Write / PR_Read instead of doing something fancy
like memory mapping the file, because I don't think performance is a
critical concern here and it offers a simple protection against
reading out of bounds.

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

--HG--
extra : moz-landing-system : lando
2019-11-20 20:40:22 +00:00
Matt Woodrow a439f13b34 Bug 1597014 - Unify same-process and cross-process redirect to real channel functions to avoid needed separate promise handlers. r=mayhemer
These two functions both have a large number of arguments that are largely identical (and ones missing from the PContent one are mostly oversights).
Unifying both to take a single argument and return the same result means we can unify the serialization and return value (promise) handling.

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

--HG--
extra : moz-landing-system : lando
2019-11-20 01:48:32 +00:00
Anny Gakhokidze 61a8c83e6c Bug 1592093 - Make cancellation of content JS, when navigating through history to prevent hangs, Fission compatible, r=smaug,squib
Differential Revision: https://phabricator.services.mozilla.com/D52249

--HG--
extra : moz-landing-system : lando
2019-11-18 21:25:14 +00:00
Botond Ballo 7932214c45 Bug 1589022 - Partial support for moving a tab between windows with different APZ enablement. r=nika,tnikkel
This involves two new IPC messages (both async) to propagate the change in
compositor options (of which APZ enablement is one) from the GPU process to
the parent process (via PCompositorBridge) and on to the content process
(via PBrowser).

The support is only partial, in that going from non-APZ to APZ is only
supported if APZ was enabled at the time the window was created.

Depends on D51467

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

--HG--
extra : moz-landing-system : lando
2019-11-18 23:13:55 +00:00
Micah Tigley 72a0d2c330 Bug 1593708 - Part 2: Get inRDMPane value from BrowsingContext instead of Document. r=smaug
Depends on D52214

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

--HG--
extra : moz-landing-system : lando
2019-11-14 20:32:02 +00:00
Ehsan Akhgari 659d5a38ee Bug 1596843 - Part 4: Remove some native only methods from nsIPermissionManager; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53240

--HG--
extra : moz-landing-system : lando
2019-11-17 22:22:34 +00:00
Noemi Erli 117375bafe Backed out 4 changesets (bug 1596843) for causing nsPermissionManager related failures
Backed out changeset 48577632f4b3 (bug 1596843)
Backed out changeset b9061f93d045 (bug 1596843)
Backed out changeset 691397c2fde6 (bug 1596843)
Backed out changeset 88e8383dc3e4 (bug 1596843)
2019-11-17 23:00:23 +02:00
Ehsan Akhgari ce669bf3af Bug 1596843 - Part 4: Remove some native only methods from nsIPermissionManager; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53240

--HG--
extra : moz-landing-system : lando
2019-11-17 20:06:11 +00:00
Gurzau Raul a6a14f9410 Backed out 2 changesets (bug 1575092) for causing Bug 1596556 and Bug 1596556.
Backed out changeset 8dc03b744500 (bug 1575092)
Backed out changeset e28e46ca4a17 (bug 1575092)
2019-11-17 13:58:56 +02:00
Gurzau Raul 9c990aad98 Backed out 4 changesets (bug 1596843) for XPCShellTestsTests build bustage ona CLOSED TREE.
Backed out changeset 69ee727d5b45 (bug 1596843)
Backed out changeset a9827fae8655 (bug 1596843)
Backed out changeset 8b2220bc47af (bug 1596843)
Backed out changeset b10aec041377 (bug 1596843)
2019-11-17 11:07:15 +02:00
Ehsan Akhgari 0ad4207862 Bug 1596843 - Part 4: Remove some native only methods from nsIPermissionManager; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53240

--HG--
extra : moz-landing-system : lando
2019-11-17 07:23:39 +00:00
Gijs Kruitbosch d88c8f4e26 Bug 1596090 - avoid sending plugin content to every content process whenever a content process is created, r=handyman
Depends on D52845

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

--HG--
extra : moz-landing-system : lando
2019-11-16 00:21:49 +00:00
Brindusan Cristian a401c2e994 Backed out 2 changesets (bug 1594577) for build bustages at HangDetails.cpp. CLOSED TREE
Backed out changeset f7dae5e23628 (bug 1594577)
Backed out changeset bd42216f7b63 (bug 1594577)
2019-11-16 00:43:29 +02:00
Doug Thayer 6ca8fd27f5 Bug 1594577 - Record hangs which precede forced shutdowns r=froydnj
In short - if a user forcibly terminates the browser because it seems
to be permanently hung, we currently do not get a change to record the
hang. This is unfortunate, because these likely represent the most
egregious hangs in terms of user frustration. This patch seeks to
address that.

If a hang exceeds 8192ms (the current definition of a "permahang" in
existing BHR terms), then we decide to immediately persist it to disk,
in case we never get a chance to return to the main thread and
submit it. On the next start of the browser, we read the file from
disk on a background thread, and just submit it using the normal
mechanism.

Regarding the handling of the file itself, I tried to do the simplest
thing I could - as far as I can tell there is no standard simple
serialization mechanism available directly to C++ in Gecko, so I just
serialized it by hand. I didn't take any special care with endianness
or anything as I can't think of a situation in which we really care
at all about these files being transferable between architectures. I
directly used PR_Write / PR_Read instead of doing something fancy
like memory mapping the file, because I don't think performance is a
critical concern here and it offers a simple protection against
reading out of bounds.

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

--HG--
extra : moz-landing-system : lando
2019-11-14 21:35:42 +00:00
Jonathan Kew 89f321af1e Bug 1487212 - When hyphenation resources are compressed in omnijar, load them into shared memory and share among all content processes. r=heycam,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52835

--HG--
extra : moz-landing-system : lando
2019-11-14 20:05:58 +00:00
Perry Jiang cee88a4060 Bug 1575092 - don't spawn Shared/Service Workers in "web COOP+COEP" processes r=asuth
Preventing RemoteWorkerService from existing in "web COOP+COEP" content
processes prevents Shared/ServiceWorkers from being spawned in them because there
won't be an associated RemoteWorkerServiceParent that registers with the parent
process RemoteWorkerManager.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 15:46:05 +00:00
Perry Jiang e0adb2d2a9 Bug 1575092 - add "web COOP+COEP" process type helpers r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D50814

--HG--
extra : moz-landing-system : lando
2019-11-14 16:08:36 +00:00
Hiroyuki Ikezoe f5f6f60da5 Bug 1586144 - Factor dynamic toolbar max height into layout metrics. r=emilio,botond
Now
* nsPresContext::mVisibleArea is excluding the toolbar max height so that
  ICB is now static regardless of the dynamic toolbar transition
* nsPresContext::mSizeForViewportUnits is introduced to resolve viewport units
  which is including the toolbar max height

That means that with the dynamic toolbar max height;

  mVisibleArea < mSizeForViewportUnits

See https://github.com/bokand/URLBarSizing for more detail backgrounds of this
change.

Depends on D50417

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

--HG--
extra : moz-landing-system : lando
2019-11-14 06:00:05 +00:00
Hiroyuki Ikezoe 2a51338a5a Bug 1586144 - Introduce an API to set the dynamic toolbar maximum height in GeckoView. r=geckoview-reviewers,tnikkel,snorp
And deliver the value to the top content pres context, but it's not used in
this commit. The value will be used in the next commit.

One caveat is that areas covered by the dynamic toolbar will be outside
of the content area, which means implementers of GeckoView needs to call
setVerticalClipping with _negative_ values.

Depends on D50416

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

--HG--
extra : moz-landing-system : lando
2019-11-14 05:59:47 +00:00
Sid Vishnoi bd713fe4ee Bug 1594306 - Rename nsGeo* files to match the WebIDL interfaces r=marcosc
Rename nsGeolocation to Geolocation.
Split nsGeoPostion to GeolocationPosition and GeolocationCoordinates.
Fix some include guards and comments referencing outdated interfaces.

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

--HG--
rename : dom/geolocation/nsGeolocation.cpp => dom/geolocation/Geolocation.cpp
rename : dom/geolocation/nsGeolocation.h => dom/geolocation/Geolocation.h
rename : dom/geolocation/nsGeoPosition.cpp => dom/geolocation/GeolocationPosition.cpp
rename : dom/geolocation/nsGeoPosition.h => dom/geolocation/GeolocationPosition.h
extra : moz-landing-system : lando
2019-11-14 04:18:04 +00:00
Gijs Kruitbosch b5a7317ab9 Bug 1595831 - use StaticPrefs for dom.ipc prefs for ContentParent and the hang monitor code, r=kmag
This additionally turns on dom.ipc.processHangMonitor on non-m-c consumers of gecko, as well as turning off dom.ipc.reportProcessHangs on debug geckoview.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 21:30:11 +00:00
Andrew McCreight d7c4ea6425 Bug 1585114 - Don't return shutdown pending processes from ContentParent::GetNewOrUsedBrowserProcess. r=mattwoodrow
ContentParent::GetNewOrUsedBrowserProcess can end up returning a
content parent that is in the middle of shutting down if the
nsIContentProcessProvider implementation threw an error because we'd
fall back to MinTabSelect(), which didn't exclude content parents that
were being shutdown. This patch fixes that.

The reason that the existing implementations of
nsIContentProcessProviders fail is that the array that is passed to
them can contain null entries which the code does not expect. I'll fix
that in a separate bug.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 01:16:10 +00:00
Andreas Farre e18b00ac85 Bug 1590782 - Switch process when InternalLoad finds oop BrowsingContext. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D50945

--HG--
extra : moz-landing-system : lando
2019-11-12 21:52:18 +00:00
Matt Woodrow fea5e94ae8 Bug 1589270 - Part 3: Convert nsExternalHelperApp to use BrowsingContext instead of nsIInterfaceRequestor. r=bzbarsky
This also converts MaybeCloseWindowHelper, and results in the window close operations being always run in the parent (even without DocumentChannel).

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

--HG--
extra : moz-landing-system : lando
2019-11-08 04:35:05 +00:00
Bogdan Tara 80377e90ee Backed out 6 changesets (bug 1552176) for causing Hazard bustages CLOSED TREE
Backed out changeset c79b90bae420 (bug 1552176)
Backed out changeset 4b970cc771ca (bug 1552176)
Backed out changeset de7aa0eaf4c8 (bug 1552176)
Backed out changeset c8e692a40cd3 (bug 1552176)
Backed out changeset 68882d1eccac (bug 1552176)
Backed out changeset 692e5e51e19e (bug 1552176)
2019-11-11 12:11:36 +02:00
Valentin Gosu 4fe6130ec3 Bug 1552176 - Add nsIRequest.set/getTRRMode r=dragana
* Makes it possible to selectively enable TRR for pbmode/container/window/etc

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

--HG--
extra : moz-landing-system : lando
2019-11-10 17:11:41 +00:00
Gijs Kruitbosch 76124b05a3 Bug 1593725 - cache gfx information so we don't re-read prefs and re-search blocklists for each content process, r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D51644

--HG--
extra : moz-landing-system : lando
2019-11-09 02:21:18 +00:00
Haik Aftandilian 5c7403d2a1 Bug 1589809 - [macOS] Use OS_ACTIVITY_MODE=disable for child processes r=spohl
Set the environment variable OS_ACTIVITY_MODE=disable on sandboxed Mac child processes.

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

--HG--
extra : moz-landing-system : lando
2019-11-09 00:27:48 +00:00
alwu 28a59c21ab Bug 1592461 - part2 : use 'MediaActionHandler' to handle 'MediaControlActions'. r=bzbarsky
Instead of letting the outer window to process `MediaControlActions`, it would be better to handle those actions all in `MediaActionHandler`.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 21:22:33 +00:00
Bogdan Tara 8f38f4a3fb Backed out 6 changesets (bug 1552176) for bustages complaining about ServiceWorkerManager.cpp CLOSED TREE
Backed out changeset bff9110e434e (bug 1552176)
Backed out changeset ac8f8a6dbd98 (bug 1552176)
Backed out changeset 8dd630e7534a (bug 1552176)
Backed out changeset 7ce9e220cdb9 (bug 1552176)
Backed out changeset ee9911acfcd4 (bug 1552176)
Backed out changeset 652b3bd6848d (bug 1552176)
2019-11-08 22:18:05 +02:00
Valentin Gosu adfeaf25f5 Bug 1552176 - Add nsIRequest.set/getTRRMode r=dragana
* Makes it possible to selectively enable TRR for pbmode/container/window/etc

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

--HG--
extra : moz-landing-system : lando
2019-11-08 17:13:05 +00:00
Masayuki Nakano 0f9b3a05da Bug 1594215 - Make `PuppetWidget::GetEditCommands()` check `mBrowserChild` before using it r=smaug
The reason of the crash is, the window may have already been destroyed and
`PuppetWidget::mBrowserChild` was set to `nullptr` when synthesizing key event.

This patch makes `PuppetWidget::GetEditCommands()` check whether it's `nullptr`
and returns whether it's succeeded or not.  Therefore, `TextInputProcessor`
can throw exception in such case.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 11:32:51 +00:00
Gijs Kruitbosch e5ac0416bc Bug 1593487 - tighten up registerWindowActor's handling of nonsensical actor specifications and remove cruft, r=nika,mconley
Differential Revision: https://phabricator.services.mozilla.com/D52002

--HG--
extra : moz-landing-system : lando
2019-11-08 11:59:37 +00:00
joshua stein 0fce47207d Bug 1580271: enhance sandbox on OpenBSD with unveil() r=gcp
ExpandUnveilPath() takes care of expanding potentially
environment-specific XDG_DATA/CONFIG/CACHE_HOME dirs.

The unveil config files lists the allowed paths & modes.

'disable' in the files will disable the corresponding pledge/unveil
syscall.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 07:31:09 +00:00
joshua stein c931d974d2 Bug 1580268: Sandbox GPU process on OpenBSD with pledge() r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D51386

--HG--
extra : moz-landing-system : lando
2019-11-07 09:56:07 +00:00
joshua stein d2fd2a4478 Bug 1584839 - Move OpenBSD pledge promises to files r=gcp
this way, preferences cant be modified by an extension, and they're
locked down in root-owned files.

Pledge promises files consist of a promise by line, are read first from
/etc/MOZ_APP_NAME/pledge.${processtype} (allowing overriding by a local
root if needed), and if not found
/usr/local/lib/MOZ_APP_NAME/browser/defaults/preferences is used, which
is where the OpenBSD packaging system will install the defaults.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 09:52:18 +00:00
Jim Porter d30a0e636c Bug 1592470 - Don't cancel content JS when "navigating" to javascript: URLs; r=smaug
Prior to this patch, users entering javascript: URLs in the location bar
(e.g. via a bookmark) would trigger the cancel content JS path for the page
they were on, potentially breaking the site. Since javascript: URLs
(generally) don't navigate to a new page, we should avoid canceling the
current page's JS.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 02:43:00 +00:00
Matt Woodrow 8abd316194 Bug 1593560 - Support non-http channels in SendCrossProcessRedirect. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D51550

--HG--
extra : moz-landing-system : lando
2019-11-06 22:37:07 +00:00
James Teh 4a0ed4f097 Bug 1581040: handle late creation/re-creation of OuterDocAccessible for OOP iframe. r=yzen,nika
1. When creating a DocAccessibleParent for an embedded document in an OOP iframe, it's possible that the embedder accessible hasn't been set yet.
    This can occur if the iframe is initially hidden.
    Previously, we incorrectly set the document up as a top level document (e.g. tab document) in this case.
    Now, we set up the document as top level in its content process, set up the proxy, etc.
    The document will be added to its child document later when the embedder is set.

2. When setting the embedder accessible for an OOP iframe, check if the embedded DocAccessibleParent already exists.
    This can happen if an iframe is hidden and then shown or an iframe is reflowed by layout.
    If it already exists, add the embedded (child) document to its embedder.

3. Mac's implementation of ProxyCreated requires that AddChildDoc be called *before* ProxyCreated so it can invalidate the native children of the parent.
    Because it's possible for an OOP iframe document to be added to its embedder after the document is created, we can't satisfy this requirement for OOP iframe documents.
    Therefore, we now allow a null parent in Mac's ProxyCreated and use the reorder event fired later to invalidate the native children.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 00:38:59 +00:00
Andrew McCreight ec082e7046 Bug 1580212, part 2 - Make dom.ipc.keepProcessesAlive.webIsolated work for Fission content processes. r=kmag
Also, enable it for the extensions test directory. Without this pref,
it gets frequent intermittent leaks and shutdown hangs when Fission is
enabled.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 23:14:27 +00:00
Andrew McCreight b5dbc2b2e5 Bug 1580212, part 1 - Drop the equal sign from FISSION_WEB_REMOTE_TYPE_PREFIX and add it to ContentParent.h. r=kmag
Right now, this constant has an equal sign in it. I want to use it in
C++ without the equal sign in the next patch. So, for consistency,
move the equal sign to the places that use this constant. Also, add
the constant to C++.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 23:14:00 +00:00
Coroiu Cristina cbdbc8bc4b Backed out 7 changesets (bug 1593560) for crashtest failures at tests/layout/base/crashtests/446328.html on a CLOSED TREE
Backed out changeset 7dfae085a4cb (bug 1593560)
Backed out changeset 9842c80c98d8 (bug 1593560)
Backed out changeset d67a10437af7 (bug 1593560)
Backed out changeset 3e3948e9531c (bug 1593560)
Backed out changeset a7d04e276b44 (bug 1593560)
Backed out changeset 9f52c9f6dc54 (bug 1593560)
Backed out changeset 90572c49d464 (bug 1593560)
2019-11-07 00:32:53 +02:00
Anny Gakhokidze 0ba78d3380 Bug 1592829 - Remove hasContentOpener logic from C++ and check for content opener directly from JavaScript, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51318

--HG--
extra : moz-landing-system : lando
2019-11-06 20:14:32 +00:00
Daniel Varga 8d89d86da9 Backed out 2 changesets (bug 1592829) for gecko build failure. On a CLOSED TREE
Backed out changeset 73013c2281fb (bug 1592829)
Backed out changeset 3257e8902653 (bug 1592829)
2019-11-06 22:09:41 +02:00
Anny Gakhokidze 1f167c323c Bug 1592829 - Remove hasContentOpener logic from C++ and check for content opener directly from JavaScript, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51318

--HG--
extra : moz-landing-system : lando
2019-11-05 22:25:56 +00:00
Matt Woodrow 4d86f16bd1 Bug 1593560 - Support non-http channels in SendCrossProcessRedirect. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D51550

--HG--
extra : moz-landing-system : lando
2019-11-06 18:22:47 +00:00
thomasmo 55deef9140 Bug 1589913 - Update FxR Desktop default home page r=kip,bzbarsky
This change updates the home page to webxr.today for Firefox Realty on Desktop. Further, since WebVR is not supported yet, this change includes a way to disable WebVR specifically for FxR windows without impacting Desktop Fx.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 14:53:08 +00:00
Sebastian Hengst a5193f0aaa Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-11-06 15:00:06 +01:00
Sebastian Hengst 401f1ce710 Merge mozilla-inbound to mozilla-central. a=merge 2019-11-06 14:54:44 +01:00
Sid Vishnoi 6023989158 Bug 1575144 - Update Geolocation implementation to match latest spec r=baku,marcosc
The Geolocation API specification renamed the following interfaces and removed the [NoInterfaceObject] annotation so that these types are now exposed to script:
* Coordinates -> GeolocationCoordinates
* Position -> GeolocationPosition
* PositionError -> GeolocationPositionError

This is done in response to an effort to remove the [NoInterfaceObject]
annotation from WebIDL.

Additionally, the following interfaces are now only exposed in Secure Contexts:
* GeolocationCoordinates
* GeolocationPosition

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

--HG--
rename : dom/geolocation/PositionError.cpp => dom/geolocation/GeolocationPositionError.cpp
rename : dom/geolocation/PositionError.h => dom/geolocation/GeolocationPositionError.h
rename : dom/webidl/Coordinates.webidl => dom/webidl/GeolocationCoordinates.webidl
rename : dom/webidl/Position.webidl => dom/webidl/GeolocationPosition.webidl
rename : dom/webidl/PositionError.webidl => dom/webidl/GeolocationPositionError.webidl
extra : moz-landing-system : lando
2019-11-06 12:35:42 +00:00
Emilio Cobos Álvarez 374f945297 Bug 1593690 - Batch content -> parent visited queries. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D51628

--HG--
extra : moz-landing-system : lando
2019-11-06 12:11:06 +00:00
Brindusan Cristian 9a4043957e Backed out changeset c3813936e074 (bug 1589913) for mochitest assertion failures at nsGlobalWindowInner.cpp. CLOSED TREE 2019-11-06 02:42:43 +02:00
Kashav Madan 56606d9195 Bug 1592596 - Make browser_domainPolicy.js Fission-compatible, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D51154

--HG--
extra : moz-landing-system : lando
2019-11-05 20:53:47 +00:00
thomasmo 3ebc22a35d Bug 1589913 - Update FxR Desktop default home page r=kip,bzbarsky
This change updates the home page to webxr.today for Firefox Realty on Desktop. Further, since WebVR is not supported yet, this change includes a way to disable WebVR specifically for FxR windows without impacting Desktop Fx.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 22:45:38 +00:00
Brendan Dahl eafc9e3293 Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

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

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-05 17:56:28 +00:00
Cosmin Sabou e7966b8b03 Backed out changeset ac4242e7f029 (bug 1581040) for causing browser chrome crashes @mozilla::a11y::ProxyCreated. CLOSED TREE 2019-11-05 10:39:48 +02:00
Mihai Alexandru Michis b819bd25aa Backed out 2 changesets (bug 1470510) for causing bustages in widget/cocoa/nsChildView.mm CLOSED TREE
Backed out changeset a343f30c34a3 (bug 1470510)
Backed out changeset 4da64790094d (bug 1470510)

--HG--
rename : xpfe/appshell/nsIAppWindow.idl => xpfe/appshell/nsIXULWindow.idl
rename : xpfe/appshell/AppWindow.cpp => xpfe/appshell/nsXULWindow.cpp
rename : xpfe/appshell/AppWindow.h => xpfe/appshell/nsXULWindow.h
2019-11-05 09:24:26 +02:00
Brendan Dahl 0c0da7791e Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

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

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-04 23:37:31 +00:00
James Teh 28a8c82da1 Bug 1581040: handle late creation/re-creation of OuterDocAccessible for OOP iframe. r=yzen,nika
1. When creating a DocAccessibleParent for an embedded document in an OOP iframe, it's possible that the embedder accessible hasn't been set yet.
    This can occur if the iframe is initially hidden.
    Previously, we incorrectly set the document up as a top level document (e.g. tab document) in this case.
    Now, we set up the document as top level in its content process, set up the proxy, etc.
    The document will be added to its child document later when the embedder is set.

2. When setting the embedder accessible for an OOP iframe, check if the embedded DocAccessibleParent already exists.
    This can happen if an iframe is hidden and then shown or an iframe is reflowed by layout.
    If it already exists, add the embedded (child) document to its embedder.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 05:44:34 +00:00
Ciure Andrei 64cfc71bcd Backed out changeset 967bb08714f9 (bug 1581040) for causing build bustages CLOSED TREE 2019-11-05 07:23:01 +02:00
James Teh f0676dcb3a Bug 1581040: handle late creation/re-creation of OuterDocAccessible for OOP iframe. r=yzen,nika
1. When creating a DocAccessibleParent for an embedded document in an OOP iframe, it's possible that the embedder accessible hasn't been set yet.
    This can occur if the iframe is initially hidden.
    Previously, we incorrectly set the document up as a top level document (e.g. tab document) in this case.
    Now, we set up the document as top level in its content process, set up the proxy, etc.
    The document will be added to its child document later when the embedder is set.

2. When setting the embedder accessible for an OOP iframe, check if the embedded DocAccessibleParent already exists.
    This can happen if an iframe is hidden and then shown or an iframe is reflowed by layout.
    If it already exists, add the embedded (child) document to its embedder.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 05:02:38 +00:00
Peter Van der Beken 8ed0cb2ea7 Bug 1588491 - Associate session history entries with a session history object from creation. Continue to allow docshells to create session history entries even if the root docshell doesn't have a session history object. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D50574

--HG--
extra : rebase_source : 0381ae4297820f92caa5a77f588c9372093c8315
extra : source : ebb01f79e94a182e4886c4af5b0f27f5b7a41c4e
extra : histedit_source : 4010d5a26f2fad681984e76718112d657d2e5fa1
2019-10-24 09:17:19 +02:00
Peter Van der Beken b6d4b5e93c Bug 1588491 - Associate session history entries with a session history object from creation. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49170

--HG--
extra : rebase_source : bc4c6e8cea0de7e85ae78ffb3ce09a7465e61b4a
extra : amend_source : 956bf8fa227e613b7f816dd5af9029ed24ba2c46
extra : source : 2d4b06fe1f429eec844cdeba8a7faaa63bfc25ab
extra : histedit_source : a2345826c7f94311ee57d805bf3ac9bed2e12ea7
2019-10-17 20:03:49 +02:00
Dorel Luca 0207ce5451 Backed out 2 changesets (bug 1470510) for build bustage on /build/src/widget/cocoa/nsChildView.mm. CLOSED TREE
Backed out changeset 5967bf633574 (bug 1470510)
Backed out changeset 067a556bb614 (bug 1470510)

--HG--
rename : xpfe/appshell/nsIAppWindow.idl => xpfe/appshell/nsIXULWindow.idl
rename : xpfe/appshell/AppWindow.cpp => xpfe/appshell/nsXULWindow.cpp
rename : xpfe/appshell/AppWindow.h => xpfe/appshell/nsXULWindow.h
extra : amend_source : 752d828c6a0726c3f2df57a25741e38b36b75d6b
2019-11-04 19:18:56 +02:00
Brendan Dahl 247b257cfa Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

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

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-04 16:52:35 +00:00
Emilio Cobos Álvarez 5949af2c3b Bug 1591717 - Add a pref to notify of unvisited uris in the history service. r=mak,lina
Behind a pref to ensure that we can turn this off pretty easily if it has perf
impact.

I want to leave the repainting stuff to another bug to land separately, to track
potential (though I hope not!) perf regressions more easily.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 13:28:58 +00:00
Andreea Pavel 78343404b1 Backed out changeset 406197940297 (bug 1581040) for failing BrowserParent.cpp on a CLOSED TREE 2019-11-04 06:32:28 +02:00
James Teh fea47468f5 Bug 1581040: handle late creation/re-creation of OuterDocAccessible for OOP iframe. r=yzen,nika
1. When creating a DocAccessibleParent for an embedded document in an OOP iframe, it's possible that the embedder accessible hasn't been set yet.
    This can occur if the iframe is initially hidden.
    Previously, we incorrectly set the document up as a top level document (e.g. tab document) in this case.
    Now, we set up the document as top level in its content process, set up the proxy, etc.
    The document will be added to its child document later when the embedder is set.

2. When setting the embedder accessible for an OOP iframe, check if the embedded DocAccessibleParent already exists.
    This can happen if an iframe is hidden and then shown or an iframe is reflowed by layout.
    If it already exists, add the embedded (child) document to its embedder.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 17:12:19 +00:00
Dan Glastonbury 02ffa8e3f3 Bug 1561179 - P3: Merge EnsureRDDReady into LaunchRDDProcess. r=mattwoodrow
LaunchRDDProcess() and CreateContentBridge() create a sync creation. Merge the
functions into one function. Keep the IPDL messaging async to avoid adding a
exception for the message being sync.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 03:41:54 +00:00
Razvan Maries 4eba7bb5e1 Bug 1548274 - Disabled browser_cancel_content_js.js on Windows10 x64 debug. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D51496

--HG--
extra : moz-landing-system : lando
2019-11-03 20:48:08 +00:00
Noemi Erli 853acdf360 Backed out 5 changesets (bug 1552176) for causing multiple build bustages CLOSED TREE
Backed out changeset 203060e4af95 (bug 1552176)
Backed out changeset b52f0ff800c8 (bug 1552176)
Backed out changeset 9f8d159fe252 (bug 1552176)
Backed out changeset 751b518e08fa (bug 1552176)
Backed out changeset a11ffd474c0c (bug 1552176)
2019-11-02 23:20:28 +02:00
Valentin Gosu 5528771952 Bug 1552176 - Add nsIRequest.set/getTRRMode r=dragana
* Makes it possible to selectively enable TRR for pbmode/container/window/etc

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

--HG--
extra : moz-landing-system : lando
2019-11-02 20:42:42 +00:00
Nihanth Subramanya 2164478f1e Bug 1584479 - Part 1: Add flag for blocked social cookies in the content blocking log. r=Ehsan,droeh
Differential Revision: https://phabricator.services.mozilla.com/D47427

--HG--
extra : moz-landing-system : lando
2019-11-01 23:24:25 +00:00
Dorel Luca b9074d53a1 Backed out 4 changesets (bug 1584479) for Browser-chrome failures in toolkit/components/antitracking/test/browser/browser_socialtracking.js
Backed out changeset b0d9877bd8b0 (bug 1584479)
Backed out changeset d2c56bd61b08 (bug 1584479)
Backed out changeset 0edb22786545 (bug 1584479)
Backed out changeset 7e03b392edb3 (bug 1584479)
2019-11-02 01:18:42 +02:00
Nihanth Subramanya e7620d9a8c Bug 1584479 - Part 1: Add flag for blocked social cookies in the content blocking log. r=Ehsan,droeh
Differential Revision: https://phabricator.services.mozilla.com/D47427

--HG--
extra : moz-landing-system : lando
2019-11-01 21:02:09 +00:00
Oana Pop Rus 3d0252d00b Backed out 2 changesets (bug 1589913) on request from bz on a CLOSED TREE
Backed out changeset e8ee20fdf6ac (bug 1589913)
Backed out changeset 12d046056948 (bug 1589913)
2019-11-01 17:32:59 +02:00
Tom Tung 892ba56d80 Bug 1562667 - P3 - Check remoteType in IsCrossOriginIsolated; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51083

--HG--
extra : moz-landing-system : lando
2019-11-01 08:30:41 +00:00
Gabriele Svelto ca472002f8 Bug 1538200 - Kill the preallocated process when we're low on memory r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D50926

--HG--
extra : moz-landing-system : lando
2019-10-31 15:55:40 +00:00
Razvan Maries cdb80ead85 Backed out 6 changesets (bug 1561179) for perma fails on browser_timeout_throttling_with_audio_playback.js. CLOSED TREE
Backed out changeset 5d8059472045 (bug 1561179)
Backed out changeset 90c207dd2cc2 (bug 1561179)
Backed out changeset e90af73ef3c4 (bug 1561179)
Backed out changeset 4678da971197 (bug 1561179)
Backed out changeset 55340b999a4e (bug 1561179)
Backed out changeset 4037cce56491 (bug 1561179)
2019-10-31 03:21:24 +02:00
Dan Glastonbury 254756a1de Bug 1561179 - P3: Merge LaunchRDDProcess and CreateContentBridge. r=mattwoodrow
LaunchRDDProcess() and CreateContentBridge() create a sync creation. Merge the
functions into one function. Keep the IPDL messaging async to avoid adding a
exception for the message being sync.

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

--HG--
extra : moz-landing-system : lando
2019-10-30 23:48:29 +00:00
thomasmo d3ac95a94e Bug 1589913 - Update FxR Desktop default home page r=kip,daoshengmu
This change updates the home page to webxr.today for Firefox Realty on Desktop. Further, since WebVR is not supported yet, this change includes a way to disable WebVR specifically for FxR windows without impacting Desktop Fx.

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

--HG--
extra : moz-landing-system : lando
2019-10-30 13:54:49 +00:00
Gijs Kruitbosch 8af91551b6 Bug 1585732 - use staticprefs for media.cubeb.sandbox, r=haik
Differential Revision: https://phabricator.services.mozilla.com/D50955

--HG--
extra : moz-landing-system : lando
2019-10-29 23:33:45 +00:00
Edgar Chen 5c03d212e3 Bug 1587062 - Move SandboxFlags from DocShell to BrowsingContext; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D50663

--HG--
extra : moz-landing-system : lando
2019-10-28 11:48:30 +00:00
Brad Werth 4305c71244 Bug 1561227 Part 2: Define and fire an internal event when BrowserChild has finished resizing. r=botond,emilio
This event is useful for tests that resize the RDM pane and need to
know when all resolution adjusting effects are complete.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 21:05:48 +00:00
Ciure Andrei 706c89437b Backed out 8 changesets (bug 1561227) for causing browser_viewport_resizing_scrollbar.js to permafail CLOSED TREE
Backed out changeset aa00b1b62ea7 (bug 1561227)
Backed out changeset b22440a67078 (bug 1561227)
Backed out changeset 4776cec83ae8 (bug 1561227)
Backed out changeset ac88bbefb95f (bug 1561227)
Backed out changeset aef3cfa2f539 (bug 1561227)
Backed out changeset a3759e1a04e2 (bug 1561227)
Backed out changeset cfcf79794049 (bug 1561227)
Backed out changeset 97be65338edf (bug 1561227)

--HG--
rename : devtools/client/responsive/test/browser/browser_viewport_zoom_toggle.js => devtools/client/responsive/test/browser/browser_toggle_zoom.js
2019-10-26 00:00:48 +03:00
Brad Werth 5007e7e93c Bug 1561227 Part 2: Define and fire an internal event when BrowserChild has finished resizing. r=botond,emilio
This event is useful for tests that resize the RDM pane and need to
know when all resolution adjusting effects are complete.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 23:42:52 +00:00
Csoregi Natalia a377414b6d Backed out 8 changesets (bug 1561227) for failures on browser_viewport_resizing_scrollbar.js. CLOSED TREE
Backed out changeset 8117cafb3a20 (bug 1561227)
Backed out changeset 635534927ffc (bug 1561227)
Backed out changeset 693b0dd88f2b (bug 1561227)
Backed out changeset 257bc09f49af (bug 1561227)
Backed out changeset 1b63d555c6c1 (bug 1561227)
Backed out changeset 677da957ddcb (bug 1561227)
Backed out changeset f8b8e593316f (bug 1561227)
Backed out changeset 849e1cf51a8f (bug 1561227)

--HG--
rename : devtools/client/responsive/test/browser/browser_viewport_zoom_toggle.js => devtools/client/responsive/test/browser/browser_toggle_zoom.js
2019-10-25 02:35:11 +03:00
Brad Werth ada23c0648 Bug 1561227 Part 2: Define and fire an internal event when BrowserChild has finished resizing. r=botond,emilio
This event is useful for tests that resize the RDM pane and need to
know when all resolution adjusting effects are complete.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 16:48:40 +00:00
Tim Huang 336cd10b0e Bug 1590032 - Propagate the first party domain when creating new browser in Fission. r=smaug
In this patch, we add the propagation of the first party domain through
the tabContext while creating OOP browsers. In the window.open() case,
we will propagate the first party domain from the opener's browser parent.
And in the frame case, we will propagate it from the manager of the
browserBridgeParent of the OOP frame.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 08:51:06 +00:00
Peter Van der Beken 3d62c6c2fb Bug 1583321 - Allow sending same entry multiple times during one IPC call. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D46935

--HG--
extra : rebase_source : 48fcbe1dc8c83af1d85575c32e33a904636d31de
extra : source : 184c14258def58dd1796cf2259a6fecf1cbc055c
extra : histedit_source : 3423197858c817b2c10140543105550a7b2ca913
2019-09-30 15:25:53 +02:00
Thomas Nguyen cf2f2ec008 Bug 1580462 - Store iframe's FeaturePolicy in browsingContext to inherit cross origin document. r=baku,farre
Differential Revision: https://phabricator.services.mozilla.com/D48825

--HG--
extra : moz-landing-system : lando
2019-10-23 19:39:00 +00:00
Razvan Maries 7fb625f8cf Backed out changeset ae33b9c001e5 (bug 1580462) for build bustages on nsWindow.cpp. CLOSED TREE 2019-10-23 11:07:00 +03:00
Thomas Nguyen a220530f6b Bug 1580462 - Store iframe's FeaturePolicy in browsingContext to inherit cross origin document. r=baku,farre
Differential Revision: https://phabricator.services.mozilla.com/D48825

--HG--
extra : moz-landing-system : lando
2019-10-22 14:36:00 +00:00
Nika Layzell a3cad4162e Bug 1589054 - Part 1: Cleanly kill BrowserBridgeChild if process switch fails, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D49464

--HG--
extra : moz-landing-system : lando
2019-10-22 13:57:00 +00:00
Valentin Gosu 982bdfbbbd Bug 1579992 - Load pages into new webCOOP+COEP process type r=nika
* This patch makes pages with the `OPENER_POLICY_SAME_ORIGIN_EMBEDDER_POLICY_REQUIRE_CORP` policy load into a special `webCOOP+COEP={pageOrigin}` remote type.
* Adds `E10SUtils.WEB_REMOTE_COOP_COEP_TYPE_PREFIX="webCOOP+COEP="`
* When a COOP process switch occurs and the target page doesn't have this policy, we pass a `preferredRemoteType="web"` into `E10SUtils.getRemoteTypeForPrincipal` ensuring that we correctly get a different `remoteType`
* E10SUtils.getRemoteTypeForPrincipal is changed such that `if preferredRemoteType.startsWith(WEB_REMOTE_COOP_COEP_TYPE_PREFIX)` we don't override it with `webIsolated={pageOrigin}`.
* `coop_header.sjs` is changed to also allow setting `Cross-Origin-Embedder-Policy` headers
* `browser_httpCrossOriginOpenerPolicy.js` is changed to test that pages are correctly opened in the correct remoteType process.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 08:02:16 +00:00
shindli ebcb4e6fbf Backed out changeset 5686e9cc48b2 (bug 1579992) for causing bc failures in browser/components/aboutlogins/tests/browser/browser_dismissFooter.js CLOSED TREE 2019-10-21 21:09:24 +03:00
Valentin Gosu 74ec329cc9 Bug 1579992 - Load pages into new webCOOP+COEP process type r=nika
* This patch makes pages with the `OPENER_POLICY_SAME_ORIGIN_EMBEDDER_POLICY_REQUIRE_CORP` policy load into a special `webCOOP+COEP={pageOrigin}` remote type.
* Adds `E10SUtils.WEB_REMOTE_COOP_COEP_TYPE_PREFIX="webCOOP+COEP="`
* When a COOP process switch occurs and the target page doesn't have this policy, we pass a `preferredRemoteType="web"` into `E10SUtils.getRemoteTypeForPrincipal` ensuring that we correctly get a different `remoteType`
* E10SUtils.getRemoteTypeForPrincipal is changed such that `if preferredRemoteType.startsWith(WEB_REMOTE_COOP_COEP_TYPE_PREFIX)` we don't override it with `webIsolated={pageOrigin}`.
* `coop_header.sjs` is changed to also allow setting `Cross-Origin-Embedder-Policy` headers
* `browser_httpCrossOriginOpenerPolicy.js` is changed to test that pages are correctly opened in the correct remoteType process.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 16:56:00 +00:00
Cosmin Sabou cce21ffe59 Backed out 3 changesets (bug 1589054) for browser chrome failures on browser_crash_oopiframe.js CLOSED TREE
Backed out changeset 1a43032819e1 (bug 1589054)
Backed out changeset 91e4d5c6422a (bug 1589054)
Backed out changeset 03bc24aa3a2c (bug 1589054)
2019-10-21 19:29:20 +03:00
Nika Layzell a73568ddeb Bug 1589054 - Part 1: Cleanly kill BrowserBridgeChild if process switch fails, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D49464

--HG--
extra : moz-landing-system : lando
2019-10-21 14:03:36 +00:00
Jean-Yves Avenard e6d0e7dfda Bug 1588899 - P1. Move classification flags related method to nsIClassifiedChannel. r=Ehsan,baku
This is where it should have been in the first place. Those attributes belong there.

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

--HG--
extra : moz-landing-system : lando
2019-10-19 04:30:24 +00:00
Geoff Brown 32490358c2 Bug 1585119 - Re-enable many more mochitests on Android; r=geckoview-reviewers,snorp
Most of these tests have been disabled for a long time; they run well
in the current test environment.
I intend to enable still more mochitests in a future patch.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 14:35:20 +00:00
Srujana Peddinti 847842be97 Bug 1570009 - Part 2 : Added Content Process testing to the framework. r=bobowen
Adds the ability to create and run sandbox tests in a content process.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 15:08:47 +00:00
Marcos Cáceres caed406d12 Bug 1588420 - Add init() to SharePicker.idl, which provides a means to get to browser parent r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D49215

--HG--
extra : moz-landing-system : lando
2019-10-15 00:52:09 +00:00
Ehsan Akhgari 9a0578ff9c Bug 1575934 - Create the channels used to download and verify appcache entries with the cookie settings belonging to the document which created the appcache; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D49018

--HG--
extra : moz-landing-system : lando
2019-10-15 17:32:54 +00:00
Nika Layzell 965f006a70 Bug 1576714 - Part 3: Initiate subframe process switches from the parent, r=kmag
This flips the direction in which the BrowserBridge actor is generally created
such that it is generally created in the parent and sent down to a child
process.

This is done by making the decision about what kind of switch to perform in the
parent, and sending messages down to child processes async to orchestrate these
process changes.

Process launching is changed to use an async `MozPromise`-returning API in this
patch, though the actual process launching still occurs synchronously. A future
patch will enable performing async process launching through the
NewOrUsedBrowserProcess mechanism.

I know of at least a few timing issues which exist with the new logic,
especially around the state of the BrowsingContext during the process
transition. I decided to not try to fix all of these issues in this patch, as
many are complex and will require changing how we manage the lifecycle of
BrowsingContext substantially. I do, however, think that the new logic is more
reliable and has fewer timing issues than the previous logic.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 16:19:16 +00:00
Nika Layzell 090b6dbc31 Bug 1576714 - Part 2: Remove mIPCOpen from PBrowserBridge actors, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47309

--HG--
extra : moz-landing-system : lando
2019-10-15 16:19:14 +00:00
Nika Layzell 87aa1365a0 Bug 1576714 - Part 1: Move BBC initialization into BrowserBridgeChild, r=kmag
This is useful in part 3, where the initialization will need to be called from
multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 16:19:13 +00:00
Emilio Cobos Álvarez 9eb8be65f7 Bug 1576714 - Don't update scrollbar visibility for non-top-level remote browsers. r=nika
This flag is only meant for window.open() stuff, so not relevant to iframes at
all.

This preserves the current fission behavior (which is quite broken) of always
showing scrollbars.

The way to control scrollbars for iframes (the scrolling attribute) is not
handled at all for Fission, I filed a bug and left a few FIXMEs.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:32:18 +00:00
Coroiu Cristina 5e1f2653cf Backed out changeset bc3714b56887 (bug 1575934) for wpt failures at /html/browsers/offline/application-cache-api/api_update_error.https.html on a CLOSED TREE 2019-10-15 17:28:16 +03:00
Ehsan Akhgari 2eaec14333 Bug 1575934 - Create the channels used to download and verify appcache entries with the cookie settings belonging to the document which created the appcache; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D49018

--HG--
extra : moz-landing-system : lando
2019-10-13 17:45:30 +00:00
Bryce Seager van Dyk a37965e298 Bug 1586347 - Have BrowserChild internally take care of caching logic when checking if windows support protected media. r=dminor,rhunt
Currently when checking if a window supports protected media it's up to the
caller interacting with a BrowserChild to check if a response is already
cached, to perform the check if needed, and to then set the cached response if a
call was made. This patch moves that logic internal to Browser child so that
callers need to only worry about interacting with a single function.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 19:10:39 +00:00
Paul Adenot b0a6955511 Bug 1575883 - When the real-time limit is reached on the real-time thread, demote to a normal thread. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D45691

--HG--
extra : moz-landing-system : lando
2019-10-11 16:04:32 +00:00
Paul Adenot de38beab75 Bug 1575883 - Call setrlimit at startup via the audio_thread_priority crate. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D45689

--HG--
extra : moz-landing-system : lando
2019-10-11 16:04:32 +00:00
Paul Adenot 1cc0689e53 Bug 1575883 - Remove the code that created a couple threads at startup, in Gecko. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D45688

--HG--
extra : moz-landing-system : lando
2019-10-11 16:01:24 +00:00
Marco Bonardo cff612c7b4 Bug 1586681 - Ensure URIFIxup uses the right engine when there's a separate PB engine. r=Standard8,Gijs
Add a new FIXUP_FLAG_PRIVATE_CONTEXT to nsIURIFixup, make it use the default
private search engine when it's set.
Update consumers to pass the new flag when necessary.

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

--HG--
extra : moz-landing-system : lando
2019-10-12 12:37:51 +00:00
Kris Maglione 456c394740 Bug 1587559 - Ignore noopener.newprocess preference under Fission. r=nika
It doesn't have any useful effect given the way Fission chooses processes, and
complicates the window.open logic in ways that are hard to maintain and cause
problems.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 19:59:10 +00:00
Matt Woodrow 4cefa2fdd3 Bug 1578624 - P11: Add a flag to ask the parent to not actually load the URI when opening a window, since we'll do it ourselves anyway. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47867

--HG--
extra : moz-landing-system : lando
2019-10-11 01:56:35 +00:00
Matt Woodrow a3e396d5bf Bug 1578624 - P10: Update crash reporter's URL annotation when loading a new URI from the parent. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D45485

--HG--
extra : moz-landing-system : lando
2019-10-11 02:28:08 +00:00
Matt Woodrow 1acea42856 Bug 1578624 - P5: Add DisplayLoadError to BrowsingContext. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44761

--HG--
extra : moz-landing-system : lando
2019-10-11 02:27:07 +00:00
Matt Woodrow 70bb7111fa Bug 1578624 - P4: Add an option to set mIsNavigating on the docshell when loading using BrowsingContext. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44760

--HG--
extra : moz-landing-system : lando
2019-10-11 02:27:05 +00:00
Matt Woodrow 94578c8761 Bug 1578624 - P2: Extend nsDocShellLoadState for the extra options needed to describe front end loads. r=kmag,nika
Differential Revision: https://phabricator.services.mozilla.com/D44758

--HG--
extra : moz-landing-system : lando
2019-10-11 02:27:01 +00:00
Nazım Can Altınova 2e832289ac Bug 1512500 - Record parent page information in profiler r=gerald,nika
Differential Revision: https://phabricator.services.mozilla.com/D47426

--HG--
extra : moz-landing-system : lando
2019-10-09 21:25:19 +00:00
Nazım Can Altınova bbc7701155 Bug 1583271 - Part 2: Add the registration/unregistration parts for profiler page info r=nika
See the first patch's commit message to learn why we had to change the
PageInformation's IDs to BrowsingContextID and InnerWindowID.
Previously we were registering profiler PageInformation in the nsDocShell
methods. That was not the correct place to handle page loads correctly. That's
why we had to move the registration to WindowGlobalChild::SetDocumentURI and
WindowGlobalChild::ActorDestroy. In those functions we are sure that each
document URIs will come here only once.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 20:57:51 +00:00
Brian Hackett 2ed60fe6f2 Bug 1580168 Part 1 - Add processID and isParent accessors to ProcessMessageManager, r=nika.
Differential Revision: https://phabricator.services.mozilla.com/D48084

--HG--
extra : moz-landing-system : lando
2019-10-09 20:49:28 +00:00
Nika Layzell ed104ffa03 Bug 1581925 - Part 1: Capture parent process JSWindowActor events at InProcessBrowserChildMessageManager, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46864

--HG--
extra : moz-landing-system : lando
2019-10-07 19:35:06 +00:00
Marcos Cáceres fbff2e387c Bug 1312422 - Web Share Base/DOM implementation r=farre
Web Share base implementation just of DOM stuff - working together with @saschanaz.

@Baku, we would greatly appreciate your review.

-Nika, as she is traveling.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 10:57:11 +00:00
Brindusan Cristian ef3c975bc9 Backed out 11 changesets (bug 1578624) for build bustages. CLOSED TREE
Backed out changeset b22733eb880f (bug 1578624)
Backed out changeset cb5e15489635 (bug 1578624)
Backed out changeset f1746b2f9dec (bug 1578624)
Backed out changeset d08a099a22ff (bug 1578624)
Backed out changeset 8ebd563c72a8 (bug 1578624)
Backed out changeset d8bfec2dc9b6 (bug 1578624)
Backed out changeset 591664928bce (bug 1578624)
Backed out changeset 63f5a619b9ef (bug 1578624)
Backed out changeset ff67cc13cdf3 (bug 1578624)
Backed out changeset 43556c937a09 (bug 1578624)
Backed out changeset 49065a55694d (bug 1578624)
2019-10-09 11:50:37 +03:00
Matt Woodrow 4b70f9f830 Bug 1578624 - P11: Add a flag to ask the parent to not actually load the URI when opening a window, since we'll do it ourselves anyway. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47867

--HG--
extra : moz-landing-system : lando
2019-10-09 07:54:45 +00:00
Matt Woodrow 9d3ac3d8bc Bug 1578624 - P10: Update crash reporter's URL annotation when loading a new URI from the parent. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D45485

--HG--
extra : moz-landing-system : lando
2019-10-09 06:37:52 +00:00
Matt Woodrow 44c59ca2d5 Bug 1578624 - P5: Add DisplayLoadError to BrowsingContext. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44761

--HG--
extra : moz-landing-system : lando
2019-10-09 06:58:34 +00:00
Matt Woodrow a48a476531 Bug 1578624 - P4: Add an option to set mIsNavigating on the docshell when loading using BrowsingContext. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44760

--HG--
extra : moz-landing-system : lando
2019-10-09 06:37:50 +00:00
Matt Woodrow 2b3ffb9596 Bug 1578624 - P2: Extend nsDocShellLoadState for the extra options needed to describe front end loads. r=kmag,nika
Differential Revision: https://phabricator.services.mozilla.com/D44758

--HG--
extra : moz-landing-system : lando
2019-10-09 06:37:50 +00:00
Narcis Beleuzu 8a602174c2 Backed out changeset cd0a4cb33b3c (bug 1578624) for bustages on 2bc84d119d5f . CLOSED TREE 2019-10-09 09:13:03 +03:00
Narcis Beleuzu 3429292547 Backed out 11 changesets (bug 1578624) for bustages on WindowGlobalChild.h . CLOSED TREE
Backed out changeset 478897956ee0 (bug 1578624)
Backed out changeset ab9c09164df0 (bug 1578624)
Backed out changeset f461f10efa46 (bug 1578624)
Backed out changeset 9b958693a003 (bug 1578624)
Backed out changeset 3b8220a15051 (bug 1578624)
Backed out changeset 180407dc57a8 (bug 1578624)
Backed out changeset bb11892e2171 (bug 1578624)
Backed out changeset 4f5c28244290 (bug 1578624)
Backed out changeset 6c02bbe5c1c5 (bug 1578624)
Backed out changeset 1d762fdce921 (bug 1578624)
Backed out changeset 818bc6e20c7d (bug 1578624)

--HG--
extra : histedit_source : ea22e628bf35425402009e9af274602f342a7476
2019-10-09 08:52:25 +03:00
Jean-Yves Avenard 0b3b194e29 Bug 1578624 - P12. Fix rebase error.
Differential Revision: https://phabricator.services.mozilla.com/D48638

--HG--
extra : moz-landing-system : lando
2019-10-09 05:06:42 +00:00
Matt Woodrow d2a7eac05f Bug 1578624 - P11: Add a flag to ask the parent to not actually load the URI when opening a window, since we'll do it ourselves anyway. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47867

--HG--
extra : moz-landing-system : lando
2019-10-03 23:15:19 +00:00
Matt Woodrow 439000d51c Bug 1578624 - P10: Update crash reporter's URL annotation when loading a new URI from the parent. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D45485

--HG--
extra : moz-landing-system : lando
2019-10-04 02:03:15 +00:00
Matt Woodrow f964e50c40 Bug 1578624 - P5: Add DisplayLoadError to BrowsingContext. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44761

--HG--
extra : moz-landing-system : lando
2019-10-09 04:34:12 +00:00
Matt Woodrow 1696b97a9f Bug 1578624 - P4: Add an option to set mIsNavigating on the docshell when loading using BrowsingContext. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44760

--HG--
extra : moz-landing-system : lando
2019-10-09 04:50:16 +00:00
Matt Woodrow 4a351e1a82 Bug 1578624 - P2: Extend nsDocShellLoadState for the extra options needed to describe front end loads. r=kmag,nika
Differential Revision: https://phabricator.services.mozilla.com/D44758

--HG--
extra : moz-landing-system : lando
2019-10-09 04:53:06 +00:00
Barret Rennie 1147cb5ce8 Bug 1586871 - Ensure we have optional data before derefing in BrowserParent r=Ehsan
Previously we assumed that we could trust the `OnLocationChange`,
`OnStateChange`, and `OnSecurityChange` IPC messages from the BrowserChild to
BrowserParent to always contain their optional data if the message was
top-level. However, if a content process becomes compromised, this could be
used to DOS the parent process by maliciously sending these messages to the
parent process with invalid data.

Now we explicitly check that the data is valid before derefing.

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

--HG--
extra : moz-landing-system : lando
2019-10-07 20:51:02 +00:00
Sylvestre Ledru f12b9fa5c3 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-10-06 18:29:55 +00:00
Csoregi Natalia ce06821ff1 Merge mozilla-central to autoland. CLOSED TREE 2019-10-05 00:41:24 +03:00
Csoregi Natalia 8768a4f5e3 Backed out 7 changesets (bug 1576714) for fission permafailures on test_bug590812.html. a=backout
Backed out changeset d0c49f00eb91 (bug 1576714)
Backed out changeset faecc9f35b49 (bug 1576714)
Backed out changeset 2e156655c31e (bug 1576714)
Backed out changeset eece722082c7 (bug 1576714)
Backed out changeset ebda40f96884 (bug 1576714)
Backed out changeset 7dce423417d8 (bug 1576714)
Backed out changeset 9a5072019168 (bug 1576714)
2019-10-05 00:08:33 +03:00
Doug Thayer 6bd29eb0c3 Bug 1550108 - Split out Input/OutputBuffer into their own file r=froydnj
This just splits out the InputBuffer and OutputBuffer helper classes
to make it cleaner for the StartupCache to include them.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:44:41 +00:00
Nika Layzell 89b22d83ef Bug 1576714 - Part 3: Initiate subframe process switches from the parent, r=kmag
This flips the direction in which the BrowserBridge actor is generally created
such that it is generally created in the parent and sent down to a child
process.

This is done by making the decision about what kind of switch to perform in the
parent, and sending messages down to child processes async to orchestrate these
process changes.

Process launching is changed to use an async `MozPromise`-returning API in this
patch, though the actual process launching still occurs synchronously. A future
patch will enable performing async process launching through the
NewOrUsedBrowserProcess mechanism.

I know of at least a few timing issues which exist with the new logic,
especially around the state of the BrowsingContext during the process
transition. I decided to not try to fix all of these issues in this patch, as
many are complex and will require changing how we manage the lifecycle of
BrowsingContext substantially. I do, however, think that the new logic is more
reliable and has fewer timing issues than the previous logic.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:24 +00:00
Nika Layzell 7b1c569d54 Bug 1576714 - Part 2: Remove mIPCOpen from PBrowserBridge actors, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47309

--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:22 +00:00
Nika Layzell 6131a7ef18 Bug 1576714 - Part 1: Move BBC initialization into BrowserBridgeChild, r=kmag
This is useful in part 3, where the initialization will need to be called from
multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:20 +00:00
Brindusan Cristian 950e03660b Backed out 6 changesets (bug 1576714) for build bustages at nsFrameLoaderOwner.cpp. CLOSED TREE
Backed out changeset 083967e704d2 (bug 1576714)
Backed out changeset b3467f1bdde7 (bug 1576714)
Backed out changeset 88e3b4b7fbaf (bug 1576714)
Backed out changeset b91221da32c7 (bug 1576714)
Backed out changeset 6996b7705f06 (bug 1576714)
Backed out changeset a303fc193f60 (bug 1576714)
2019-10-02 04:14:53 +03:00
Nika Layzell f55d088ec3 Bug 1576714 - Part 3: Initiate subframe process switches from the parent, r=kmag
This flips the direction in which the BrowserBridge actor is generally created
such that it is generally created in the parent and sent down to a child
process.

This is done by making the decision about what kind of switch to perform in the
parent, and sending messages down to child processes async to orchestrate these
process changes.

Process launching is changed to use an async `MozPromise`-returning API in this
patch, though the actual process launching still occurs synchronously. A future
patch will enable performing async process launching through the
NewOrUsedBrowserProcess mechanism.

I know of at least a few timing issues which exist with the new logic,
especially around the state of the BrowsingContext during the process
transition. I decided to not try to fix all of these issues in this patch, as
many are complex and will require changing how we manage the lifecycle of
BrowsingContext substantially. I do, however, think that the new logic is more
reliable and has fewer timing issues than the previous logic.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 18:09:03 +00:00
Nika Layzell b0d4c1a661 Bug 1576714 - Part 2: Remove mIPCOpen from PBrowserBridge actors, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47309

--HG--
extra : moz-landing-system : lando
2019-10-01 18:09:01 +00:00
Nika Layzell df7f3d2a70 Bug 1576714 - Part 1: Move BBC initialization into BrowserBridgeChild, r=kmag
This is useful in part 3, where the initialization will need to be called from
multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 18:08:59 +00:00
Brindusan Cristian 35cc00a25c Backed out 2 changesets (bug 1581925) for devtools failures at browser_toolbox_textbox_context_menu.js. CLOSED TREE
Backed out changeset f79a5830bfef (bug 1581925)
Backed out changeset 2e3b0b1cebea (bug 1581925)
2019-10-02 03:04:43 +03:00
Nika Layzell e549d2cdb8 Bug 1581925 - Part 1: Capture parent process JSWindowActor events at InProcessBrowserChildMessageManager, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46864

--HG--
extra : moz-landing-system : lando
2019-09-26 21:09:34 +00:00
Gabriele Svelto 10d41866a5 Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47678

--HG--
extra : moz-landing-system : lando
2019-09-30 22:06:47 +00:00
Brian Grinstead 1e13189ecb Bug 1584303 - Replace <xul:textbox> with <html:input> in dom/ipc/test.xul;r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47330

--HG--
extra : moz-landing-system : lando
2019-09-30 19:31:56 +00:00
DimiL bb84e08de3 Bug 1580416 - P1. Use a different fragment method when the URI is a pairwiseWhitelistedURI. r=Ehsan
This patch does the following to support matching a whitelisted URI when
its domain is eTLD+1:

1. add an URIType to indicate whether a URI is generated by
   UrlClassifierCommoon::CreatePairwiseWhiteListURI(), which crafts a
   whitelist URL like "toplevel.page/?resource=third.party.domain"

2. call LookupCache::GetLookupWhitelistFragments() if URIType is
   nsIUrlClassifierFeature::pairwiseWhitelistedURI before initiating
   a lookup.

3. implement LookupCache::GetLookupWhitelistFragments() which creates
   an additional fragment by removing the leading component of
   third.party.domain

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

--HG--
extra : moz-landing-system : lando
2019-09-27 13:22:18 +00:00
Cosmin Sabou 14938bad3b Backed out 10 changesets (bug 1550108) for causing build bustages on StartupCache.cpp.
Backed out changeset cbadfa2bbd7e (bug 1550108)
Backed out changeset 2560f0ab6ebf (bug 1550108)
Backed out changeset 0a1fa8d8bb3c (bug 1550108)
Backed out changeset 62416909cf67 (bug 1550108)
Backed out changeset 60991713b1e2 (bug 1550108)
Backed out changeset f950e30afd90 (bug 1550108)
Backed out changeset e63d0a1fec38 (bug 1550108)
Backed out changeset 7a009d42e7e7 (bug 1550108)
Backed out changeset 395affa4c205 (bug 1550108)
Backed out changeset 0fd41e9dbd2a (bug 1550108)

--HG--
rename : mfbt/lz4/lz4.c => mfbt/lz4.c
rename : mfbt/lz4/lz4.h => mfbt/lz4.h
2019-09-29 01:14:31 +03:00
Doug Thayer 076597dbc2 Bug 1550108 - Split out Input/OutputBuffer into their own file r=froydnj
This just splits out the InputBuffer and OutputBuffer helper classes
to make it cleaner for the StartupCache to include them.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 22:15:35 +00:00
Andrew McCreight 470ee2aab6 Bug 1579835, part 2 - Add mozilla::dom::IsWebRemoteType. r=nika
This is the equivalent to E10SUtils.isWebRemoteType, except for C++.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 21:09:40 +00:00
Emilio Cobos Álvarez 69d84b1151 Bug 1582042 - Remove nsIRemoteTab.forceRepaint(). r=mconley
It's useless if the tab is already visible (i.e., has renderLayers=true), per
the previous patches, and that's the only point at which it gets called.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 22:11:50 +00:00
Emilio Cobos Álvarez fa6f012317 Bug 1582042 - Remove useless threading of aForceRepaint around various IPC messages. r=mconley
aForceRepaint wasn't doing what it claimed to do at all, as we've recently
learned. In current mozilla-central:

 * All those arguments ended up in a RecvRenderLayers with aForceRepaint = true
   (so far so good, that's expected).

 * But it was ignored (so that aForceRepaint is always true to calls to
   MakeVisible) from UpdateVisibility:

https://searchfox.org/mozilla-central/rev/f43ae7e1c43a4a940b658381157a6ea6c5a185c1/dom/ipc/BrowserChild.cpp#2523

 * Plus that argument only does anything useful on current central if we get to
   the end of MakeVisible(true). And MakeVisible() early returns if already
   visible.

So all in all this seems somewhat useless, and nobody has complained about such
a thing in a long time.

It seemed to do what it promised when it was introduced in
https://hg.mozilla.org/mozilla-central/rev/27f6f789b194, but it seems the
refactoring in https://hg.mozilla.org/mozilla-central/rev/4df5fa6fa785 broke it.

I think the new setup is somewhat easier to reason about, and nobody seems to be
missing that.

I'll try to remove the forceRepaint() call itself on a follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 22:11:17 +00:00
Emilio Cobos Álvarez 35f576f36b Bug 1582042 - Use DocShell::SetIsActive from BrowserChild::MakeVisible for non top-level browsers. r=mconley,rhunt
That is, for fission iframes. For top level stuff we rely on the tab switcher
going through SetDocShellIsActive and such.

See the expanded comment as for why. Ideally we could simplify this further by
not making RecvRenderLayers update the visibility (which spins the refresh
driver and such).

It's a bit suspect because it's very easy to get to an inconsistent state if the
browser chrome does something wrong.

I'll try to do that, but for now this should improve the fission situation
anyway.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 13:11:51 +00:00
Nika Layzell 08192838cd Bug 1582237 - Expose embedder inner window ID on BrowsingContext in all processes, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D46802

--HG--
extra : moz-landing-system : lando
2019-09-26 16:16:32 +00:00
thomasmo ab2f648351 Bug 1581855:Part 2 - Present VR output to VR Host r=kip,jrmuizel,sotaro,bryce
This change is a continuation of Part 1 (Bug 1570128), where the 2D content rendered by Firefox for Firefox Reality on Desktop is marshalled through VRHost so that it can be presented in a VR environment.
A new class, FxrOutputHandler, is created to manage creating a sharable texture, sharing it through VRShMem, and updating it when content updates. This class updates content with both WebRender and conventional rendering output.
This initial iteration of FxrOutputHandler does not have synchronization between reading and writing this shared texture across processes. A subsequent fix (Bug 1581881) is pending, which will reuse WebVR code to manage writing to and reading from a pool of textures.
This also presents issues with rendering protected media, so an additional class, FxrWindowManager, is created to manage all windows created for Firefox Reality on Desktop so that it can inform whether or not protected media can be presented.
The automated manual tests in vrhosttest.cpp now show the real shared texture handle rather than a fake value, which shows that marshaling succeeded.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 12:50:44 +00:00
Tom Tung be1286818d Bug 1562663 - P4a - Deny sharing memery by default for DataClonePolicy; r=nika,lth
Differential Revision: https://phabricator.services.mozilla.com/D45187

--HG--
extra : moz-landing-system : lando
2019-09-26 13:27:25 +00:00
Ciure Andrei f4b3bef121 Backed out changeset 70f93c9956fc (bug 1581855) for Windows MinGW build bustages CLOSED TREE 2019-09-26 06:42:46 +03:00
thomasmo f054c8db61 Bug 1581855:Part 2 - Present VR output to VR Host r=kip,jrmuizel,sotaro,bryce
This change is a continuation of Part 1 (Bug 1570128), where the 2D content rendered by Firefox for Firefox Reality on Desktop is marshalled through VRHost so that it can be presented in a VR environment.
A new class, FxrOutputHandler, is created to manage creating a sharable texture, sharing it through VRShMem, and updating it when content updates. This class updates content with both WebRender and conventional rendering output.
This initial iteration of FxrOutputHandler does not have synchronization between reading and writing this shared texture across processes. A subsequent fix (Bug 1581881) is pending, which will reuse WebVR code to manage writing to and reading from a pool of textures.
This also presents issues with rendering protected media, so an additional class, FxrWindowManager, is created to manage all windows created for Firefox Reality on Desktop so that it can inform whether or not protected media can be presented.
The automated manual tests in vrhosttest.cpp now show the real shared texture handle rather than a fake value, which shows that marshaling succeeded.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 01:18:58 +00:00
Junior Hsu 173804c32c Bug 1574000 - Obtain COOP only over a secure context r=nika,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D42046

--HG--
extra : moz-landing-system : lando
2019-09-25 00:39:17 +00:00
Bogdan Tara 9adecce6d4 Backed out changeset ac6d8297cdc4 (bug 1581925) for test_bug89419.xul & test_MozDomFullscreen_event.xul failures CLOSED TREE 2019-09-24 21:56:18 +03:00
Andrew McCreight 115532cdce Bug 1571223 - Sprinkle around some RefPtrs in ContentParent.cpp. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D42735

--HG--
extra : moz-landing-system : lando
2019-09-24 17:25:58 +00:00
Nika Layzell e71f3992f5 Bug 1581925 - Capture parent process JSWindowActor events at InProcessBrowserChildMessageManager, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46864

--HG--
extra : moz-landing-system : lando
2019-09-23 22:31:05 +00:00
Agi Sferro ffdab47977 Bug 1583378 - Remove unneded warning in do_QueryActor. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46870

--HG--
extra : moz-landing-system : lando
2019-09-23 22:32:37 +00:00
Emilio Cobos Álvarez 2e05768081 Bug 1578379 - Make pageshow / pagehide during frame loader swaps not mess with document visibility. r=bzbarsky
Also while doing it:

 * Ensure activity observers get notified after visibility is computed already.
This is how we notify all other activity observers already, and we are
double-notifying in the case we actually get a page show _and_ a visibility
change, but this is a pre-existing problem.

 * Remove special-cases for InFrameSwap() from MediaRecorder. Now that pagehide
doesn't mess up with our visibility state the regular check just works. I
ensured I didn't regress bug 1444541.

 * Had to fix a UITour test that relied on the visibility changing back and
forth for the detached tab. It seems there's no real place in UITour that
listens to that event so we should be good.

 * Added tests, verifying that they both fail without the patch.

After this we can remove nsDocShell::InFrameSwap(), as the only caller is the
assertion, but I wanted to keep it regardless, at least for now, until this
patch has been in for a bit.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 10:16:44 +00:00
Bogdan Tara 8675cadd18 Backed out changeset d984fd004e7e (bug 1578379) for ES lint failure on browser_tab_replace_while_loading.js CLOSED TREE 2019-09-23 13:00:56 +03:00
Emilio Cobos Álvarez 10fa3b178f Bug 1578379 - Make pageshow / pagehide during frame loader swaps not mess with document visibility. r=bzbarsky
Also while doing it:

 * Ensure activity observers get notified after visibility is computed already.
This is how we notify all other activity observers already, and we are
double-notifying in the case we actually get a page show _and_ a visibility
change, but this is a pre-existing problem.

 * Remove special-cases for InFrameSwap() from MediaRecorder. Now that pagehide
doesn't mess up with our visibility state the regular check just works. I
ensured I didn't regress bug 1444541.

 * Had to fix a UITour test that relied on the visibility changing back and
forth for the detached tab. It seems there's no real place in UITour that
listens to that event so we should be good.

 * Added tests, verifying that they both fail without the patch.

After this we can remove nsDocShell::InFrameSwap(), as the only caller is the
assertion, but I wanted to keep it regardless, at least for now, until this
patch has been in for a bit.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 09:36:59 +00:00
Daniel Varga 153feabebc Bug 1544147 - disable test_process_error.xul for frequent failures on linux64-qr. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D46599

--HG--
extra : moz-landing-system : lando
2019-09-20 17:06:40 +00:00
Jean-Yves Avenard 7cdc8e0a68 Bug 1575744 - P7. Promisify SendCrossProcessRedirect to avoid needing PHttpChannel to get a response. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D46163

--HG--
extra : moz-landing-system : lando
2019-09-21 11:14:49 +00:00
arthur.iakab b6a627c094 Merge inbound to mozilla-central. a=merge
--HG--
extra : amend_source : 39c72a7f01f9afa5abf7587d732d1e63969cc9da
2019-09-21 13:00:40 +03:00
Kris Maglione 685d91c901 Bug 1553804: Part 6 - Fix chrome mochitests which open chrome windows with content openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45828

MANUAL PUSH: Cannot update reopened Phabricator revisions.

--HG--
extra : source : 86b3d469b4ff9f22e5757f83450b956a4c769785
extra : histedit_source : 2bf945343632b15eb79cf6b2ddd3ce097ddf70de%2Caec93d9f11bc1c802b63793cd5818530b64e9b4b
2019-09-20 10:18:15 -07:00
Edgar Chen 6fd87e8695 Bug 1578355 - Part 2: Introduce UserActivation::State; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45344

--HG--
extra : moz-landing-system : lando
2019-09-20 11:10:13 +00:00
Edgar Chen 5bc0854d2b Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45168

--HG--
extra : moz-landing-system : lando
2019-09-20 20:51:25 +00:00
Kris Maglione 847fce5501 Bug 1582523: Part 1 - Actually block document load event during OOP frame loads. r=nika
This fixes both our failure to register load blockers for remote frames and
our failure to keep the load event blocked during frameloader rebuilding on
remoteness change.

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

--HG--
extra : source : dff7756afe8ede1e03d775ec4999d4807d82c1da
extra : histedit_source : b02eae2b652683ef17be3e0ff6a908b4bec311f5%2Cc62c8e5e4ca066f8f526a81a9aae0feeb84326a5
2019-09-19 11:45:36 -07:00
Agi Sferro 731917effd Bug 1570115 - Allow Actors to implement WebBrowserChrome. r=kmag,snorp
Differential Revision: https://phabricator.services.mozilla.com/D44052

--HG--
extra : moz-landing-system : lando
2019-09-20 18:15:18 +00:00
Agi Sferro 3a3968887a Bug 1570115 - Add do_QueryActor to query JS-implemented interfaces. r=kmag
This allows querying an actor for interfaces implemented in JS.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 18:01:07 +00:00
Daniel Varga bc19cdb06d Backed out 3 changesets (bug 1578355) for build bustage at build/src/dom/base/nsSyncLoadService.h:48:21. On a CLOSED TREE
Backed out changeset d50ad759f129 (bug 1578355)
Backed out changeset 339ab54ca471 (bug 1578355)
Backed out changeset 284299dac42c (bug 1578355)
2019-09-20 14:05:12 +03:00
Edgar Chen d2f9c11eb5 Bug 1578355 - Part 2: Introduce UserActivation::State; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45344

--HG--
extra : moz-landing-system : lando
2019-09-20 10:31:57 +00:00
Edgar Chen 5b6fe53148 Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45168

--HG--
extra : moz-landing-system : lando
2019-09-20 10:31:55 +00:00
Botond Ballo a61744ca91 Bug 1564195 - Group the results of APZInputBridge::ReceiveInputEvent() into a struct. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D46376

--HG--
extra : moz-landing-system : lando
2019-09-19 02:45:21 +00:00
Jonathan Watt d88a4a0a4b Bug 1559841. Make the 'load' event wait for OOP-iframes to load. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D41953

--HG--
extra : moz-landing-system : lando
2019-09-19 00:00:44 +00:00
Noemi Erli 76ab96731c Merge inbound to mozilla-central. a=merge 2019-09-19 00:50:29 +03:00
Kris Maglione 1620380489 Bug 1581548: Handle new BrowsingContexts becoming discarded during nested event loop. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D46088

MANUAL PUSH: Cannot update reopened Phabricator revisions.

--HG--
extra : source : dc7ef690b396293d0b75469bb9731dce9bfe5c92
extra : amend_source : 7a3986333d5c357e6104fe05c8c901543f0e35eb
2019-09-17 22:19:50 +00:00
Matt Woodrow b8226cf581 Bug 1546022 - Activate mouse over state for new BrowserParents. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44413

--HG--
extra : moz-landing-system : lando
2019-09-18 02:06:32 +00:00
Matt Woodrow 097e29a589 Bug 1579765 - Don't overwrite redirect timings when we convert DocumentChannel to a real channel. r=mayhemer
DocumentChannel doesn't use the REDIRECT_INTERNAL flag when replacing itself with a real channel if there has been a real redirect handled in the parent.
This is so that the docshell knows about the URI change, and to add history entries.
The timing data however always wanted to be treated as an internal redirect, so that we don't record a new 'redirectEnd' at the time of the switch.
This adds a new parameter to ConfigureReplacementChannel so that we can more accurately describe the behaviour we need.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 07:22:32 +00:00
Matt Woodrow ff552dee87 Bug 1579765 - Move upload stream handling into ReplacementChannelConfig so that it gets applied to DocumentChannel as well as normal HTTP redirects. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D45146

--HG--
extra : moz-landing-system : lando
2019-09-16 07:25:18 +00:00
Mike Conley a4df7349e3 Bug 1580848 - Clean up some review feedback on the browser_crash_oopiframe.js test. r=kmag
* The test first asserts that we can actually load iframes in separate subprocesses
* The test now loads in a new tab rather than a new window
* The test no longer uses the "fission" attribute
* The test avoids the BrowsingContext.get pattern, in favour of just passing the
  BrowsingContext from one actor to the other directly.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 09:16:19 +00:00
John Dai da2a2940ad Bug 1580907 - Remove transferables attribute for SendAsyncMessage and SendQuery in JSWindowActor; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45809

--HG--
extra : moz-landing-system : lando
2019-09-13 16:51:23 +00:00
Andreea Pavel 3a05650c79 Backed out changeset dc7ef690b396 (bug 1581548) for failing /test_window_open_discarded_bc.html on a CLOSED TREE 2019-09-18 09:50:31 +03:00
Oana Pop Rus 1f0c49ab12 Backed out changeset 3a49482c8210 (bug 1546022) for build bustage in nsFrameLoaderOwner.cpp on a CLOSED TREE 2019-09-18 04:22:40 +03:00
Kris Maglione 4b25ed5432 Bug 1581548: Handle new BrowsingContexts becoming discarded during nested event loop. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D46088

--HG--
extra : moz-landing-system : lando
2019-09-17 22:19:50 +00:00
Matt Woodrow 68f7f6bf05 Bug 1546022 - Activate mouse over state for new BrowserParents. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44413

--HG--
extra : moz-landing-system : lando
2019-09-17 14:22:40 +00:00
John Dai 2707a05984 Bug 1579218 - Fix JSWindowActorProtocol::Matches() doesn't properly handle webIsolated remote types; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45535

--HG--
extra : moz-landing-system : lando
2019-09-13 09:51:34 +00:00
Boris Zbarsky 5d31299907 Bug 1578173 part 2. Convert chrome-webidl bits to constructor operations. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45389

--HG--
extra : moz-landing-system : lando
2019-09-11 20:55:26 +00:00
Nika Layzell f103e26834 Bug 1579213 - Remove unused fields from ChangeRemoteness API, r=farre
This patch changes a few things about how nsFrameLoader is created, specifically
around the ChangeRemoteness API.

1. The private 'nsFrameLoader::nsFrameLoader' constructor has been simplified to
   only have one overload, shared by the different `::Create` static methods.

2. The creation static method used by `ChangeRemoteness` has changed name to
   `::Recreate`, as the signature is becoming more like the old method.

3. The `mNetworkCreated` bit is preserved when doing a `ChangeRemoteness`, as a
   remoteness change shouldn't be affecting that property.

4. Unused fields are removed from the ChangeRemoteness API.

5. The `remoteType` attribute is now mandatory in the ChangeRemoteness API,
   which simplifies the logic and makes it harder to accidentally misuse.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 08:09:58 +00:00
Mike Conley 69618b0d2e Bug 1579716 - Disable OOP subframe crash test when Fission is not enabled. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D45594

--HG--
extra : moz-landing-system : lando
2019-09-12 07:54:48 +00:00
Hiroyuki Ikezoe f61192f0f0 Bug 1541705 - Notify areas of out-of-process subframes from the compositor to the corresponding process. r=botond
Note that the areas are clipped out by all ancestor scroll ports and
their coordinate systems are the screen coordinate.  So that we can tell
arbitrary elements in out-of-process iframes are scrolled out or not with
this area and the transform matrix of the iframe on screen coodinate.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 08:08:45 +00:00
Andrew McCreight a777ff11b6 Bug 1579897 - Make webIsolated= processes work in about:support. r=mconley,fluent-reviewers,flod
Remove the URLs so they can have a translated string in about:support.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 06:50:45 +00:00
Jonathan Kew 013da1e4e0 Bug 1577578 - Make font-list IPC messages include a release assertion that the gfxPlatformFontList has been initialized. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D45340

--HG--
extra : moz-landing-system : lando
2019-09-10 15:58:40 +00:00
Paul Zuehlcke 00119452fc Bug 1574480 - Updated browser.js and OfflineAppsChild.jsm to use PermissionManager principal methods. r=johannh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D42620

--HG--
extra : moz-landing-system : lando
2019-09-10 10:57:07 +00:00
Kris Maglione 165096efe5 Bug 1579820 - Handle window.open() from remote subframes. r=nika
The CommonCreateWindow code requires having a BrowserHost for the tab that's
creating the window, which it tries to get from the requestor's BrowserParent.
For remote BrowserParents, though, there is no BrowserHost, so we need to get
it from the top-level embedder instead.

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

--HG--
extra : moz-landing-system : lando
2019-09-10 09:04:17 +00:00
Brindusan Cristian 59aed5845a Backed out changeset 493061169650 (bug 1529591) for build bustages on nsGeolocation.cpp. CLOSED TREE 2019-09-09 17:35:39 +03:00
Alphan Chen cc2cf9eb99 Bug 1578296 - TabListener is only for contentSessionStore on FF desktop r=peterv
Don't need TabListener on Thunderbird

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

--HG--
extra : moz-landing-system : lando
2019-09-09 13:49:27 +00:00
Garvan Keeley 6036e744d1 Bug 1529591 - Check Mac system geo permission prior to showing request permission dialog. Differential Revision: https://phabricator.services.mozilla.com/D44881 r=jdm
Differential Revision: https://phabricator.services.mozilla.com/D45052

--HG--
extra : moz-landing-system : lando
2019-09-06 22:35:59 +00:00
Kris Maglione e561c0f595 Bug 1542415: Part 2 - Treat in-flight messages from incorrect owner as warnings. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D44736

--HG--
extra : moz-landing-system : lando
2019-09-09 11:50:35 +00:00
Kris Maglione f61a7d3c71 Bug 1542415: Part 1 - Move BrowsingContext ownership checks into a common helper method. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D44735

--HG--
extra : moz-landing-system : lando
2019-09-09 11:50:28 +00:00
Andreas Farre 03d84c8a6e Bug 1577129 - Handle BrowsingContext subframe crashing removals. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D44365

--HG--
extra : moz-landing-system : lando
2019-09-09 09:56:43 +00:00
Mike Conley 43a586d471 Bug 1566196 - Enable subframe crashing regression test. r=layely
The test originally assumed that the BrowsingContext for the crashing
frame would get destroyed and replaced with a new one. Having read through
some of bug 1563619 though, it looks as if we preserve the BrowsingContext
after the subframe crashes, so I've modified the test to skip that check.

It also looks like we have to wait until the WindowGlobalParent is created
asynchronously from the about:blank load that's initiated in the content
process before we can query the subframe for its current location, so
I've added a waitForCondition for that.

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

--HG--
extra : moz-landing-system : lando
2019-09-07 17:03:39 +00:00
Brindusan Cristian 1b00e04863 Backed out 2 changesets (bug 1566196) for bc failures in CTypes.cpp. CLOSED TREE
Backed out changeset eaf4a3284f00 (bug 1566196)
Backed out changeset 2de26156c571 (bug 1566196)
2019-09-07 02:28:58 +03:00
Mike Conley e069b70a33 Bug 1566196 - Enable subframe crashing regression test. r=layely
The test originally assumed that the BrowsingContext for the crashing
frame would get destroyed and replaced with a new one. Having read through
some of bug 1563619 though, it looks as if we preserve the BrowsingContext
after the subframe crashes, so I've modified the test to skip that check.

It also looks like we have to wait until the WindowGlobalParent is created
asynchronously from the about:blank load that's initiated in the content
process before we can query the subframe for its current location, so
I've added a waitForCondition for that.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 20:40:15 +00:00
Nika Layzell ff18afeafd Bug 1562029 - Remove fission.oopif.attribute support, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D44859

--HG--
extra : moz-landing-system : lando
2019-09-06 14:45:51 +00:00
Nika Layzell db13e103ae Bug 1579121 - Remove nested content process code from ContentParent::NotifyTabDestroying, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44850

--HG--
extra : moz-landing-system : lando
2019-09-05 20:44:42 +00:00
Coroiu Cristina 9683a17a37 Backed out changeset d2867a062f45 (bug 1574480) for browser-chrome failures at browser/base/content/test/general/browser_offlineQuotaNotification.js on a CLOSED TREE 2019-09-05 18:38:42 +03:00
Paul Zuehlcke 99bfbf1328 Bug 1574480 - Updated browser.js and OfflineAppsChild.jsm to use PermissionManager principal methods. r=johannh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D42620

--HG--
extra : moz-landing-system : lando
2019-09-05 13:37:55 +00:00
Matt Woodrow b1aa62197e Bug 1556489 - P10. Pass PostData and Headers at DocShell creation time. r=nika,farre
Differential Revision: https://phabricator.services.mozilla.com/D40967
2019-09-03 10:19:27 +10:00
Jean-Yves Avenard de650bb217 Bug 1556489 - P2. Use ReplacementChannelConfig across HttpChannelParent and ContentChild. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D40960
2019-09-03 09:49:46 +10:00
Jean-Yves Avenard cc07990908 Bug 1556489 - P1. Introduce ReplacementChannelConfig. r=mayhemer
This class allows to encapsulate all the information required in order to create a new HttpChannel object following a redirect.

Differential Revision: https://phabricator.services.mozilla.com/D40959
2019-09-03 09:47:17 +10:00
Alphan Chen 9fceaaa7ff Bug 1549975 - Implement SessionStorageListener for contentSessionStore in C++ r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D36493

--HG--
extra : moz-landing-system : lando
2019-08-27 14:47:27 +00:00
Dorel Luca e8f334670d Merge mozilla-inbound to mozilla-central. a=merge 2019-08-31 12:47:56 +03:00
Brad Werth 885d6ecdc2 Bug 1572840 Part 4: Change nsGlobalWindowOuter::GetRDMDeviceSize to divide out full zoom levels. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D43716

--HG--
extra : moz-landing-system : lando
2019-08-30 18:45:29 +00:00