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

1196 Коммитов

Автор SHA1 Сообщение Дата
Brendan Dahl 3eb48da3d2 Bug 1596709 - Move special chrome root element handling to an observer. r=smaug
Enables any type of document to use the special root element attributes
currently used by XUL <window>.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 22:39:48 +00: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
Narcis Beleuzu d216929bfc Backed out changeset 25246ff84740 (bug 1596709) as per Mossop req. a=backout 2019-11-23 17:06:44 +02:00
Brendan Dahl e433d5cfce Bug 1596709 - Move special chrome root element handling to an observer. r=smaug
Enables any type of document to use the special root element attributes
currently used by XUL <window>.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 21:25:55 +00:00
Emilio Cobos Álvarez ddad5ae430 Bug 1596800 - Remove document.getAnonymousNodes as well. r=smaug
As it always returns null.

Depends on D53342

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

--HG--
extra : moz-landing-system : lando
2019-11-18 19:15:16 +00:00
Emilio Cobos Álvarez 31001a6ef8 Bug 1596506 - Remove special-case for <xul:label> accesskey. r=smaug
We don't have any NAC which is a <xul:label>. We could keep it for shadow dom but it
doesn't seem to me like this code is working correctly.

nsXULLabelFrame::RegUnregAccessKey doesn't have similar code, and uses the
<label> node to register / unregister.

Finally, we do have non-anon labels, and those would be broken... So just
remove the special-case.

Depends on D53058

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

--HG--
extra : moz-landing-system : lando
2019-11-14 22:03:00 +00:00
Emilio Cobos Álvarez 7b02559d06 Bug 1596506 - Remove GetBindingParent usage from nsXULElement::BindToTree. r=smaug
This is technically a behavior change, but the current thing is more correct
anyways, IMO, and it's only a warning in any case.

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

--HG--
extra : moz-landing-system : lando
2019-11-14 20:55:01 +00:00
Emilio Cobos Álvarez 32fdd189d1 Bug 1596199 - Devirtualize GetBindingParent. r=bzbarsky
The amount of XUL elements with non-null binding-parent pointer should be
equivalent to HTML now that XBL is gone.

Shadow DOM already has the extended slots for both the binding parent and
containing shadow root.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 20:35:15 +00:00
Kris Maglione 76544eef8a Bug 1571066: Return WindowProxyHolder from nsDocShell::GetWindowProxy. r=peterv
Returning BrowsingContext* from these sorts of getters tends to lead to
misuse. WindowProxyHolder is the semantically correct type to return here, in
any case.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 08:32:09 +00:00
Brendan Dahl a3a9d09976 Bug 1492582 - Don't create scroll frames for windows that don't need them. r=emilio
When browser.xhtml switches to an <html> root element, the frame structure
changed and caused performance regressions on talos for tart and tresize.
browser.xhtml doesn't need scrolling, so we can disable it and keep performance
on par with XUL <window>.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 23:34:08 +00:00
Noemi Erli f4d989ef82 Backed out 7 changesets (bug 1492582) for causing ss mochitest failures CLOSED TREE
Backed out changeset 1484255e5f4d (bug 1492582)
Backed out changeset bbf62ef50e52 (bug 1492582)
Backed out changeset 836724d3860e (bug 1492582)
Backed out changeset 5efddfd196b5 (bug 1492582)
Backed out changeset d4be1aa8cdb6 (bug 1492582)
Backed out changeset f05dfbeff17b (bug 1492582)
Backed out changeset e0e56a195659 (bug 1492582)

--HG--
extra : rebase_source : 913c432be684629992a773dc3e4e233141bc3061
2019-11-07 21:51:46 +02:00
Brendan Dahl 8b82bb6134 Bug 1492582 - Don't create scroll frames for windows that don't need them. r=emilio
When browser.xhtml switches to an <html> root element, the frame structure
changed and caused performance regressions on talos for tart and tresize.
browser.xhtml doesn't need scrolling, so we can disable it and keep performance
on par with XUL <window>.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 16:21:23 +00:00
Brian Grinstead d981495450 Bug 1593119 - Remove dom/xbl and the MOZ_XBL build option r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D51338

--HG--
extra : moz-landing-system : lando
2019-11-07 00:35:32 +00:00
Brian Grinstead 8e592888cb Bug 1593119 - clang-format the files affected by the MOZ_XBL unifdef r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D52057

--HG--
extra : moz-landing-system : lando
2019-11-07 00:35:25 +00:00
Brian Grinstead f19f38776b Bug 1593119 - unifdef MOZ_XBL r=bzbarsky
This was generated with:

```
rg -l -g '*.{cpp,h}' MOZ_XBL . | while read FILE ; do
   echo $FILE
   unifdef -m -UMOZ_XBL $FILE
done
```

After this, I manually removed the directive in nsContentUtils.cpp due to:

  unifdef: ./dom/base/nsContentUtils.cpp: 4630: Unterminated string literal
  unifdef: Output may be truncated

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

--HG--
extra : moz-landing-system : lando
2019-11-07 00:35:13 +00:00
Mirko Brodesser b2de103bf9 Bug 1593222: part 12) Rename "nsNodeUtils.*" to "MutationObservers.*". r=smaug
Depends on D51827

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

--HG--
rename : dom/base/nsNodeUtils.cpp => dom/base/MutationObservers.cpp
rename : dom/base/nsNodeUtils.h => dom/base/MutationObservers.h
extra : moz-landing-system : lando
2019-11-06 09:08:06 +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
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
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
Edgar Chen acd2114113 Bug 1580491 - Use Element::HasNonEmptyAttr in various places; r=bzbarsky
This was done by reviewing the results of
https://searchfox.org/mozilla-central/search?q=%2F*GetAttr%5C(.%2B(%26%26%7C%5C%7C%5C%7C)&case=true&regexp=true
one by one and replacing them with Element::HasNonEmptyAttr if possible.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 15:24:25 +00:00
Brian Grinstead ec30cc58df Bug 1587142 - Remove most XBL tests in dom/ r=bzbarsky
The following tests are not removed and need to be ported to Shadow DOM:
- test_bug330925.xhtml
- test_bug372086.html
- test_bug319374.xhtml

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

--HG--
extra : moz-landing-system : lando
2019-10-25 22:38:08 +00:00
Brendan Dahl b774381431 Bug 1590044 - Fix root HTML element attribute persistence. r=smaug
Attribute persistence for root elements should be handled by nsXULWindow,
not XULPersist. This was causing browser.xhtml with an <html> root to be
slightly smaller on each new window during the test
"open-features-non-integer-height.html."

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

--HG--
extra : moz-landing-system : lando
2019-10-25 20:14:25 +00:00
Tim Nguyen 5ee02697cf Bug 1590903 - Remove support for XUL <text> element. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D50368

--HG--
extra : moz-landing-system : lando
2019-10-24 06:23:10 +00:00
Brendan Dahl 48a59e061b Bug 1583314 - Skip or port XBL tests to shadow DOM. r=bzbarsky
Where possible I ported tests to use the shadow DOM. The following could
potentially be ported, but don't think it worth of it:
  test_bug414907.xul - uses children nodes in constructor which is very
different in shadow DOM world
  test_bug233643.xul - really tests XBL behavior
  test_anonymous_content.py - bug on file already to create shadow DOM
test from scratch

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

--HG--
rename : devtools/client/inspector/test/browser_inspector_highlighter-xbl.js => devtools/client/inspector/test/browser_inspector_highlighter-custom-element.js
extra : moz-landing-system : lando
2019-10-21 20:21:20 +00:00
Tim Nguyen 79c7f01c56 Bug 1588066 - Remove remaining references to textbox. r=surkov,emilio,webdriver-reviewers,bgrins,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D48958

--HG--
extra : moz-landing-system : lando
2019-10-14 07:41:35 +00:00
Tim Nguyen 822add064c Bug 1513325 - Remove textbox binding. r=emilio,dao
Differential Revision: https://phabricator.services.mozilla.com/D38955

--HG--
extra : moz-landing-system : lando
2019-10-09 09:27:28 +00:00
Brendan Dahl 237d762715 Bug 1510785 - Skip all XBL related tests when XBL is disabled. r=bzbarsky
XBL will be disabled on android, so these tests must be skipped. Where possible
tests are copied to create shadow DOM tests.

Depends on D45615

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

--HG--
rename : layout/inspector/tests/test_bug522601.xhtml => layout/inspector/tests/test_bug522601-shadow.xhtml
rename : layout/inspector/tests/test_bug609549.xhtml => layout/inspector/tests/test_bug609549-shadow.xhtml
rename : layout/reftests/bugs/334829-1a.xhtml => layout/reftests/bugs/334829-1a-shadow.xhtml
rename : layout/reftests/bugs/334829-1b.xhtml => layout/reftests/bugs/334829-1b-shadow.xhtml
rename : layout/reftests/bugs/386310-1b.html => layout/reftests/bugs/386310-1b-shadow.html
rename : layout/reftests/bugs/386310-1c.html => layout/reftests/bugs/386310-1c-shadow.html
rename : layout/reftests/bugs/386310-1d.html => layout/reftests/bugs/386310-1d-shadow.html
rename : layout/reftests/bugs/482592-1a.xhtml => layout/reftests/bugs/482592-1a-shadow.xhtml
rename : layout/reftests/bugs/482592-1b.xhtml => layout/reftests/bugs/482592-1b-shadow.xhtml
rename : layout/reftests/css-selectors/sibling-combinators-on-anon-content-1.xhtml => layout/reftests/css-selectors/sibling-combinators-on-anon-content-1-shadow.xhtml
rename : layout/reftests/css-selectors/sibling-combinators-on-anon-content-2.xhtml => layout/reftests/css-selectors/sibling-combinators-on-anon-content-2-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-appendmultiple.xhtml => layout/reftests/dom/multipleinsertionpoints-appendmultiple-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-appendsingle-1.xhtml => layout/reftests/dom/multipleinsertionpoints-appendsingle-1-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-appendsingle-2.xhtml => layout/reftests/dom/multipleinsertionpoints-appendsingle-2-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-insertmultiple.xhtml => layout/reftests/dom/multipleinsertionpoints-insertmultiple-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-insertsingle-1.xhtml => layout/reftests/dom/multipleinsertionpoints-insertsingle-1-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-insertsingle-2.xhtml => layout/reftests/dom/multipleinsertionpoints-insertsingle-2-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-ref2.xhtml => layout/reftests/dom/multipleinsertionpoints-ref2-shadow.xhtml
rename : layout/reftests/ib-split/insert-into-split-inline-5.html => layout/reftests/ib-split/insert-into-split-inline-5-shadow.html
extra : moz-landing-system : lando
2019-10-08 23:52:46 +00:00
Brendan Dahl c68cd30ef2 Bug 1510785 - Only build XBL related code when MOZ_XBL is defined. r=bzbarsky
When XBL is disabled, no code in dom/xbl will be built. Also, adds ifdefs
to remove any of the XBL related code elsewhere. There's definitely more
that can be done here, but I think it's better to wait to do the rest of
the cleanup when we actually remove the code.

Depends on D45612

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

--HG--
extra : moz-landing-system : lando
2019-10-08 23:52:14 +00:00
Emma Malysz dd0ffd6562 Bug 1586862, replace XUL textbox with HTML input and generic XUL box in testcases within dom directory r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D48450

--HG--
extra : moz-landing-system : lando
2019-10-08 21:09:48 +00:00
Cosmin Sabou 73c11d0ebd Backed out changeset 388dbc366e53 (bug 1586862) for mochitest failures on test_focus_docnav.xul CLOSED TREE 2019-10-08 21:04:02 +03:00
Emma Malysz 2e3c4bba36 Bug 1586862, replace XUL textbox with HTML input and generic XUL box in testcases within dom directory r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D48450

--HG--
extra : moz-landing-system : lando
2019-10-08 15:32:07 +00:00
Doug Thayer 5a64723655 Bug 1550108 - Eliminate large buffer copies from StartupCache r=froydnj
The signatures were updated in the previous patch to hand us the raw,
uncopied buffers. This just adjusts the callsites to match.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:45:09 +00:00
Doug Thayer 47ada02be2 Bug 1550108 - Avoid decompressing entries just to check if they exist r=kmag
This will not behave exactly the same if we had previously written bad
data for the entry that would fail to decompress. I imagine this is rare
enough, and the consequences are not severe enough, that this should be
fine.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:44:32 +00:00
Tim Nguyen 91976e6a66 Bug 1586018 - Remove a11y tree tests, reftests and crashtests only related to textbox. r=surkov,emilio
Differential Revision: https://phabricator.services.mozilla.com/D48080

--HG--
extra : moz-landing-system : lando
2019-10-03 18:01:08 +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
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 cf2166a011 Bug 1550108 - Eliminate large buffer copies from StartupCache r=froydnj
The signatures were updated in the previous patch to hand us the raw,
uncopied buffers. This just adjusts the callsites to match.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 18:17:13 +00:00
Doug Thayer 5f9554635c Bug 1550108 - Avoid decompressing entries just to check if they exist r=kmag
This will not behave exactly the same if we had previously written bad
data for the entry that would fail to decompress. I imagine this is rare
enough, and the consequences are not severe enough, that this should be
fine.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 22:15:01 +00:00
Tim Nguyen 5c78a8e3de Bug 1582530 - Fix remaining cases that were relying on blockification. r=dao,dholbert
Differential Revision: https://phabricator.services.mozilla.com/D46676

--HG--
extra : moz-landing-system : lando
2019-09-28 00:20:32 +00:00
Dorel Luca 759e72860c Backed out 2 changesets (bug 1582530) for Creshtest failures in ayout/generic/ReflowInput.cpp. CLOSED TREE
Backed out changeset 536e78fea3de (bug 1582530)
Backed out changeset ae88c31cf531 (bug 1582530)

--HG--
extra : amend_source : cd6928208a1916e72a8f14952adc85f5e5e2c47d
2019-09-28 00:31:24 +03:00
Tim Nguyen 597206ae06 Bug 1582530 - Fix remaining cases that were relying on blockification. r=dao,dholbert
Differential Revision: https://phabricator.services.mozilla.com/D46676

