Commit graph

181 commits

Author SHA1 Message Date
Dave Townsend
79bc1ca39f Bug 1472476: Allow restoring sessions from before favicons were only allowed to be local schemes. r=adw
Re-introduces support for setting remote icons provided a loading principal is
passed. Removes some now defunkt code from sessionstore.

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

--HG--
extra : rebase_source : f039f34d13aa43c52af880d8f59962f6450791be
extra : amend_source : e60b5d7fb22538728837d5196b866ecf2284bc64
2018-08-20 12:32:27 -07:00
Dale Harvey
f0d25ece63 Bug 1477294 - Hide identity popup when the user reloads. r=johannh
MozReview-Commit-ID: 26f1lSVKiVA
2018-08-18 11:21:30 +01:00
sahil bhosale
bdc29311ba Bug 1478855 - Use ES6 default parameter in updateBrowserRemotenessByURL. r=dao 2018-08-15 17:24:42 +05:30
Jared Wein
c1cd17d554 Bug 1476854 - Expose whether tabs are multiselected for accessibility. r=dao,Jamie
MozReview-Commit-ID: 4LAwQxqrKiO

--HG--
extra : rebase_source : 2c1475ab4ad260922d3a65ce510277a506021be2
2018-07-31 16:40:17 -04:00
Brian Grinstead
829d7647d3 Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3275

--HG--
extra : moz-landing-system : lando
2018-08-14 16:22:44 +00:00
Brian Grinstead
ac11fd9d1f Bug 1442058 - Override loadURI on tabbrowser browsers with an expando property;r=dao
This allows us to remove the XBL binding inheritance, simplifying the tree of
XBL bindings under "browser" and deleting two bindings in the process.

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

--HG--
extra : moz-landing-system : lando
2018-08-14 10:14:56 +00:00
Jonathan Kingston
a91f8e8108 Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs
--HG--
rename : browser/base/content/test/general/browser_utilityOverlay.js => browser/base/content/test/contextMenu/browser_utilityOverlay.js
extra : source : 5eab8f37c4bd6048057069cb0ac2ab0b4729d950
2018-07-16 10:17:51 +01:00
Bogdan Tara
89268618f4 Backed out changeset c9b0ce46ad4f (bug 1466801) for pause-remove-from-document-networkState.html failures CLOSED TREE
--HG--
rename : browser/base/content/test/contextMenu/browser_utilityOverlay.js => browser/base/content/test/general/browser_utilityOverlay.js
2018-08-11 03:20:30 +03:00
Jonathan Kingston
c24e0873da Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs
--HG--
rename : browser/base/content/test/general/browser_utilityOverlay.js => browser/base/content/test/contextMenu/browser_utilityOverlay.js
extra : source : a7bdcc1e1373724effb0bec2d80eb9c63ae782a1
2018-07-16 10:17:51 +01:00
Margareta Eliza Balazs
f617807241 Merge inbound to mozilla-central. a=merge 2018-08-10 12:17:09 +03:00
Abdoulaye O. Ly
fc3a10730b Bug 1481700 - Release clear-selection lock when 'mouseup' event is fired for tabs. r=jaws
Reapply backed out changetset with 'browser/base/content/test/tabs/multiselect_tabs_event.js' tests fixed.

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

--HG--
extra : moz-landing-system : lando
2018-08-09 18:47:56 +00:00
Abdoulaye O. Ly
19bf2f8d32 Bug 1458056 - Implement ability to move a selection of tabs into another window through drag and drop. r=jaws
MozReview-Commit-ID: LFFoE6HsBp8

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

--HG--
extra : moz-landing-system : lando
2018-08-09 18:45:52 +00:00
Brian Grinstead
abf1620630 Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo
This allows the JS to work in HTML documents, where whitespace is preserved. In XUL
documents, whitespace is ignored when parsing so text nodes are generally not returned.

The following changes were made, with manual cleanups as necessary (i.e. when firstChild actually
refers to a text node, or when firstChild is used in a loop to empty out an element):

  firstChild->firstElementChild
  lastChild->lastElementChild
  nextSibling->nextElementSibling
  previousSibling->previousElementSibling
  childNodes->children

MozReview-Commit-ID: 95NQ8syBhYw

--HG--
extra : rebase_source : 186d805f7a2a56694dda9032aceac2dfe5424753
2018-08-08 15:22:53 -07:00
Noemi Erli
be6ab34c54 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
extra : rebase_source : 691b5b30b6c3b2ddece605c045ad913e466fdbab
2018-08-10 00:35:58 +03:00
Jonathan Kingston
9b7fb2f20c Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb r=Gijs
Reviewers: ckerschb!, Gijs!

