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

270 Коммитов

Автор SHA1 Сообщение Дата
Kashav Madan e7ad7b7104 Bug 1543251 - Move hasBeforeUnload from PBrowser to PWindowGlobal, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D37003

--HG--
extra : moz-landing-system : lando
2019-07-15 17:30:26 +00:00
Alphan Chen bd4a8d7302 Bug 1563171 - Move the sessionStore related functions from nsIXULBrowserWindow.idl r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D37424

--HG--
extra : moz-landing-system : lando
2019-07-15 10:29:06 +00:00
Noemi Erli ad5ab4b3e4 Backed out changeset 405100db6c45 (bug 1543251) for failing in nsGlobalWindowInner.cpp 2019-07-11 01:47:47 +03:00
Kashav Madan 0fcee1ff24 Bug 1543251 - Move hasBeforeUnload from PBrowser to PWindowGlobal, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D37003

--HG--
extra : moz-landing-system : lando
2019-07-10 21:13:44 +00:00
Ryan Hunt 27bd25767f Bug 1561395 - Move drawSnapshot API to WindowGlobalParent and allow specifying the whole viewport as a rect. r=mattwoodrow,nika
Differential Revision: https://phabricator.services.mozilla.com/D35842

--HG--
extra : moz-landing-system : lando
2019-07-10 16:45:46 +00:00
Oana Pop Rus 2ad74ef9f7 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-07-04 06:38:21 +03:00
Boris Zbarsky 19251f27ce Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 07:52:35 +00:00
Kris Maglione 65f0f4700f Bug 1532795: Part 4 - Add helper to get BrowsingContext from WindowProxy. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35377

--HG--
extra : rebase_source : 40fc5227409b49f2e4a4dc994324a226a6b01325
extra : source : 119caddcb0660754f9bce5e7153bfc92dc211d57
2019-06-19 13:06:32 -07:00
Cosmin Sabou 3ef8d24958 Backed out changeset 8e16f13a88c8 (bug 1562680) for colliding with Bug 1366738 that was backed out. CLOSED TREE 2019-07-03 10:46:39 +03:00
Boris Zbarsky 73f095abc4 Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 06:44:36 +00:00
Mihai Alexandru Michis c7fc76c18f Backed out changeset 12653dd76667 (bug 1562680) for causing bustages in FuzzingFunctions.webidl CLOSED TREE 2019-07-03 09:34:48 +03:00
Boris Zbarsky 3a5c721abb Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 06:15:54 +00:00
Zibi Braniecki ff1fca971b Bug 1560061 - Make DOMLocalization support ShadowDOM as roots. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D35584

--HG--
rename : dom/l10n/tests/mochitest/dom_localization/test_connectRoot.html => dom/l10n/tests/mochitest/dom_localization/test_connectRoot_webcomponent.html
extra : moz-landing-system : lando
2019-06-26 17:04:43 +00:00
Zibi Braniecki 224a1bb5c4 Bug 1560342 - Replace generic `object` argument with a specific L10nArgs object for passing l10n arguments. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D35586

--HG--
extra : moz-landing-system : lando
2019-06-25 19:43:50 +00:00
Zibi Braniecki ae32fa44eb Bug 1560342 - Factor Localization out of DOMLocalization. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D35445

--HG--
extra : moz-landing-system : lando
2019-06-25 19:39:53 +00:00
Johann Hofmann 90ecafd3e1 Bug 1555963 - Add WindowGlobalParent.getSecurityInfo(). r=nika,mconley
This adds an API for fetching security info per frame, no matter if we have
a certificate error or a valid certificate.

I tried to make this work in a Fission-compatible way, let me know if this
is the right approach.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 05:58:40 +00:00
Nika Layzell 9033668540 Bug 1559409 - Show subframe pids in tab hover text, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D35029

--HG--
extra : moz-landing-system : lando
2019-06-14 15:42:39 +00:00
Logan Smyth a1de03c27b Bug 1529345 - Part 2: Add Gecko infrastructure for receiving notifications about debugger-related events. r=jimb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D30565

