Commit Graph

786 Commits

Author SHA1 Message Date
Gavin Sharp
b003a35d01 bug 818014 followup: replace _all_ null bytes in titles 2013-03-10 19:47:07 -07:00
Gavin Sharp
da50c79701 Bug 818014: strip null bytes in document titles when setting the chrome window's title, since some platform nsWindow::SetTitle implementations don't handle them correctly, r=dolske
--HG--
extra : rebase_source : 1e161ed51b2cd1c8125982341878f454d8cd2339
2013-03-05 22:59:30 -08:00
Dão Gottwald
5f324f9865 Bug 844466 - Start tab opening animation synchronously. r=ttaubert 2013-03-06 14:53:55 +01:00
Tim Taubert
963381ea98 Bug 817947 - Swap tab states (not docShells) when swapBrowsersAndCloseOther() is called with a pending tab; r=gavin 2013-02-22 18:41:23 +01:00
Dão Gottwald
3b0a292ec3 Bug 841714 - Set the 'validate' attribute directly on tab-icon-image rather than inheriting it from the tab. r=gavin
--HG--
extra : rebase_source : 065499b0c59adc3c6e7483a6c1116f02e4eb3a34
2013-02-16 11:11:29 +01:00
Avi Halachmi
1b73c25fba Bug 828097: Add telemetry probes for tab animation smoothness. r=felipc,vdjeric 2013-02-08 01:55:39 +02:00
Tim Taubert
3f10682513 merge m-c to fx-team 2013-02-04 20:12:29 +01:00
Tim Taubert
aa7bc05601 Bug 799495 - New Tab Page is shown in Private Browsing Mode (with preload=true); r=jaws 2013-02-01 10:18:57 -05:00
ithinc
48bcd2e0b9 Bug 649654 - When tab bar underflow occurs and tab strip was scrolled to the beginning, resize tabs such that they can be closed in succession. r=fryn 2013-01-29 18:14:45 -08:00
ithinc
a73b60cb98 Bug 821859 - Use stylesheet for tab delay resizing instead of setting each tab.style. r=fryn 2013-01-09 21:01:18 +08:00
Ehsan Akhgari
32d278987e Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Frank Yan
2c4050327d Bug 837061 - Use plain JS property for tab._fullyOpen to decouple from binding destruction upon tab movement. r=dao 2013-02-01 10:06:06 -08:00
Avi Halachmi
c3ea912316 Bug 826383: cyclic array for frames recording to support concurrent users. r=jmuizelaar,khuey 2013-01-23 20:47:44 +02:00
Ehsan Akhgari
c4c0a2cb47 Bug 828780 - Ensure that closing a window via closing the last tab goes through the code path taken by closing the window directly; r=gavin
As a result, we make sure that the last-pb-context-exiting notification
is correctly dispatched no matter how we close the last private window.

--HG--
extra : rebase_source : f8bc848b6e86b6f7f5839156613c2e194807c403
2013-01-15 01:06:55 -05:00
Marius Gedminas
f91bfc0224 Bug 364845 - ctrl-shift-pageup/down should move current tab left/right. r=gavin 2013-01-06 22:24:13 -05:00
Avi Halachmi
35a21b9441 Bug 820167 - Tab open/close animation prints performance data to error console when enabled. r=jmuizelaar,dao 2013-01-03 21:53:15 -05:00
ithinc
0baa03e410 Bug 822914 - Improve gBrowser.selectedTab getter efficiency. r=dao 2012-12-29 15:12:00 +08:00
ithinc
f55e09d091 Bug 656222 - moveTabBackward/moveTabForward should skip hidden tabs. r=dao 2012-12-25 01:02:37 +08:00
ithinc
d8bcd6337c Bug 824480 - Replace |tab == gBrowser.selectedTab| with tab.selected. r=dao 2012-12-25 00:08:22 +08:00
ithinc
1f989c14e5 Bug 822068 - Don't call tab.focus() in gBrowser.moveTabBackward/moveTabForward. r=dao 2012-12-24 22:29:15 +08:00
Dão Gottwald
928a0f2ea7 Backed out changeset e14c7409ede7 2012-12-18 01:04:30 +01:00
Avi Halachmi
1a4e05a919 Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar 2012-12-17 18:48:01 -05:00
Dão Gottwald
7faec77d5e Bug 815961 - After dragging & dropping a tab the tabstrip scrolls to center the tab. r=felipe 2012-12-06 11:42:07 +01:00
Ehsan Akhgari
a46b8ab992 Bug 816406 - Disallow dragging a private tab into a non-private window and vice versa; r=dao 2012-12-02 15:57:06 -05:00
Ehsan Akhgari
d8c25f9e30 Bug 816527 - Disable switch to tab for private windows in per-window private browsing builds; r=gavin
This patch makes sure that when you have a tab open in a private window,
we would never switch to it from either a private or non-private window.
Also, this disabled switching to tabs inside private windows.

This patch uses the autocompletesearchparam attribute to convey whether
the autocomplete search is coming from a private window, to disable
finding open pages in nsPlacesAutoComplete.  It also changes the
behavior of switchToTabHavingURI to make sure that switch to tab
actually fails if somehow attempted (this is used in the test.)  It also
prevents pages opened in a private window to be registered with
nsPlacesAutoComplete as open pages, in order to make sure that those
pages do not appear as switch to tab entries in the autocomplete list
for other windows.

