Commit Graph

1321 Commits

Author SHA1 Message Date
Dão Gottwald
dd4d5abfe5 Bug 1283812 - Stop dispatching the TabSwitched event. r=mconley 2016-07-19 18:20:41 +02:00
Allasso Travesser
f5545cdfb4 Bug 1285789 - Implement TabBrowserCreated event. r=dao
--HG--
extra : rebase_source : 23ce02dddc6e4be01ab034735df2b9ed0d3ac3a7
2016-07-15 16:10:27 +02:00
Allasso Travesser
2d3d8fad74 Bug 1284947 - Update tab's permanentKey in _swapBrowserDocShells. r=dao 2016-07-09 05:13:25 +02:00
Carsten "Tomcat" Book
78f04cd98f Backed out changeset f6f33ab815a1 (bug 1284947) for test bustages like in browser_bug477014.js 2016-07-08 16:29:02 +02:00
Allasso Travesser
64bba64d74 Bug 1284947 - Update tab's permanentKey in _swapBrowserDocShells. r=dao 2016-07-08 14:39:25 +02:00
Carsten "Tomcat" Book
486d248cca Merge mozilla-central to mozilla-inbound 2016-07-07 11:44:06 +02:00
Andrea Marchesini
6761995b11 Bug 1276006 - Add telemetry to count how many users use container tabs, r=mconley, data-review=bsmedberg 2016-07-07 09:55:53 +02:00
Dão Gottwald
fcd3a3f0a5 Bug 1276514 - Set permanentKey on tabs, not just on browsers. r=allassopraise 2016-07-06 16:09:26 +02:00
Dão Gottwald
cfd8f91885 Bug 1284482 - Remove useless parameters and variable declarations from _linkBrowserToTab and _createBrowser. r=allassopraise 2016-07-05 18:52:40 +02:00
Andrea Marchesini
c850532165 Bug 1281793 - Remove some non-used telemetry IDs - part 3 - random things, r=chutten 2016-06-28 19:30:15 +02:00
Carsten "Tomcat" Book
d7c349e036 Backed out changeset 3af9c0fa2ba6 (bug 1281793) 2016-06-28 17:04:50 +02:00
Andrea Marchesini
a90ce99e52 Bug 1281793 - Remove some non-used telemetry IDs - part 3 - random things, r=chutten 2016-06-28 16:44:42 +02:00
Florian Quèze
3a0cef8f4d Bug 1275262 - implement device sharing animation on background tabs, r=Gijs. 2016-06-22 13:07:39 +02:00
Neil Deakin
1d9f4fd998 Bug 1208078, improve drag feedback appearance in e10s, r=jared 2016-06-15 08:49:06 -04:00
Andrea Marchesini
5d7bcdcfa3 Bug 1279143 - Styling of tabs should happen all the time the attribute usercontextid is set, r=gijs 2016-06-09 20:30:59 +02:00
Andrea Marchesini
5d3755f656 Bug 1273628 - Containers tabs use inline CSS styling because of performances issues with CSS vars, r=mconley 2016-06-06 09:13:37 +02:00
Chris Peterson
b52f88014f Bug 1276565 - Clamp out-of-range tab selection shortcuts and indexes instead of ignoring them. r=Gijs r=dao
CMD + a number key is a keyboard shortcut to select that tab number. (CMD+9 will always select the right-most tab, regardless of the tab count.) Currently, if the number is greater than the tab count, then the keyboard shortcut is ignored. With this patch, the right-most tab will be selected instead. For example, if there are five tabs and the user accidentally enters CMD+6 instead of CMD+5, selecting tab #5 is probably what they wanted instead of ignoring the keyboard shortcut.

Also expand the tab selection tests to cover more edge cases.
2016-06-02 22:50:01 -07:00
Gijs Kruitbosch
c3bb1849df Bug 1276117 - part 2: fix the URL bar state when loading about:home from a new tab page, r=mikedeboer
MozReview-Commit-ID: FADnX8bymNE

--HG--
extra : rebase_source : 270661c701ef1296280e5caf40aa6d85d565f2d4
2016-05-30 12:54:56 +01:00
Andrea Marchesini
a63c7e4ee3 Bug 1276904 - container-icon visibility should follow the selectedBrowser, r=gijs 2016-05-31 15:34:49 +02:00
Carsten "Tomcat" Book
cb4337c62c merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html
2016-05-24 14:52:23 +02:00
Gijs Kruitbosch
c5967c0388 Bug 1255270, r=mak
MozReview-Commit-ID: 5fInAZiZMhl

--HG--
extra : rebase_source : d55bb43c86e1ae3a78f770e5a6ba1366e455c71b
extra : source : 6e2a4ab6ed341f0250422d8f9ba9f4a206cfc527
2016-05-23 10:09:13 +01:00
Ryan VanderMeulen
4cffb5461e Merge inbound to m-c. a=merge 2016-05-19 12:46:54 -04:00
Gijs Kruitbosch
df7777aa11 Bug 1273094 - only trigger TabsInTitlebar.init() after the tabbrowser has updated the visibility of the tabs toolbar, r=mikedeboer
MozReview-Commit-ID: 2NOPYqbq4Zp

