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

565681 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 422a012285 Bug 1410362 - Merge nsIPromptService and nsIPromptService2. r=enndeakin+6102
MozReview-Commit-ID: 5gKiuWF4LeA

--HG--
extra : rebase_source : fa8471b07a69433e8ff47dc195b1d7e671450a21
2017-10-24 21:40:59 +01:00
Emilio Cobos Álvarez 7ff0e04616 Bug 1410074: Fix windows-specific resistFingerprinting tests. r=me
MozReview-Commit-ID: 605ZX4si9hD
2017-10-25 17:33:10 +02:00
Emilio Cobos Álvarez c2e6d7c43f Bug 1410074: Fix browser_parsable_css to account for the restricted media queries. r=me
I'll never understand why this test only runs on opt builds.

MozReview-Commit-ID: 3lNeA6ozA4W
2017-10-25 17:33:09 +02:00
Keith Yeung 3e30a1685e servo: Merge #18871 - Merge functionality of WebsocketConnect into Fetch (from KiChjang:websocket-fetch-integration); r=avadacatavra
Partial #14897.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cb1f2f6a16183af75be82d43912d0a920a38308a
2017-10-25 09:00:41 -05:00
James Graham 3fb8a00dbc Bug 1411611 - Don't wait for the browser after a wpt test if it crashed, r=ato
When setting up waiting for the browser after a wpt test with
--pause-after-test, we try to communicate with a possibly-defunct
browser instance. In this case we should instead just retun since
waiting doesn't make sense.

MozReview-Commit-ID: ILrXOOIagK1

--HG--
extra : rebase_source : 49106c9ff86dcfc17d38e249c8db232b8ca31d61
2017-10-24 17:53:53 +01:00
Johann Hofmann 2807fe98d1 Bug 1410352 - Make the overflow menu adhere to touchmode sizing. r=nhnt11
MozReview-Commit-ID: JhMIp65wuaq

--HG--
extra : rebase_source : b786a695a954ef72eb08bf7ea5710fee7f3ead42
2017-10-25 13:07:46 +02:00
Jared Wein ac4eb09407 Bug 1411380 - Send to Device icon should use fill-opacity="context-fill-opacity". r=mikedeboer
MozReview-Commit-ID: 693ii2FlGQE

--HG--
extra : rebase_source : 9757d42b7dd190eee85d2a94a87a8b72452a4069
2017-10-24 15:28:22 -04:00
Sebastian Hengst fabade716b Backed out changeset cc55d4e3d13d (bug 1410352) for eslint failure at browser/components/customizableui/CustomizableUI.jsm:4339: 'aEvent' is already declared in the upper scope. r=backout
--HG--
extra : rebase_source : 29fad97f166d57cc9b192874f0ec82ea8b6c044c
2017-10-25 16:53:27 +02:00
Emilio Cobos Álvarez 3f918ff3a0 Bug 1410895: Multiple cleanups on top. r=bz
MozReview-Commit-ID: GX3dfmWL083

--HG--
extra : rebase_source : 5ed1b625356d7f561559747fae30f2342459538a
2017-10-23 16:06:50 +02:00
Emilio Cobos Álvarez 273bc65bb1 Bug 1410895: Make XBL slots hold the insertion point, not the XBL parent. r=bz
This is pretty much a straight-forward change except for a single thing, the
UpdateInsertionParent calls.

However, I cannot make any sense of them. They go through the inserted children
setting the insertion point, but then ClearInsertionPoints() is called.

ClearInsertionPoints calls XBLChildrenElement::ClearInsertedChildren, which sets
all the insertion points to null anyway.

Thus, I've removed that function completely.

MozReview-Commit-ID: 80daGQfLZrV

--HG--
extra : rebase_source : d52a37a60147ac11794c3cfe1aad5d202e9d2d9f
2017-10-23 15:52:08 +02:00
Emilio Cobos Álvarez 33e5c7314c Bug 1411478: Crashtest. r=xidorn
MozReview-Commit-ID: 3fO3Wn1M609

