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

536590 Коммитов

Автор SHA1 Сообщение Дата
Brian Grinstead 7293da735c Bug 1364353 - Remove unused onClickFiltersClear function;r=nchevobbe
MozReview-Commit-ID: 18vhqno816A

--HG--
extra : rebase_source : 73e404448030472396b0d5dfb161980e8d1a0aa0
2017-05-18 11:00:53 -07:00
Matt Brubeck 22c6f54aa2 Bug 1357716 - stylo: Don't return uninitialized pointers from GetCSSStyleRules. r=xidorn
MozReview-Commit-ID: JPj6d27PALc

--HG--
extra : rebase_source : 7565f4aeee5a6bf2b134d0b05981cc18038247db
2017-05-18 14:50:05 -07:00
Wes Kocher 2c63a95b33 Bug 1341102 - Update expectations a=bustage
MozReview-Commit-ID: 3xgdURntnJ0
2017-05-18 15:40:51 -07:00
Mike Hommey 282a2bc3b8 Bug 1363811 - Replace is_nightly with milestone.is_nightly. r=cmanchester+432261
And remove is_nightly.
2017-05-19 07:05:05 +09:00
Mike Hommey f10295dbae Bug 1363811 - Replace all uses of delayed_getattr(a, 'b') with a.b. r=cmanchester+432261
And remove delayed_getattr.
2017-05-19 07:03:40 +09:00
Mike Hommey 59f1035ec6 Bug 1363811 - Allow "direct" access to namespace attributes from DependsFunctions. r=cmanchester+432261
To make things simpler in configure code, as well as to allow the linter
to skip bugging about some --help dependencies, we make the following
work:

    something.some_attr

where the result is equivalent to, currently:

    delayed_getattr(something, 'some_attr')
2017-05-19 07:03:39 +09:00
Mike Hommey 853aefa3b4 Bug 1363811 - Allow to combine two DependsFunctions with "&". r=cmanchester+432261
Similar to how they can be combined with "|", we now allow using "&".
As for "|", it would have been better if it were "and", but it's not
possible to override "and" in python ; __and__ is for "&".
2017-05-19 07:03:39 +09:00
Mike Hommey 91e718c2f2 Bug 1363811 - Modify the name of the DependsFunction.__or__ implementation method. r=cmanchester+432261
Like the test change, it makes the intent clearer.
2017-05-19 07:03:39 +09:00
Mike Hommey fafb6f8f44 Bug 1363811 - Change TestConfigure.test_depends_or to test more cases. r=cmanchester+432261
Also, test the results match what a normal "or" of the returned values
would be. This makes it clearer how the feature is meant to work.
2017-05-19 07:03:39 +09:00
Mike Hommey 57258bd4bf Bug 1365786 - Avoid missing --help dep error when a @depends function uses builtins. r=chmanchester
--HG--
extra : rebase_source : cb79f4f67bcc1c5b271ec430733143a385cf8360
2017-05-18 09:32:39 +09:00
Mike Hommey ef3f9aa89b Bug 1365477 - Ensure all callers of CommandLineHandler() pass a complete argv. r=chmanchester
CommandLineHandler() expects argv to be like sys.argv, containing the
command name in argv[0], but various tests weren't doing that, in some
cases even leading to ignored arguments passed as argv[0].

In turn, that made lint.py only test browser/moz.configure instead of
all the project moz.configures as intended.

--HG--
extra : rebase_source : 8a87216edaa4a2fd27abb9ef74d38a254a2bbeed
2017-05-17 12:10:46 +09:00
Mike Hommey a79246698a Bug 1365477 - Use default=is_nightly instead of default=delayed_getattr(...). r=chmanchester
Per bug 1363811 comment 1, it's actually a bug that the linter doesn't
complain about it like it did in bug 1358215.