--HG--
extra : moz-landing-system : lando
2019-09-27 20:14:37 +00:00
shindli 964bceeb91 Backed out 2 changesets (bug 1582530) for causing reftest permafailures in /builds/worker/workspace/build/src/layout/generic/ReflowInput.cpp:2188 CLOSED TREE
Backed out changeset c0fcdc789da3 (bug 1582530)
Backed out changeset 7eb69d3d03a5 (bug 1582530)
2019-09-27 05:15:08 +03:00
Tim Nguyen 4750005faf Bug 1582530 - Fix remaining cases that were relying on blockification. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D46676

--HG--
extra : moz-landing-system : lando
2019-09-27 01:19:11 +00:00
Brindusan Cristian 555f911666 Backed out 2 changesets (bug 1582530) for crashtest assertions on ReflowInput.cpp. CLOSED TREE
Backed out changeset 1ae40ac76cd0 (bug 1582530)
Backed out changeset 7fb765cb6727 (bug 1582530)
2019-09-27 04:02:33 +03:00
Tim Nguyen 9512989188 Bug 1582530 - Fix remaining cases that were relying on blockification. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D46676

--HG--
extra : moz-landing-system : lando
2019-09-27 00:13:51 +00:00
Brindusan Cristian bbe6450687 Backed out 3 changesets (bug 1582530) for crashtest failures on 360339-1.xul. CLOSED TREE
Backed out changeset 0d8d8016da4f (bug 1582530)
Backed out changeset deba67add7d2 (bug 1582530)
Backed out changeset b62377b233a8 (bug 1582530)
2019-09-26 22:52:22 +03:00
Tim Nguyen 7dac471890 Bug 1582530 - Fix remaining cases that were relying on blockification. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D46676

--HG--
extra : moz-landing-system : lando
2019-09-26 17:19:15 +00: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
Dave Townsend df895249c6 Bug 1550058: Move most keyboard shortcut handling out of XBL. r=masayuki
Most of our keyboard shortcut handling is handled by nsXBLWindowKeyHandler along
with nsXBLPrototypeHandler. With the impending removal of XBL this needs to
change.

This patch moves nsXBLWindowKeyHandler to dom/events/GlobalKeyListener and copies
nsXBLPrototypeHandler to dom/events/KeyEventHandler. Windows, text elements and
XUL <keyset> are changed to use the new copies and anything unnecessary for
those is stripped out.

XBL handler elements still remain using the existing nsXBLPrototypeHandler path.
Some of the code is ripped out there to make it compile. There is probably a
lot more that can be removed but since the whole of XBL is likely gone soon I'm
not sure it is worth cleaning that up much.

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

--HG--
rename : dom/xbl/nsXBLWindowKeyHandler.cpp => dom/events/GlobalKeyListener.cpp
rename : dom/xbl/nsXBLWindowKeyHandler.h => dom/events/GlobalKeyListener.h
rename : dom/xbl/nsXBLPrototypeHandler.cpp => dom/events/KeyEventHandler.cpp
rename : dom/xbl/nsXBLPrototypeHandler.h => dom/events/KeyEventHandler.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForBrowserCommon.h => dom/events/ShortcutKeyDefinitionsForBrowserCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForEditorCommon.h => dom/events/ShortcutKeyDefinitionsForEditorCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h => dom/events/ShortcutKeyDefinitionsForInputCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h => dom/events/ShortcutKeyDefinitionsForTextAreaCommon.h
rename : dom/xbl/builtin/ShortcutKeys.cpp => dom/events/ShortcutKeys.cpp
rename : dom/xbl/builtin/ShortcutKeys.h => dom/events/ShortcutKeys.h
rename : dom/xbl/builtin/android/ShortcutKeyDefinitions.cpp => dom/events/android/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/android/moz.build
rename : dom/xbl/builtin/emacs/ShortcutKeyDefinitions.cpp => dom/events/emacs/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/emacs/moz.build
rename : dom/xbl/builtin/mac/ShortcutKeyDefinitions.cpp => dom/events/mac/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/mac/moz.build
rename : dom/xbl/builtin/unix/ShortcutKeyDefinitions.cpp => dom/events/unix/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/unix/moz.build
rename : dom/xbl/builtin/win/ShortcutKeyDefinitions.cpp => dom/events/win/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/win/moz.build
extra : moz-landing-system : lando
2019-09-06 17:10:40 +00:00
Razvan Maries 10dbfc585c Backed out changeset e18ae5f66cac (bug 1550058) for causing Android build bustages. CLOSED TREE
--HG--
rename : dom/events/ShortcutKeyDefinitionsForBrowserCommon.h => dom/xbl/builtin/ShortcutKeyDefinitionsForBrowserCommon.h
rename : dom/events/ShortcutKeyDefinitionsForEditorCommon.h => dom/xbl/builtin/ShortcutKeyDefinitionsForEditorCommon.h
rename : dom/events/ShortcutKeyDefinitionsForTextAreaCommon.h => dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h
rename : dom/events/ShortcutKeys.cpp => dom/xbl/builtin/ShortcutKeys.cpp
rename : dom/events/ShortcutKeys.h => dom/xbl/builtin/ShortcutKeys.h
rename : dom/events/android/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/android/ShortcutKeyDefinitions.cpp
rename : dom/events/win/moz.build => dom/xbl/builtin/android/moz.build
rename : dom/events/emacs/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/emacs/ShortcutKeyDefinitions.cpp
rename : dom/events/mac/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/mac/ShortcutKeyDefinitions.cpp
rename : dom/events/unix/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/unix/ShortcutKeyDefinitions.cpp
rename : dom/events/win/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/win/ShortcutKeyDefinitions.cpp
rename : dom/events/GlobalKeyListener.cpp => dom/xbl/nsXBLWindowKeyHandler.cpp
rename : dom/events/GlobalKeyListener.h => dom/xbl/nsXBLWindowKeyHandler.h
2019-09-05 20:31:59 +03:00
Dave Townsend 3a36964e63 Bug 1550058: Move most keyboard shortcut handling out of XBL. r=masayuki
Most of our keyboard shortcut handling is handled by nsXBLWindowKeyHandler along
with nsXBLPrototypeHandler. With the impending removal of XBL this needs to
change.

This patch moves nsXBLWindowKeyHandler to dom/events/GlobalKeyListener and copies
nsXBLPrototypeHandler to dom/events/KeyEventHandler. Windows, text elements and
XUL <keyset> are changed to use the new copies and anything unnecessary for
those is stripped out.

XBL handler elements still remain using the existing nsXBLPrototypeHandler path.
Some of the code is ripped out there to make it compile. There is probably a
lot more that can be removed but since the whole of XBL is likely gone soon I'm
not sure it is worth cleaning that up much.

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

--HG--
rename : dom/xbl/nsXBLWindowKeyHandler.cpp => dom/events/GlobalKeyListener.cpp
rename : dom/xbl/nsXBLWindowKeyHandler.h => dom/events/GlobalKeyListener.h
rename : dom/xbl/nsXBLPrototypeHandler.cpp => dom/events/KeyEventHandler.cpp
rename : dom/xbl/nsXBLPrototypeHandler.h => dom/events/KeyEventHandler.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForBrowserCommon.h => dom/events/ShortcutKeyDefinitionsForBrowserCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForEditorCommon.h => dom/events/ShortcutKeyDefinitionsForEditorCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h => dom/events/ShortcutKeyDefinitionsForInputCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h => dom/events/ShortcutKeyDefinitionsForTextAreaCommon.h
rename : dom/xbl/builtin/ShortcutKeys.cpp => dom/events/ShortcutKeys.cpp
rename : dom/xbl/builtin/ShortcutKeys.h => dom/events/ShortcutKeys.h
rename : dom/xbl/builtin/android/ShortcutKeyDefinitions.cpp => dom/events/android/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/android/moz.build
rename : dom/xbl/builtin/emacs/ShortcutKeyDefinitions.cpp => dom/events/emacs/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/emacs/moz.build
rename : dom/xbl/builtin/mac/ShortcutKeyDefinitions.cpp => dom/events/mac/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/mac/moz.build
rename : dom/xbl/builtin/unix/ShortcutKeyDefinitions.cpp => dom/events/unix/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/unix/moz.build
rename : dom/xbl/builtin/win/ShortcutKeyDefinitions.cpp => dom/events/win/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/win/moz.build
extra : moz-landing-system : lando
2019-09-05 16:51:27 +00:00
Emilio Cobos Álvarez c25009c80b Bug 1577721 - Unify attribute cloning between XUL / HTML and everything else. r=bzbarsky
This contains an (intentional) behavior change, which is that we always copy
(i.e.  don't reparse) style attributes, even across documents.

XUL and HTML already had this behavior. This makes stuff like SVG and MathML
consistent with that.



Depends on D44128

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

--HG--
extra : moz-landing-system : lando
2019-09-02 10:43:52 +00:00
Emilio Cobos Álvarez 58d9be367b Bug 1577721 - Use AddListenerFor in nsXULElement::AfterSetAttr. r=bzbarsky
The attribute is definitely set in AfterSetAttr...

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

--HG--
extra : moz-landing-system : lando
2019-09-02 10:43:43 +00:00
Emilio Cobos Álvarez 7a79edccc2 Bug 1577592 - Properly set the has part attribute bit when cloning a XUL element. r=bzbarsky
Test is in the other revision for this bug.

Do the same we do for the other bits. This setup looks pretty error prone
though...

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

--HG--
extra : moz-landing-system : lando
2019-08-30 00:10:36 +00:00
Thomas Nguyen 32ab8293ff Bug 1528697 - Expose ReferrerPolicy.webidl and use referrerpolicy enum r=smaug
ReferrerPolicy gets tossed back and forth as a uint32_t and
ReferrerPolicy enum in header file. Expose ReferrerPolicyValues from
webidl file and use consistently in native code.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 13:24:45 +00:00
Kris Maglione f93c2909dd Bug 1573254: Part 2 - Update tests to await snapshotWindow when necessary. r=mccr8
This fixes several tests which snapshot remote windows under Fission. It also
changes some other arbitrary tests that don't use remote windows, which I
changed before I gave up on having an always-async API.

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

--HG--
extra : rebase_source : 6203b7065f7651e6ed4a2695ff2bd92daec70634
2019-08-12 12:56:25 -07:00
Brendan Dahl 87465f7cd7 Bug 1573026 - Include missing header in XULPersist for old XUL store. r=smaug
Beta builds use the old XUL store which was missing a header after the
removal of XULDocument.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 17:57:04 +00:00
Brendan Dahl 0a8d6f243d Bug 1551344 - Part 2: Update outdated comments referencing XULDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D41239

--HG--
extra : moz-landing-system : lando
2019-08-09 17:47:41 +00:00
Brendan Dahl b474db77c6 Bug 1551344 - Part 1: Remove XULDocument code. r=smaug,Jamie
All .xul files have been loading as HTMLDocuments for a few weeks now, so
it should be safe to remove the XULDocument implementation.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 19:57:50 +00:00
Tom Schuster 88855a7ee5 Bug 1558915 - Use infallible nsIURI::SchemeIs in dom/. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D40108

--HG--
extra : source : 3da6e9e86be4a4a9eeaceec222398475b6679193
2019-08-02 08:54:18 +00:00
Mihai Alexandru Michis 0cc257addd Backed out 2 changesets (bug 1558915) for causing bustages. CLOSED TREE
Backed out changeset e44c9fd81e5b (bug 1558915)
Backed out changeset 3da6e9e86be4 (bug 1558915)
2019-08-02 12:17:42 +03:00
Tom Schuster f115dd9113 Bug 1558915 - Use infallible nsIURI::SchemeIs in dom/. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D40108

--HG--
extra : moz-landing-system : lando
2019-08-02 08:54:18 +00:00
Christoph Kerschbaumer ad40847192 Bug 1567877: Apply Meta CSP to about:devtools-toolbox. r=jdescottes,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D39328

--HG--
extra : moz-landing-system : lando
2019-07-30 07:14:09 +00:00
Zibi Braniecki 742dc1c8e2 Bug 1517880 - Add ability to rebuild an element prototype from an element. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D38971

--HG--
extra : moz-landing-system : lando
2019-07-26 20:17:09 +00:00
Zibi Braniecki ad66c0ca23 Bug 1517880 - Clean up the XUL Prototype a bit. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D34827

--HG--
extra : moz-landing-system : lando
2019-07-26 20:16:22 +00:00
Gurzau Raul 776258cda0 Backed out 5 changesets (bug 1517880) on request from gandalf on a CLOSED TREE.
Backed out changeset 39c3063994bf (bug 1517880)
Backed out changeset 45bf070f451b (bug 1517880)
Backed out changeset d2b9e6bbb4cb (bug 1517880)
Backed out changeset 3bd43f3e288a (bug 1517880)
Backed out changeset 3b54c85a747b (bug 1517880)
2019-07-26 23:09:57 +03:00
Zibi Braniecki 3919bfa305 Bug 1517880 - Add ability to rebuild an element prototype from an element. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D38971

--HG--
extra : moz-landing-system : lando
2019-07-26 16:55:22 +00:00
Zibi Braniecki 52c27c1da9 Bug 1517880 - Clean up the XUL Prototype a bit. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D34827

--HG--
extra : moz-landing-system : lando
2019-07-26 16:11:40 +00:00
Kannan Vijayan 3fb6190ec6 Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D39378

--HG--
extra : moz-landing-system : lando
2019-07-26 16:48:31 +00:00
Brendan Dahl b5907700eb Bug 1550801 - Load XUL documents as XHTML documents. r=smaug
Now that the functionality we we wanted to preserve has been moved out of
XULDocument, we can start loading XUL files as XHTML. This will allow
the removal of XULDocument once we are confident that everything is working
correctly as XHTML.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 19:24:58 +00:00
Thomas Nguyen fc05893051 Bug 1546334 - Use referrerInfo in style system. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D36478

--HG--
extra : moz-landing-system : lando
2019-07-16 11:43:56 +00:00
Brendan Dahl 28dcf95b41 Bug 1557371 - Part 2 - Load all XUL crashtests with chrome privilege. r=dbaron
386947-1.xul, now has one assertion since we take a different code
path with chrome URL's and XBL files. The assertion is triggered since the
binding is invalid.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 19:40:42 +00:00
Andrew McCreight 2c9edde07f Bug 1563405, part 2 - Use move refs for Push in nsXULContentSink. r=bzbarsky
This avoids some refcounting.

Also remove a pointless local variable |entry|.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 05:55:54 +00:00
Andrew McCreight 309967ce04 Bug 1563405, part 1 - Call AddAttributes earlier in XULContentSinkImpl::OpenRoot(). r=bzbarsky
AddAttributes has no side effects on |this|, so that's okay.

Also remove an extra semi colon.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 05:53:32 +00:00
Andrew McCreight 51c3548024 Bug 1563066, part 4 - Make dtors for nsXULPrototypeNode subclasses private. r=bzbarsky
Refcounted classes should not ever have delete called on them
directly, because something else might be holding a reference to
them. One way to make this harder is to declare the dtor private.

The immediate motivation for this change is that somebody was using
one of these classes as the value for an nsClassHashtable, which
should be rejected at compile time.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 00:58:32 +00:00
Andrew McCreight 951562a4be Bug 1563066, part 3 - Use refptrs in more places in XULContentSinkImpl. r=bzbarsky
There are a few places that use XUL prototype nodes without ref
pointers, which is dangerous. A benefit of this change is that it
removes a direct call to delete on a refcounted class. It does result
in some additional refcount traffic, but hopefully that doesn't
matter.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 00:58:30 +00:00
Andrew McCreight f379ee998a Bug 1563066, part 2 - XULContentSinkImpl::ContextStack::Push is infallible. r=bzbarsky
This lets us remove some error handling code, including some that is
incorrect.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 00:58:28 +00:00
Andrew McCreight 15f2a54f9e Bug 1563066, part 1 - Inline XULContentSinkImpl::CreateElement. r=bzbarsky
By adding an optional nodeinfo arg to the nsXULPrototypeElement ctor,
the CreateElement method can be easily inlined.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 00:58:21 +00:00
Narcis Beleuzu 12163ca397 Backed out 4 changesets (bug 1563066) for build bustages on nsXULElement.h . CLOSED TREE
Backed out changeset bfc0d9412df9 (bug 1563066)
Backed out changeset fd915382080d (bug 1563066)
Backed out changeset 98e692885ecc (bug 1563066)
Backed out changeset e5a0ca3d92cc (bug 1563066)
2019-07-04 02:20:27 +03:00
Andrew McCreight 0e51515877 Bug 1563066, part 4 - Make dtors for nsXULPrototypeNode subclasses private. r=bzbarsky
Refcounted classes should not ever have delete called on them
directly, because something else might be holding a reference to
them. One way to make this harder is to declare the dtor private.

The immediate motivation for this change is that somebody was using
one of these classes as the value for an nsClassHashtable, which
should be rejected at compile time.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 22:42:46 +00:00
Andrew McCreight b705e97b24 Bug 1563066, part 3 - Use refptrs in more places in XULContentSinkImpl. r=bzbarsky
There are a few places that use XUL prototype nodes without ref
pointers, which is dangerous. A benefit of this change is that it
removes a direct call to delete on a refcounted class. It does result
in some additional refcount traffic, but hopefully that doesn't
matter.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 22:42:44 +00:00
Andrew McCreight 0b5946c5f2 Bug 1563066, part 2 - XULContentSinkImpl::ContextStack::Push is infallible. r=bzbarsky
This lets us remove some error handling code, including some that is
incorrect.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 22:42:42 +00:00
Andrew McCreight f627a6be99 Bug 1563066, part 1 - Inline XULContentSinkImpl::CreateElement. r=bzbarsky
By adding an optional nodeinfo arg to the nsXULPrototypeElement ctor,
the CreateElement method can be easily inlined.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 22:42:35 +00:00
Jeff Walden eaa388e6ec Bug 1559633 - Remove an unnecessary |#include "mozilla/dom/ScriptLoader.h"| from XULDocument.h. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D36133

--HG--
extra : moz-landing-system : lando
2019-06-26 23:19:32 +00:00
Brendan Dahl 62645647cf Bug 1558980 - Convert all XUL mochitest plain tests to chrome. r=mossop
Two benefits:

1) Align test setup with shipping Firefox - We don't allow content
privilege XUL in shipping versions of Firefox, so having the tests be
chrome would be more realistic to our use case.