--HG--
extra : rebase_source : bbb2698717efe22c6a9e14454fbab31f5b65b749
2017-10-25 10:37:38 +02:00
Emilio Cobos Álvarez 7511726711 Bug 1411478: remove primary frame check which is incorrect in <frame> child of a <frameset>. r=bz
We could also check whether it is a subdocument frame or what not (not that
we're going to render anything down there). But at that point the value of
avoiding the FFI call starts diluting.

MozReview-Commit-ID: BBIv0O3fFuk

--HG--
extra : rebase_source : 663ead4fe3df83ea1d929b8726c8c1ab8b05c06a
2017-10-25 10:33:59 +02:00
Emilio Cobos Álvarez 30066ab880 Bug 1411478: Use GetNextSibling instead of GetChildAt in nsHTMLFrameSetFrame::Init. r=xidorn
MozReview-Commit-ID: 7MeMlwsNJVY

--HG--
extra : rebase_source : 5a5878dc5cde11c8afd08c1b4c8e5e935a3712e4
2017-10-25 10:20:58 +02:00
Emilio Cobos Álvarez 69265f95e6 Bug 1411478: Deindent some code in nsHTMLFrameSetFrame::Init. r=xidorn
MozReview-Commit-ID: 4QJu81w4Vlz

--HG--
extra : rebase_source : 9a283ab1e43ca4549e613b8c3c5bd66fbb4d0fc7
2017-10-25 10:18:41 +02:00
Luke Crouch 2ffb7f22e3 Bug 1409226 - When opening a link into a new private window, remove Referer. r=mikedeboer
Always set aNoReferrer = true in openLinkIn when where == 'window' and aIsPrivate

MozReview-Commit-ID: 7szUyO6w6d4

--HG--
extra : rebase_source : 25f00b0967bc7ed1e755227c6d16224b411d5e38
2017-10-17 18:07:58 -05:00
Henrik Skupin 96398c78f6 Bug 1401498 - Release marionette-driver 2.4.0 and marionette-harness 4.2.0. r=ato
MozReview-Commit-ID: 3BvyKbOpNdT

--HG--
extra : rebase_source : a8255207b6524734feea0cbd072abaeb935db8c8
2017-10-25 15:42:01 +02:00
Michael Ratcliffe 5c75212853 Bug 1409064 - Network Monitor to ES6 classes r=Honza
MozReview-Commit-ID: FBuucEQ8Zhs

--HG--
extra : rebase_source : 858b118df3ce44c8da5794c405d9b8f029f6c7e8
2017-10-24 12:41:04 +01:00
Zibi Braniecki e26530837a Bug 1410733 - Minor cleanups to the callers of GetRequestedLocales. r=jfkthame
Once we add fallback chain to GetRequestedLocales we can slightly improve the
locale negotiation for extensions. I made it tighter against just `en-US` because
in the future it is possible that RequestedLocales fallback chain will not contain
en-US in some scenarios, and it seems that for WebExtensions en-US should be the
last resort no matter what.

The other change is a fix to a regression I introduced when switching to LocaleService,
that somehow noone noticed.

MozReview-Commit-ID: FH6cePcoi0R

--HG--
extra : rebase_source : 7e253fb940c153c3522a6aa41139fbf703c7266b
2017-10-22 11:44:11 -07:00
Zibi Braniecki f50ce10902 Bug 1410733 - Add an en-US locale as a hard fallback for LocaleService::RequestedLocales. r=jfkthame
MozReview-Commit-ID: LPS3PaeykEh

--HG--
extra : rebase_source : 5ab83371ccfad13f02bf276055fdf9cba7e80a9e
2017-10-22 11:00:09 -07:00
Sylvestre Ledru 836ea838b4 Bug 1411545 - streamClosed: Fix the implicit-fallthrough warning r=luke
MozReview-Commit-ID: 4LYbud51tH7

--HG--
extra : rebase_source : 24c86592adefae8b9a23f0d57c8e1c6af6dc1354
2017-10-25 13:37:01 +02:00
Emilio Cobos Álvarez 93d40bb9bb Bug 1410074: Restrict system metric stuff in content pages. r=xidorn
MozReview-Commit-ID: 6rmMQfr8fzf
2017-10-25 16:05:03 +02:00
Emilio Cobos Álvarez e1d5b96032 Bug 1410074: Honor CallerType for media query parsing. r=xidorn
We don't support setText (though it wouldn't be hard).

