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

505129 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 1ba3c2ac4b Bug 1325016 part 2. Switch ScreenOrientation's deviceType getter to use the caller-type version of ResistFingerprinting. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky 224a0a59a6 Bug 1325016 part 1. Remove some unused nsIDOMScreen functions. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky d22d7aafa4 Bug 1320801 part 5. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's devicePixelRatio getter. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky fe08a55fa4 Bug 1320801 part 4. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's mozInnerScreenX/mozInnerScreenY getters. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky 7f7978f0f7 Bug 1320801 part 3. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's orientation getter. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky 97b0a23beb Bug 1320801 part 2. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's screenX/screenY getters. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky 454eaf81d5 Bug 1320801 part 1. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's outerWidth/outerHeight getters. r=bkelly 2016-12-22 11:05:54 -08:00
Mike Shal d7a8d558f6 Bug 1325197 - Add logging around mach python-test; r=gps
In bug 1308472 we are seeing 'make -k check' fail intermittently with
the only apparent error message something like:

make: *** [check] Error 245

This debug should make it more clear which test (if any) is responsible
for setting the return code in 'mach python-test', and whether or not
'mach python-test' is actually reaching the end of the function.

MozReview-Commit-ID: 6IQrZQqs8ij

--HG--
extra : rebase_source : 4d2d4b8b139d7f16bda2b22ce79ab2c84e8fe4c7
2016-12-21 11:12:55 -05:00
Andrew Halberstadt c1bee16c38 Bug 1325148 - Temporarily disable mochitest leakchecking for directories containing known leaks, r=jmaher
Leak checking in mochitest was failing to turn the jobs orange for a period of time. Several leaks slipped
through in the interim. In order to land the fix ASAP to avoid further bustage, these leaks are being
whitelisted. See the patch or the dependency graph of bug 1325148 for the list of leaks/bugs that are being
disabled.

While these bugs won't show up in treeherder, they are a priority to fix, as they could represent leaks that
are already landed in the code.

MozReview-Commit-ID: JY7Gpvswp4r

--HG--
extra : rebase_source : 0d75d80eccddca31a7d2d1c997a85efdb5a4858c
2016-12-21 16:22:50 -05:00
Andrew Halberstadt 3f3fa209f3 Bug 1325148 - Temporarily disable leakchecking in crashtests on linux, r=jmaher
This is being disabled because of the leak in bug 1325215. It slipped in because leak
checking in reftest was temporarily failing to turn the job orange. We are disabling
leak checking so we can land the fix ASAP and prevent further bustage from slipping
through in the mean time. Once bug 1325215 has been fixed, this should be backed out.

MozReview-Commit-ID: 74VGhHvZtIG

--HG--
extra : rebase_source : c965aa1e229a15948d2d4b55dc16c5904c304ad9
2016-12-21 17:06:29 -05:00
Andrew Halberstadt 148b884e2c Bug 1325148 - Use "error" level in mozleak when logging leak failures, r=jgraham
This fixes a regression when switching to the StructuredOutputParser in mozharness.
Previously, mozleak was relying on the string "TEST-UNEXPECTED-FAIL" to turn the jobs
orange, but it was doing so at the "warning" level. The StructuredOutputParser requires
the "error" level to set the appropriate tbpl_status.

MozReview-Commit-ID: 9u9mwqrkA6E

--HG--
extra : rebase_source : d31ece08232a87713702e713076071fa10fb8324
2016-12-21 14:02:04 -05:00
Ralph Giles afb3ed504c Bug 1324473 - mozboot: Normalize windows path advice. r=gps
On windows, python generally returns windows-style paths,
with drive letters and backslash for a separator. However,
when we offer advice for updating the PATH variable, we're
talking about the msys environment which uses unix-style
paths. Convert to avoid confusion.

This is intended to turn c:\Users\mozilla\ into /c/Users/mozilla/.

MozReview-Commit-ID: FdB8FvjeCV1

--HG--
extra : rebase_source : 6d9e87b460417254bbe2eb5af3813e22f2126fb1
2016-12-22 15:45:52 -08:00
Al Tsai 6f69bab955 Bug 1299944 - use default runtests.py if objdir doesn't exists. r=gps
MozReview-Commit-ID: LCMslgCDkVS