Tags: #secure-revision

Bug #: 1362034

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

--HG--
extra : source : 44b25dea67d2ed079e17057ab619d827e9983400
extra : amend_source : 5742820277e0269b6f5d42b1abd98fd9b228ac4a
extra : histedit_source : 790bd2490333e4d8fea7774d036eafbc2fc329b9
2018-07-06 15:14:54 +01:00
dvarga
12f19b94e9 Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)

--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
dvarga
fec90d34dd Backed out changeset 0bcce164a404 (bug 1481700) failure at browser/base/content/test/tabs/browser_multiselect_tabs_using_Shift.js on a CLOSED TREE 2018-08-08 22:08:03 +03:00
Abdoulaye O. Ly
12717a07c9 Bug 1481700 - Release clear-selection lock when 'mouseup' event is fired for tabs. r=jaws
MozReview-Commit-ID: FslyILLXMrj

--HG--
extra : rebase_source : 55c14ce7244ba7c3eab5eec87d5a4004bd69ee0b
2018-08-08 03:00:29 +00:00
Jonathan Kingston
f389570122 Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb,Gijs
Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Subscribers: mixedpuppy, reviewbot

Bug #: 1362034

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

--HG--
extra : rebase_source : ea688b35744f970e74de3039da3973f1177d8577
extra : amend_source : 89efdb8ccec2c334a83155eec6b30f08fa0f7074
2018-08-08 20:03:55 +03:00
Kris Maglione
5ccef39c52 Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
MozReview-Commit-ID: Gu4RyWKmaAz

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/FindBarChild.jsm
extra : source : 177e4adb94d1b63002577995deed230ba15624f8
extra : intermediate-source : 915862a355e959c92c9ea7fb1cd7adbcf03bfb98
2018-07-29 14:38:44 -07:00
Cosmin Sabou
901f34bef4 Backed out 12 changesets (bug 1479309, bug 1479312, bug 1479313, bug 1479310, bug 1479235, bug 1479945, bug 1479241, bug 1479318) for causing a big performance regression on OS X. a=backout
Backed out changeset 915862a355e9 (bug 1479318)
Backed out changeset f150e62dcbbd (bug 1479241)
Backed out changeset a68daa762119 (bug 1479312)
Backed out changeset 2a5aa9de1fd9 (bug 1479945)
Backed out changeset 163276881d35 (bug 1479945)
Backed out changeset 20a1a11b4d0b (bug 1479945)
Backed out changeset ca43bd11f431 (bug 1479945)
Backed out changeset 71700b368132 (bug 1479945)
Backed out changeset f5d647fae973 (bug 1479313)
Backed out changeset 3583823171de (bug 1479310)
Backed out changeset 2d46e1fe3121 (bug 1479309)
Backed out changeset 8f9c9580f687 (bug 1479235)

--HG--
rename : browser/components/uitour/ContentUITour.jsm => browser/components/uitour/content-UITour.js
rename : dom/ipc/ManifestMessages.jsm => dom/ipc/manifestMessages.js
rename : toolkit/components/normandy/content/ShieldFrameListener.jsm => toolkit/components/normandy/content/shield-content-frame.js
rename : toolkit/components/normandy/shield-content-process.js => toolkit/components/normandy/content/shield-content-process.js
2018-08-07 17:30:52 +03:00
Oriol Brufau
757eed8c02 Bug 1479130 - Dispatch TabMultiSelect event when multiselection changes
MozReview-Commit-ID: JkLJyDXbOKL

--HG--
extra : rebase_source : 1e03626e9c6b4cbf850ce8e95fc69d9e715daba2
2018-07-28 02:25:34 +02:00
Abdoulaye O. Ly
497a22d1d5 Bug 1477780 - In a multi-select context, 'Close Tabs To The Right' closes tabs located to right of the rightmost selected tab. r=jaws
MozReview-Commit-ID: 6Kwnv8fvFLa