It doesn't really matter anyway.

MozReview-Commit-ID: 6M4HHqVJ1dp
2017-10-25 16:04:55 +02:00
Emilio Cobos Álvarez d631a75643 Bug 1410074: Make the caller type from MatchMedia arrive to the CSS code. r=xidorn,bz
MozReview-Commit-ID: LUiobfHSUq1
2017-10-25 16:04:48 +02:00
Emilio Cobos Álvarez e02b370847 servo: Merge #19014 - stylo: Honor CallerType for media query parsing (from emilio:caller-type); r=upsuper
So that matchMedia can parse internal stuff in chrome code.

Bug: 1410074
Reviewed-by: xidorn
MozReview-Commit-ID: 6M4HHqVJ1dp
Source-Repo: https://github.com/servo/servo
Source-Revision: a347e8d6d332015a5d9c71faaf13b4c1a8fe9fcd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : efb765eeb32c34a302dd06b30cef6896e65d8ad0
2017-10-25 07:50:46 -05:00
Andrew Halberstadt 59d606ead7 Bug 1411568 - Enable py3 linter on testing/xpcshell r=stevea1+601043
MozReview-Commit-ID: 722pub6TTuQ

--HG--
extra : rebase_source : 54571c07d49cdb01b3593c861fa708f51fd2f7bd
2017-10-25 08:51:16 -04:00
Attila Craciun 1fc19f42dc Backed out 1 changesets (bug 1401653) for failing no matching function for call in src/layout/generic/TextDrawTarget.h:143:43 r=backout on a CLOSED TREE.
Backed out changeset 5055d2703f2f (bug 1401653)
2017-10-25 16:32:17 +03:00
Johann Hofmann ad3fb07012 Bug 1410352 - Make the overflow menu adhere to touchmode sizing. r=nhnt11
MozReview-Commit-ID: JhMIp65wuaq

--HG--
extra : rebase_source : f18647cf4631e489ef2787884d69b08ceabfee4d
2017-10-25 13:07:46 +02:00
Nicolas Chevobbe 183ca1cdf2 Bug 1403458 - Convert browser_webconsole_assert.js to a backend test; r=bgrins.
The test ensures that packet are sent for falsy console.assert calls,
and that no packet are sent for truthy console.assert.calls, using a timeout.
Mochitest and support files are removed from the new frontend.

MozReview-Commit-ID: C9QpXfBySLo

--HG--
extra : rebase_source : 10101ebd0f300e6794b37db7f19c41c936683d7d
2017-10-24 10:45:29 +02:00
Nicolas Chevobbe aaaad9dd6d Bug 1408918 - Rename and enable browser_webconsole_autocomplete_accessibility.js in new console frontend; r=Honza
MozReview-Commit-ID: CknvP7M1rVJ

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_autocomplete_accessibility.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_accessibility.js
extra : rebase_source : 4e755ebedb6360991b820a61a53544c604def4c4
2017-10-23 09:07:14 +02:00
Nicolas Chevobbe 827151f951 Bug 1411502 - Enable browser_jsterm_copy_command.js in new frontend; r=Honza.
MozReview-Commit-ID: EsQsov5y7cD