--HG--
extra : rebase_source : 68f0d022fb4f2c4e2de38edbafa314db42b7e103
2017-05-17 12:08:33 +09:00
Sebastian Hengst 88f80f3cdf Backed out changeset 515c3f15cf30 (bug 1364594) for failing test_window_maximize.py TestWindowMaximize.test_maximize on Linux. r=backout 2017-05-18 23:38:30 +02:00
Kirk Steuber e74f1cd513 Bug 1363481 - Add the old attribute value as a parameter to Element::AfterSetAttr r=bz
In order to facilitate the movement of code with side-effects called by Element::SetAttr to Element::BeforeSetAttr and Element::AfterSetAttr, Element::AfterSetAttr should have access to the old value of the attribute. This includes information about whether there was previously a value set or not.

Accomplishing this involved passing an additional argument through functions that find and change the old attribute value in order to ensure that we can differentiate between an empty old value and an absent old value (attribute was not set).

Note that while I tried to ensure that accurate values (and their absence) are reported to Element::AfterSetAttr, I largely ignored SVG. While the old value reported for SVG values should be however accurate the value already being reported to SetAttrAndNotify was, SVG elements do not currently report unset values properly because they will never pass a null pointer to SetAttrAndNotify.

MozReview-Commit-ID: K1mha8CNFZP

--HG--
extra : rebase_source : 42776eb01451d371e4aebcc17fe3dd112c8d268b
2017-05-18 14:09:01 -07:00
Anthony Ramine d0eb7074d3 servo: Merge #16937 - Fix calc() clamping issues (from nox:clamp-calc); r=emilio
Fix calc() clamping issues

Source-Repo: https://github.com/servo/servo
Source-Revision: b4204b5e2d8b2981408e2c092130af40ad3170bb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ea4587dcbce7b4bcb1d1977a734ee0d012fdb13a
2017-05-18 15:15:04 -05:00
Emilio Cobos Álvarez fd7ec9d535 servo: Merge #16938 - stylo: Don't mess up traversal drivers (from emilio:traversal-assert); r=bzbarsky
Right now it's harmless, but it trips assertions that are nice to have, just in
case it stops being the case.

Source-Repo: https://github.com/servo/servo
Source-Revision: e1ecd3b89cd9c78b6ce2e936064681df52d265ab

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f7343d32ffb14a9cd90698a35e41164a9c8ffd92
2017-05-18 13:38:41 -05:00
cku 4b27190a36 Bug 1351440 - Part 5. typedef DrawResult in nsDisplayItem to avoid the image:: qualification. r=jwatt
MozReview-Commit-ID: 1l8DUL1z6U2
2017-05-18 22:03:54 +02:00
cku 4790d4da73 Bug 1351440 - Part 4. Pass imgDrawingParams to nsSVGPaintServerFrame::GetPaintServerPattern. r=jwatt
The reason of this change is the same as for Part 2, except that this commit fixes
nsSVGPaintServerFrame::GetPaintServerPattern rather than PaintSVG.

Commit-ID: 691YrKZ0Lm9
MozReview-Commit-ID: KSnFhCndFUk
2017-05-18 22:03:50 +02:00
cku 51288e6cfe Bug 1351440 - Part 3. Pass imgDrawingParams to nsSVGMaskFrame::GetMaskForMaskedFrame. r=jwatt
The reason of this change is the same as for Part 2, except this commit fixes
nsSVGMaskFrame::GetMaskForMaskedFrame rather than PaintSVG.

MozReview-Commit-ID: DS0eG6eKDgs
2017-05-18 22:03:45 +02:00
cku d85d3ab378 Bug 1351440 - Part 2. Encapsulate DrawResult and imgIContainer::FLAG_* into imgDrawingParams, and pass it to PaintSVG. r=jwatt
The DrawResult return was not in fact anything to do with the success or
failure of that method, but was actually passing out a very specific piece of information
about the success or failure of any imagelib drawing that may not have occurred
under the various PaintSVG calls.

The signature of PaintSVG is changed from
  DrawResult PaintSVG(...., uint32 flags);
to
  void PaintSVG(...., imgDrawingParams& aPackage);

imgDrawingParams wraps DrawResult and imgIContainer::FLAG_* as a pack, pass through
PaintSVG to imagelib draw calls under beneath.