--HG--
extra : rebase_source : c880c87b0c06bde570c0dad0c09136a715a251ae
2018-07-30 15:04:32 +00:00
Noemi Erli
58e27f3dd9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-02 12:04:24 +03:00
Noemi Erli
8f66a71e70 Merge inbound to mozilla-central. a=merge 2018-08-02 11:54:46 +03:00
Andreea Pavel
b61c8b8293 Backed out changeset 177e4adb94d1 (bug 1479318) for failing android on different files on a CLOSED TREE 2018-08-02 03:10:16 +03:00
Kris Maglione
df9c9824a6 Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
MozReview-Commit-ID: Gu4RyWKmaAz

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/FindBarChild.jsm
extra : rebase_source : 09af1eb3d02ed2403d76671bda627ef09067cfe7
2018-07-29 14:38:44 -07:00
Kris Maglione
5482f0b45c Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
MozReview-Commit-ID: Gu4RyWKmaAz

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/FindBarChild.jsm
extra : rebase_source : 7dc4ed4615f87c0ea9897105e2c62d69020c2940
extra : source : 177e4adb94d1b63002577995deed230ba15624f8
2018-07-29 14:38:44 -07:00
Abdoulaye O. Ly
c45c4fbe32 Bug 1458066 - Implement ability to move a selection of tabs within the same window through drag and drop. r=jaws
MozReview-Commit-ID: A3t0CAgrI5Z

--HG--
rename : browser/base/content/test/general/browser_tabReorder.js => browser/base/content/test/tabs/browser_tabReorder.js
extra : rebase_source : d3c329ab3ff02bdcae03cbd749ac83a0e34a9512
2018-07-23 19:01:17 +00:00
alwu
5116578704 Bug 1476701 - notify observer when audible autoplay occurred. r=cpearce,jaws
In our autoplay shield-study, we want to collect the information which could tell us how many website
contains audible autoplay media, but there is no way to get this information on current API desigin.

Therefore, I would like to send a new notification when autoplay occurred.

The extension code could get the information by following way,
```
Services.obs.addObserver((subject, topic, data) => {
    // DO SOMETHING
}, "AudibleAutoplayMediaOccurred");
```

MozReview-Commit-ID: 4bSYcxDZOGK

--HG--
extra : rebase_source : 2a4f060dbd582419bf0727408b04f2540155aa02
2018-07-25 09:08:44 -07:00
Dão Gottwald
25eb433a54 Bug 1479775 - Rename removeTabs' aParams variable. r=jaws
MozReview-Commit-ID: 3ZtCme8mCdC

--HG--
extra : rebase_source : 1eb0422e88f3a7426dd927e3b3ecd5e318b00863
2018-07-31 16:11:47 +02:00
Boris Zbarsky
4abc5c5a25 Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs 2018-08-01 13:07:10 -04:00
Abdoulaye O. Ly
e2bd8118b8 Bug 1476844 - Clear selected tabs whenever 'TabSelect' event is fired except when switching tab from 'switchToNextMultiSelectedTab' function in /browser/base/content/tabbrowser.js. r=jaws
MozReview-Commit-ID: J2DyAbQJITo

--HG--
extra : rebase_source : d6aadcf62481ac180cfffe6f36af94445170315f
2018-07-21 02:32:19 +00:00
Abdoulaye O. Ly
c9c73b50e7 Bug 1478652 - removeTabs passes '{animate: true}' instead of '{animation: true}' options object to removeTab in tabbrowser.js file. r=jaws
MozReview-Commit-ID: 1yzAITw6j1q

--HG--
extra : rebase_source : 8155b608165b7f0f453c9bb892a8f27cb724e477
2018-07-28 04:49:02 +00:00
Dão Gottwald
2f2658219c Bug 1478635 - Remove _createBrowser's 'remote' parameter. r=Gijs
MozReview-Commit-ID: 2AmpUaJVM8G

--HG--
extra : rebase_source : 3445cf47576c69864c7d385bf594099337e39f54
2018-07-27 18:04:24 +02:00
Dão Gottwald
2e725785fe Bug 1479031 - Use destructuring assignment for optional loadTabs parameters. r=jaws
MozReview-Commit-ID: FMRObafFcS9

--HG--
extra : rebase_source : 7632a9ae1b58fd9162c3ea9ab11b05ea8b89a8ba
2018-07-27 19:00:40 +02:00
Dão Gottwald
f975ec5a3f Bug 1478650 - Use destructuring assignment for optional removeTab parameters. r=Gijs
MozReview-Commit-ID: HVxGD44yiSy

--HG--
extra : rebase_source : 4cccc96298e17d7c6e10469fff0f718f8dfac08e
2018-07-26 15:31:55 +02:00
Dão Gottwald
14a5c3ea7a Bug 1478606 - Use destructuring assignment for optional updateBrowserRemoteness parameters. r=Gijs
MozReview-Commit-ID: JONW2RBnuLX