--HG--
extra : rebase_source : e2af7cc3bda73052b14c8c6a5450b184b734860a
2017-10-25 10:00:47 +02:00
Nicolas Chevobbe 3ce4a01fb7 Bug 1408917 - Rename, refactor and enable browser_webconsole_autocomplete_JSTerm_helpers.js in new console frontend; r=Honza.
MozReview-Commit-ID: 3TN6q63mnHp

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_autocomplete_JSTerm_helpers.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_autocomplete_helpers.js
extra : rebase_source : 66a63445a74d1a069340c6be678408327b44d25d
2017-10-20 09:40:54 +02:00
Alexis Beingessner 7d07e76ce2 Bug 1401653 - fixup webrender text-decoration bindings. r=jrmuizel
This does 3 things that were all a bit too intermixed to split out cleanly:

1. Teaches TextDrawTarget to handle rectangular clips (while also completely
forbidding other ones). This is necessary to handle how gecko "overdraws"
decorations with clips to create the illusion of continuous lines when they're
actually made out of multiple lines, possibly from different display items
with different lines. Previously gecko *was* handing these clips to
TextDrawTarget to use these clips, but we were just ignoring them.

This is also necessary work to support partial glyphs natively (which apply
rectangular clips to glyphs). Also note that this currently causes a bug
in webrender if combined with zero-blur shadows, but it's not a regression
since we already mishandle clipped decorations. I will work on fixing this
upstream.

2. Changes the intermediate representation of lines from the old webrender
format to a rect-based one. This is in preperation for webrender adopting
that format in a future update.

3. Changes the way wavy lines are processed, correcting some errors in the
old wavy line bindings that lead to them being positioned incorrectly. Also
introduces a wavyLineThickness property that the will be required in a
future webrender update. Wavy lines are unlike any other line, so it's
ultimately desirable to distinguish them.

