Commit Graph

329 Commits

Author SHA1 Message Date
sahil bhosale
78c953c6d5 Bug 1478855 - Use ES6 default parameter in updateBrowserRemotenessByURL. r=dao 2018-08-15 17:24:42 +05:30
Jared Wein
0b29f4fd3a Bug 1476854 - Expose whether tabs are multiselected for accessibility. r=dao,Jamie
MozReview-Commit-ID: 4LAwQxqrKiO
2018-07-31 16:40:17 -04:00
Brian Grinstead
c8b3483e82 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
2018-08-14 16:22:44 +00:00
Brian Grinstead
610d0593f5 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
2018-08-14 10:14:56 +00:00
Jonathan Kingston
bb6cd22c00 Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs 2018-07-16 10:17:51 +01:00
Bogdan Tara
349045ca70 Backed out changeset c9b0ce46ad4f (bug 1466801) for pause-remove-from-document-networkState.html failures CLOSED TREE 2018-08-11 03:20:30 +03:00
Jonathan Kingston
7c5bb7f8c7 Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs 2018-07-16 10:17:51 +01:00
Margareta Eliza Balazs
a704b1e8e1 Merge inbound to mozilla-central. a=merge 2018-08-10 12:17:09 +03:00
Abdoulaye O. Ly
a9ff1af78a 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
2018-08-09 18:47:56 +00:00
Abdoulaye O. Ly
8e0ffb604a 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
2018-08-09 18:45:52 +00:00
Brian Grinstead
1c86f46ecd 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
2018-08-08 15:22:53 -07:00
Noemi Erli
a96af2f0dd Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-10 00:35:58 +03:00
Jonathan Kingston
07af5c5572 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
2018-07-06 15:14:54 +01:00
dvarga
86b7ee6d9f 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)
2018-08-08 22:11:56 +03:00
dvarga
b86620bf83 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
da06b60153 Bug 1481700 - Release clear-selection lock when 'mouseup' event is fired for tabs. r=jaws
MozReview-Commit-ID: FslyILLXMrj
2018-08-08 03:00:29 +00:00
Jonathan Kingston
0e48203cf4 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
2018-08-08 20:03:55 +03:00
Kris Maglione
a309347f9b Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
MozReview-Commit-ID: Gu4RyWKmaAz
2018-07-29 14:38:44 -07:00
Cosmin Sabou
073139a2ec 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)
2018-08-07 17:30:52 +03:00
Oriol Brufau
d83caeb058 Bug 1479130 - Dispatch TabMultiSelect event when multiselection changes
MozReview-Commit-ID: JkLJyDXbOKL
2018-07-28 02:25:34 +02:00
Abdoulaye O. Ly
9713efab2c 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
2018-07-30 15:04:32 +00:00
Noemi Erli
d51469cc11 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-02 12:04:24 +03:00
Noemi Erli
fda51f21fc Merge inbound to mozilla-central. a=merge 2018-08-02 11:54:46 +03:00
Andreea Pavel
a458b6af91 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
96720fbc27 Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
MozReview-Commit-ID: Gu4RyWKmaAz
2018-07-29 14:38:44 -07:00
Kris Maglione
c56f2bac84 Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
MozReview-Commit-ID: Gu4RyWKmaAz
2018-07-29 14:38:44 -07:00
Abdoulaye O. Ly
f15cc9cce9 Bug 1458066 - Implement ability to move a selection of tabs within the same window through drag and drop. r=jaws
MozReview-Commit-ID: A3t0CAgrI5Z
2018-07-23 19:01:17 +00:00
alwu
c96fe8806b 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
2018-07-25 09:08:44 -07:00
Dão Gottwald
76e4388a72 Bug 1479775 - Rename removeTabs' aParams variable. r=jaws
MozReview-Commit-ID: 3ZtCme8mCdC
2018-07-31 16:11:47 +02:00
Boris Zbarsky
df1e81934e 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
b97415fa0e 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
2018-07-21 02:32:19 +00:00
Abdoulaye O. Ly
6f9a012ead Bug 1478652 - removeTabs passes '{animate: true}' instead of '{animation: true}' options object to removeTab in tabbrowser.js file. r=jaws
MozReview-Commit-ID: 1yzAITw6j1q
2018-07-28 04:49:02 +00:00
Dão Gottwald
9c99a43789 Bug 1478635 - Remove _createBrowser's 'remote' parameter. r=Gijs
MozReview-Commit-ID: 2AmpUaJVM8G
2018-07-27 18:04:24 +02:00
Dão Gottwald
7bb0eb2561 Bug 1479031 - Use destructuring assignment for optional loadTabs parameters. r=jaws
MozReview-Commit-ID: FMRObafFcS9
2018-07-27 19:00:40 +02:00
Dão Gottwald
85a631807c Bug 1478650 - Use destructuring assignment for optional removeTab parameters. r=Gijs
MozReview-Commit-ID: HVxGD44yiSy
2018-07-26 15:31:55 +02:00
Dão Gottwald
a5aed5d3ab Bug 1478606 - Use destructuring assignment for optional updateBrowserRemoteness parameters. r=Gijs
MozReview-Commit-ID: JONW2RBnuLX
2018-07-26 15:08:29 +02:00
Dão Gottwald
b460cbd1f3 Bug 1478621 - Use destructuring assignment for optional _setTabLabel parameters. r=Gijs
MozReview-Commit-ID: 3fGgpxQgIma
2018-07-26 13:35:54 +02:00
Dão Gottwald
3558d85cc7 Bug 1478618 - Use destructuring assignment for optional _createBrowser parameters. r=Gijs
MozReview-Commit-ID: 6oz7YiR0sU6
2018-07-26 13:26:01 +02:00
Brian Hackett
5cd86c4278 Bug 1465477 Part 1 - Add menu items and prefs for recording/replaying tabs, r=markh. 2018-07-24 21:32:16 +00:00
Boris Zbarsky
e98236cf07 Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
Brian Grinstead
3097f96e03 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
2018-07-24 08:12:50 -07:00
Dão Gottwald
c5a5ec2eb7 Bug 1442582 - Remove the tabbrowser-tabpanels binding. r=dao
MozReview-Commit-ID: HcQgRbvcdiV
2018-03-16 22:30:01 +01:00
Abdoulaye O. Ly
965c7a315b Bug 1477724 - 'Move To New Window' moves now contextTab instead of selectedTab in single tab context. r=jaws
MozReview-Commit-ID: 2c5QFuSO6kU
2018-07-23 19:53:56 +00:00
Abdoulaye O. Ly
9bd1f9c2b2 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
2018-07-18 19:30:36 +00:00
Haik Aftandilian
169de84974 Bug 1350642 - Keep the tabCountResizable property in sync; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D2197
2018-07-19 18:05:35 +00:00
Gijs Kruitbosch
a242ba95b3 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
2018-07-19 10:47:23 +00:00
Mark Striemer
56ddddc716 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
2018-06-25 11:30:44 -04:00
Abdoulaye O. Ly
d14ca2e47b Bug 1458049 - Implement ability to move a selection of tabs into a new window through tab context menu. r=jaws
MozReview-Commit-ID: KrjavwyoF4s
2018-07-13 19:30:58 +00:00
Mike Conley
62c485471d Bug 1362569 - Don't flush layout when locking the tab size during tab close. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D2140
2018-07-18 09:27:49 +00:00
Dão Gottwald
fb1fe9161c Bug 1475537 - Clean up addTab parameter handling. r=mikedeboer
MozReview-Commit-ID: JF9hNLmd3bF
2018-07-17 13:54:23 +02:00