2) Support the XUL to XHTML migration. These files will soon become XHTML
files, but will still need to load XUL elements, so they'll need to be
marked as chrome privileged to continue working.

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

--HG--
rename : dom/xul/test/test_bug486990.xul => dom/xul/test/test_bug486990.xhtml
rename : layout/base/tests/file_bug465448.html => layout/base/tests/chrome/file_bug465448.html
rename : layout/base/tests/test_bug465448.xul => layout/base/tests/chrome/test_bug465448.xul
extra : moz-landing-system : lando
2019-06-26 18:00:53 +00:00
Mihai Alexandru Michis c4808ba596 Backed out changeset 7a0ba8a3de05 (bug 1558980) for mochitest-chrome failures. CLOSED TREE
--HG--
rename : layout/base/tests/chrome/test_bug465448.xul => layout/base/tests/test_bug465448.xul
2019-06-27 05:48:11 +03:00
Brendan Dahl c7f754871d Bug 1558980 - Convert all XUL mochitest plain tests to chrome. r=mossop
Two benefits:

1) Align test setup with shipping Firefox - We don't allow content
privilege XUL in shipping versions of Firefox, so having the tests be
chrome would be more realistic to our use case.

2) Support the XUL to XHTML migration. These files will soon become XHTML
files, but will still need to load XUL elements, so they'll need to be
marked as chrome privileged to continue working.

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

--HG--
rename : layout/base/tests/test_bug465448.xul => layout/base/tests/chrome/test_bug465448.xul
extra : moz-landing-system : lando
2019-06-20 21:29:50 +00:00
Olli Pettay ca30f8e0b0 Bug 1559207 - Make XULPersist::AttributeChanged a bit faster in the common case, r=bdahl
GetAttr returns false if the attribute isn't there at all.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 19:06:12 +00:00
Sylvestre Ledru f1fbd2ff00 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-06-08 08:26:37 +00:00
Zibi Braniecki fdd3cb9cbd Bug 1552714 - Move DocumentL10n to dom/l10n. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32957

--HG--
rename : dom/webidl/DocumentL10n.webidl => dom/chrome-webidl/DocumentL10n.webidl
rename : intl/l10n/DocumentL10n.cpp => dom/l10n/DocumentL10n.cpp
rename : intl/l10n/DocumentL10n.h => dom/l10n/DocumentL10n.h
extra : moz-landing-system : lando
2019-06-06 16:31:44 +00:00
Neil Deakin 302fa305ad Bug 1519948, remove XUL box objects, r=bzbarsky
--HG--
extra : rebase_source : 4af617fecf06512aed5882831e64e38d4e7e5e94
2019-06-04 12:45:55 -04:00
Jonathan Kingston a9be4620ee Bug 1508939 - cpp serialization r=ckerschb,mccr8,mikedeboer
Migrating to pure Cpp

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

--HG--
extra : moz-landing-system : lando
2019-06-03 12:37:12 +00:00
Emilio Cobos Álvarez 80e62fe4db Bug 1555944 - Make nsIContent::GetBindingParent return an element. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D33308
2019-05-31 23:31:59 +02:00
Emilio Cobos Álvarez 6ada67c323 Bug 1555216 - Cache owner doc in the BindContext. r=bzbarsky
And use it to avoid some pointer chases per the review comments of D32949.

Differential Revision: https://phabricator.services.mozilla.com/D33288
2019-05-31 23:31:57 +02:00
Emilio Cobos Álvarez 6917a38081 Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky
BindContext was going to have way more information at first, but then I realized
that most of the things I wanted to know were basically a flag away using the
parent node.

Still I think it's worth it, now experimenting with BindToTree will only mean
adding a field to a struct that's included from a couple cpp files, instead of a
massive pain.

I also think this is clearer, and doing this highlights quite a few
inconsistencies in our code which I've left untouched, but commented with
FIXMEs.

Steps are:

$ for file in $(rg 'nsresult BindToTree\(' | cut -d : -f 1 | sort | uniq); do sed -i 's#nsresult BindToTree(Document\* aDocument, nsIContent\* aParent,#nsresult BindToTree(BindContext\&, nsINode\& aParent)#g' $file; done
$ for file in $(rg 'nsresult BindToTree\(' | cut -d : -f 1 | sort | uniq); do sed -i 's#                      nsIContent\* aBindingParent) override#override#g' $file; done
$ for file in $(rg '::BindToTree\(' | cut -d : -f 1 | sort | uniq); do sed -i 's#::BindToTree(Document\* aDocument, nsIContent\* aParent,#::BindToTree(BindContext\& aContext, nsINode\& aParent)#g' $file; done
$ for file in $(rg '::BindToTree\(' | cut -d : -f 1 | sort | uniq); do sed -i 's#nsIContent\* aBindingParent)##g' $file; done
$ for file in $(rg '::BindToTree\(' | cut -d : -f 1 | sort | uniq); do sed -i 's#::BindToTree(aDocument, aParent, aBindingParent)#::BindToTree(aContext, aParent)#g' $file; done
$ ./mach clang-format

Then manual fixups.

Depends on D32948

Differential Revision: https://phabricator.services.mozilla.com/D32949
2019-05-31 23:31:52 +02:00
Brendan Dahl 0ebdc5cd60 Bug 1554848 - Use sync DOMContentLoaded when using prototype cache. r=bzbarsky
Some of the talos test timers seem to be affected when DOMContentLoaded
is not dispatched synchronously. This will also help when we load all XUL
as XHTML (bug 1550801), since certain tests rely on sync dispatch.

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

--HG--
extra : moz-landing-system : lando
2019-05-30 21:10:35 +00:00
Emilio Cobos Álvarez ff732c2cdf Bug 1555143 - Remove unused aDeep argument from UnbindFromTree. r=bzbarsky
$ for file in $(rg UnbindFromTree | cut -d : -f 1 | sort | uniq); do sed -i 's#UnbindFromTree(bool aDeep = true,#UnbindFromTree(#g' $file; done
$ for file in $(rg UnbindFromTree | cut -d : -f 1 | sort | uniq); do sed -i 's#UnbindFromTree(bool aDeep,#UnbindFromTree(#g' $file; done
$ for file in $(rg UnbindFromTree | cut -d : -f 1 | sort | uniq); do sed -i 's#UnbindFromTree(aDeep,#UnbindFromTree(#g' $file; done
$ ./mach clang-format

And fix the two callers and little use of the aDeep argument (see the "Manual
changes" patch attached to bug).

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

--HG--
extra : moz-landing-system : lando
2019-05-28 22:47:08 +00:00
Sylvestre Ledru 993c03acb1 Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31769

--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Boris Zbarsky bc14bd97eb Bug 1550927. Stop using idl [array] for getting supported controller commands. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D30764

--HG--
extra : moz-landing-system : lando
2019-05-21 17:06:06 +00:00
Brendan Dahl 543c10a1d2 Bug 1551320 - Replace all CreateElement calls in XUL documents with CreateXULElement. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D31295

--HG--
extra : moz-landing-system : lando
2019-05-20 16:50:28 +00:00
Boris Zbarsky 6430c24e0a Bug 1548625 part 2. Get rid of some ExposeObjectToActiveJS calls in DOM code. r=mccr8,jonco
The call in VRFrameData::LazyCreateMatrix is not needed because
aRetval.set(aArray) ends up calling into Heap::get() which does a read barrier
and exposes.

The call in nsXULPrototypeScript::Compile is not needed because initializing
the AutoJSAPI will guarantee that the global of the Realm it enters, which is
what we're examining here, will be exposed.

The call in Promise's CreateNativeHandlerFunction is not needed because the
object being passed in was always just-created into a stack Rooted.

The call in MIDIMessageEvent::GetData is not needed because it's always working
with a just-created object.  Also, mData is a Heap, so there will be a read
barrier anyway before anyone gets at the value.

The call in PrototypeDocumentContentSink::ExecuteScript is not needed because
the AutoEntryScript will guarantee that the global of the Realm it enters is
exposed.  And the JSAutoRealm is not needed either, because we're in that Realm
already.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 10:09:11 +00:00
Myk Melez 1b3f6d1faf Bug 1547877 - enable configuration of new XULStore implementation r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D29304

--HG--
rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/new/XULStore.jsm
extra : moz-landing-system : lando
2019-05-02 23:01:57 +00:00
Masayuki Nakano 663f37d827 Bug 1547618 - Make dom use mozilla::PresShell rather than via nsIPresShell r=smaug
Additionally, this patch makes `nsContentUtils::DispatchXULCommand()` because
it guarantees the lifetime of **only** `PresShell` in it.  So, we need to check
the lifetime of each argument at each caller here.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 01:35:30 +00:00
Emilio Cobos Álvarez 4da8e6c33a Bug 1440537 - SwapFrameLoaders should flush frames. r=bzbarsky
swapFrameLoaders relies on frame information, but doesn't ensure it's
up-to-date.

The test for this (test_swapFrameLoaders.xul) is relying right now on one of
flushes from the inner documents to also flush the parent document and thus
ensure there's a frame created.

With the patch for this bug, that flush no longer propagates to the parent
document, and the test fails because we throw in:

https://searchfox.org/mozilla-central/rev/66086345467c69685434dd1c5177b30a7511b1a5/dom/base/nsFrameLoader.cpp#1634

This API could probably be made to work without that requirement, but it's
probably not worth it. For now just flush.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 18:45:03 +00:00
Emilio Cobos Álvarez 2b46634961 Bug 1546329 - Remove dead skins code. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com//D28459
2019-04-25 14:00:06 +02:00
Emilio Cobos Álvarez 88a1b27597 Bug 1546046 - Remove support for XBL resources. r=TYLin
So much unsound code going away :-)

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

