Граф коммитов

462062 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Kaspari d74a299d2d Bug 1236431 - (Pre) ToolbarDisplayLayout: Address lint warnings and clean up code. r=mcomella
MozReview-Commit-ID: JkD7uqRMQhQ

--HG--
extra : rebase_source : 87e2044c27e7693b9c356e32f4f6d5e70de9d5ed
2016-02-12 09:42:41 +01:00
Carsten "Tomcat" Book 2b6503e6a2 Merge mozilla-central to fx-team 2016-02-17 14:38:01 +01:00
Carsten "Tomcat" Book 436f1bf747 Backed out changeset bc3e37b63def (bug 1246918) for fix frequent android c1 test failures 2016-02-17 14:35:10 +01:00
Carsten "Tomcat" Book 8cbc76d2fd Backed out changeset 10e71da98b14 (bug 1246918) 2016-02-17 14:34:49 +01:00
Eddy Bruel e47fd356ef Bug 1247192 - Replace all usage of Services in TabSources with URL;r=fitzgen,jryans 2016-02-17 14:33:45 +01:00
J. Ryan Stinnett f9a0284fd2 Bug 1240494 - Expand JSON Viewer paths to all shared. r=Honza
MozReview-Commit-ID: G0lCxW3JX6f
2016-02-17 07:00:09 -06:00
J. Ryan Stinnett 7db57df8eb Bug 1240494 - AMD support for DevTools loaders. r=jwalker,Honza
MozReview-Commit-ID: 7IemsaijHNc
2016-02-17 07:00:09 -06:00
Alexandre Poirot 6dbab57938 Bug 1245615 - Just clear hostVsStores map as some async code may still use them. r=mratcliffe 2016-02-17 04:28:05 -08:00
Carsten "Tomcat" Book c2a42c6ad4 merge fx-team to mozilla-central a=merge 2016-02-17 12:07:39 +01:00
Kris Maglione ba2e5f60f4 Bug 1248855 - [webext] Add "object-curly-spacing" ESLint rule and auto-fix errors. r=billm
MozReview-Commit-ID: BAZ2rRl7eSM
2016-02-16 20:10:00 -08:00
Brian Grinstead 887548abab Bug 1247962 - Get rid of CPOW in browser_webconsole_live_filtering_on_search_strings.js;r=linclark
MozReview-Commit-ID: EyBMJ3dqZSW
2016-02-16 17:30:12 -08:00
Drew Willcoxon 2f0e845aa8 Bug 1247641 - When loading a background thumbnail, load about:blank asynchronously when a load fails to avoid endless redirects. r=markh 2016-02-16 16:34:25 -08:00
Patrick Brosset 406297be5c Bug 1248360 - Set eslint version to 1.10.3 when setting it up via mach
MozReview-Commit-ID: LmKsvGzj3fo

--HG--
extra : rebase_source : ec5aaeef13fca603250d5e57b8425ff339136070
2016-02-16 10:01:11 +01:00
Lin Clark 06ca447288 Bug 1245667 - Use standard license boilerplate in framework js files. r=bgrins
MozReview-Commit-ID: 31xbv6rirPg

--HG--
extra : rebase_source : 1afbc68083aa0bdf6b7a674c39a0ac3e839756d6
2016-02-16 16:14:53 -08:00
Kit Cambridge 68e3a5952d Back out changeset 4357fe5a9d22 (bug 1206560) for M-e10s(bc4) failures.
MozReview-Commit-ID: 1J0li7PNBWN

--HG--
extra : rebase_source : 448ee6888b68f1ebd2d0926b84f946a84b8b5788
2016-02-16 16:13:38 -08:00
Brian Grinstead ad34c237e8 Bug 1246733 - Remove stylesheet references of 'devtools/skin/common.css' and instead import it in theme files;r=ntim,r=ochameau
MozReview-Commit-ID: AwS9aJ4dypm
2016-02-16 16:10:25 -08:00
Kit Cambridge 702f0beb99 Bug 1224785, Part 3 - Don't include `ShowWith{Icon}Backend` on Android. r=me 2016-02-16 15:52:15 -08:00
chaithanya 458420bbd7 Bug 1243435 - Remove unused prefs toolkit.telemetry.prompted / toolkit.telemetry.notifiedOptOut from test suite. r=Dexter 2016-02-16 05:11:00 +01:00
Matthew Wein 441bc62a0b Bug 1243602 - don't expose browser.* properties that lack required permissions. r=kmag 2016-02-15 17:59:07 -05:00
Andy McKay c123766e69 Bug 1238312 - implement tabs.duplicate. r=kmag
MozReview-Commit-ID: Fzd6BuAEgSl