MozReview-Commit-ID: IOq2evUAOQF
2017-05-18 22:03:41 +02:00
cku d26418ab50 Bug 1351440 - Part 1. Implement imgDrawingParams. r=jwatt
A struct used during painting to provide input flags to determine how
imagelib draw calls should behave, plus an output DrawResult to return
information about the result of any imagelib draw calls that may have
occurred.

MozReview-Commit-ID: 3jGEh5vEPF
2017-05-18 22:03:36 +02:00
Andrew McCreight 21f4802365 Bug 1365417 - mozJSComponentLoader::FindTargetObject() is infallible. r=kmag
MozReview-Commit-ID: Iw4ke16CTKg

--HG--
extra : rebase_source : b2c6f5b0dec1849e1bd814ecdcde78b376ffb8ca
2017-05-16 14:27:50 -07:00
Andrew McCreight f7b4214e05 Bug 1365760 - Fix two tiny issues in mozJSComponentLoader::ImportInto(). r=kmag
MozReview-Commit-ID: 84I37uRi11H

--HG--
extra : rebase_source : 144b88771956c29c5de58e75dd57aab5d6e2dc1f
2017-05-16 15:51:14 -07:00
David Burns 8e371b7fb3 Bug 1364594: Exit fullscreen when Set Window Rect is invoked. r=ato
If the browser is in fullscreen mode and Set Window Rect is called
we need to exit fullscreen mode and then continue to manipulate the
browser.

As described in https://w3c.github.io/webdriver/webdriver-spec.html#set-window-rect
Step 10

MozReview-Commit-ID: 5ixhGOXVBE4

--HG--
extra : rebase_source : 8502233bc79452df4755dea08b04ab6423cf91ed
2017-05-18 09:23:08 +01:00
Chris Pearce 61c23b5287 Bug 1355252 - Reject navigator.requestMediaKeySystemAccess if no MediaCapabilities supplied. r=jwwang
As required by step 15 of EME's Get Supported Configuration and Consent algorithm,
https://www.w3.org/TR/encrypted-media/#get-supported-configuration-and-consent

MozReview-Commit-ID: 8c24VrmygBx

--HG--
extra : rebase_source : cccb8c05cefc06396683317f3827885f6b91ba0e
2017-05-17 17:10:14 +12:00
Chris Pearce 5064845788 Bug 1355252 - Don't assume default codecs for MP4 and WebM in EME MediaCapabilities r=jwwang
Step 10 of EME's "Get Supported Capabilities for Audio/Video Type" algorithm
says we can assume default codecs only if a container normatively implies a
specific set of codec and codec constraints. Our code assumes that WebM implies
Vorbis/VP8 and MP4 implies AAC/H.264, but those aren't actually normatively
required by either of these containers' specifications. So we shouldn't assume
these containers imply those codecs.

MozReview-Commit-ID: G9TDOmrjhpp

--HG--
extra : rebase_source : 2f040d76c8cb240359401fe1dc1e3eefa029d77b
2017-05-11 14:23:33 +12:00
Gerald Squelart 0078b05711 Bug 1365538 - Postpone FileBlockCache writes while reading - r=cpearce
While inside FileBlock::Read, the mIsReading flag is set, which in turn
prevents starting the writer task, or makes it exit as soon as possible.
This should help multi-block reads (while data is being received) by giving
them priority, so that that blocking call can return faster.
At the end of Read, the writer task is re-dispatched if needed.

MozReview-Commit-ID: J32tHGFRMNU

--HG--
extra : rebase_source : 8eb3e869888cb1f593d3561191bc6b8c5a53f1bd
2017-05-17 17:10:57 +12:00
Gerald Squelart 97557fcddf Bug 1365538 - Use Mutex instead of Monitor in FileBlockCache - r=cpearce
Since both FileBlockCache Monitor's are only used as locks, we should just use
simple Mutex'es (smaller, faster, and tighter API).

MozReview-Commit-ID: DdNNPN1kFrs