--HG--
extra : rebase_source : fcafa79a232d994ad56e73539134a2f01934a210
extra : amend_source : 42aad7336111e104b44c2286932bbbf409db5914
2016-05-17 17:18:55 +01:00
Andrea Marchesini
03fcd422c5 Bug 1233886 - Fix the linter complaint, r=me 2016-05-18 09:44:09 +02:00
Andrea Marchesini
a532efb0cc Bug 1233886 - Add options to new tab button or down arrow to open tabs in different container types, r=mconley 2016-05-18 08:30:17 +02:00
Andrea Marchesini
f5951cc1b7 Bug 1270471 - We should not expose Containers in privateBrowsing, r=gijs 2016-05-18 18:20:27 +02:00
Gijs Kruitbosch
6f76102f67 Backed out changeset 6e2a4ab6ed34 (bug 1255270) on a CLOSED TREE for leaking the world.
MozReview-Commit-ID: GlbH8KDcerY

--HG--
extra : amend_source : 59023542a623a138bda4e702e4c1ce9f83d78971
2016-05-23 17:32:56 +01:00
Andrea Marchesini
5096b1db94 Bug 1274749 - No empty space when containers are not active, r=Gijs 2016-05-23 16:16:49 +02:00
Gijs Kruitbosch
8d48dd5f83 Bug 1255270, r=mak
MozReview-Commit-ID: 5fInAZiZMhl

--HG--
extra : rebase_source : 61ca73b6acaed04906c3adc6d26a548552856f7e
2016-05-23 10:09:13 +01:00
Jonathan Hao
f099b439ef Bug 1271792 - Set correct usercontextid before swapping tabs. r=baku
MozReview-Commit-ID: DOOTo9IhP2E

--HG--
extra : rebase_source : c36de944bb2157bb8fd56e5672f3074554421d1a
2016-05-13 18:14:46 +08:00
Andrea Marchesini
62ad75d8e1 Bug 1274567 - patch 2 - Better event names and comment updated, r=smaug 2016-05-23 09:25:11 +02:00
L. David Baron
55b6b3268e Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g

The diffs for the following files:
  layout/style/nsCSSPropAliasList.h
  layout/style/test/property_database.js
  layout/style/test/test_value_computation.html
were then manually removed from the patch.

MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 00:00:18 -07:00
Gijs Kruitbosch
1dacb1f12d Bug 1241085 - part 3: actually fix about:privatebrowsing clearing the URL bar, r=mconley
MozReview-Commit-ID: JB3GPKsfmTs

--HG--
extra : rebase_source : 02fd2e102829f2c4880b8166755d5d57083c880a
extra : source : b386e97721cfad7464829c88a1a0b8c42e75315c
2016-04-28 20:03:38 +01:00
Gijs Kruitbosch
b77685214e Bug 1241085 - part 2: rip out userTypedClear and replace it with more self-documenting stuff, r=mconley
userTypedClear was used for two cases:
1) to keep track of whether we were in the middle of a loadURI call. This use is replaced by inLoadURI, which is
more sane when using e10s (though it's hard to be precise there because we're sending all web navigation calls to
the content process and this introduces a degree of asynchronousness that we just have to live with...).
2) to keep track of whether we were between a network start and a corresponding network stop, and whether the user
typed since the load properly started. This is now tracked on a small object on the browser binding, which has
appropriately named method so we're not just incrementing some magic number but actually understand what
we're saying, and so the information we get out (did the user type since this load started or not?) makes sense.

Note that we're keeping userTypedClear in session store information in order to remain backwards compatible.
It becomes a simple boolean-stored-as-int (1 or 0) that indicates whether we quit/crashed/stopped while a load
was pending, or not.

MozReview-Commit-ID: 5NbmVueocC7

--HG--
extra : rebase_source : 55cd9f3513c0a985580957a5157d47853a8822bf
extra : source : 386b9c750bd2ed458112acd29eb72e4e1371af9d
2016-04-28 19:51:36 +01:00
Marco Bonardo
06932c74d1 Bug 1223728 - Remove the unifiedcomplete pref, the urlinline component and stop bundling the old autocomplete component in Firefox. r=adw
MozReview-Commit-ID: Ee08mDGxBjJ

--HG--
extra : rebase_source : 4473da657f85e443e5095b43b3e774e85292ecd1
extra : amend_source : c9c322ebae255a24c28e6367b9fe93474db21d6d
2016-05-05 00:14:51 +02:00
Mike Conley
42c8a323e9 Bug 1247137 - Show spinner if switching away from browser that goes away immediately. r=billm
MozReview-Commit-ID: ACQ7cBNn1TE