--HG--
extra : transplant_source : %F3%1C%C6%13Hn%DF%051%2B%7D%AB%D1%AE%F17Y%05oF
2016-02-12 15:38:55 -08:00
Nick Fitzgerald 11ae76df3b Bug 1248829 - Fix number of characters reserved in memory table's cells; r=jsantell 2016-02-16 17:32:00 +01:00
Nick Fitzgerald 2d9d0a66d0 Bug 1248085 - Compute shortest paths in the HeapAnalysesWorker; r=jimb 2016-02-12 15:23:00 +01:00
AJ Kerrigan e23e94e333 Bug 1246188 - Make webconsole.js ESLint-clean. r=lclark 2016-02-13 00:56:12 -05:00
Carsten "Tomcat" Book 9d45ef9d96 Merge mozilla-central to fx-team 2016-02-17 12:20:16 +01:00
Florian Quèze 97f271d8f7 Bug 1248329 - Requesting permissions in short succession can lead to the microphone icon displayed for an unrelated notification, r=Gijs.
--HG--
extra : rebase_source : bcaf19ce5704d92dc0356604f29da23d3c3f1fdc
2016-02-17 11:57:41 +01:00
Andrew Krawchyk 3080ab6847 Bug 1220654 - Replace removeVisitsTimeframe with History.removeVisitsByFilter and deprecate it. r=mak
***
yield on removeVisitsByFilter in tests

MozReview-Commit-ID: JGDaJGEmtoD
***
update bookmarked place tests, inline object declarations

MozReview-Commit-ID: Cxec22UHui0
***
updates for code review

MozReview-Commit-ID: AIRqrJ0B6GQ

--HG--
rename : toolkit/components/places/tests/unit/test_removeVisitsByTimeframe.js => toolkit/components/places/tests/history/test_removeVisits.js
extra : amend_source : dbe2442dceefae9bf79a77f09a9a889f18d4a65b
2016-02-16 14:52:59 -05:00
Marco Bonardo 77808a4218 Bug 1244650 - Failure to clear Forms and Search Data on exit. r=yoric
The problem is due to sanitization happening too late in the shutdown cycle.
The Sanitizer depends on Places shutdown, that recently moved to async shutdown.
That change caused shutdown to happen completely at profile-before-change, unfortunately
during that phase it's impossible to predict which services are already shutdown.
The patch restores the previous Places shutdown procedure, thus clients are notified
earlier, during profile-change-teardown.

Additional meaningful changes:
* Fixes FX_SANITIZE_TOTAL telemetry to properly count total time taken by sanitize.
* Makes each cleanup operation isolated from other errors to try cleaning up as most as possible.
* In case of multiple sanitization sub steps, each step is isolated by a try/catch, the last seen exception is reported upstream.
* Makes FX_SANITIZE_HISTORY actually measure history, not other random stuff.
* Removes TOPIC_SIMULATE_PLACES_MUST_CLOSE_1 since we can now just use profile-change-teardown for shutdown phase 1.

MozReview-Commit-ID: HroLvbi25IC

--HG--
extra : rebase_source : 5cd01a803fbc1f72dc5174dd0c5a5b5aea473fc2
2016-02-04 13:51:34 +01:00
Sebastian Kaspari 3d51f78db0 Bug 1247366 - AppMenuComponent.findAppMenuItemView(): Wait for views and not for text to appear. r=margaret
MozReview-Commit-ID: Hb5BHnu15nm

--HG--
extra : rebase_source : 5dcf140467ce98ee3ca9753dfe47d9c49d97e09f
extra : amend_source : 92e46fb927927642be8358ef46139b62ef0eefd2
2016-02-12 21:00:01 +01:00
Dave Townsend 424899c3cd Bug 1245916: Turn on no-undef in toolkit/mozapps/extensions. r=rhelmer
Mostly just declaring globals that Cu.imports defines but there are some actual
bugs here that have been fixed as well as one test that just never ran because
of a hidden exception.

MozReview-Commit-ID: J6uIpYp8ANx

--HG--
extra : rebase_source : 5c19b92e4242088b6fc7a268f255fe9a795928f6
extra : source : 3e5b6df276a9a20fe7b3655656e62a09bc46aaa9
2016-02-03 22:48:48 -08:00
Dave Townsend d450ff9b15 Bug 1245916: Import more head files for xpcshell tests. r=pbrosset
xpcshell tests used to use head_*.js files so this adds those for global
discovery.

MozReview-Commit-ID: BOsoGIpwdgu

--HG--
extra : rebase_source : ef36531641cbd353625019f8deba333cfd352891
extra : source : 70eca07367f40a9b4fe8c6e23ec0aef73bf2a962
2016-02-05 13:23:40 -08:00
Dave Townsend 0a913f73ee Bug 1245916: Add additional default globals. r=felipe
This defines a few additional globals but also turns on the browser environment
for everything in browser and toolkit. This may lead to some false negatives
but we have lots of code that runs in a browser context so in the name of
getting rules turned on I think this is a useful step.

