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

541926 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange da5c42ccd2 Bug 1368386 - Make ProgressiveUpdate's aValidRegion parameter const to make it a bit easier to reason about. r=mattwoodrow
MozReview-Commit-ID: DOfJ8TTuL1t

--HG--
extra : rebase_source : d4e6a1dc8aedb9f6b446c43aeded6823944c497a
2017-06-15 17:30:01 -04:00
Markus Stange fd5c1c95ed Bug 1368386 - Make ProgressiveUpdate's aInvalidRegion parameter const to make it a bit easier to reason about. r=mattwoodrow
The caller of RenderHighPrecision and RenderLowPrecision doesn't look at the
variable that it passes as the aInvalidRegion parameter after the call, so any
modifications that would have happened to this variable don't matter.

MozReview-Commit-ID: B9PaXjZkxv2

--HG--
extra : rebase_source : fb66ae3170a9891fbb5d4d90aebf78230b8f9ce0
2017-06-15 17:18:37 -04:00
Jonathan Chan 58409ce69a servo: Merge #17284 - Propagate changes in custom properties' computed values to descendants (from jyc:custom-properties-cascade); r=emilio
If ComputedValues.custom_properties differs between the old and new
ComputedValues, indicate that we have to propogate changes to
descendants by setting child_cascade_requirement to
MustCascadeDescendants in cascade_primary.

style::matching::TElement::cascade_primary already calls
accumulate_damage, which eventually calls
ServoRestyleDamage::compute_style_difference in order to check if other
properties' computed values changed. If any of those change, we signal
that we need to propogate changes for inherited properties.

With Properties & Values, some custom properties will not be inherited,
and we will need to revisit this.

---
<!-- 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 #17283

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

<!-- 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: 81275234aa225d1011bad7eca126af800ff0d4fc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4bf31d42c75dfd84f06e4545bbac6df70739e356
2017-06-16 11:04:51 -07:00
Kirk Steuber 25f3dbc5bc Bug 1357645 - Clone attributes rather than reparsing when possible r=bz
Now that the side effects of parsing have been relocated to BeforeSetAttr and AfterSetAttr (Bug 1365092), we can easily switch nsGenericHTMLElement::CopyInnerTo from reparsing attributes to cloning them. They are still reparsed, however, in the case where the owning document is changing since Base URIs may have changed.

MozReview-Commit-ID: 2TlUUyBx6bL

--HG--
extra : rebase_source : b581e797a24230d012cf79c1fc567c05d9acc746
2017-06-15 09:56:18 -07:00
James Graham 981d317f0f Bug 1373709 - Don't infinite loop when a test expects to crash, r=ato
In order to avoid the leak checker complaining about missing output,
we restart the browser before running tests that are expected to
crash. But as part of that restart we end up checking again if a
restart is required and so end up in an infinite loop. To break out of
that loop we simply check if this is the same test as during the last
iteration, and don't ask to restart in that case.

MozReview-Commit-ID: 90gsmqVCRsD

--HG--
extra : rebase_source : 9cf625e9cd1861b25b72e5c39ce070981b84046e
2017-06-16 16:34:44 +01:00
Sebastian Hengst 1a8b5f9bbd Backed out changeset 0cf7134d243a (bug 1095426) for frequently failing xpcshell's test_bookmark_engine.js | test_sync_dateAdded, especially on OS X. r=backout 2017-06-16 19:12:58 +02:00
Sebastian Hengst 7ca69ab78f Backed out changeset 4c465fe2d7c9 (bug 1095426) 2017-06-16 19:12:18 +02:00
UK992 57a332bfa6 servo: Merge #16395 - Bootstrap: Fix cmake version parsing (from UK992:msvc2017); r=metajack
Fixes https://github.com/servo/servo/issues/16387

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2202d927251ba1fe1b24974fd5fc4904bf2e95aa
2017-06-16 09:00:43 -07:00
Nils Ohlmeier [:drno] 6cdb6b786c Bug 1373450: report if MaxMessageSize was set in SDP. r=jesup
MozReview-Commit-ID: OqspJsw1Bw

--HG--
extra : rebase_source : ff9c5883e6d9f284c7f0771f937d48f48910b508
2017-06-15 16:12:25 -07:00
Kirk Steuber a55c46f192 Bug 1371073 - Add reftests to ensure rows and cols are properly added and removed from framesets r=bz
MozReview-Commit-ID: A6uLt8oSn6F