--HG--
extra : moz-landing-system : lando
2019-04-23 16:43:15 +00:00
Bogdan Tara ec489aa170 Backed out changeset e85cb54e5944 (bug 1546046) complementary backout after 1470880 was backed out CLOSED TREE 2019-04-23 06:55:29 +03:00
Emilio Cobos Álvarez daef6a8b67 Bug 1546046 - Remove support for XBL resources. r=TYLin
So much unsound code going away :-)

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

--HG--
extra : moz-landing-system : lando
2019-04-22 21:57:22 +00:00
Myk Melez e2338641e4 Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
Differential Revision: https://phabricator.services.mozilla.com/D25355

--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-22 02:59:51 +00:00
Srujana Peddinti 0260a4f6e1 Bug 1259660 - Cleaned up WidgetMouseEventBase by renaming WidgetMouseEventBase::inputSource to WidgetMouseEventBase::mInputSource r=masayuki
Renamed all class member instances from WidgetMouseEventBase::inputSource to WidgetMouseEventBase::mInputSource

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

--HG--
extra : moz-landing-system : lando
2019-04-21 18:19:43 +00:00
Coroiu Cristina 5f4315f3ee Backed out changeset 37054e6d6bbb (bug 1460811) for marionette failures at marionette_harness/tests/unit/test_cli_arguments.py on a CLOSED TREE 2019-04-20 00:05:55 +03:00
Myk Melez 2eece48676 Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
Differential Revision: https://phabricator.services.mozilla.com/D25355

--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-19 17:42:48 +00:00
Razvan Maries 1f6c35708a Backed out changeset 2f8f0e53a7db (bug 1460811) for leakcheck perma failures. CLOSED TREE 2019-04-19 00:16:32 +03:00
Myk Melez f61d3b4399 Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
Differential Revision: https://phabricator.services.mozilla.com/D25355

--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-18 19:27:12 +00:00
Brian Grinstead 381332c51e Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal
This was generated with the script at https://bug1544051.bmoattachments.org/attachment.cgi?id=9058672

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:01 +00:00
Brian Grinstead 911776d674 Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

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

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Brian Grinstead 0d460e3432 Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky
This is split from the previous changeset since if we include dom/ the file size is too
large for phabricator to handle.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

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

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:53:28 +00:00
Brian Grinstead 6515f97bcb Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

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

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

--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Andreas Farre 29d439a983 Bug 1523636 - Create BrowsingContext in nsFrameLoader. r=nika,qdot
Differential Revision: https://phabricator.services.mozilla.com/D25039

--HG--
extra : moz-landing-system : lando
2019-04-15 15:14:54 +00:00
Andrea Marchesini a438b12ebd Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24025

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:32 +00:00
Cosmin Sabou af07021e88 Backed out 10 changesets (bug 1536411) for causing leaks in CondVar, MessagePortService, MessagePortServiceData.
Backed out changeset eda5854cd7e8 (bug 1536411)
Backed out changeset f94dfbf2476c (bug 1536411)
Backed out changeset c68dc3152faa (bug 1536411)
Backed out changeset f67d157e8baf (bug 1536411)
Backed out changeset 1107a9767f38 (bug 1536411)
Backed out changeset ccbe1af00fb9 (bug 1536411)
Backed out changeset 552c4b588524 (bug 1536411)
Backed out changeset 2eb20578159b (bug 1536411)
Backed out changeset 45708d22bb6d (bug 1536411)
Backed out changeset 87601ef1d4d4 (bug 1536411)
2019-04-11 22:48:49 +03:00
Andrea Marchesini 5cfeeda19e Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24025

--HG--
extra : moz-landing-system : lando
2019-04-11 16:27:12 +00:00
Csoregi Natalia b794b31607 Backed out changeset d76b42f0d6ca (bug 1523636) for causing bug 1543015. a=backout 2019-04-10 18:46:01 +03:00
Brendan Dahl 44fd876aaf Bug 1080029 - Support HTML template in XUL documents. r=smaug
Check if the current parent element is an HTML template element and if it
is, append to the document fragment instead of it.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 19:50:00 +00:00
Jeff Walden c904278324 Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26616

--HG--
extra : moz-landing-system : lando
2019-04-09 17:58:52 +00:00
Brindusan Cristian 149c6ee879 Backed out changeset 53e379a5738f (bug 1542910) as requested by waldo on irc. CLOSED TREE
--HG--
extra : histedit_source : 8714b8dac07c146822952ede6a8d85b3bf4caf50
2019-04-09 20:43:52 +03:00
Jeff Walden 9f030a47c2 Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26616

--HG--
extra : moz-landing-system : lando
2019-04-09 17:24:31 +00:00
Noemi Erli 4a518ba201 Backed out changeset d470f958ea61 (bug 1542910) for bustages in testEmptyWindowIsOmitted.cpp 2019-04-09 19:24:46 +03:00
Jeff Walden 1a5a3f4e6e Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26616

--HG--
extra : moz-landing-system : lando
2019-04-09 03:50:03 +00:00
Andreas Farre 888908c3cb Bug 1523636 - Create BrowsingContext in nsFrameLoader. r=nika,qdot
Differential Revision: https://phabricator.services.mozilla.com/D25039

--HG--
extra : moz-landing-system : lando
2019-04-08 08:21:40 +00:00
Masayuki Nakano 5e41233499 Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio
A lot of files include `nsIPresShell.h` even though currently they don't
need it.  This patch removes the unnecessary inclusions.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 00:19:48 +00:00
Razvan Maries 1cd564b971 Backed out changeset 3b94c20ba873 (bug 1540990) for build bustages. CLOSED TREE 2019-04-04 02:44:00 +03:00
Masayuki Nakano b2bba953cc Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio
A lot of files include `nsIPresShell.h` even though currently they don't
need it.  This patch removes the unnecessary inclusions.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 23:29:38 +00:00
Brendan Dahl 2f6cd63d92 Bug 1498287 - Support RTL pref in non-XUL documents too. r=smaug
Moves most of the RTL handling from XULDocument into Document. Creates
a new static class that listens to the direction pref change and notifies
all the documents when it changes.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 09:26:31 +00:00
Jonathan Kew f5e8791f61 Bug 1533428 - patch 4 - Include chromium-config.mozbuild in the moz.build for a bunch more directories, so that IPC-related headers are available. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D22922

--HG--
extra : moz-landing-system : lando
2019-04-01 14:32:44 +00:00
Masayuki Nakano de2d589e58 Bug 1540015 - part 3: Rename Document::GetShell() to Document::GetPresShell() and make it return PresShell* rather than nsIPresShell* r=smaug,emilio
This makes `Document::GetShell()` return `PresShell*` instead of `nsIPresShell`.

Additonally, "shell" is unclear ("docshell" vs. "presshell").  Therefore, this
also renames `Document::GetShell()` to `Document::GetPresShell()`.

Similarly, some other method names of `Document` are also renamed from
`*Shell*` to `*PresShell*`.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 15:12:47 +00:00
Masayuki Nakano e705b3211c Bug 1540015 - part 1: Make Document.h stop including nsIPresShell.h r=smaug
If `Document::GetShell()` returns `PresShell*` rather than `nsIPresShell`, it's
a good step to deCOMTaminate `PresShell`.

This patch makes `Document.h` stop including `nsIPresShell.h` since
`nsIPresShell.h` includes `Document.h` indirectly and that causes bustage
when we make `Document::GetShell()` return `PresShell*`.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 15:11:04 +00:00
Dorel Luca 5a0fa68b78 Backed out 3 changesets (bug 1540015) for build bustage. CLOSED TREE
Backed out changeset 7b71c9da0214 (bug 1540015)
Backed out changeset 5723ddbc5c44 (bug 1540015)
Backed out changeset 9561d2c36fa5 (bug 1540015)
2019-03-29 16:14:26 +02:00
Masayuki Nakano 9273f25ce2 Bug 1540015 - part 3: Rename Document::GetShell() to Document::GetPresShell() and make it return PresShell* rather than nsIPresShell* r=smaug,emilio
This makes `Document::GetShell()` return `PresShell*` instead of `nsIPresShell`.

Additonally, "shell" is unclear ("docshell" vs. "presshell").  Therefore, this
also renames `Document::GetShell()` to `Document::GetPresShell()`.

Similarly, some other method names of `Document` are also renamed from
`*Shell*` to `*PresShell*`.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 13:09:26 +00:00
Masayuki Nakano 854606257b Bug 1540015 - part 1: Make Document.h stop including nsIPresShell.h r=smaug
If `Document::GetShell()` returns `PresShell*` rather than `nsIPresShell`, it's
a good step to deCOMTaminate `PresShell`.

This patch makes `Document.h` stop including `nsIPresShell.h` since
`nsIPresShell.h` includes `Document.h` indirectly and that causes bustage
when we make `Document::GetShell()` return `PresShell*`.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 12:12:20 +00:00
Jonas Allmann 1db9db7604 Bug 1529231, Remove all occurences of ondialogaccept and ondialogcancel, r=Gijs
Removed all occurences of ondialogaccept.
Removed all occurences of ondialogcancel.
Replaced all removed attributes with event handlers.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 18:34:02 +00:00
Boris Zbarsky e1cbcd2c01 Bug 1322645. Fix intermittent test timeout by making sure our prefs are set before we start doing parts of the test. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D24307

--HG--
extra : moz-landing-system : lando
2019-03-21 13:56:05 +00:00
Boris Zbarsky 6d1f77b386 Bug 1534370 part 2. Annotate doCommand as MOZ_CAN_RUN_SCRIPT. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D23041

--HG--
extra : moz-landing-system : lando
2019-03-12 01:57:42 +00:00
Boris Zbarsky ccfb4f16b1 Bug 1534370 part 1. Annotate doCommandWithParams as MOZ_CAN_RUN_SCRIPT. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D23036

--HG--
extra : moz-landing-system : lando
2019-03-13 00:43:48 +00:00
Brendan Dahl 7ebaf1cd2b Bug 1527977 - Share XUL prototype cache with XUL and XHTML. r=smaug
Create a new parser (PrototypeDocumentParser) and content sink
(PrototypeDocumentContentSink) that can be used by both XUL and XHTML.

The new parser moves the code from XULDocument that handles creating and
loading a nsXULPrototypeDocument from either the cache or the source
file. Once the parser has finished loading the prototype it notifies the
content sink. The parser is largely a stub and would be better suited
for use as a nsBaseParser, but nsHTMLDocument unfortunately needs an
nsIParser.

The new content sink has the XULDocument code responsible for the
prototype traversal that creates the DOM (XULDocument::ResumeWalk and
friends) and fires off various events.

To unify XUL and XHTML, the XHTML readystate event sequence is used in
XUL. However, the layout path of XHTML loaded from the prototype cache
more closely follows XUL, where frame initializers and layout don't
start until the entire DOM is built.

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

--HG--
rename : dom/xul/XULDocument.cpp => dom/prototype/PrototypeDocumentContentSink.cpp
rename : parser/moz.build => dom/prototype/moz.build
rename : parser/moz.build => parser/prototype/moz.build
extra : moz-landing-system : lando
2019-03-09 01:00:23 +00:00
Neil Deakin bdd278ae2c Bug 1519956, remove box object related crashtests that will no longer be applicable with no box objects, r=bzbarsky
--HG--
extra : rebase_source : d5dc1a25a740f9d95d00b261873a150f657c05d5
2019-03-07 17:57:12 -05:00
Tim Nguyen fa021187df Bug 1513343 - Remove textarea binding and replace usages with html:textarea. r=bgrins,dao
Differential Revision: https://phabricator.services.mozilla.com/D15001

--HG--
extra : moz-landing-system : lando
2019-03-05 11:41:42 +00:00
Emilio Cobos Álvarez f1c235dc68 Bug 1512993 - Get rid of XBL display usage for buttons and toolbarbuttons. r=mats
This is the last use of them!

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

--HG--
extra : moz-landing-system : lando
2019-03-04 17:20:29 +00:00
Ryan Hunt 00e98538aa Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D21106

--HG--
extra : rebase_source : ea3f51c2c11247114deccbc86e90fb02b8a97257
2019-02-25 16:05:29 -06:00
Jonathan Kingston f6680698bd Bug 1525319 - Removing context from OnDataAvailable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20881

--HG--
extra : moz-landing-system : lando
2019-02-27 23:42:27 +00:00
Jonathan Kingston c4853316e7 Bug 1525319 - Removing context from OnStopRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20770

--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:31 +00:00
Jonathan Kingston f7e35ae39e Bug 1525319 - Removing context from OnStartRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20769

--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:04 +00:00
Dorel Luca 4a4dcd57fa Backed out 4 changesets (bug 1525319) for Android failures in dom/base/test/test_progress_events_for_gzip_data.html
Backed out changeset b73f033efb41 (bug 1525319)
Backed out changeset 1d318d5c6b98 (bug 1525319)
Backed out changeset 6d73418988d4 (bug 1525319)
Backed out changeset 84ca79bd2dc3 (bug 1525319)
2019-02-25 04:06:11 +02:00
Jonathan Kingston 63ab2bd8aa Bug 1525319 - Removing context from OnDataAvailable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20881

--HG--
extra : moz-landing-system : lando
2019-02-24 20:27:55 +00:00
Jonathan Kingston 332531fa9c Bug 1525319 - Removing context from OnStopRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20770

--HG--
extra : moz-landing-system : lando
2019-02-24 20:26:59 +00:00
Jonathan Kingston 2441197975 Bug 1525319 - Removing context from OnStartRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20769

--HG--
extra : moz-landing-system : lando
2019-02-24 20:26:16 +00:00
Sylvestre Ledru e0c61dafa5 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
Summary: # ignore-this-changeset

Reviewers: Ehsan

Reviewed By: Ehsan

Subscribers: emilio, jandem, bbouvier, jya

Bug #: 1519636