--HG--
extra : moz-landing-system : lando
2019-06-17 04:36:29 +00:00
Bas Schouten 202c0599be Bug 1553254 - Part 1: Allow low-overhead selective collection of internal performance probes through ChromeUtils. r=brennie,nika
Differential Revision: https://phabricator.services.mozilla.com/D32039

--HG--
extra : rebase_source : 2484b8d3d15495e63b9e02139aafd3e78a710f37
2019-05-21 21:01:31 +02:00
Nika Layzell 0c0134526f Bug 1556483 - Expose isInitialDocument on WindowGlobalParent, r=bzbarsky
This should hopefully allow the parent process to tell whether a given document
is the initial about:blank document.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:57:32 +00:00
Zibi Braniecki 307d0160a7 Bug 1552714 - Remove dom::l10n namespace and unify class naming. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D33739

--HG--
rename : dom/chrome-webidl/DOMOverlays.webidl => dom/chrome-webidl/L10nOverlays.webidl
rename : dom/l10n/Mutations.cpp => dom/l10n/L10nMutations.cpp
rename : dom/l10n/Mutations.h => dom/l10n/L10nMutations.h
rename : dom/l10n/DOMOverlays.cpp => dom/l10n/L10nOverlays.cpp
rename : dom/l10n/DOMOverlays.h => dom/l10n/L10nOverlays.h
rename : dom/l10n/tests/gtest/TestDOMOverlays.cpp => dom/l10n/tests/gtest/TestL10nOverlays.cpp
rename : dom/l10n/tests/mochitest/dom_localization/test_mutations.html => dom/l10n/tests/mochitest/dom_localization/test_l10n_mutations.html
rename : dom/l10n/tests/mochitest/mutations/test_append_content_post_dcl.html => dom/l10n/tests/mochitest/l10n_mutations/test_append_content_post_dcl.html
rename : dom/l10n/tests/mochitest/mutations/test_append_content_pre_dcl.html => dom/l10n/tests/mochitest/l10n_mutations/test_append_content_pre_dcl.html
rename : dom/l10n/tests/mochitest/mutations/test_append_fragment_post_dcl.html => dom/l10n/tests/mochitest/l10n_mutations/test_append_fragment_post_dcl.html
rename : dom/l10n/tests/mochitest/mutations/test_pause_observing.html => dom/l10n/tests/mochitest/l10n_mutations/test_pause_observing.html
rename : dom/l10n/tests/mochitest/mutations/test_set_attributes.html => dom/l10n/tests/mochitest/l10n_mutations/test_set_attributes.html
rename : dom/l10n/tests/mochitest/domoverlays/test_attributes.html => dom/l10n/tests/mochitest/l10n_overlays/test_attributes.html
rename : dom/l10n/tests/mochitest/domoverlays/test_extra_text_markup.html => dom/l10n/tests/mochitest/l10n_overlays/test_extra_text_markup.html
rename : dom/l10n/tests/mochitest/domoverlays/test_functional_children.html => dom/l10n/tests/mochitest/l10n_overlays/test_functional_children.html
rename : dom/l10n/tests/mochitest/domoverlays/test_domoverlays.xul => dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xul
rename : dom/l10n/tests/mochitest/domoverlays/test_same_id.html => dom/l10n/tests/mochitest/l10n_overlays/test_same_id.html
rename : dom/l10n/tests/mochitest/domoverlays/test_same_id_args.html => dom/l10n/tests/mochitest/l10n_overlays/test_same_id_args.html
rename : dom/l10n/tests/mochitest/domoverlays/test_text_children.html => dom/l10n/tests/mochitest/l10n_overlays/test_text_children.html
extra : moz-landing-system : lando
2019-06-06 16:32:58 +00:00
Zibi Braniecki f01344c760 Bug 1552714 - Refactor constructors of mozILocalization and DOMLocalization to handle custom generateMessages. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D33198