MozReview-Commit-ID: BdWouZGK6d

--HG--
extra : rebase_source : a88116d149af76aa35ee0757b3b51b6f97646ebe
extra : source : 04c1740aa49904a56bd662ee0c8aed69e6f99f8b
2016-02-05 12:12:30 -08:00
Dave Townsend 688e1344df Bug 1245916: Add additional browser window scripts to eslint globals. r=felipe
This adds more of the scripts that browser.js relies on and also makes
browser-chrome head files import the browser.js globals.

The MOZ_JSDOWNLOADS block in contentAreaUtils only seems to hide a single
function, I don't see any need to keep hiding that now we're on by default.

MozReview-Commit-ID: 5zvF3JtJrZG

--HG--
extra : rebase_source : 94daff602b51d7ad57a24872d9eba9b304cf2da9
extra : source : b554c7ce41c42f16c2279ae88fd9567da7509bff
2016-02-05 12:16:39 -08:00
Dave Townsend 9d6c28bf7c Bug 1245916: XBL bindings should support global declarations in comments. r=miker
To properly lint XBL files we need to support things like import-globals-from
and other ESlint comment directives so we have to pass comments through to the
code blocks that ESlint parses. Unfortunately the way the XBL processor works
now is by passing a separate code block for every method/property/etc. in the
XBL and ESlint doesn't retain state across the blocks so we would have to prefix
every block with every comment. Instead this change makes us output just a
single block that roughly looks like this:

<comments>
var bindings = {
  "<binding-id>": {
    <binding-part-name>: function() { ... }
  }
}

This has some interesting bonuses. Defining the same ID twice will cause a lint
failure. Same for the same field in a binding. The line mapping is a little
harder and there are still a few lines that won't map directly back to the
original file but they should be rare cases. The only downside is that since
some bindings have the same binding declared differently for different platforms
we have to exclude those from linting for now.

MozReview-Commit-ID: CAsPt5dtf6T

--HG--
extra : rebase_source : 91a60ef0359ef53093fe197ed63dbc4e1a9f10a5
extra : source : 01675e4828b524c04a9057d68b41e9cc01ca1bb9
2016-02-05 12:13:34 -08:00
Dave Townsend 56d83fc4bd Bug 1245916: Unify eslint global discovery rules. r=pbrosset
While working on turning on no-undef I discovered that the various rules we
have for defining globals are a little inconsistent in whether the files they
load recurse through import-globals-from directives and none of them imported
eslint globals directives.

I think we're better off putting all this global parsing code in a single place
rather than spread across multiple rules. Have one rule to turn it on for
parsed files and one function to load globals from other files and make them
share most of the code so we won't get inconsistent. If we find us needing to
turn on/off individual features we can figure out a way to do that in the
future.

This patch does that, the globals.js file does all global parsing with a shared
object that receives events from the AST, either through from an ESlint rule
or from a simple AST walker using estraverse.

MozReview-Commit-ID: 9KQZwsNNOUl

--HG--
extra : rebase_source : 0f1cceca29ac398be97a55bbcd09fe58a8be1435
extra : source : 878db4caf845282f06542793bc4b5c24fa658c14
2016-02-05 11:37:50 -08:00
Chris Peterson fb67cdc658 Bug 1233297 - Part 1: Consolidate MOZ_C*_SUPPORTS_WARNING configure checks in compiler-opts.m4. r=glandium 2016-02-02 00:04:26 -08:00
Xidorn Quan f89b96de96 Bug 1218706 followup 2 - Mark some dir-isolation web-platform tests expected-fail on Win7.
MozReview-Commit-ID: 5pAMJPAYGNl

--HG--
extra : source : b571d38320bc9cde4adc59721519587871e3894d
2016-02-17 13:14:59 +08:00
Jean-Yves Avenard 4de572ea7a Revert "Bug 1248570: Allow WAV into media element. r=lchristie"
This reverts commit b3f7abd15a
2016-02-17 16:09:51 +11:00
Jean-Yves Avenard 9df5f82b77 Bug 1248570: Allow WAV into media element. r=lchristie
MozReview-Commit-ID: AKIQq9EyCC6
2016-02-17 15:47:43 +11:00
Brian Birtles 96f8f450de Bug 1244414 - Create iframe element from script to avoid racing with the load event; r=bz 2016-02-17 13:38:31 +09:00
Kartikaya Gupta a77c6753e6 Bug 1246056 - Ensure that the MockContentController's timestamp is always >= GetStartupTime(). r=botond
MozReview-Commit-ID: KfkX1ixpKaI