Differential Revision: https://phabricator.services.mozilla.com/D20062
2019-02-16 20:20:37 +01:00
Coroiu Cristina e6520f0a4d Merge inbound to mozilla-central a=merge 2019-02-16 11:36:46 +02:00
Kyle Machulis 2bb286e58e Bug 1524683 - Move all nsIFrameLoaderOwner references to nsFrameLoaderOwner; r=nika
Depends on D19728

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:53 +00:00
Emilio Cobos Álvarez 16314d820b Bug 1528199 - Make nsTreeColFrame::InvalidateColumns not flush. r=dholbert
That's not sound.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 19:05:09 +00:00
Neil Deakin 65399694b4 Bug 1519952, add screenX and screenY properties to XULElement in order to replace places that currently get the screen coordinates of an element via the box object, r=bz 2019-02-15 15:26:08 -05:00
Neil Deakin 5a68924d0e Bug 1519950, change test_bug199692.xul to use getBoundingClientRect instead of box object properties. This test is one where the box object coordinates do not return the same values as getBoundingClientRect, due to a 'position: relative' parent. The test likely worked coincidentally, but the correct coordinates returned by getBoundingClientRect work as well, r=paolo 2019-02-15 15:25:21 -05:00
Brendan Dahl 74c580a4c5 Bug 1527733 - Remove special XUL DOM tree traversal. r=smaug
Move functionality out of XULDocument::AddElementToDocumentPost:
1) Convert all XUL link elements into HTML link elements which have
code to handle when they are added to the DOM.
2) Move handling of the end of a linkset element into nsXULElement's DoneAddingChildren callback.
3) Move document direction reset to where the root element is created.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 10:43:35 +00:00
Cosmin Sabou 599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Timothy Guan-tin Chien ccf133638c Bug 1507895 - Part II, Remove the datetimebox binding r=smaug
This patch removes the datetimebox binding and always use
UA Widget for the job.

Depends on D17571

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:32:39 +00:00
Timothy Guan-tin Chien d59f80985c Bug 1507895 - Part I, Remove the videocontrols binding r=smaug
This patch removes the XBL videocontrols binding and make <video>
to always use the UA Widget to generate controls.

DevTools tests that look for NAC is switched to use <input type=file>.

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

--HG--
extra : moz-landing-system : lando
2019-01-25 13:12:26 +00:00
Zibi Braniecki 51cb6c2749 Bug 1518252 - Block layout on Fluent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D17334

--HG--
extra : moz-landing-system : lando
2019-01-25 23:14:03 +00:00
Cosmin Sabou d4afc5310c Backed out 2 changesets (bug 1518252) for frequent clipboard failures on browser_jsterm_middle_click_paste.
Backed out changeset b6f80451898e (bug 1518252)
Backed out changeset 06114c66901f (bug 1518252)

--HG--
extra : rebase_source : 795b3a29b1344ce224207c4034f13d3d7f1a5c53
2019-01-24 02:50:54 +02:00
Zibi Braniecki 5e38c8a5a5 Bug 1518252 - Block layout on Fluent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D17334

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

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

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

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

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

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

This was done using the followng script:

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

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

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

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

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Paolo Amadini 788354b1e7 Bug 1516258 - Part 2 - Remove XULScrollElement. r=NeilDeakin
There is still styling associated with the "scrollbox" element, but eventually those instances can be replaced with simple boxes.

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

--HG--
extra : rebase_source : 1ff8502e01df16e791c06b9cdcbe38fb2b55ccd7
2019-01-10 11:50:31 +00:00
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Ehsan Akhgari 06c3d29113 Bug 1521000 - Part 1: Reformat the tree to ensure everything is formatted correctly with clang-format r=sylvestre
Summary: # ignore-this-changeset

Reviewers: sylvestre

Reviewed By: sylvestre

Subscribers: reviewbot, emilio, jandem, bbouvier, karlt, jya

Bug #: 1521000

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

--HG--
extra : histedit_source : 4add583bfa729ccc1aef934629ed45ff095189b0
2019-01-18 10:12:56 +01:00
Neil Deakin d30462861e Bug 1482389, remove methods of XULTreeElement that return unused nsresults. In addition, change GetView to return the nsITreeView instead of using an out-parameter, r=paolo 2018-12-04 11:25:41 -05:00
Neil Deakin cb10352f4b Bug 1482389, replace TreeBoxObject with XULTreeElement inherited from XULElement, r=peterv,paolo
--HG--
rename : dom/webidl/TreeBoxObject.webidl => dom/chrome-webidl/XULTreeElement.webidl
rename : layout/xul/tree/TreeBoxObject.cpp => dom/xul/XULTreeElement.cpp
rename : layout/xul/tree/TreeBoxObject.h => dom/xul/XULTreeElement.h
2018-12-04 11:25:30 -05:00
Timothy Guan-tin Chien 005832324b Bug 1454357 - Remove the scrollbox binding r=NeilDeakin
With all the previous efforts, the scrollbox binding now does nothing but to create an inner box element holding the scrolling content.

It turned out that inner box can be easily removed. The padding set by the document sheets can be moved to the srollbox element directly.

The only gotcha is XULScrollElement::ScrollByIndex() -- it can now reach the child item frames directly from the scrolled frame.

Depends on D15169

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

--HG--
extra : moz-landing-system : lando
2019-01-09 20:12:26 +00:00
Masayuki Nakano 2c46fac276 Bug 1518384 - Fix some lines which depend on |using namespace mozilla| and |using namespace mozilla::dom| in Document.cpp and Element.cpp r=smaug
After landing bug 1517241, some lines in Document.cpp and Element.cpp depend on
`using namespace mozilla` and `using namespace mozilla::dom` of *different*
cpp files.  Therefore, when you rename some cpp files in dom/base, you'll
hit compile error.

This patch fixes the dependency with moving some classes into mozilla namespace
and adding |mozilla::| or |dom::| to a couple of lines.

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

--HG--
rename : dom/base/nsIdentifierMapEntry.h => dom/base/IdentifierMapEntry.h
extra : moz-landing-system : lando
2019-01-08 10:15:55 +00:00
Jorg K 64e5de9372 Bug 1353867 - Follow-up, take 2: revert rev c9a17c8a3c3f and add include of WindowProxyHolder.h where it was missing. r=bz 2019-01-03 09:11:00 +02:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Peter Van der Beken 58c7fc4d20 Bug 1353867 - Change WindowProxyHolder's native type to BrowsingContext. r=bzbarsky
Make the WindowProxyHolder hold a strong reference to a BrowsingContext, as in the future
we might not have a nsPIDOMWindowOuter (if the document is loaded in a different process).

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

--HG--
extra : moz-landing-system : lando
2019-01-02 13:27:05 +00:00
Peter Van der Beken a17049feac Bug 1353867 - Change WindowProxy type. r=bzbarsky
Add a WindowProxyHolder type and generate binding code that takes or returns it whenever
the WebIDL refers to the WindowProxy type. This patch just makes the WindowProxyHolder
hold a strong reference to a nsPIDOMWindowOuter.

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

--HG--
extra : moz-landing-system : lando
2019-01-02 13:26:56 +00:00
Emilio Cobos Álvarez 63814207cb Bug 1516853 - Merge nsIDocument and nsDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15498

--HG--
extra : moz-landing-system : lando
2018-12-31 14:10:19 +00:00
Bogdan Tara 3eb2f351ae Backed out 6 changesets (bug 1353867) for nsDocShell.cpp failures CLOSED TREE
Backed out changeset aa9b106b15d9 (bug 1353867)
Backed out changeset 8c05f4d3f7ad (bug 1353867)
Backed out changeset 00869bed4121 (bug 1353867)
Backed out changeset 700aeb906fd2 (bug 1353867)
Backed out changeset 8b60851b93da (bug 1353867)
Backed out changeset ebdf4531b3bd (bug 1353867)
2018-12-31 17:47:12 +02:00
Peter Van der Beken 831826fe41 Bug 1353867 - Change WindowProxyHolder's native type to BrowsingContext. r=bzbarsky
Make the WindowProxyHolder hold a strong reference to a BrowsingContext, as in the future
we might not have a nsPIDOMWindowOuter (if the document is loaded in a different process).

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

--HG--
extra : moz-landing-system : lando
2018-12-31 10:51:32 +00:00
Peter Van der Beken 68a88553fa Bug 1353867 - Change WindowProxy type. r=bzbarsky
Add a WindowProxyHolder type and generate binding code that takes or returns it whenever
the WebIDL refers to the WindowProxy type. This patch just makes the WindowProxyHolder
hold a strong reference to a nsPIDOMWindowOuter.

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

--HG--
extra : moz-landing-system : lando
2018-12-31 10:50:36 +00:00
Emilio Cobos Álvarez 006a4ab94a Bug 1516366 - Move nsOnloadBlocker and nsDocumentOnStack to nsDocument.cpp, and shrink nsDocument.h to the minimmum. r=smaug
This needs to add a few of includes in other places which were relying on the
massive (now gone) list in nsDocument.h.

I also needed to move an AnimationTimeline destructor out of line because it
relied on dom::Animation being defined, yet Animation.h includes
AnimationTimeline.h, so include hell.

Differential Revision: https://phabricator.services.mozilla.com/D15366
2018-12-29 20:41:42 +01:00
Emilio Cobos Álvarez f131713362 Bug 1516366 - Move base classes from nsDocument to nsIDocument. r=smaug
This is a big step in order to merge both.

Also allows to remove some very silly casts, though it causes us to add some
ToSupports around to deal with ambiguity of casts from nsIDocument to
nsISupports, and add a dummy nsISupports implementation that will go away later
in the series.

Differential Revision: https://phabricator.services.mozilla.com/D15352
2018-12-29 20:41:28 +01:00
Olli Pettay e0ddfb3917 Bug 1514791, don't generate click if path from mousedown.target to mouseup.target contains a menupopup - mark menupopup interactive content for now, r=masayuki
--HG--
extra : rebase_source : 06d9b3f6f9a6f9ace5a513fe69ec27410599bccc
2018-12-21 12:15:25 +02:00
Mark Banner 8c00ef3f30 Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13746

--HG--
extra : moz-landing-system : lando
2018-12-11 13:15:08 +00:00
Brindusan Cristian 989d78f3d0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-11 00:10:08 +02:00
Neil Deakin 2ceb209681 Bug 1492326, revert some of bug 1478372, so that callers need to get the custom interface from a custom element without using QueryInterface, r=peterv 2018-12-04 11:33:06 -05:00
Neil Deakin ef24d6e37e Bug 1492326, use Element helper methods in dom/layout instead of QueryInterface to get interface implementations that might be implemented by custom elements, r=paolo 2018-12-04 11:33:05 -05:00
Neil Deakin d2ed932b7c Bug 1492326, change methods of nsIDOMXUL* interfaces so that they return Elements to reduce usages as most callers want the return values as elements, r=peterv 2018-12-04 11:25:41 -05:00
Timothy Guan-tin Chien 5f45d86bf7 Bug 1512696 - Pick up is attribute from XHTML element in XUL document r=smaug
This patch allow nsXULPrototypeElement to set mIsAtom when the namespace is in XHTML.

The value is needed by XULDocument::CreateElementFromPrototype() so we could properly
pass it to NS_NewHTMLElement().

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

--HG--
extra : moz-landing-system : lando
2018-12-10 21:19:35 +00:00
Ciure Andrei ed617be144 Backed out 2 changesets (bug 1512052)for causing build bustages CLOSED TREE
Backed out changeset 4773a3f46c22 (bug 1512052)
Backed out changeset 2f48c5afbe57 (bug 1512052)

--HG--
rename : browser/components/attribution/test/xpcshell/.eslintrc.js => browser/components/attribution/test/.eslintrc.js
2018-12-05 05:47:39 +02:00
Mark Banner 8256078237 Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
Depends on D13745

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

--HG--
extra : moz-landing-system : lando
2018-12-04 22:27:35 +00:00
Tooru Fujisawa 7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Benjamin Bouvier a7f1d173a0 Bug 1511383: Update vim modelines after clang-format; r=sylvestre
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)

--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Coroiu Cristina da4da94439 Merge mozilla-central to inbound a=merge 2018-11-29 06:39:53 +02:00
Boris Zbarsky 4297d8370d Bug 1491925. Remove the various instrumentation we added to pin down InnerSetNewDocument failures. r=mccr8.
This is a straight backout of (in that order) bug 1505468, bug 1503664, bug
1501479, bug 1499150, bug 1496805, and the second part of bug 1493849.  The
first part of bug 1493849 was a backout of earlier instrumentation, and that
should stay.

At this point we know we're hitting OOM inside the JS engine while trying to
define properties on Document.prototype, so all this MOZ_CRASH instrumentation
is no longer needed.
2018-11-28 18:24:53 -05:00
Brendan Dahl 4ddfd96e60 Bug 1509576 - Fix crash when showing tooltip. r=NeilDeakin
Handle the case when there is no tooltip text provider.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 18:42:57 +00:00
Neil Deakin 15fc83d268 Bug 1502704, overlay scrollbars don't fade out properly as no QI to nsStyledElement is available r=peterv 2018-10-29 07:00:00 +02:00
James Teh 9e968bb929 Bug 1506787: Support tabindex attribute (including value -1) on non-control XUL elements. r=smaug
Previously, the tabindex attribute wasn't supported on non-control XUL elements at all.
The only way to make those focusable was to use -moz-user-focus: normal.
However, that caused the element to be included in the tab order; there was no way to make it focusable but not tabbable.
This can now be achieved using tabindex="-1".
This will primarily be useful for buttons on toolbars, which will be grouped under a single tab stop for efficiency.

For consistency, this also changes the behaviour of tabindex="-1" with -moz-user-focus: ignore on XUL controls.
Previously, -moz-user-focus: ignore would override tabindex="-1", making the element unfocusable.
Now, the tabindex attribute always overrides if explicitly specified.

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