--HG--
extra : rebase_source : 09e64dc66a0718b8ab0e4e27ddb9dacf1afbe9ea
2017-06-14 16:05:20 -07:00
Milan Sreckovic c0d37bddd9 Bug 1373250: encapsulate all of the memory management in a single structure so that we don't have to do any manual freeing. r=milan
MozReview-Commit-ID: 8hIm53rDUI3

--HG--
extra : rebase_source : 270e89dc05e378f5ae560a0beb719fe18bf671bf
2017-06-15 17:33:20 -04:00
Mike de Boer 5df9078641 Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.

MozReview-Commit-ID: 45aYzVHwRYv

--HG--
extra : rebase_source : 0bf4fc4effc9de9e431ee50dfcf5fc7206e252cf
2017-06-16 15:41:57 +02:00
Edouard Oger a1f2f47f82 Bug 1363412 - Notify other clients when uploading the local clients record for the first time. r=markh
MozReview-Commit-ID: Ldc3Jrj8RhV

--HG--
extra : rebase_source : 44bdeaa962ddbcb748f9e5a01871fd2ff7d6a676
2017-06-12 14:51:17 -04:00
Ted Mielczarek 1e95e2ff3b bug 1302078 - re-enable test_crash_rust_panic.js on win64. r=dmajor
MozReview-Commit-ID: CgbWgxjcoJh

--HG--
extra : rebase_source : d6e87698602a9d53ae8dabdadf00fa39a9271e86
2017-06-14 11:54:59 -04:00
Servo VCS Sync 3a02645a7b No bug - Revendor rust dependencies 2017-06-16 14:55:25 +00:00
Simon Sapin 58442c5f01 servo: Merge #17345 - Upgrade cssparser to 0.15 (from servo:cssparserup); r=<try>
Depends on https://github.com/servo/rust-cssparser/pull/159

Source-Repo: https://github.com/servo/servo
Source-Revision: 75876a0e2220b7b95541feef4393288b195b090e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3adf5873dad10451b7d57cc1a5feec40cabeb7d7
2017-06-16 06:09:52 -07:00
Michael Froman 532f5313a7 Bug 1373015 - fix permafail mochitest for RTCIceCandPairStats changes in Bug 1339906. r=drno
Something changed in the timing and we're getting more candidate pairs
in the test now.  I changed the test to only compare most of the
details when the pair is in state succeeded.

MozReview-Commit-ID: FaR00eZPJmI

--HG--
extra : rebase_source : 9e29f7604f6ae198cbaf792171db265612a574a6
2017-06-15 12:17:43 -05:00
bechen e613c38f5c Bug 1372715 - TimeMarchesOn step 1, fix the EndTime check for "current cue". r=rillian
Cue whose start times are less than or equal to the current playback position and
whose end times are greater than the current playback position.

MozReview-Commit-ID: 2I5lgjUUtgB

--HG--
extra : rebase_source : 5396f932da54cf175fe330f0caf85472ac9f7e42
2017-06-16 10:48:14 +08:00
Tim Huang 928deef050 Bug 1369303 - Part 4: Add a test case for workers to check whether performance API has been correctly spoofed when 'privacy.resistFingerprinting' is true. r=arthuredelstein,baku
This patch adds a test case in the same file of part 3 that to check that does
fingerprinting resistance work correctly for workers when 'privacy.resistFingerprinting'
is true.

MozReview-Commit-ID: FoceQTGg127

--HG--
extra : rebase_source : ead0979a5b7d2f34804ceecf004155a0100fa064
2017-06-15 16:48:29 +08:00
Tim Huang 46fc5b47a0 Bug 1369303 - Part 3: Add a test case for making sure that performance APIs have been correctly spoofed. r=arthuredelstein,baku
This test case will open a content tab and access performance API in that
tab to check whether or not performance APIs are correctly spoofed.

MozReview-Commit-ID: KdG6xzQFmv6