The net result of these changes is that a companion upstream change (webrender#1923)
will make decoration rendering nearly identical to gecko, and much nicer.
However the clipped shadows issue will need to be seperately resolved before
actually closing this issue.

MozReview-Commit-ID: 6O2wLA6bU3C

--HG--
extra : rebase_source : 98da45bc7f2eaabd63ae226c505cb1580b5c8500
2017-10-24 12:44:38 -04:00
Imanol Fernandez f0a769c439 servo: Merge #19007 - Fix Const IDL value compilation errors in codegen (from MortimerGoro:const_codegen); r=emilio
<!-- Please describe your changes on the following line: -->

I found that some const WebIDL values fail at rust compile time.

Example:

const long long TIMEOUT_IGNORED  = -1;

```
906 |     ConstantSpec { name: b"TIMEOUT_IGNORED\0", value: ConstantVal::DoubleVal(-1) }]
    |                                                                              ^^ expected f64, found integral variable
    |
    = note: expected type `f64`
               found type `{integer}`
```

I added a explicit cast to to fix the problem in conversions that may fail to compile.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- 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: 6449c00fc95c2aebe5b8322a70018d3664941d77

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a8a33bef389d77715c9dc87acce437bacd3a5322
2017-10-25 06:48:43 -05:00
Miko Mynttinen e61db8e3f3 Bug 1411248 - Add some early exit heuristics to avoid complicated partial display list builds r=mattwoodrow
MozReview-Commit-ID: BRYYvGHptbw

--HG--
extra : rebase_source : e740e868bf6f1ce366286a4e8a3db8f1918b4160
extra : source : df60d43e89285978ca7ba6bab5a5c7ef49ffaf92
2017-10-24 14:54:16 +02:00
JW Wang da256ca76e Bug 1411476. P5 - dump debug info for ChannelMediaResource. r=gerald
MozReview-Commit-ID: GjdtrlNb948

--HG--
extra : rebase_source : 248f4926435118ddc8baa0f901c5e4ec3f699c64
2017-10-25 13:57:39 +08:00
JW Wang 3fef1cee8e Bug 1411476. P4 - rewrite GetDebugInfo() functions to make string concatenation easier. r=gerald
MozReview-Commit-ID: V9cxIZGl8M

--HG--
extra : rebase_source : 10afe3e0e4c7d3d6153ea820d869e192345d755c
2017-10-25 13:13:30 +08:00
JW Wang 6c97c56766 Bug 1411476. P3 - show a more descriptive message in DecodeError(). r=gerald
MozReview-Commit-ID: 2XGYhlalecp

--HG--
extra : rebase_source : 08a70c0f74ea67feb8c456c723f6f485e26e0a2a
2017-10-25 10:38:48 +08:00
JW Wang 6490c484f5 Bug 1411476. P2 - show duration in debug logs. r=gerald
MozReview-Commit-ID: Ir7LFU6Dlei

--HG--
extra : rebase_source : c4094a10e3f312bb9a250e0ce41fc6ac8f1efe23
2017-10-25 10:36:03 +08:00
JW Wang 65fba1f9d2 Bug 1411476. P1 - add a space before mAudioCompleted and run clang-format. r=gerald
MozReview-Commit-ID: DF2BIO97aeB

--HG--
extra : rebase_source : c1ebcbfb8e24fbd79f0acdf5e7bc3b2245d7a3c5
2017-10-25 10:29:16 +08:00
Sebastian Hengst e0ef051369 merge mozilla-central to autoland. r=merge a=merge 2017-10-25 13:05:15 +02:00
Sebastian Hengst dd47bee646 Backed out changeset f67f8342b981 (bug 1357082) on request from jmaher for still high frequency. r=backout a=backout
MozReview-Commit-ID: 5aI3SCZVaT9

--HG--
extra : amend_source : eecf508380597815c7ad8199e8f3ac2b8ab53d35
2017-10-25 13:02:51 +02:00
Sebastian Hengst 74800ca743 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5UT11zZbl2e
2017-10-25 13:01:33 +02:00
Attila Craciun 7bcf901c3b Merge inbound to mozilla-central r=merge a=merge 2017-10-25 12:30:28 +03:00
Xidorn Quan b5008d1736 Bug 1408811 followup 2 - Swap the annotation of empty-1.xul.
MozReview-Commit-ID: 70FJ2D8HrAY
2017-10-25 14:47:11 +11:00
Matt Woodrow 07aad81564 Bug 1405146 - Don't make the decision to build nsDisplayWrapList based on the number of child items, since this can vary when doing partial display list builds. r=mstange
--HG--
extra : rebase_source : 78e330fc4ffe589c8b831f470cbd3858f0f5ec00
2017-10-25 14:17:25 +13:00
John Lin e9ef326a0b Bug 1410771 - extend adaptive playback blacklist for some Samsung tablet. r=JamesCheng
MozReview-Commit-ID: 9X316WYjIS3

--HG--
extra : rebase_source : 41612526a90da44e08a4ac6fdf66f5db63532e61
2017-10-25 09:00:58 +08:00
Glenn Watson a275bdee4f servo: Merge #19009 - Update WR (clip alpha mul, pre-mul rects, box shadow fixes) (from glennw:update-wr-pre); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: a65253a11aea13bb7cf26aabdcbac41c02d36f68

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f3d11494ff167100a1326302a5625efb670d2492
2017-10-24 20:20:37 -05:00
Nicholas Nethercote ce583d5ebe Bug 1410765 (part 3) - Remove nsPrefBranch::RemoveObserverFromMap declaration. r=glandium.
--HG--
extra : rebase_source : ab40d0f3430c9259a4fa4cc7fed3f114a946c158
2017-10-25 10:22:37 +11:00
Nicholas Nethercote c67dabae5c Bug 1410765 (part 2) - Redo clang-format on libpref/. r=glandium.
--HG--
extra : rebase_source : 7bf014830baec7abfab51f71ac89a5bc3bec1860
2017-10-25 10:22:37 +11:00
Nicholas Nethercote 91f9b1d8e1 Bug 1410765 (part 1) - Remove unused PrefTypeFlags values. r=glandium.
--HG--
extra : rebase_source : f5d4ac642ddbfc720891c7a72cf735e0f77a460a
2017-10-25 10:22:37 +11:00