--HG--
extra : rebase_source : 5216929b182d08544b3077374955dfb4ac5b7b16
2017-05-17 16:36:26 +12:00
Sebastian Hengst 2ed2e93dc1 Backed out changeset 0065478cc7eb (bug 1351440) under suspicion for causing reftest failures on Stylo debug. r=backout 2017-05-18 21:16:31 +02:00
Sebastian Hengst 41f1727bf4 Backed out changeset f3460d42d23c (bug 1351440) 2017-05-18 21:15:35 +02:00
Sebastian Hengst 635d32e534 Backed out changeset 3240cd94bf4b (bug 1351440) 2017-05-18 21:15:30 +02:00
Sebastian Hengst 00458fa236 Backed out changeset 2ea1279576d2 (bug 1351440) 2017-05-18 21:15:26 +02:00
Sebastian Hengst 68c0ba103f Backed out changeset 3ea48d348482 (bug 1351440) 2017-05-18 21:15:21 +02:00
Mike Conley 0fc1441c96 Bug 1354194 - Add reflow regression tests for tab closing. r=florian
MozReview-Commit-ID: IWi3vEI5tIg

--HG--
extra : rebase_source : 7412cf32c731872c5542299a3533d5f8b061ae0a
2017-05-03 13:52:36 -04:00
Mike Conley e6768389f2 Bug 1354194 - Make browser_windowopen_reflows.js use the reflow test helper and make the whitelist reflect reality. r=florian
MozReview-Commit-ID: 1mknVjSVIKe

--HG--
extra : rebase_source : 28079a63543f7d71c1fe649919c3fcc1f8f86cc6
2017-05-03 13:32:36 -04:00
Mike Conley 945923c2d1 Bug 1354194 - Make browser_tabopen_reflows.js use the new reflow test helper, and make the whitelist reflect reality. r=florian
MozReview-Commit-ID: 5Pyocd7BN4e

--HG--
extra : rebase_source : c928cf7beee277d1e59e594830c1500b1dab641f
2017-05-02 17:40:07 -04:00
Mike Conley 4cdf0cab90 Bug 1354194 - Add utility method for more easily writing reflow tests. r=florian
This also consolidates the pre-existing style and layout flush regression tests
into the same performance folder.

MozReview-Commit-ID: IA3FqroG75O

--HG--
rename : browser/base/content/test/windows/.eslintrc.js => browser/base/content/test/performance/.eslintrc.js
rename : browser/base/content/test/general/browser_tabopen_reflows.js => browser/base/content/test/performance/browser_tabopen_reflows.js
rename : browser/base/content/test/windows/browser_toolbariconcolor_restyles.js => browser/base/content/test/performance/browser_toolbariconcolor_restyles.js
rename : browser/base/content/test/general/browser_windowopen_reflows.js => browser/base/content/test/performance/browser_windowopen_reflows.js
extra : rebase_source : b226a9aceecf118ffad2f23c2361f0be403d5aaf
2017-05-02 17:30:18 -04:00
Matthew Wein 880ae24e61 Bug 1360448 - Only ignore OPTIONS_TYPE_INLINE_BROWSER instead of ignoring all types which aren't OPTIONS_TYPE_INLINE r=mixedpuppy
MozReview-Commit-ID: Ks3Yryy22lL

--HG--
extra : rebase_source : 7708bddba429871ca02a894fca4e8f1b452ad12c
2017-05-10 22:54:40 -04:00
Boris Zbarsky 85a8b07474 Bug 1365659 part 2. Add id/class flags to stylo snapshots and set them correctly on the Gecko side. r=emilio
MozReview-Commit-ID: 4ylYDIbR3lI

--HG--
extra : rebase_source : e103418eb75fda17a3f83fd017514b2b9d821ec3
2017-05-18 11:31:54 -04:00
Boris Zbarsky 55413bb238 Bug 1365659 part 1. Change stylo element snapshot member ordering to pack a bit better. r=emilio
MozReview-Commit-ID: 4pe8JJAXiXz