--HG--
extra : rebase_source : d064d5a90d525190402107c22bac9ed2dfd4c085
2017-06-15 16:48:28 +08:00
Tim Huang 7d1c0f2d14 Bug 1369303 - Part 2: Marking the performance timing API always reports 0 and the access of resource timing and user timing becomes NOP when 'privacy.resistFingerprinting' is true. r=arthuredelstein,baku
This patch is going to neutralize the threat of fingerprinting of performance API
by spoofing the value of performance timing into 0, making getEntries* functions
always returns an empty list and making mark() and measure() into NOP methods.

In addition, this patch changes nsContentUtils::ShouldResistFingerprinting() to
allow it can be called in both main thread and worker threads.

MozReview-Commit-ID: C8Jt7KEMe5e

--HG--
extra : rebase_source : 85cbf66881c868ca5109022ffd4af81e3ab0a049
2017-06-15 16:48:27 +08:00
Tim Huang 64bc6e5f1f Bug 1369303 - Part 1: Adding 'privacy.resistFingerprinting' into worker prefs. r=arthuredelstein,baku
MozReview-Commit-ID: 5AwFjoeRY2a

--HG--
extra : rebase_source : 45cae6779fb70b58d20a493f89fb7b98e4956275
2017-06-15 16:48:26 +08:00
Rex Lee 8054139b8e Bug 1357026 - Open about:accounts with pre-filled email account from UITour. r=Gijs,MattN
MozReview-Commit-ID: JWFuEufGRYB

--HG--
extra : rebase_source : bf030da006a89269e6bca246a0d24fa0f3d6458b
2017-06-16 15:20:34 +08:00
Servo VCS Sync a8908675de No bug - Revendor rust dependencies
--HG--
rename : third_party/rust/serde/src/bytes.rs => third_party/rust/serde-0.9.9/src/bytes.rs
rename : third_party/rust/serde/src/de/content.rs => third_party/rust/serde-0.9.9/src/de/content.rs
rename : third_party/rust/serde/src/de/private.rs => third_party/rust/serde-0.9.9/src/de/private.rs
rename : third_party/rust/serde/src/error.rs => third_party/rust/serde-0.9.9/src/error.rs
rename : third_party/rust/serde/src/iter.rs => third_party/rust/serde-0.9.9/src/iter.rs
rename : third_party/rust/serde/src/ser/content.rs => third_party/rust/serde-0.9.9/src/ser/content.rs
rename : third_party/rust/serde/src/ser/private.rs => third_party/rust/serde-0.9.9/src/ser/private.rs
rename : third_party/rust/serde/src/utils.rs => third_party/rust/serde-0.9.9/src/utils.rs
2017-06-16 13:03:23 +00:00
Simon Sapin 817c7746be servo: Merge #17355 - Bump serde to 1.0 (from servo:serdeup); r=nox
This is a rebase of #17325 with `[replace]` entries removed, a bunch more dependencies updated, and some more compile fixes. Original work by @Eijebong, thanks a lot!

Source-Repo: https://github.com/servo/servo
Source-Revision: 66c130d55aa0d7af1104c00e93a5bf950f23a383

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 323361580a540d8b296f6f7d77f20d46cbdc5c73
2017-06-16 05:03:18 -07:00
Mark Banner 58d6c1fe85 Bug 1095426 - Convert JSON backups code to the new async Bookmarks.jsm API. r=mak
MozReview-Commit-ID: FNZZGwWVSI2

--HG--
extra : rebase_source : d7f378ad2e5a589b859da7c7e3f21d9b6a985d95
2017-05-12 08:04:51 +01:00
Mark Banner 5c7b657d3c Bug 1095426 - Make the bookmarks.json test file prettified so it can be read easily. r=mak
MozReview-Commit-ID: 2owsEkNEHgi

--HG--
extra : rebase_source : f853a2766bd583c0e2684fd36302091f1ad5bdf9
2017-06-07 11:43:40 +01:00
James Graham da37bf2cf8 Bug 1370936 - Skip directories when updating metdata, r=ato
MozReview-Commit-ID: HLFo9vhYS8p

--HG--
extra : rebase_source : 91cf679c342f1478c718e2a41a853bd0db02d4cd
2017-06-16 10:45:55 +01:00
James Graham d7aa932ed3 Bug 1370936 - Default to not creating a commit when updating wpt metadata, r=ato
MozReview-Commit-ID: FaYNn0hkXkD