--HG--
extra : moz-landing-system : lando
2018-11-17 02:38:27 +00:00
Jeff Walden 7dd0d06d8c Bug 1485800 - Rename SourceBufferHolder to SourceText, and add a <typename Unit> template parameter to it so it can hold putative UTF-8 or UTF-16 source text. r=tcampbell, r=fitzgen
--HG--
rename : js/public/SourceBufferHolder.h => js/public/SourceText.h
extra : rebase_source : 34df669c2481eaccd6845f53c5ecf656b636f895
2018-11-08 18:42:48 -08:00
Jeff Walden f2196f8c8f Bug 1503086 - Initialize all SourceBufferHolders with a fallible function that in all cases assumes ownership of given-ownership data. r=tcampbell, r=bz, r=mrbkap on some finicky worker code lightly touched here
--HG--
extra : rebase_source : 94b1a13dc03a7f1a5d07a2c665fdc0cde162d411
2018-10-23 12:27:16 -07:00
Brendan Dahl 9058324771 Bug 1490464 - Fix XUL attribute persistence for browser.xhtml. r=smaug
Move XUL persistence handling into it's own class and make it a separate
nsIDocumentObserver so it can also be used in non-XUL documents.
To avoid adding persistence to all non-XUL documents, a document must add
the "mozpersist" attribute to the root element if it wants enable the
feature.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:45:20 +00:00
Kris Maglione 6fb571f4fb Bug 1356412: Part 2 - Remove script loader path mangling from DOM code. r=bz
As in part 1, this no longer serves any purpose.

This patch also removes the otherwise unused WrappersEnabled() method, which
was similarly only useful before we had compartment-based security isolation.
Its functionality is now handled by compartment flags.

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

--HG--
extra : rebase_source : e4c85eda6cdf430844dea828e2eee3a083f2616d
2018-11-02 16:15:26 -07:00
Gabriele Svelto 266ef73c96 Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D10251

--HG--
extra : moz-landing-system : lando
2018-10-31 20:39:03 +00:00
Emilio Cobos Álvarez a5c0df3224 Bug 1502875 - Remove AddElementToDocumentPre and RemoveSubtreeFromDocument. r=smaug
The ID table is managed in BindToTree / UnbindFromTree.

I guess this was more important when XUL templates were a thing.

Differential Revision: https://phabricator.services.mozilla.com/D10056
2018-10-29 22:43:29 +01:00
Emilio Cobos Álvarez bb5e809692 Bug 1497940 - Fix an assertion in XULDocument::AddSubtreeToDocument. r=smaug
We notify the document when appending to a connected shadow root, that assertion
doesn't really hold.
2018-10-29 22:43:27 +01:00
Brendan Dahl 934e37ef92 Bug 1486888 - Support XUL broadcasters in non-XUL documents. r=smaug
The majority of the XUL broadcaster logic is moved out of XULDocument and
into a separate class (XULBroadcastManager). The hookup points for when
listeners need to be created and listeners need to be notified is now
handled by the XULElement itself and nsDocument. To avoid any overhead,
the XULBroadcastManager is only ever created when a document uses a
listener.

The new approach does have the disadvantage that broadcasting can now only
work with XULElements, but going forward we'd like to discontinue this
feature and rely on MutationObservers to implement similar things.

One test had to be modified to use XUL elements instead of HTML elements
because of the reason noted above.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 01:22:46 +00:00
Neil Deakin 51f69a2c2a Bug 1494000, use Element::GetFrame in XULMenuElement and XULPopupElement, r=bz 2018-10-18 08:40:10 -04:00
Brian Grinstead e1e432ca29 Bug 1497601 - Use a xul:description instead of a xul:label for tooltips;r=smaug
We'd like to be able to implement label features with a Custom Element, and we
don't want to run CE reactions inside of NAC.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 13:54:07 +00:00
Noemi Erli 803184ef7d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-04 07:11:04 +03:00
Brendan Dahl 856ed80bda Bug 1461798 - Migrate <tooltip> to a C++ implementation. r=smaug
Move the implementation of the XBL tooltip to C++ so the element can safely
be created during native anonymous content creation. The 'mouseover' and
'mouseout' event handlers were not moved as they appear to be legacy code
that is no longer needed.

A number of tests started perma-failing after this patch. Most failures
were caused by a timing change where plugins sometimes load after the
document "load" event. Many of the failures had intermittents associated
with them and the tests were not waiting for plugins to load before
starting. The test "test_weakmap_keys_preserved2.xul" had a bug where it
was possible for it to finish before all the tests were run.

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

--HG--
extra : moz-landing-system : lando
2018-10-03 20:42:19 +00:00
Gurzau Raul ca3641419f Merge inbound to mozilla-central. a=merge
--HG--
rename : docshell/test/bug123696-subframe.html => docshell/test/mochitest/bug123696-subframe.html
rename : docshell/test/bug404548-subframe.html => docshell/test/mochitest/bug404548-subframe.html
rename : docshell/test/bug404548-subframe_window.html => docshell/test/mochitest/bug404548-subframe_window.html
rename : docshell/test/bug413310-post.sjs => docshell/test/mochitest/bug413310-post.sjs
rename : docshell/test/bug413310-subframe.html => docshell/test/mochitest/bug413310-subframe.html
rename : docshell/test/bug529119-window.html => docshell/test/mochitest/bug529119-window.html
rename : docshell/test/bug530396-noref.sjs => docshell/test/mochitest/bug530396-noref.sjs
rename : docshell/test/bug530396-subframe.html => docshell/test/mochitest/bug530396-subframe.html
rename : docshell/test/bug570341_recordevents.html => docshell/test/mochitest/bug570341_recordevents.html
rename : docshell/test/bug668513_redirect.html => docshell/test/mochitest/bug668513_redirect.html
rename : docshell/test/bug668513_redirect.html^headers^ => docshell/test/mochitest/bug668513_redirect.html^headers^
rename : docshell/test/bug691547_frame.html => docshell/test/mochitest/bug691547_frame.html
rename : docshell/test/dummy_page.html => docshell/test/mochitest/dummy_page.html
rename : docshell/test/file_anchor_scroll_after_document_open.html => docshell/test/mochitest/file_anchor_scroll_after_document_open.html
rename : docshell/test/file_bfcache_plus_hash_1.html => docshell/test/mochitest/file_bfcache_plus_hash_1.html
rename : docshell/test/file_bfcache_plus_hash_2.html => docshell/test/mochitest/file_bfcache_plus_hash_2.html
rename : docshell/test/file_bug1121701_1.html => docshell/test/mochitest/file_bug1121701_1.html
rename : docshell/test/file_bug1121701_2.html => docshell/test/mochitest/file_bug1121701_2.html
rename : docshell/test/file_bug1151421.html => docshell/test/mochitest/file_bug1151421.html
rename : docshell/test/file_bug1186774.html => docshell/test/mochitest/file_bug1186774.html
rename : docshell/test/file_bug1450164.html => docshell/test/mochitest/file_bug1450164.html
rename : docshell/test/file_bug385434_1.html => docshell/test/mochitest/file_bug385434_1.html
rename : docshell/test/file_bug385434_2.html => docshell/test/mochitest/file_bug385434_2.html
rename : docshell/test/file_bug385434_3.html => docshell/test/mochitest/file_bug385434_3.html
rename : docshell/test/file_bug475636.sjs => docshell/test/mochitest/file_bug475636.sjs
rename : docshell/test/file_bug509055.html => docshell/test/mochitest/file_bug509055.html
rename : docshell/test/file_bug511449.html => docshell/test/mochitest/file_bug511449.html
rename : docshell/test/file_bug540462.html => docshell/test/mochitest/file_bug540462.html
rename : docshell/test/file_bug580069_1.html => docshell/test/mochitest/file_bug580069_1.html
rename : docshell/test/file_bug580069_2.sjs => docshell/test/mochitest/file_bug580069_2.sjs
rename : docshell/test/file_bug590573_1.html => docshell/test/mochitest/file_bug590573_1.html
rename : docshell/test/file_bug590573_2.html => docshell/test/mochitest/file_bug590573_2.html
rename : docshell/test/file_bug598895_1.html => docshell/test/mochitest/file_bug598895_1.html
rename : docshell/test/file_bug598895_2.html => docshell/test/mochitest/file_bug598895_2.html
rename : docshell/test/file_bug634834.html => docshell/test/mochitest/file_bug634834.html
rename : docshell/test/file_bug598895_1.html => docshell/test/mochitest/file_bug637644_1.html
rename : docshell/test/file_bug598895_2.html => docshell/test/mochitest/file_bug637644_2.html
rename : docshell/test/file_bug640387.html => docshell/test/mochitest/file_bug640387.html
rename : docshell/test/file_bug653741.html => docshell/test/mochitest/file_bug653741.html
rename : docshell/test/file_bug660404 => docshell/test/mochitest/file_bug660404
rename : docshell/test/file_bug660404-1.html => docshell/test/mochitest/file_bug660404-1.html
rename : docshell/test/file_bug660404^headers^ => docshell/test/mochitest/file_bug660404^headers^
rename : docshell/test/file_bug653741.html => docshell/test/mochitest/file_bug662170.html
rename : docshell/test/file_bug668513.html => docshell/test/mochitest/file_bug668513.html
rename : docshell/test/file_bug669671.sjs => docshell/test/mochitest/file_bug669671.sjs
rename : docshell/test/file_bug675587.html => docshell/test/mochitest/file_bug675587.html
rename : docshell/test/file_bug680257.html => docshell/test/mochitest/file_bug680257.html
rename : docshell/test/file_bug703855.html => docshell/test/mochitest/file_bug703855.html
rename : docshell/test/file_bug728939.html => docshell/test/mochitest/file_bug728939.html
rename : docshell/test/file_close_onpagehide1.html => docshell/test/mochitest/file_close_onpagehide1.html
rename : docshell/test/file_close_onpagehide2.html => docshell/test/mochitest/file_close_onpagehide2.html
rename : docshell/test/file_framedhistoryframes.html => docshell/test/mochitest/file_framedhistoryframes.html
rename : docshell/test/file_pushState_after_document_open.html => docshell/test/mochitest/file_pushState_after_document_open.html
rename : docshell/test/historyframes.html => docshell/test/mochitest/historyframes.html
rename : docshell/test/mochitest.ini => docshell/test/mochitest/mochitest.ini
rename : docshell/test/start_historyframe.html => docshell/test/mochitest/start_historyframe.html
rename : docshell/test/test_anchor_scroll_after_document_open.html => docshell/test/mochitest/test_anchor_scroll_after_document_open.html
rename : docshell/test/test_bfcache_plus_hash.html => docshell/test/mochitest/test_bfcache_plus_hash.html
rename : docshell/test/test_bug1045096.html => docshell/test/mochitest/test_bug1045096.html
rename : docshell/test/test_bug1121701.html => docshell/test/mochitest/test_bug1121701.html
rename : docshell/test/test_bug1151421.html => docshell/test/mochitest/test_bug1151421.html
rename : docshell/test/test_bug1186774.html => docshell/test/mochitest/test_bug1186774.html
rename : docshell/test/test_bug123696.html => docshell/test/mochitest/test_bug123696.html
rename : docshell/test/test_bug1450164.html => docshell/test/mochitest/test_bug1450164.html
rename : docshell/test/test_bug384014.html => docshell/test/mochitest/test_bug384014.html
rename : docshell/test/test_bug385434.html => docshell/test/mochitest/test_bug385434.html
rename : docshell/test/test_bug387979.html => docshell/test/mochitest/test_bug387979.html
rename : docshell/test/test_bug402210.html => docshell/test/mochitest/test_bug402210.html
rename : docshell/test/test_bug404548.html => docshell/test/mochitest/test_bug404548.html
rename : docshell/test/test_bug413310.html => docshell/test/mochitest/test_bug413310.html
rename : docshell/test/test_bug475636.html => docshell/test/mochitest/test_bug475636.html
rename : docshell/test/test_bug509055.html => docshell/test/mochitest/test_bug509055.html
rename : docshell/test/test_bug511449.html => docshell/test/mochitest/test_bug511449.html
rename : docshell/test/test_bug529119-1.html => docshell/test/mochitest/test_bug529119-1.html
rename : docshell/test/test_bug529119-2.html => docshell/test/mochitest/test_bug529119-2.html
rename : docshell/test/test_bug530396.html => docshell/test/mochitest/test_bug530396.html
rename : docshell/test/test_bug540462.html => docshell/test/mochitest/test_bug540462.html
rename : docshell/test/test_bug551225.html => docshell/test/mochitest/test_bug551225.html
rename : docshell/test/test_bug570341.html => docshell/test/mochitest/test_bug570341.html
rename : docshell/test/test_bug580069.html => docshell/test/mochitest/test_bug580069.html
rename : docshell/test/test_bug590573.html => docshell/test/mochitest/test_bug590573.html
rename : docshell/test/test_bug598895.html => docshell/test/mochitest/test_bug598895.html
rename : docshell/test/test_bug634834.html => docshell/test/mochitest/test_bug634834.html
rename : docshell/test/test_bug637644.html => docshell/test/mochitest/test_bug637644.html
rename : docshell/test/test_bug640387_1.html => docshell/test/mochitest/test_bug640387_1.html
rename : docshell/test/test_bug640387_2.html => docshell/test/mochitest/test_bug640387_2.html
rename : docshell/test/test_bug653741.html => docshell/test/mochitest/test_bug653741.html
rename : docshell/test/test_bug660404.html => docshell/test/mochitest/test_bug660404.html
rename : docshell/test/test_bug662170.html => docshell/test/mochitest/test_bug662170.html
rename : docshell/test/test_bug668513.html => docshell/test/mochitest/test_bug668513.html
rename : docshell/test/test_bug669671.html => docshell/test/mochitest/test_bug669671.html
rename : docshell/test/test_bug675587.html => docshell/test/mochitest/test_bug675587.html
rename : docshell/test/test_bug680257.html => docshell/test/mochitest/test_bug680257.html
rename : docshell/test/test_bug691547.html => docshell/test/mochitest/test_bug691547.html
rename : docshell/test/test_bug694612.html => docshell/test/mochitest/test_bug694612.html
rename : docshell/test/test_bug703855.html => docshell/test/mochitest/test_bug703855.html
rename : docshell/test/test_bug728939.html => docshell/test/mochitest/test_bug728939.html
rename : docshell/test/test_bug797909.html => docshell/test/mochitest/test_bug797909.html
rename : docshell/test/test_close_onpagehide_by_history_back.html => docshell/test/mochitest/test_close_onpagehide_by_history_back.html
rename : docshell/test/test_close_onpagehide_by_window_close.html => docshell/test/mochitest/test_close_onpagehide_by_window_close.html
rename : docshell/test/test_forceinheritprincipal_overrule_owner.html => docshell/test/mochitest/test_forceinheritprincipal_overrule_owner.html
rename : docshell/test/test_framedhistoryframes.html => docshell/test/mochitest/test_framedhistoryframes.html
rename : docshell/test/test_pushState_after_document_open.html => docshell/test/mochitest/test_pushState_after_document_open.html
rename : docshell/test/test_triggeringprincipal_location_seturi.html => docshell/test/mochitest/test_triggeringprincipal_location_seturi.html
rename : docshell/test/test_windowedhistoryframes.html => docshell/test/mochitest/test_windowedhistoryframes.html
rename : docshell/test/url1_historyframe.html => docshell/test/mochitest/url1_historyframe.html
rename : docshell/test/url2_historyframe.html => docshell/test/mochitest/url2_historyframe.html
rename : third_party/rust/syn/src/parsers.rs => third_party/rust/syn-0.14.6/src/parsers.rs
rename : third_party/rust/syn/src/verbatim.rs => third_party/rust/syn-0.14.6/src/verbatim.rs
rename : third_party/rust/uuid/.travis.yml => third_party/rust/uuid-0.5.1/.travis.yml
rename : third_party/rust/uuid/src/rustc_serialize.rs => third_party/rust/uuid-0.5.1/src/rustc_serialize.rs
rename : third_party/rust/uuid/src/serde.rs => third_party/rust/uuid-0.5.1/src/serde.rs
2018-10-02 19:03:40 +03:00
Andrew McCreight 837f0af066 Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug
If class A is derived from class B, then an instance of class A can be
converted to B via a static cast, so a slower QI is not needed.

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