--HG--
extra : rebase_source : 8161b02c704c7e225a8ab0e87935e1dbba0dd236
2016-02-16 17:25:54 -05:00
Xidorn Quan 2ad2ca17e9 Bug 1248757 followup - Release blob after assignment in DoGetBlobAsString on CLOSED TREE.
MozReview-Commit-ID: HOsMvsjBJKF

--HG--
extra : source : cac755e67ad9739d72f78a184f20bafd845e514f
2016-02-17 11:57:59 +08:00
Ting-Yu Lin 585b41e8b5 Bug 1246918 - Handle PresShell gone after FlushLayout(). r=roc
After calling FlushLayout(), PresShell::Destroy() might be called and we
should consider PresShell and other resources will be no longer valid.

Before this patch, AccessibleCaretManager and AccessibleCaret(s) are
deallocated in PresShell::Destroy(). However FlushLayout() are all
invoked in AccessibleCaretManager, we need to keep manager alive to
clean up after PresShell::Destroy().

This patch makes AccessibleCaretManager live after PresShell::Destroy(),
and use IsTerminated() to check whether PreShell is vaild after each
FlushLayout() calls.

Note that event though AccessibleCaretEventHub will be unref in
PresShell::Destroy(), all the callers to AccessibleCaretEventHub's
public methods already add a ref to AccessibleCaretEventHub. So we don't
need to worry about AccessibleCaretEventHub and AccessibleCaretManager
die immediately after PresShell::Destroy().

MozReview-Commit-ID: DDpXZ7v3zyo

--HG--
extra : rebase_source : 2698f0313e394b64ff8caacf21493c874510a7ce
2016-02-15 15:12:35 +08:00
Ting-Yu Lin 8f500a4074 Bug 1246918 - Fix carets missing after scrolling down in selection mode on Fennec. r=roc
Fennec enables sCaretsExtendedVisibility which uses
Appearance::NormalNotShown instead of Appearance::None to keep actionbar
shown during scrolling. This breaks selection mode update when the
positions of the carets are not changed after scrolling.

To fix this, we need to implement appearance recovering for selection
mode scrolling like we did for cursor mode in bug 1212732, and make
UpdateCaretsForSelectionMode() respects UpdateCaretsHint.

MozReview-Commit-ID: LkfUIGKHL0h

--HG--
extra : rebase_source : 2e68786e09046967f7c6af16fa6b393f133dc12c
2016-02-11 16:22:57 +08:00
JW Wang d9a7eb2325 Bug 1248543 - release decoder resources when finishing tests to avoid OOM and failing to open cubeb streams. r=kinetik.
MozReview-Commit-ID: 1LmRNzVFYX9
2016-02-17 10:47:03 +08:00
Shih-Chiang Chien 2624c1bfd1 Bug 1231416 - fix Mulet UA string generation rule. r=fabrice.
MozReview-Commit-ID: 69fIxw0FO9l

--HG--
extra : rebase_source : c3720d20001096b1775cdade418de27983720c40
2016-02-16 18:54:12 +08:00
Xidorn Quan 48b11acc5f Bug 1218706 followup - Mark some dir-isolation web-platform test expected pass.
MozReview-Commit-ID: IABqEq2wFYi

--HG--
extra : source : 54a449bc0e5cc7fc7e111ebf6fe59c5e9bb19efc
2016-02-17 10:33:12 +08:00
Jonathan Watt 3389490ae3 Bug 1245414, part 10 - Apply the Mozilla patches via mfbt/decimal/update.sh. r=Waldo
--HG--
extra : rebase_source : 791e169635d9bb13f0a7a9593007a7ed3acaf3a0
2016-02-11 19:43:14 +00:00
Jonathan Watt faa1155f4b Bug 1245414, part 9 - Disable mfbt/decimal/fix-wshadow-warnings.patch. r=cpeterson
--HG--
extra : rebase_source : 6e6832aaef2fa20feac1d18c839ad2e90d468685
2016-02-11 19:07:42 +00:00
Jonathan Watt fd49e9c851 Bug 1245414, part 8 - Remove mfbt/decimal/floor-ceiling.patch now that the issue is fixed upstream. r=Waldo
--HG--
extra : rebase_source : 6fd88f5f2a27f29bc3e01943868ac81a232dddac
2016-02-11 19:07:42 +00:00
Jonathan Watt 66a8428e62 Bug 1245414, part 7 - Update mfbt/decimal/to-moz-dependencies.patch. r=Waldo
--HG--
extra : rebase_source : e79b2009d89c8921f632f7ebc5bfb908b5444523
2016-02-11 19:07:42 +00:00