--HG--
extra : rebase_source : 5d786a4daac37246ea32de253fb5acb85d48fd3f
2016-05-04 12:36:01 -07:00
Gijs Kruitbosch
3cd803e9cd Backed out changesets b386e97721cf, 386b9c750bd2, 3c86861912bb (bug 1241085) because the about:newtab URI is now kept across sessions
MozReview-Commit-ID: EVv6M6x9F44

--HG--
extra : rebase_source : 6d8fc34c6950f0e08f411fe6f9f707517f9b3fd9
2016-05-05 17:45:58 +01:00
Gijs Kruitbosch
d9348654ed Bug 1241085 - part 3: actually fix about:privatebrowsing clearing the URL bar, r=mconley
MozReview-Commit-ID: JB3GPKsfmTs

--HG--
extra : rebase_source : adf877b86e0a3bc035e3c8bd460b5472997fb7cd
2016-04-28 20:03:38 +01:00
Gijs Kruitbosch
2f63110f3f Bug 1241085 - part 2: rip out userTypedClear and replace it with more self-documenting stuff, r=mconley
userTypedClear was used for two cases:
1) to keep track of whether we were in the middle of a loadURI call. This use is replaced by inLoadURI, which is
more sane when using e10s (though it's hard to be precise there because we're sending all web navigation calls to
the content process and this introduces a degree of asynchronousness that we just have to live with...).
2) to keep track of whether we were between a network start and a corresponding network stop, and whether the user
typed since the load properly started. This is now tracked on a small object on the browser binding, which has
appropriately named method so we're not just incrementing some magic number but actually understand what
we're saying, and so the information we get out (did the user type since this load started or not?) makes sense.

Note that we're keeping userTypedClear in session store information in order to remain backwards compatible.
It becomes a simple boolean-stored-as-int (1 or 0) that indicates whether we quit/crashed/stopped while a load
was pending, or not.

MozReview-Commit-ID: 5NbmVueocC7

--HG--
extra : rebase_source : f87199c77094c24c132e6c88f751a5b5d5aa62f9
2016-04-28 19:51:36 +01:00
Yoshi Huang
ddb84f4ab3 Bug 1237077 - Part 1: drag an URL into new tab should inherit userContextId. r=Gijs, tanvi 2016-04-27 18:32:21 +08:00
Timothy Guan-tin Chien
0178581cf4 Bug 1263760 - Replace setTimeout with nsITimer in tabbrowser switcher, r=gijs
MozReview-Commit-ID: CL1bc7WtyOE

--HG--
extra : transplant_source : %C6Dj%09%19%99%8B2%3C%86%10%E1e%0C%5E%21%08%CD9f
2016-04-21 22:48:30 +08:00
Henry Chang
c4d1435e06 Bug 1093642 - Part 1: Use parentAllowsMixedContent to decide if child tab should load mixed content. r=tanvi, r=MattN
This patch is to fix the "Right click and open in a new tab" case.
2016-04-21 11:07:34 +08:00
Gijs Kruitbosch
32bc4f6864 Bug 1199934 - page shouldn't be able to trap/revert the location bar by hash/replacestate changes, r=jaws
MozReview-Commit-ID: HsmmHsUtU0h

--HG--
extra : rebase_source : 85dee8cf0ebcf67fd7c0fb6e6936217d8b3fc0ae
2016-04-13 19:32:45 +01:00
Andrea Marchesini
8c8d080c16 Bug 1260535 - Update the UI of the tab when window.open() is executed from a container tab, r=mconley 2016-04-13 05:15:36 -04:00
Gijs Kruitbosch
456be2f313 Bug 1238032 - fix dependent tab close issues by part-reverting bug 305085, r=jaws
MozReview-Commit-ID: IRaytDjRHe6

--HG--
extra : rebase_source : 46de6c8a5012efa9b45f0d93cbd508b10af73558
2016-04-04 14:43:37 +01:00
Wes Kocher
b6d0503738 Merge fx-team to central, a=merge
MozReview-Commit-ID: yuSA0kqs0F
2016-04-08 15:26:49 -07:00
Dave Townsend
4bf4f02ce7 Bug 1257246: Update browser for eslint 2. r=felipe
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: DEskVIjiKDM

--HG--
extra : rebase_source : 07ba1d14655f5d761624b105ef025ec88323d4d5
extra : histedit_source : 9e5ab54ce1b1a5ee1f0fb143f8d1450522455e3b
2016-04-05 11:33:33 -07:00
Bill McCloskey
e5edaae6df Bug 1262643 - Fix switcher logging (rs=me) 2016-04-07 17:15:24 -07:00
Allasso Travesser
cfd01a0232 Bug 1243707 - Split up addTad, create the new browser and link it to the new tab in _linkBrowserToTab. r=dao 2016-04-08 11:58:44 +02:00
Kris Maglione
dff885cba8 Bug 1261738: Try to avoid overlapping FX_TAB_SWITCH_TOTAL_MS stopwatches. r=mconley
MozReview-Commit-ID: JSSvsbL6q1n

--HG--
extra : rebase_source : 91a1888d5bbf4878a37644e44fc076b9aa018282
2016-04-04 19:32:58 -07:00