--HG--
extra : moz-landing-system : lando
2018-10-01 21:38:01 +00:00
Alexander Surkov bdd3f4e880 Bug 1494230 - replace #text-base binding by webidl control, r=smaug 2018-10-01 11:37:39 +08:00
Boris Zbarsky a6e3c61c96 Bug 1493849 part 2. Add instrumentation to nsIDocument::WrapObject to figure out why it fails sometimes. r=mccr8 2018-09-25 13:35:07 -04:00
Brendan Dahl 3b90617635 Bug 1493210 - Remove XUL forward references. r=bzbarsky
These are no longer needed after the removal of overlays.

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

--HG--
extra : moz-landing-system : lando
2018-09-24 16:43:42 +00:00
Nathan Froyd 846d8789ee Bug 1492894 - part 1 - make the node hierarchy consistently constructed with NodeInfo&&; r=mccr8
Various places in dom/ use the pattern:

  already_AddRefed<NodeInfo> ni = ...;

which is supposed to be disallowed by our static analysis code, but
isn't, for whatever reason.  To fix our static analysis code, we need to
eliminate instances of the above pattern.

Unfortunately, eliminating this pattern requires restructuring how Nodes
are created.  Most Node subclasses take `already_AddRefed<NodeInfo>&` in
their constructors, and a few accept `already_AddRefed<NodeInfo>&&`.  We
need to enforce the latter pattern consistently, which requires changing
dozens of source files.
2018-09-21 16:45:49 -04:00
Alexander Surkov e3b5779853 Bug 1494529 - kill #text-label binding, r=smaug 2018-10-02 10:15:51 +08:00
Brendan Dahl f9a04c9647 Bug 1486895 - Move keyset handling to XUL element. r=smaug
The global XBL key handler wasn't being setup for browser.xhtml since it
was being setup in XULDocument.

MozReview-Commit-ID: H9OGQbAGRQn

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

--HG--
extra : moz-landing-system : lando
2018-09-20 08:42:07 +00:00
Neil Deakin 00b778c4e7 Bug 1478372, allow QueryInterface to be used for custom element implemented interfaces, r=bz,bgrins 2018-09-19 06:46:41 -04:00
Emma Malysz 696ceb303f Bug 1465219, use XULMenuElement, a subclass of nsXULElement, instead of MenuBoxObject for menu and menulist elements, r=paolo,bz
MozReview-Commit-ID: 5253hAlxbhw

--HG--
rename : dom/webidl/MenuBoxObject.webidl => dom/chrome-webidl/XULMenuElement.webidl
rename : layout/xul/MenuBoxObject.cpp => dom/xul/XULMenuElement.cpp
rename : layout/xul/MenuBoxObject.h => dom/xul/XULMenuElement.h
2018-07-31 12:30:17 -07:00
Gurzau Raul c03510c273 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-17 19:48:54 +03:00
Thomas Nguyen 02f4dbbbf9 Bug 1330487 - Part 3: Propagate referrer policy from doc/sheet to URLExtraData r=heycam
Referrer policy argurment is passed from sheet/doc to URLExtraData, default
value is RP_Unset. We use default value in some cases, particularly when there's
no certain spec talks about that (svg for example)

MozReview-Commit-ID: 5VAX1ZUXD3i

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

--HG--
extra : moz-landing-system : lando
2018-09-17 05:36:45 +00:00
Ehsan Akhgari 9fe0e0670a Bug 1491605 - Remove nsIControllerCommandGroup because it is dead code; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5965
2018-09-17 09:54:04 -04:00
Ehsan Akhgari 79b7b4ad24 Bug 1491387 - Remove NS_NewXULControllers(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5927
2018-09-17 09:52:18 -04:00
Ehsan Akhgari 34ac769d9e Bug 1491019 - Remove the XPCOM component registration for nsXULControllers; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5774
2018-09-14 13:32:45 -04:00
Andrew McCreight 70fe7daafb Bug 1489690, part 4 - Fix some misc. issues with the XUL sort service r=bzbarsky
Depends on D5593

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

--HG--
extra : moz-landing-system : lando
2018-09-13 18:37:50 +00:00
Andrew McCreight c7b30c67ec Bug 1489690, part 3 - De-COM the XUL sort service r=bzbarsky
There's only one method that is used, and we never need to create any
instances of the object, so turn it into a single method.

Depends on D5592

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

--HG--
extra : moz-landing-system : lando
2018-09-13 18:37:48 +00:00
Andrew McCreight 4db3f10eaa Bug 1489690, part 2 - Move everything not in the nsI interface into the cpp file r=bzbarsky
There's no state on the object, so all of the methods can be turned
into static methods in the CPP files. I leave the one public method,
Sort, alone for simplicity. The internal data structure definitions
also don't need to be publicly exposed.

This patch is a bit messy because I had to rearrange methods so they
were defined before they were used. This makes the resulting code a
little nicer (as compared to forward declaring methods), but makes the
VCS history worse.

Depends on D5591

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

--HG--
extra : moz-landing-system : lando
2018-09-13 18:37:46 +00:00
Andrew McCreight 4a93f15458 Bug 1489690, part 1 - Remove the registration for the sort service r=bzbarsky
This is only used in a single place, so having a service for it is overkill.

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

--HG--
extra : moz-landing-system : lando
2018-09-13 18:37:44 +00:00
Alexander Surkov 0868d78991 Bug 1446831 - move label, description css rules out of minimal-xul.css, patch=bgrins, surkov, r=smaug 2018-09-13 11:06:32 +08:00
Nicholas Nethercote 36c48819d1 Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku
--HG--
extra : rebase_source : db09f7ab93a1c41ace03a645623f78a27ecfff8c
2018-04-03 13:21:06 +10:00
Zibi Braniecki e78d123097 Bug 1455649 - DocumentL10n, part 3 - Plug DocumentL10n life cycle into DOM hooks. r=smaug
--HG--
extra : rebase_source : d071878d22b5fd204db8367780ee22be22196773
2018-09-06 18:28:40 -07:00
Brian Grinstead a5cb861f39 Bug 1487476 - Expose lightweight themes as chrome-only features on nsIDocument instead of XULDocument;r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D4719

--HG--
extra : moz-landing-system : lando
2018-08-30 23:17:58 +00:00
Jeff Walden 64fceacad0 Bug 1486577 - Don't #include "js/CompilationAndEvaluation.h" in jsapi.h, minimizing the scope of that header and reducing translation-unit size of anything that needs JSAPI but doesn't need to compile/evaluate JavaScript. r=jandem
--HG--
extra : rebase_source : cd9a8becc15477bc5e24408159d4f061ec81c8b2
2018-08-24 22:51:49 -05:00
Jeff Walden 4bdf4a3614 Bug 1486577 - Don't #include js/SourceBufferHolder.h in jsapi.h, and instead require users to do so -- a minor translation-unit size improvement for anyone who never has to use SourceBufferHolder other than by reference. r=jandem
--HG--
extra : rebase_source : df47aba0c7dac3fe80ab6ea1b9a34c7acc54850d
2018-08-24 21:01:58 -05:00
Brendan Dahl 114c68f373 Bug 1482170 - Remove <Add/Remove>BroadcastListenerFor on XULDocument webidl. r=bz
These methods are only ever used in tests and no longer need to be exposed.
In test_bug445177.xul I tried to preserve more of the test, but everything
after the call to addBroadcastListenerFor is dependent on that.

MozReview-Commit-ID: C4vAxNir4O8
2018-08-15 09:14:23 -07:00
Xidorn Quan 33b8a6dacd Bug 1483090 - Rename StyleUserInterface to StyleUI. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D3276

--HG--
extra : moz-landing-system : lando
2018-08-14 08:37:37 +00:00
Adrian Wielgosik be0c1a4f55 Bug 1481645 - Remove some redundant uses of do_QueryInterface. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D2893

--HG--
extra : moz-landing-system : lando
2018-08-13 09:05:19 +00:00
Tiberius Oros aff5d4ad5d Merge inbound to mozilla-central. a=merge 2018-08-09 13:02:05 +03:00
Emilio Cobos Álvarez 1fbd784d00 Bug 1481601 - Remove now-useless aPreallocateChildren from nsINode::Clone() and friends. r=bzbarsky
Since sed on multiple lines ended up being such a pain and I didn't end up
writing a script for this because I didn't think it'd end up being so boring, I
may have made a couple cleanups here and there as well...

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

--HG--
extra : moz-landing-system : lando
2018-08-08 23:58:44 +00:00
Brendan Dahl 027788b3ce Bug 1481286 - Move command dispatcher from XULDocument to Document. r=bz
Allows non-XUL chrome privilege documents to also use the command
dispatcher. The command dispatcher is created lazily since it will not
always be used.

Update test to reflect removal of the XUL attribute "commandDispatcher"
from content privilege XUL.

MozReview-Commit-ID: HUXMG9kx4ft
2018-08-08 09:02:03 -07:00
Brendan Dahl 3c230cf25e Bug 1481286 - Use a custom element to add/remove command updater. r=bz
Create a "commandset" custom element that performs the job of adding and
removing command updaters that XULDocument use to do. Previously, the
"commandupdater" attribute was allowed on any element, but in tree it is
only every used on "commandset" elements.

MozReview-Commit-ID: HUXMG9kx4ft
2018-08-08 09:02:03 -07:00
Olli Pettay 7315a671e1 Bug 1481399 - rename nsAttrAndChildArray to AttrArray, r=mrbkap
--HG--
rename : dom/base/nsAttrAndChildArray.cpp => dom/base/AttrArray.cpp
rename : dom/base/nsAttrAndChildArray.h => dom/base/AttrArray.h
extra : rebase_source : 488f4d9c87bf337686abfa98e79466343a9e6685
2018-08-07 22:07:26 +03:00
Brendan Dahl da472b2bfe Bug 1480206 - Move XULDocument popup attributes to Document. r=bz
Allows top level non-XUL documents to share this code. Three tests had to
be adjusted to account for the attributes being chrome only now and not
available to content privilege XUL. In two tests, the values attributes
are now simply undefined. The crashtest was converted to a chrome
mochitest to preserve what it was testing.

MozReview-Commit-ID: 99w9Ax4et3C

--HG--
rename : dom/base/crashtests/473284.xul => dom/base/test/chrome/test_bug473284.xul
extra : rebase_source : 924d34a88fe8a48d766f78b02e64275f6e7cdc2b
2018-08-06 10:52:53 -07:00
Boris Zbarsky d4993da381 Bug 1476142 part 4. Remove some unnecessary QIs on window in various parts of the tree. r=kmag
The crashtest was not testing anything useful, because getInterface is no longer exposed to web content.
2018-08-02 15:26:48 -04:00
dvarga 09eac64963 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-02 01:19:44 +03:00
Brian Grinstead d2ba8811dc Bug 1479543 - Expose getBoxObjectFor on Document instead of XULDocument;r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D2570

--HG--
extra : moz-landing-system : lando
2018-08-01 22:00:44 +00:00
Jon Coppeard 4ff436874c Bug 1475228 - Make asynchronous compile APIs take SourceBufferHolders r=jandem 2018-07-17 14:30:23 +01:00
Emilio Cobos Álvarez 8f34c12e14 Bug 1479860: Remove unused aCompileEventHandlers argument from BindToTree. r=bz
Mostly automatic via sed. Only parts which I touched manually (apart from a
couple ones where I fixed indentation or which had mispelled arguments) are the
callers. I may have removed a couple redundant `virtual` keywords as well when
I started to do it manually, I can revert those if wanted.

Most of them are just removing the argument, but in Element.cpp I also added an
assertion for GetBindingParent when binding the ShadowRoot's kids (the binding
parent is set from the ShadowRoot constructor, and I don't think we bind a
shadow tree during unlink or what not which could cause a behavior difference).

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