--HG--
extra : rebase_source : c1c557a4f68e50a0ca8c435bb4b0581f7de0ab50
2016-12-27 17:33:15 +08:00
JW Wang 51911743dc Bug 1325905. Part 7 - add assertions to ensure Ensure{Audio,Video}DecodeTaskQueued is never called by DecodingFirstFrameState. r=kaku
MozReview-Commit-ID: 9zSuH4p0aqg

--HG--
extra : rebase_source : 315b05e6acda578f7e4ba76478ea3096cb196b1c
extra : intermediate-source : 1849928297d4fd028bd53010f6f2dc1a2af85950
extra : source : ed06f086bb403ddfa0296b6be87601188ada81c6
2016-12-21 18:26:31 +08:00
JW Wang 2942cc95b4 Bug 1325905. Part 6 - let DecodingFirstFrameState::Enter() call Request{Audio,Video} instead. r=kaku
MozReview-Commit-ID: AH1F9hMJorM

--HG--
extra : rebase_source : ffd3b9711fa7be5db2445b75a7e875bd6b44c1b5
extra : intermediate-source : 1477500ceba6772fe5b93f318f1a13f03d3dff03
extra : source : 240f60c1c35b92facdec77f22022fed4babf4f84
2016-12-22 04:32:47 +08:00
JW Wang 354ad927a8 Bug 1325905. Part 5 - let DecodingFirstFrameState override Handle{Audio,Video}Waited. r=kaku
We want to call Request{Audio,Video}Data() instead of Ensure{Audio,Video}DecodeTaskQueued
which checks mState and breaks the encapsulation of the state objects.

MozReview-Commit-ID: 5oydItSvnMF

--HG--
extra : rebase_source : 5da4ad2f0fbf010a78c6b4e7cbab70378a002758
extra : intermediate-source : 0a882fb53fd51a71f9a3914074e9020d4eb87c4f
extra : source : 9927e37c9383e9204cbaf1b0dbc6fbfdff48df82
2016-12-21 18:23:00 +08:00
JW Wang 5f9c0a1f53 Bug 1325905. Part 4 - let DecodingFirstFrameState override Handle{Audio,Video}NotDecoded. r=kaku
We want to call Request{Audio,Video}Data() instead of Ensure{Audio,Video}DecodeTaskQueued
which checks mState and breaks the encapsulation of the state objects.

MozReview-Commit-ID: 87CwSdtTwi4

--HG--
extra : rebase_source : a16404e208ae5cd9b008728249cea444a7b229e7
extra : intermediate-source : 3fbfa4532f6a54ea9e1aa7b0e9880539ca57c811
extra : source : 22a75175dd957605e70096b029a677b4d2ac2d42
2016-12-21 18:16:25 +08:00
JW Wang 8901ee07af Bug 1325905. Part 3 - split HandleNotDecoded() into HandleAudioNotDecoded() and HandleVideoNotDecoded(). r=kaku
MozReview-Commit-ID: 3RcG43pxGSv

--HG--
extra : rebase_source : 75460198f494efd087f7b16816ece042c50873c8
extra : intermediate-source : c61d6b5eab101c7e978d9253e9ef524a1b8d92f8
extra : source : 8a8878c5fdcc7d40b48c66c4efda303f2e569ba5
2016-12-21 18:00:37 +08:00
JW Wang 6b395243f2 Bug 1325905. Part 2 - move IsWaitForDataSupported() assertions into MediaDecoderReaderWrapper. r=kaku
MozReview-Commit-ID: 6KwjHONHKo

--HG--
extra : rebase_source : f6da0198c63f27d002d5118ac8a12d436d9c2586
extra : intermediate-source : 1100a896ff400a101ac166cc82e75e28b37e2c5e
extra : source : 19cab6225fc2969fd5f1f445f48c90b2de2481e7
2016-12-21 17:37:56 +08:00
JW Wang 9d8e66b8c1 Bug 1325905. Part 1 - add assertions to MDSM::Request{Audio,Video}Data. r=kaku
MozReview-Commit-ID: JjRsv2wdLUq

--HG--
extra : rebase_source : 6393b2650bec9e157ebe20cccc7d8242df34cec1
extra : intermediate-source : 0bb565e52e2bf69d64cc37b88e0cc6342d98442d
extra : source : 893f204d72ffa399a85bde9de97649a531ed54ba
2016-12-21 17:21:21 +08:00
Mark Banner 32471628fa Bug 1325623 - Fix most no-undef eslint issues in toolkit/components. r=mossop
MozReview-Commit-ID: DYJa1uNVagw