--HG--
extra : rebase_source : 437a01155a3d406d8cecf46abda3f91f986ff050
2017-06-16 10:43:16 +01:00
James Graham 0b90b4bef9 Bug 1370936 - Use platform agnostic check for an absolute path, r=ato
MozReview-Commit-ID: 9G4yzsSBciD

--HG--
extra : rebase_source : acba7e02dd0b42516e2d01b728353614b90dc70e
2017-06-16 10:32:37 +01:00
James Graham de0d012f00 Bug 1370936 - Ensure manifest directory exists before writing it, r=ato
MozReview-Commit-ID: H2o2CYAig1j

--HG--
extra : rebase_source : 47489dad4907d2583422e39ae8b30ca940b92b55
2017-06-16 10:32:02 +01:00
James Graham 5c84a5f0ed Bug 1370936 - Update the module path for wpt update, r=ato
This is needed following the harness move.

MozReview-Commit-ID: RvRI9GuvLZ

--HG--
extra : rebase_source : f21f27d6036ae01d6da59c99aeaf4b94e77e7fcd
2017-06-16 10:28:28 +01:00
Sebastian Hengst 11cc901d93 Backed out changeset 5fa6bbe236e0 (bug 1370459) for failing browser_parsable_css.js: icons_tour-complete.svg missing. r=backout 2017-06-16 12:48:41 +02:00
Liang-Heng Chen c9d17686c1 Bug 624837 - use calculated string length instead of magic number; r=bagder
The original magic number is incorrect.

MozReview-Commit-ID: LtdnINTONHq

--HG--
extra : rebase_source : 8fadacad270268f2cda97642ca294918a0749065
2017-06-14 18:47:58 +08:00
Andreas Tolfsen 3aa20dc029 Bug 1364319 - Throttle setWindowRect with requestAnmationFrame; r=maja_zf
We need to delay the response from the setWindowRect command until the
window has had time to properly resize.  But because the DOM resize
event is not synchronous, we cannot rely on it alone to tell us when the
widget toolkit has actually completed the resizing.

To overcome this problem we throttle the event using
ChromeWindow.requestAnimationFrame to force the event loop to flush
before resolving the promise.

The setWindowRect command previously relied on a 15 FPS setTimeout delay
because requestAnimationFrame did not work with ChromeWindow, but this
seems to have since been fixed.  Local tests show that this approach is
more stable and produces less intermittent results.

MozReview-Commit-ID: D1ICb3F6vX3

--HG--
extra : rebase_source : ef5ef15db80ce78284672551581ce5d9cdde9189
2017-06-12 13:52:53 +01:00
Henrik Skupin ec03b442b1 Bug 1373564 - Force enable update staging mode to prevent perma failures for update tests. r=automatedtester
Bug 1370576 disabled staging of application updates, which is not yet
supported in our firefox-ui update tests. As result there is a hang and
the restart button is never clicked on.

This is just a wallpaper fix and full support might still have to
be integrated if wanted.

MozReview-Commit-ID: 8LF1RKxnMEb

--HG--
extra : rebase_source : 5a268cd891a6577eda163c86fe6ef94fe767fbff
2017-06-16 11:39:23 +02:00
Glenn Watson 2865a9e008 servo: Merge #17352 - Update WR (CPU text optimizations, image format renames) (from glennw:update-wr-faster-text); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: e1bce241291683ee61abab042d0c808ae5396e91

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 38f0d8ec39b0377ce568d0877e0939fafe27d0d1
2017-06-16 01:21:05 -07:00
Dão Gottwald 6ba979dd3f Bug 1372535 - On Mac, remove the window drag space when sizemode!=fullscreen rather than sizemode==maximized. r=johannh
macOS doesn't really have a maximized mode; it has a "zoomed" mode which we treat as "maximized" sizemode, and it has a fullscreen mode. When you zoom a window, it's supposed to resize to its "natural" or "best" size, which is for most apps the smallest size that does not require scrolling. In Firefox we just say that filling the whole screen is our "best" size. But if a window is zoomed, you can still move it by dragging its title bar. For example, you may want to do that if you want to move it to a different screen.

Mac apps usually don't change their appearance at all if they enter the "zoomed" size. They only do that if you make the window fullscreen. The native full screen mode on Mac is much closer to the maximized mode on Windows than the zoomed mode is.