--HG--
extra : rebase_source : 95d02763720de8797367304e90b9eeef2a22309c
2017-05-18 11:30:42 -04:00
Andrew McCreight a2131dea50 Bug 1365767 - Stop bootlegging TextEncoder and TextDecoder from osfile.jsm in devtools. r=jryans
MozReview-Commit-ID: DI4OqSGdzgl

--HG--
extra : rebase_source : 9e0f89049e7e9b252b39ebd70693c234b85fe986
2017-05-17 13:52:39 -07:00
Boris Zbarsky 0b39650b85 servo: Merge #16934 - Check snapshot id/class flags before looking for those attributes (from bzbarsky:check-snapshot-id-class-flags); r=emilio
<!-- Please describe your changes on the following line: -->
Most elements don't have classes or IDs.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1365659

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they are just performance optimization

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 2fd7f4f393874d2a2a8285e18f0288d18554454f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6addae8f2078c73e9461327d4edfe22a4e1be623
2017-05-18 11:40:51 -05:00
rforbes 5fa372aaa0 Bug 1365994 - Update libfuzzer r=decoder
MozReview-Commit-ID: GCwIIZd5PTS
***
1365994 - update moz.build for libfuzzer

MozReview-Commit-ID: IxbLnviJC08

--HG--
extra : rebase_source : 2ca4965181388fa113e2781fbd14b5f5ae2bbc4b
2017-05-18 10:23:05 -07:00
Carl Corcoran 2e80270b6e Bug 1360493 write a test asserting that Firefox launches without hanging; r=rstrong
MozReview-Commit-ID: D0axTNp4KCt

--HG--
extra : rebase_source : b56359ba3797a62f51fbc421d404409f994df11f
2017-05-17 08:22:08 +02:00
Michael Froman fd474519c7 Bug 1365291 - capture 'this' with RefPtr on dispatch to STS thread. r=jib
- Avoid any potential for this going away from underneath the dispatch
to STS thread.
- Added notes in PeerConnectionImpl on the test-only nature of the
AddRIDExtension, AddRIDFilter, and GetMediaPipelineForTrack methods.
PeerConnectionImpl::GetMediaPipelineForTrack by returning a reference
to the RefPtr instead of a copy.

MozReview-Commit-ID: EwMr9ulKtm8

--HG--
extra : rebase_source : 55c8b14f63020feda57accd2b4b331de708866c4
2017-05-16 16:07:33 -05:00
Michael Froman 117651c749 Bug 1325991 - sections with bundle-only should have port set to 0. r=drno
Now that Chrome release is bundle-aware, let's reapply the patch to
properly emit port 0 for m-lines in sections with the bundle-only
attribute.

MozReview-Commit-ID: 8RftSXIzIpD

--HG--
extra : rebase_source : 6f9c4cb6b322aec7c00060827e1f5e7852f8acfc
2017-05-08 14:06:54 -05:00
Edouard Oger d198d9c234 Bug 1365273 - Remove about:sync-tabs. r=markh
MozReview-Commit-ID: HFsc4xf8N3a

--HG--
extra : rebase_source : 0af5802196622a3c44b162a4de7e2ceadfde666d
2017-05-17 11:39:22 -04:00
Sebastian Hengst cb81b8de15 Backed out changeset b8d0fdf79562 (bug 1365273) for build bustage: Unused pattern 'sync/**' in browser/base/content/moz.build and unreferenced files detected by browser_all_files_referenced.js. r=backout 2017-05-18 19:09:55 +02:00
Dão Gottwald 21a34a4b42 Bug 1365024 - Mirror the Reload button icon in RTL locales. r=johannh
MozReview-Commit-ID: GlUC3gGDq9O

--HG--
extra : rebase_source : c00efa82215a58bd236b9256104dcd2329732052
2017-05-18 18:11:27 +02:00
cku f8714ff527 Bug 1351440 - Part 5. typedef DrawResult in nsDisplayItem to avoid the image:: qualification. r=jwatt
MozReview-Commit-ID: 1l8DUL1z6U2

--HG--
extra : rebase_source : 67a5655b166c80e37ac2aef49683bb4a37b13518
2017-05-10 03:03:03 +08:00