MozReview-Commit-ID: 2oIgatty2HU
2018-08-01 10:42:54 +02:00
Emilio Cobos Álvarez 0e0ef15865 Bug 1479860: Remove aCompileEventHandlers argument in nsXULElement::AddListenerFor. r=bz
All callers pass true.

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

MozReview-Commit-ID: A0L3QglvFJa
2018-08-01 10:42:54 +02:00
Jan de Mooij 9b9ef5d8db Bug 1479363 part 3 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in dom/xbl and dom/xul. r=bholley 2018-07-31 08:37:07 +02:00
Andreea Pavel 840f785b1e Backed out 8 changesets (bug 1475228) for wpt failures e.g. html/semantics/scripting-1/the-script-element/execution-timing/088.html on a CLOSED TREE
Backed out changeset b2d18ea619ec (bug 1475228)
Backed out changeset 45d3ffe3308e (bug 1475228)
Backed out changeset 02b27f8441be (bug 1475228)
Backed out changeset b82c2cf4b3f1 (bug 1475228)
Backed out changeset 2bc8f24dc3fc (bug 1475228)
Backed out changeset 6104ea971587 (bug 1475228)
Backed out changeset 7c83633262db (bug 1475228)
Backed out changeset 34fb24d52f08 (bug 1475228)
2018-07-30 16:49:02 +03:00
Jon Coppeard cdfffa27fe Bug 1475228 - Make asynchronous compile APIs take SourceBufferHolders r=jandem 2018-07-17 14:30:23 +01:00
Jan de Mooij 80adc67aba Bug 1478955 part 1 - Rename JSAutoRealm to JSAutoRealmAllowCCW. r=luke 2018-07-28 12:12:26 +02:00
Brian Grinstead 6a6ca1a08c Bug 1475342 - Move document.getElementsByAttribute[NS] to ParentNode so it'll work for HTML document and elements;r=bz
It's currently only accessible on XULDocument and XULElement, but that makes porting existing
JS to run in an HTML document inconvenient. We could alternatively change calling JS, but
this can be easily moved and exposed in chrome contexts.

MozReview-Commit-ID: JitYET20NSE

--HG--
extra : rebase_source : 75d823c688cba8d84dc19705e83284be383962f2
2018-07-26 13:40:13 -07:00
Brian Grinstead b981060d1c Bug 1476678 - Remove document.persist from XULDocument;r=bz
Also remove overload for XULDocument::Persist and the implementation
of XULDocument::DoPersist, since there's only one remaining caller.

MozReview-Commit-ID: CPaTdFJ4GOx

--HG--
extra : rebase_source : b0fdfbdab204f787349b3284fc8c73c4aa799d66
2018-07-21 10:46:25 -07:00
Valentin Gosu 7937c7c4cc Bug 1476928 - Remove nsIURI.CloneIgnoringRef and nsIURI.CloneWithNewRef r=JuniorHsu
The patch introduces NS_GetURIWithNewRef and NS_GetURIWithNewRef which perform the same function.

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

--HG--
extra : moz-landing-system : lando
2018-07-23 11:28:47 +00:00
shindli cd1abb81b8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-19 00:49:25 +03:00
Paolo Amadini dc49387df8 Bug 1472555 - Part 5 - Remove the listbox layout. r=bz,surkov
MozReview-Commit-ID: Bx1p1nTurCz

--HG--
extra : rebase_source : 6910e500f30eb42b45032dbab85a3dc9c014390b
2018-07-18 11:23:32 +01:00
Brendan Dahl cf9a56e726 Bug 1475262 - Only ignore XUL persist on top level windows. r=smaug
Fixes the incorrect assumption that all XUL <window> elements are top level
windows and will have their attribute persistence handled by the
nsXULWindow. An example of where this assumption fails is the password
manager which opens a <window> within a sub dialog that has no nsXULWindow.

MozReview-Commit-ID: 1f59QPIz42s

--HG--
extra : rebase_source : e91711ead3ba7714d8c6ad241e903dc160ad8bab
2018-07-12 13:55:55 -07:00
Margareta Eliza Balazs ad89a11136 Backed out 7 changesets (bug 1475228) for causing Spidermonkey rust failures on Linux x64 debug
Backed out changeset e91802969fb7 (bug 1475228)
Backed out changeset 623af73419eb (bug 1475228)
Backed out changeset bf96bd78dc11 (bug 1475228)
Backed out changeset 104817d51d1b (bug 1475228)
Backed out changeset d3829c85f650 (bug 1475228)
Backed out changeset 74d10b32b3ea (bug 1475228)
Backed out changeset dde64fbe2f0d (bug 1475228)
2018-07-17 17:57:55 +03:00
Jon Coppeard 89af4d641f Bug 1475228 - Make asynchronous compile APIs take SourceBufferHolders r=jandem 2018-07-17 14:30:23 +01:00
Kris Maglione 0bfdb4329f Bug 1473631: Part 0a - Make preference callbacks typesafe. r=njn
I initially tried to avoid this, but decided it was necessary given the number
of times I had to repeat the same pattern of casting a variable to void*, and
then casting it back in a part of code far distant from the original type.

This changes our preference callback registration functions to match the type
of the callback's closure argument to the actual type of the closure pointer
passed, and then casting it to the type of our generic callback function. This
ensures that the callback function always gets an argument of the type it's
actually expecting without adding any additional runtime memory or
QueryInterface overhead for tracking it.

MozReview-Commit-ID: 9tLKBe10ddP

--HG--
extra : rebase_source : 7524fa8dcd5585f5a31fdeb37d95714f1bb94922
2018-07-06 12:24:41 -07:00
Brian Grinstead eafdeadedf Bug 1475305 - Remove document.width and document.height from XULDocument;r=bz
MozReview-Commit-ID: 8jWcMUYA25R

--HG--
extra : rebase_source : c23a2e647922882fc1ca3d7153ec95c5d8a2aa9d
2018-07-12 11:35:11 -07:00
Emma Malysz ce8c74748f Bug 1454358, removes unneccessary implementation of ScrollBoxObject rr?enndeakin+6102 r=bz,enndeakin+6102
MozReview-Commit-ID: LBQ0RoS0ZVc

--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
extra : rebase_source : 6a0de76dfdacbc29d261a4aea703a44f87ad7e12
2018-06-25 10:11:31 -07:00
Bogdan Tara 6dbc2726d8 Backed out changeset b099e7e0b264 (bug 1454358) for build bustages on Element.h CLOSED TREE
--HG--
rename : dom/chrome-webidl/XULScrollElement.webidl => dom/webidl/ScrollBoxObject.webidl
rename : dom/xul/XULScrollElement.cpp => layout/xul/ScrollBoxObject.cpp
rename : dom/xul/XULScrollElement.h => layout/xul/ScrollBoxObject.h
2018-07-12 01:50:53 +03:00
Emma Malysz c28a132d13 Bug 1454358, removes unneccessary implementation of ScrollBoxObject rr?enndeakin+6102 r=bz,enndeakin+6102
MozReview-Commit-ID: LBQ0RoS0ZVc

--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
extra : rebase_source : ad00e7030e50229975b0bc0d3c622af4fe244a79
2018-06-25 10:11:31 -07:00
Brendan Dahl 133e16ecf4 Bug 1449791 - Remove platform support of overlays. r=bz
The following was removed:
- the main meat of the overlays and interface in XULDocument
- all overlay observers and forward references
- the notion of a master document
- XUL overlay provider
- manifest parsing of overlay attribute
- references to "overlay" atom
- restrictions on persistence (only need because of overlays)
- unused code that the above referenced

I also attempted to update comments that referenced overlays, but there is still
some work to be done here.


MozReview-Commit-ID: 8lrirzcgSuJ

--HG--
extra : rebase_source : 25b4e1d3fb2af6f02d894887271fd345c9c2083b
2018-03-28 18:20:04 -07:00
Margareta Eliza Balazs fd5c37f1dd Merge inbound to mozila-central. a=merge 2018-07-06 12:47:20 +03:00
Neil Deakin 0d504e92c3 Bug 1437638, move frame loader property from XULElement to XULFrameElement, removing many checks that only apply to child frames instead of every XUL element. Since it is assumed that most frames/browsers will have frame loaders created for them, and that there aren't many of them, we can use a member field instead of slots, so remove the slot property, r=bz 2018-07-05 20:14:29 -04:00
Neil Deakin f08f9ce4af Bug 1437638, move frame, browser and editor to be based on XULFrameElement, a new subclass of XULElement, r=paolo,bz 2018-07-05 20:14:18 -04:00
Brendan Dahl cba4aa7f3a Bug 1466897 - Rename nsIRootBox to nsIPopupContainer. r=mats
MozReview-Commit-ID: D4GgReAEelG

--HG--
rename : layout/xul/nsIRootBox.h => layout/xul/nsIPopupContainer.h
extra : rebase_source : 6670156e9958d6fb51860fe92bbb4ffbf5789267
2018-06-26 17:29:55 -07:00
Andrea Marchesini 14d462eeb3 Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb 2018-07-05 08:21:04 +02:00
Jeff Gilbert 5b753da289 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Emilio Cobos Álvarez c7d35aa526 Bug 1470930: Use enums for passing arguments for event dispatch. r=smaug
MozReview-Commit-ID: DsNuF7GAflJ
2018-06-26 18:22:06 +02:00
Andi-Bogdan Postelnicu 4f8b7d9e04 Bug 1453795 - XPToolkit - Initialize member fields in classes/ structures. r=jvarga
--HG--
extra : rebase_source : 5db6a49a59781828afd2b4b8d273299c805547c9
2018-06-15 14:12:46 +03:00
Chris Peterson 2afd829d0f Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.

MozReview-Commit-ID: 5UQVHElSpCr

--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Emilio Cobos Álvarez bd7c1e4e8c Bug 1468133: Remove the optimization to lazily load non-SVG styles since it's not relevant anymore. r=heycam
This was a memory-saving optimization introduced as part of dependencies for bug
686875, but a more general system landed in bug 77999 for Gecko and
https://github.com/servo/servo/pull/18509 for Servo.

So now it's probably even a bit of a pessimization (though probably not huge),
and given this causes bugs like bug 1462742, bug 1157592, and bug 1468145, and
fishiness like the one pointed out in this bug, we may as well remove it.

The performance impact of having to lookup through more rules should be minimal
given the bloom filter and the rule hash optimizations.

This makes me wonder whether we could remove the whole concept of on-demand UA
sheets, since they've caused pain, for example, when the frontend people try
loading <svg>s from NAC (since that triggers sheet loading from frame
construction, which is not good). I'm not concerned about loading mathml.css and
svg.css everywhere, though xul.css may not be as doable since it adds a bunch of
attribute-dependent selectors. Though on the other hand I asserted in the
xul.css code and we don't load it in content with <video> / <input
type="date/time/etc"> and such, afaict, so maybe now that legacy addons are gone
we can remove that sheet from content processes altogether.

MozReview-Commit-ID: 9JCWNZj6BkT
2018-06-22 03:42:46 +02:00
catalin.badea392@gmail.com 9c36800bd7 Bug 1469385 - Remove InsertChildAt_Deprecated and RemoveChildAt_Deprecated, r=bz,smaug 2018-06-19 12:21:18 +03:00
Brendan Dahl 7c6e7fdabc Bug 1450753 - Remove XUL style overlays. r=Nika
Style overlays are no longer used outside of tests.

MozReview-Commit-ID: 798Id5JITAm

--HG--
extra : rebase_source : edfbfc973f865d72bbc019a26519436157476793
2018-06-06 15:15:25 -07:00
Emilio Cobos Álvarez fffb25b74f Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Nazım Can Altınova 361380987c Bug 1464496 - Part 1: Merge ServoDeclarationBlock and DeclarationBlock r=emilio
MozReview-Commit-ID: By9fV70Oq0K

--HG--
extra : rebase_source : 837afe9c33b21d7db41ff19d3aaf6cf3e9eedbdf
2018-05-30 18:15:25 +02:00
Emilio Cobos Álvarez fe09ffd3af Bug 1465478: Introduce Element::FromNode. r=smaug
And use it in a couple places I noticed.

MozReview-Commit-ID: 8baSMrbdEbF
2018-05-31 02:46:10 +02:00
Boris Zbarsky cb08b0de7d Bug 1455676 part 21. Remove nsIDOMNode. r=qdot 2018-05-29 22:58:51 -04:00
Boris Zbarsky 115f652b0b Bug 1455676 part 20. Remove now-unused AsDOMNode methods. r=qdot 2018-05-29 22:58:50 -04:00
Boris Zbarsky bea3100e53 Bug 1455676 part 14. Remove most use of nsIDOMNode in dom/. r=qdot 2018-05-29 22:58:49 -04:00
Boris Zbarsky 9748db120d Bug 1455676 part 8. Remove nsIDOMNode usage from layout/. r=qdot 2018-05-29 22:58:48 -04:00
Boris Zbarsky 7d29e0bc6e Bug 1464519. Remove some dead code in nsXULPopupListener::HandleEvent. r=felipe
We've been bailing out if |target| is not nsIContent for a long time now, so
all the code handling it not being an nsIDOMNode is dead.
2018-05-26 00:23:04 -04:00
Brendan Dahl 0bb125f382 Bug 1460639 - Apply persisted window settings before layout. r=smaug
Previously, with early first paint enabled, nsXULWindow incorrectly loaded the
persisted window settings from about:blank and would only load them once.
Instead, load the settings before starting layout.

MozReview-Commit-ID: 6K4ofkbmHHb

--HG--
extra : rebase_source : 7bcd804cfabbd47ee5a747800a2ef81852213889
2018-05-16 18:13:59 -07:00
Olli Pettay 1dc582540a Bug 1463116 - Make mBindingParent strong, r=bz
--HG--
extra : rebase_source : 84aed48c0d8bd298cba0d6b6c6fa898b6c95c1ef
2018-05-22 00:11:11 +03:00
shindli 83d239ac83 Backed out changeset 603804d62ce8 (bug 1463116) for force-cargo-library-build bustage on a CLOSED TREE 2018-05-21 23:55:58 +03:00