--HG--
extra : rebase_source : d7b103c51c97ea06a8f2495de9d3c803c99a5037
2018-07-26 15:08:29 +02:00
Dão Gottwald
77680d5d2d Bug 1478621 - Use destructuring assignment for optional _setTabLabel parameters. r=Gijs
MozReview-Commit-ID: 3fGgpxQgIma

--HG--
extra : rebase_source : 73faa7cfe0a95d97ff5622858f61e5443c597c16
2018-07-26 13:35:54 +02:00
Dão Gottwald
1b65d14a0e Bug 1478618 - Use destructuring assignment for optional _createBrowser parameters. r=Gijs
MozReview-Commit-ID: 6oz7YiR0sU6

--HG--
extra : rebase_source : 46d62c57527a080b7bae8bcfdd488e8022f465be
2018-07-26 13:26:01 +02:00
Brian Hackett
8f246a4b12 Bug 1465477 Part 1 - Add menu items and prefs for recording/replaying tabs, r=markh.
--HG--
extra : rebase_source : 23307266b2df128845df3ee9972fab240754019d
2018-07-24 21:32:16 +00:00
Boris Zbarsky
270fa12c79 Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
Brian Grinstead
96dc530924 Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs
Before this change, we accessed the browser URL in the following ways:

- "chrome://browser/content/browser.xul"
- "chrome://browser/content/" (which redirects to chrome://browser/content/browser.xul)
- Services.prefs.getCharPref("browser.chromeURL") which returns "chrome://browser/content/"
- getBrowserURL() from utilityOverlay.js

MozReview-Commit-ID: I5vtRke1x9t

--HG--
extra : rebase_source : c525350a1954740873e85b045cbb14a8b43aa89d
2018-07-24 08:12:50 -07:00
Dão Gottwald
d0a8d0ffb2 Bug 1442582 - Remove the tabbrowser-tabpanels binding. r=dao
MozReview-Commit-ID: HcQgRbvcdiV

--HG--
extra : rebase_source : 4eaebcb9e651f5e5e90a5082cb04678b4739e585
2018-03-16 22:30:01 +01:00
Abdoulaye O. Ly
c619a45c9b Bug 1477724 - 'Move To New Window' moves now contextTab instead of selectedTab in single tab context. r=jaws
MozReview-Commit-ID: 2c5QFuSO6kU

--HG--
extra : rebase_source : ef1c0a1b113c8684ee43726995598aedcf3d64a9
2018-07-23 19:53:56 +00:00
Abdoulaye O. Ly
64c9f57859 Bug 1475427 - Refactor warnAboutClosingTabs function in tabbrowser.js so that it directly takes the number of tabs to close as param. r=jaws
MozReview-Commit-ID: Hhdanmwx7rN

--HG--
extra : rebase_source : 41f17f27f914f017877c74dfcbaa12c388cd265e
2018-07-18 19:30:36 +00:00
Haik Aftandilian
59a99c8595 Bug 1350642 - Keep the tabCountResizable property in sync; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D2197

--HG--
extra : moz-landing-system : lando
2018-07-19 18:05:35 +00:00
Gijs Kruitbosch
22172a0279 Bug 1441039 - same-document changes should cause empty URL bar to fill back up for current tab, r=mak
Make URLBarSetURI more explicit about what it's looking for in `value`,
and ensure the tabbrowser's progress listeners reset the userTypeValue if it's
empty already and there's a same-site document change.

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

--HG--
extra : moz-landing-system : lando
2018-07-19 10:47:23 +00:00
Mark Striemer
26b09659c7 Bug 1470947 - Part 2: Call _tabAttrModified on busy and progress changes r=dao
This fixes the tab throbbers not showing sometimes and not showing
the progress state in the all tabs menu.

MozReview-Commit-ID: FintGto9e9g

--HG--
extra : rebase_source : f83a0184e79be433d1f3e975d28e0f70a668a9c6
2018-06-25 11:30:44 -04:00
Abdoulaye O. Ly
b5f60976d9 Bug 1458049 - Implement ability to move a selection of tabs into a new window through tab context menu. r=jaws
MozReview-Commit-ID: KrjavwyoF4s

--HG--
extra : rebase_source : 57ef831467cc648b8f5c81e38704c5466955c3a7
2018-07-13 19:30:58 +00:00