--HG--
extra : moz-landing-system : lando
2019-06-06 16:32:41 +00:00
Zibi Braniecki 37d6923b94 Bug 1552714 - Merge L10nUtils.webidl into DOMOverlays.webidl. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D33196

--HG--
extra : moz-landing-system : lando
2019-06-06 16:32: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
Zibi Braniecki 49972af017 Bug 1552714 - Refactor constructors. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32956

--HG--
extra : moz-landing-system : lando
2019-06-06 16:31:37 +00:00
Zibi Braniecki 319ed7e3c9 Bug 1552714 - Extract DOMLocalization out of DocumentL10n. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32397

--HG--
extra : moz-landing-system : lando
2019-06-06 16:31:25 +00:00
John Dai 8add76ec66 Bug 1556686 - Add more comments on JSWindowActor; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D33619

--HG--
extra : moz-landing-system : lando
2019-06-06 10:13:30 +00:00
John Dai dd24ca6319 Bug 1557062 - Add browsingContext on JSWindowActorParent; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D33809

--HG--
extra : moz-landing-system : lando
2019-06-05 16:59:56 +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
John Dai 6a23fc1690 Bug 1555301 - Fix JSWindowActor.webidl comments; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D33026

--HG--
extra : moz-landing-system : lando
2019-05-31 14:32:47 +00:00
Tom Ritter b8705a8481 Bug 1539595 - Rename Priveleged Content Process to PrivlegedAbout Content Process r=mconley,flod
We do this because we will be introducing more privileged content processes
and we want to be able to distinguish them.

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

--HG--
rename : browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js
extra : moz-landing-system : lando
2019-05-29 11:31:31 +00:00
Sebastian Hengst fba75a919c Backed out 4 changesets (bug 1539595) for build bustage in nsAboutRedirector.cpp. CLOSED TREE
Backed out changeset 2b0bb889b087 (bug 1539595)
Backed out changeset 95f0b82ec253 (bug 1539595)
Backed out changeset 6310e6dabceb (bug 1539595)
Backed out changeset ba3e353c6957 (bug 1539595)

--HG--
rename : browser/base/content/test/tabs/browser_e10s_about_page_triggeringprincipal.js => browser/base/content/test/general/browser_e10s_about_page_triggeringprincipal.js
rename : browser/base/content/test/tabs/browser_e10s_about_process.js => browser/base/content/test/general/browser_e10s_about_process.js
rename : browser/base/content/test/tabs/browser_e10s_chrome_process.js => browser/base/content/test/general/browser_e10s_chrome_process.js
rename : browser/base/content/test/tabs/browser_e10s_javascript.js => browser/base/content/test/general/browser_e10s_javascript.js
rename : browser/base/content/test/tabs/browser_e10s_switchbrowser.js => browser/base/content/test/general/browser_e10s_switchbrowser.js
rename : browser/base/content/test/tabs/file_about_child.html => browser/base/content/test/general/file_about_child.html
rename : browser/base/content/test/tabs/file_about_parent.html => browser/base/content/test/general/file_about_parent.html
rename : browser/base/content/test/tabs/test_process_flags_chrome.html => browser/base/content/test/general/test_process_flags_chrome.html
rename : browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js
2019-05-28 19:49:17 +02:00
Tom Ritter 03b41fa512 Bug 1539595 - Rename Priveleged Content Process to PrivlegedAbout Content Process r=mconley,flod
We do this because we will be introducing more privileged content processes
and we want to be able to distinguish them.

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

--HG--
rename : browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js
extra : moz-landing-system : lando
2019-05-28 14:19:11 +00:00
Nika Layzell bddb2b3a46 Bug 1554280 - Part 2: Add an IsProcessRoot() getter to WindowGlobalActor, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D32516

--HG--
extra : moz-landing-system : lando
2019-05-27 18:42:37 +00:00
Nika Layzell 36e3b3266b Bug 1554280 - Part 1: Expose the ContentParentId of a WindowGlobalActor, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D32515