--HG--
extra : rebase_source : 11649d299fb6654bcadfb0e04bc0d8f19552529e
2016-12-23 16:00:46 +00:00
Cameron McCormack 7a4522824d Bug 1326023 - Make Element::GetBindingURL return a strong reference. r=smaug
MozReview-Commit-ID: 5QI6UuvwDrE

--HG--
extra : rebase_source : 42f7a481590020d4b7c30df7036cc922a5d9d275
2016-12-28 17:50:44 +08:00
Henrik Skupin 7346feaa9c Bug 1323770 - Fix inappropriatelly skipped/disabled tests. r=maja_zf
Commenting out test methods is not the way how we should mark tests
as being skipped. The correct skip methods have to be used instead so
that the final results also show the correct skip count.

MozReview-Commit-ID: LKL4YQCyFko

--HG--
extra : rebase_source : 4c50596a6477e2afa0926b5dd787466d2b6ce89a
2016-12-21 17:34:59 +01:00
Henrik Skupin feda197849 Bug 1323770 - Fix skip decorators for unit tests. r=maja_zf
Marionette's skip decorators are currently not conform with the ones from the
Python's unittest module, which require a reason as parameter. As such Marionette
should behave the same and should also require a reason for more detailed skip
messages. This is done by wrapping the actual decorator with another enclosing
method.

With the changes we also ensure that the wrapper has the same attributes as the
wrapped function by using functools.wraps(). This hasn't used so far and makes
debugging harder.

Further a couple of skip methods and classes were copied from the unittest module,
which should be better imported instead to reduce code duplication.

MozReview-Commit-ID: 6XT6M6cbCFW

--HG--
extra : rebase_source : 2fb8bce0f17eade182eb5f61479548d0f6ef8ecc
2016-12-29 09:22:00 +01:00
Henrik Skupin 35a7d605d5 Bug 1323770 - Marionette should not take screenshots for skipped tests. r=maja_zf
Taking screenshots for skipped tests is useless and should be avoided to
reduce the size of the test logs.

MozReview-Commit-ID: 9HPH7pSXTj9

--HG--
extra : rebase_source : 41ea609a285e037160b1be535dac35de643f31c1
2016-12-21 15:19:40 +01:00
Henrik Skupin 3b00d747cb Bug 1323770 - Moztest should forward correct test result. r=ahal
Registered callback handlers for tests should receive the correct
test status when the test has been finished, and not always "Error".

This change allows those callbacks to run specific code for individual
test results, eg. only do screenshots for failures.

MozReview-Commit-ID: FfbCRR0Jvjb