The test for this patch is based on browser_bug555767.js, and tests all
of the four possible interactions here.
2012-11-30 02:40:47 -05:00
Dão Gottwald
75dde08c8d Bug 807404 - Remove the 'switchingtabs' attribute after the next paint rather than depending on a synchronous layout flush. r=enn 2012-11-01 20:28:33 +01:00
Dão Gottwald
e03aeb64a0 Bug 752376 - Avoid calling scrollbox.ensureElementIsVisible() if the tab strip doesn't overflow to prevent layout flushes. r=enn 2012-10-25 19:59:33 +02:00
Jeff Muizelaar
07b8aa36d6 Bug 800031. Include paint time int tab switch telemetry. r=ehsan,dao,bjcaob
This adds a new FX_TAB_SWITCH_TOTAL_MS that should more accurately represent
the user experience of tab switch time than FX_TAB_SWITCH_UPDATE_MS.
FX_TAB_SWITCH_UPDATE_MS is being kept because it gives a good indication of how
much time is being spent in the front end parts vs the painting parts.

This works by measuring the time between beginTabSwitch() and the first call to
LayerManager::PostPresent().
2012-10-11 13:54:27 -04:00
Ehsan Akhgari
e6f1f39bc6 Bug 798516 - Remove support for gPrivateBrowsingUI.privateWindow; r=jdm
This patch replaces the privateWindow API with the toolkit
PrivateBrowsingUtils.isWindowPrivate API, which is better in the sense
that it is chrome/content agnostic and is not browser/ specific.
2012-10-05 19:25:52 -04:00
OHZEKI Tetsuharu
b1f5762d25 Bug 772319 - Add an option to disable the "Close other tabs" prompt. r=dao 2012-10-05 11:50:30 -07:00
Jonathan Kew
4ae1951644 bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud 2012-09-29 12:36:09 +01:00
Matt Woodrow
a1f75a8ee5 Bug 781053 - Part 3 - Force the throbber into it's own layer. r=roc 2012-09-25 08:31:48 +12:00
Ed Morley
5a3b322459 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
88b0ce7b03 Bug 781053 - Part 3 - Force the throbber into it's own layer. r=roc 2012-09-25 08:31:48 +12:00
Phil Ringnalda
16e0947c04 Back out 85d6cbd01d39, 56fc051c1932, a2ad17b87332 (bug 781053) for OS X debug assertions and crashes
--HG--
extra : rebase_source : ab24a2f8e9eddcf33ea39344abb7afbf400bf6e0
2012-09-24 21:23:05 -07:00
Matt Woodrow
4e60645e00 Bug 781053 - Part 3 - Force the throbber into it's own layer. r=roc 2012-09-25 08:31:48 +12:00
Andres Hernandez
ed2022de9c Bug 753127 - Add telemetry for the time spent updating UI in response to a tab switch. r=dao 2012-09-21 18:33:30 -06:00
Dão Gottwald
7ce227ab77 Bug 790168 - dragstart handler cleanup. r=ttaubert 2012-09-20 15:16:28 +02:00
Abhishek Potnis
482c9a8d8a Bug 691925 - Replaced content.focus() with gBrowser.selectedBrowser.focus() and/or window.focus(). r=dao 2012-09-19 12:59:26 +02:00
Ehsan Akhgari
c578fadd65 Bug 741059 - Part 4: Update the callers to mozIAsyncFavicon::SetAndFetchFaviconForPage; r=jdm,bz,mak 2012-09-06 00:34:50 -04:00
Ed Morley
c529a36218 Backout 62ef2365014e (bug 583890), 8c3df98a9f06 (bug 583890) for intermittent failures in browser_bug583890.js 2012-09-17 17:35:46 +01:00
Adam Dane [:hobophobe]
57921206f3 Bug 583890 - Add visibleLabel attribute/property and tests. r=ttaubert,jaws 2012-08-23 20:15:50 -05:00
Dão Gottwald
eab92b6e2c Bug 789079 - In the tab container's dragover handler, calculate the drop indicator's minimum and maximum margins only when scrolling. r=jaws 2012-09-10 12:24:29 +02:00
Amod
6456695447 Bug 783025 - Replace String.indexOf(...) != -1 with String.contains(...). r=dao 2012-09-08 22:58:23 +02:00
Ehsan Akhgari
6eae85d8ab Backed out changeset 9c6782197172 (bug 783025) because of test failures 2012-09-08 16:56:04 -04:00
Amod
16b7060d93 Bug 783025 - Replace String.indexOf(...) != -1 with String.contains(...). r=dao 2012-09-08 21:26:25 +02:00
Dão Gottwald
17350d13dc Bug 789032 - Dragging a link over the tab strip's scroll arrows calls _getDropIndex unnecessarily. r=jaws 2012-09-06 17:59:57 +02:00
Tim Taubert
be91e1b267 merge m-c to fx-team 2012-09-05 13:18:58 +02:00
Paul Rouget
9e0372540e Bug 768442 - It's impossible to add a sidebar inside a tab. r=dao 2012-08-30 12:23:26 +02:00
Dão Gottwald
097a4578df Bug 786291 - Dragging a pinned tab is jerky when the tab strip overflows. r=jaws 2012-08-30 07:51:06 +02:00