Bianca Danforth
0a93f06dfe
Bug 1457226 - Revert Savant Shield study commits; r=rhelmer
...
The Savant pref flip Shield study was ended on 08-20-18 (https://bugzilla.mozilla.org/show_bug.cgi?id=1457226#c28 ), so this patch removes all temporary study code from Firefox.
Differential Revision: https://phabricator.services.mozilla.com/D4285
2018-08-27 18:17:43 +00:00
Oriol Brufau
2590091dc8
Bug 1479129 - Implement support for updateProperties.highlighted in browser.tabs.update(). r=mixedpuppy,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D3800
2018-08-23 22:09:45 +00:00
Dorel Luca
4e6ab61008
Merge mozilla-central to autoland
2018-08-21 12:57:58 +03:00
Mike Conley
f9f2a53781
Bug 1478112 - Get rid of preselect tabbox workaround, and adjust focus after changing visible tab right away. r=dao
...
The "select" event handler workaround was originally added in bug 1379270 to make it
possible to focus and select the URL bar a little bit later. This ugly hack was to
workaround an issue with WebExtensions that override about:newtab with the
chrome_url_overrides property (the issue would be that the URL bar would not be
properly focused and selected if about:newtab was overridden).
Back in the day, this was necessary because the overriding URL was fully displayed
in the URL bar (moz-webextension://...). These days, when about:newtab is overridden,
the URL bar is still empty - we just end up showing the information about the
WebExtension overriding about:newtab to the left of the URL bar.
So I think we can remove the old workaround.
Differential Revision: https://phabricator.services.mozilla.com/D3447
2018-08-21 06:55:47 +00:00
Brindusan Cristian
88692eb22a
Backed out changeset 5a6ea725be3f (bug 1472476) for ESlint failure on /sessionstore/TabState.jsm:15:1. CLOSED TREE
2018-08-20 19:06:53 +03:00
Dave Townsend
93c80fae0a
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
2018-08-20 15:46:39 +00:00
Dave Townsend
9f2e1e5621
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
2018-08-20 12:32:27 -07:00
Dale Harvey
28d0442384
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
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