--HG--
extra : rebase_source : c73253acbb666ca62b23f806145c20f0a70c934c
2016-12-21 11:19:36 +01:00
aceman 81424a65e3 Bug 1142224 - focus the menulist (instead of the inputbox) once it stops being editable. r=enndeakin 2016-12-21 10:03:00 +01:00
Jonathan Watt 5c31ea5e34 Bug 1325787 - Fix MozillaBuild so profile-rustup.sh doesn't break Windows users who have aliased 'cd'. r=gps 2016-12-24 20:02:23 +00:00
Karl Tomlinson 2041039808 bug 1320860 Back out changeset a6aabcb07a6e for causing bug 1322120 or bug 1324262
--HG--
extra : rebase_source : c77a5627ebb851b3f70da2917c68b9ae3683247b
2016-12-29 18:05:42 +13:00
Phil Ringnalda 419cda6127 Backed out changeset 6a9a6e524a7b (bug 1314001) for Windows -werror bustage
MozReview-Commit-ID: Gzhx80yqTnG
2016-12-28 22:00:49 -08:00
cku 50446c645c Bug 1314001 - (followup) give different color to different kind of mask. r=me
MozReview-Commit-ID: Ko9MyTzMhL2
2016-12-29 11:36:39 +08:00
Phil Ringnalda 934829ca2f Bug 1199631 - skip test_visibility.xul on ASan for frequent failures 2016-12-28 18:47:21 -08:00
Ehsan Akhgari 880f7fac36 Bug 1324328 follow-up: Make hasCustomAnnotation's second argument a StringRef 2016-12-28 21:20:43 -05:00
Ehsan Akhgari 65c49d82e4 Bug 1324320 follow-up: Fix a mistake that breaks the build 2016-12-28 21:19:30 -05:00
Ehsan Akhgari 21f0768c95 Bug 1324328 - Remove MozChecker and some unused code; r=mystor 2016-12-28 21:14:51 -05:00
Ehsan Akhgari 2f3ebccb92 Bug 1324325 - Port the muse-use check to the clang-tidy compatible framework; r=mystor 2016-12-28 21:14:49 -05:00
Ehsan Akhgari cd93cff857 Bug 1324320 - Port the must-override check to the clang-tidy compatible framework; r=mystor 2016-12-28 21:14:39 -05:00
Ehsan Akhgari ed92149615 Bug 1324315 - Add support for building clang-tidy with Mozilla static analysis checks to build-clang.py; r=mystor 2016-12-28 20:47:49 -05:00
Ehsan Akhgari 371365724c Bug 1324315 - Refactor the clang plugin to use a framework similar to clang-tidy's; r=mystor 2016-12-28 20:47:47 -05:00
Ehsan Akhgari 3ddb346120 Bug 1324239 - Refactor the clang plugin; r=mystor
This patch mostly just splits up clang-plugin.cpp into separate files for
different classes or helpers.
2016-12-28 20:17:48 -05:00
Wes Kocher e40813ea4c Merge m-c to inbound, a=merge 2016-12-28 16:19:34 -08:00
aleth fa12e7357e Bug 1324120 - Back out changeset a740323ace17 as mozconfig.rust now already uses the TOOLTOOL_DIR. r=gps
--HG--
extra : rebase_source : 2a7e8df7504b783a54ce1eaa34fe1e1913a7ad2b
2016-12-22 13:21:22 +01:00
Jim Chen c3a02d7e8e Bug 1325155 - 2. Convert text selection events to bundle events; r=sebastian
Convert the "TextSelection:*" events to use BundleEventListener /
GeckoBundle, in both ActionBarTextSelection.java and
FloatingToolbarTextSelection.java. UI events are used because the
listeners require the UI thread. The "TextSelection:Update" listeners
are removed because the event is no longer sent by ActionBarHandler.
2016-12-28 17:49:29 -05:00
Jim Chen 34ae4d687c Bug 1325155 - 1. Add Object overrides for GeckoBundle; r=sebastian
Add overrides for Object methods in GeckoBundle, and redirected them to
the corresponding methods in SimpleArrayMap. For equals, a custom
implementation is used because the equals implementation in
SimpleArrayMap had bugs across different support library versions.
2016-12-28 17:49:28 -05:00
Jim Chen 922fcb61b5 Bug 1325154 - Convert NotificationHelper events to bundle events; r=sebastian
Convert NotificationHelper events to use BundleEventListener and
GeckoBundle. UI events are used to perform notification operations, and
to keep access to mClearableNotifications to the UI thread. Also,
refactor some recently-added code in NotificationHelper.
2016-12-28 17:49:28 -05:00
Jim Chen 16e63f30d7 Bug 1325153 - Convert DoorHangerPopup events to bundle events; r=sebastian
Convert "Doorhanger:Add" and "Doorhanger:Remove" to bundle events. UI
events are used because the listener performs UI operations. As part of
the refactoring, DoorHangerConfig was refactored to use GeckoBundle, and
due to that change, a lot of other doorhanger-related classes also had
to be refactored to use GeckoBundle.
2016-12-28 17:49:28 -05:00
Joel Maher 00c48338e5 Bug 1318569 - disable browser_treeupdate_imagemap.js on OSX e10s for high intermittent. r=gbrown
MozReview-Commit-ID: 8WM387rk7oZ
2016-12-28 16:29:47 -05:00
malayaleecoder 80b5f709a6 Bug 1325099 - reset imported.Debugging.fake value and catch TypeError. r=jmaher
MozReview-Commit-ID: ElEGCLoSAeC
2016-12-24 02:44:56 +05:30
Ho-Pang 7bc745d410 Bug 1299209 - Part 2: Support setting pointerId in nsDOMWindowwUtils and nsContentUtils. f=sshih, r=smaug
--HG--
extra : rebase_source : 46affaf510908e28ad47df2e088574d33aa52be3
2016-12-20 23:06:00 -05:00
Ho-Pang 41adef3ae2 Bug 1299209 - Part 1: Passing PointerId when a new WidgetMouseEvent is created. h=sshih, r=smaug
--HG--
extra : rebase_source : b123e74425e56c09ab38f5916589abb84c3d5996
2016-12-20 22:53:00 -05:00