Recent versions of macOS have changed the default action of the green window button to be fullscreen instead of zoom. You can now only zoom windows by double clicking the title bar or clicking the green button while holding Alt.

MozReview-Commit-ID: IBu2fBNeuil

--HG--
extra : rebase_source : 1e2fa2af658edaf19a8cb6e6da39a1187c09b833
2017-06-14 12:51:40 +02:00
Cameron McCormack c24e9eb9e7 Bug 1364361 - Part 4: Add crashtest for a scrollable, multicol <details> element. r=bz
MozReview-Commit-ID: LtMSemTadR0

--HG--
extra : rebase_source : 18295cd6c125e3d30ad8aa0351e5a449a905aac7
2017-06-16 17:22:34 +08:00
Cameron McCormack fdf5336fc8 Bug 1364361 - Part 3: Remove now-unnecessary clearing of ServoElementData from anonymous content destroyer callback. r=bz
MozReview-Commit-ID: 4nCQYU9lzKD

--HG--
extra : rebase_source : 0fa4962efe97f03f311c18692acf99d3913ea347
2017-06-16 17:22:34 +08:00
Cameron McCormack 3f6d354226 Bug 1364361 - Part 2: Make AllChildIterator find NAC created by all of an element's anon boxes. r=bz,janx
MozReview-Commit-ID: IfTLBhhG1Ya

--HG--
extra : rebase_source : aa5c7136f3425def8efa221c7f3e63240ac6ad8e
2017-06-16 17:22:34 +08:00
Cameron McCormack 139e81fb2f Bug 1364361 - Part 1: Refactor frame anon box restyling machinery so it can return a list of anon boxes. r=bholley,bz
MozReview-Commit-ID: 3InVAUw8djN
* * *
Bug 1364361 - Followup to address review comment. r=me

MozReview-Commit-ID: IpdoSon9MAj

--HG--
extra : rebase_source : 086c49319d3847099614d65c8bb9d924f4e9be38
2017-06-16 17:22:33 +08:00
Sebastian Hengst 9365133d05 Backed out changeset e7ec499159f7 (bug 1364361) for bustage at nsIFrame.h:3348: bad implicit conversion constructor for 'OwnedAnonBox'. r=backout 2017-06-16 11:19:03 +02:00
Sebastian Hengst c21843350e Backed out changeset e9f7c901e132 (bug 1364361) 2017-06-16 11:18:27 +02:00
Sebastian Hengst 3ed689e8af Backed out changeset 65c77754d49c (bug 1364361) 2017-06-16 11:18:23 +02:00
Sebastian Hengst 18f74a4448 Backed out changeset a05d5d6c04dc (bug 1364361) 2017-06-16 11:18:18 +02:00
Cameron McCormack 52a081595f Bug 1364361 - Part 4: Add crashtest for a scrollable, multicol <details> element. r=bz
MozReview-Commit-ID: LtMSemTadR0

--HG--
extra : rebase_source : cb3f8c082e34a90226aa6bbd050a5423776dbf83
2017-06-16 15:37:10 +08:00
Cameron McCormack 671a338aa9 Bug 1364361 - Part 3: Remove now-unnecessary clearing of ServoElementData from anonymous content destroyer callback. r=bz
MozReview-Commit-ID: 4nCQYU9lzKD

--HG--
extra : rebase_source : e2d33d980af1516daebbdc78022f29480ac426ad
2017-06-16 15:37:08 +08:00
Cameron McCormack 68b572fafa Bug 1364361 - Part 2: Make AllChildIterator find NAC created by all of an element's anon boxes. r=bz,janx
MozReview-Commit-ID: IfTLBhhG1Ya

--HG--
extra : rebase_source : d9b7a4c6e0a7893dc1cd7b3337c32a4fd3bd0bff
2017-06-16 15:37:06 +08:00
Cameron McCormack b76836a0c6 Bug 1364361 - Part 1: Refactor frame anon box restyling machinery so it can return a list of anon boxes. r=bholley,bz
MozReview-Commit-ID: 3InVAUw8djN
* * *
Bug 1364361 - Followup to address review comment. r=me

MozReview-Commit-ID: IpdoSon9MAj

--HG--
extra : rebase_source : 8a6a9b88d678c52be8fa6f64b2664a08634a4a98
2017-06-16 15:32:40 +08:00