--HG--
extra : moz-landing-system : lando
2019-05-27 18:42:35 +00:00
John Dai 3c7a906413 Bug 1552554 - Move JSWindowActor config dictionaries into JSWindowActor.webidl; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D32325

--HG--
extra : moz-landing-system : lando
2019-05-24 18:44:43 +00:00
Boris Zbarsky 28c8e552a8 Bug 1121623 part 1. Switch PromiseDebugging to being a namespace, since that's how we use it. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D32199

--HG--
extra : moz-landing-system : lando
2019-05-24 07:13:16 +00:00
Daniel Varga af42676c4a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-05-23 18:59:21 +03:00
John Dai cca7b81e1c Bug 1552268 - Allow omitting moduleURI for JSWindowActor declarations; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D31638

--HG--
extra : moz-landing-system : lando
2019-05-22 16:56:19 +00:00
Alastor Wu d6b68d2693 Bug 1553328 - use browsing context to notify tab mute/unmute media. r=baku,farre
This bug will use the browsing context to notify content tab to mute/unmute media, instead of using MessageManager. We would use the top level canonical browsing context to
set the media mute property for the top level window and propagate it to other top level windows in other processes.

If we don't do so, we're not able to mute/unmute media in the different process when we we enable Fission, because the current way we use can only notify one process and would cause the media on other process can't be muted/unmuted.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 12:19:49 +00:00
John Dai e6c8ba5ff4 Bug 1552263 - Add docShell attribute to JSWindowActorChild; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D31614

--HG--
extra : moz-landing-system : lando
2019-05-17 19:01:21 +00:00
John Dai 916234b917 Bug 1538979 - Part 2: Add WillDestroy and DidDestroy lifecycle methods on JSWindowActor; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D30196

--HG--
extra : moz-landing-system : lando
2019-05-10 15:01:40 +00:00
Csoregi Natalia ca5858897f Backed out 3 changesets (bug 1538979) for bustage on JSWindowActor.cpp. CLOSED TREE
Backed out changeset a098226e4211 (bug 1538979)
Backed out changeset 8e065761738c (bug 1538979)
Backed out changeset 9df2b856b655 (bug 1538979)
2019-05-10 12:44:22 +03:00
John Dai c22ef89c64 Bug 1538979 - Part 2: Add WillDestroy and DidDestroy lifecycle methods on JSWindowActor; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D30196

--HG--
extra : moz-landing-system : lando
2019-05-10 09:19:30 +00:00
Jean-Yves Avenard e0f0e16680 Bug 1548795 - P2. Remove dom.performance.enable_scheduler_timing preference. r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D30467

--HG--
extra : moz-landing-system : lando
2019-05-09 23:12:12 +00:00
Honza Bambas 2555fb9646 Bug 1545420 - Allow extensions to set Proxy-Authorization and connection isolation key through proxy.onRequest, r=dragana,mixedpuppy+mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D29825

--HG--
extra : moz-landing-system : lando
2019-05-06 07:22:18 +00:00
Andrea Marchesini f8565bf748 Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
Differential Revision: https://phabricator.services.mozilla.com/D29353

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:17 +00:00
Bogdan Tara 386d23bfe7 Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures
Backed out changeset 7c2f4e64d38e (bug 1320404)
Backed out changeset a7e7c0251179 (bug 1320404)
Backed out changeset dd741b25a244 (bug 1320404)
Backed out changeset de9073c57d20 (bug 1320404)
2019-05-03 06:12:25 +03:00
Andrea Marchesini 138cee6dea Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
Differential Revision: https://phabricator.services.mozilla.com/D29353

--HG--
extra : moz-landing-system : lando
2019-05-02 17:24:51 +00:00
Shane Caraveo 5f24a04aa2 Bug 1548177 support incognito flag in request filtering r=kmag,robwu
Differential Revision: https://phabricator.services.mozilla.com/D29446

--HG--
extra : moz-landing-system : lando
2019-05-02 16:23:03 +00:00