Commit Graph

534131 Commits

Author SHA1 Message Date
Cykesiopka
d1803f67e9 Bug 1358183 - Remove some unused PSM IDL constants and functions. r=keeler
MozReview-Commit-ID: C8EGosXvTQL

--HG--
extra : rebase_source : 9c141f6750d7658409fc2820f17940abe067fb4a
2017-05-04 00:06:43 +08:00
Thomas Nguyen
52ed9fd77e Bug 1351472 - Skip AddNoise if the table is unknown or disallowed to getHash r=francois
MozReview-Commit-ID: GMWs2UpiyiP

--HG--
extra : rebase_source : 9b24bf9fa6ad5aa12077f6e4ffa2ac65b0862b40
2017-04-28 15:26:54 +08:00
Dão Gottwald
39669a550b Bug 1054740 - Stop reusing tabs when restoring windows since at this point it's counterproductive rather than a useful optimization. r=mikedeboer
MozReview-Commit-ID: EuM08mEhDqZ

--HG--
extra : rebase_source : 43fc0410045f0efe48db2ae14d56994a90bded5f
2017-05-04 14:26:32 +02:00
Emilio Cobos Álvarez
38c4e0a7a3 Bug 1361301: Don't toggle focus-within state past the nearest common flattened tree ancestor. r=smaug
MozReview-Commit-ID: 3L5Nr6z4Q9X

--HG--
extra : rebase_source : 0fcd965fbdeb8b9b238db46c8524344104f00820
2017-05-03 12:41:24 +02:00
Emilio Cobos Álvarez
6e1af77eca Bug 1361301: Add nsContentUtils::GetCommonFlattenedTreeAncestor. r=smaug
MozReview-Commit-ID: EVyjTrjpid2

--HG--
extra : rebase_source : 7f0933c88b78275682be96f3ea596bfb24ec9aa4
2017-05-03 12:58:34 +02:00
Emilio Cobos Álvarez
775ab6e694 Bug 1361301: Extract the core algorithm from nsContentUtils::GetCommonAncestor. r=smaug
MozReview-Commit-ID: 7u6YaYN3dhb

--HG--
extra : rebase_source : 4a4c4932a51bab924d55ba54c4e9a4bbf3e48cb5
2017-05-03 12:57:53 +02:00
Cameron McCormack
53bb158a26 Bug 1341102 - Adjust test expectations. r=me 2017-05-05 16:53:03 +08:00
JW Wang
5d7a4ae4c9 Bug 1362258 - Reduce ref-counting overhead of TrackBuffersManager::AppendData(). r=jya
http://searchfox.org/mozilla-central/rev/6580dd9a4eb0224773897388dba2ddf5ed7f4216/dom/media/mediasource/TrackBuffersManager.cpp#127

We can pass already_AddRefed<MediaByteBuffer> to InvokeAsync to avoid unnecessary AddRef/Release pairs.

MozReview-Commit-ID: ErXompyX8ua

--HG--
extra : rebase_source : f086e4ef5fda9f0dca8bfb0e2b4c74967e3f8323
2017-05-05 10:27:51 +08:00
Martin Robinson
387c611ae8 servo: Merge #16735 - Rename PushScrollRoot and remove PopScrollRoot (from mrobinson:push-pop-scroll-root); r=glennw
PopScrollRoot was unused and PushScrollRoot no longer pushes a scroll
root, but defines a new one.

<!-- Please describe your changes on the following line: -->

---
<!-- 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: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they should not change behavior.

<!-- 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: f832052d9500e1102ebf43450087a7f51bfcb60e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8f5eaa0100709586c0321ee817f98ae6dde7909c
2017-05-05 02:21:12 -05:00
JW Wang
240b996f12 Bug 1361964 - WebMBufferedState::UpdateIndex() should read from cache. r=jya
We don't want to trigger download when calculating buffer ranges since download
changes buffer ranges.

MozReview-Commit-ID: Be8qFUQ5PpR

--HG--
extra : rebase_source : 4fd77e031577332d9d112faef869cd935275b1af
2017-05-04 21:32:13 +08:00
Sebastian Hengst
96151b2b6b Backed out changeset 2febf984044a (bug 1356033) for bustage due to now unused pattern "gcli*" in browser/base/content/moz.build. r=backout on a CLOSED TREE
--HG--
rename : devtools/client/themes/images/gcli_sec_bad.svg => browser/base/content/gcli_sec_bad.svg
rename : devtools/client/themes/images/gcli_sec_good.svg => browser/base/content/gcli_sec_good.svg
rename : devtools/client/themes/images/gcli_sec_moderate.svg => browser/base/content/gcli_sec_moderate.svg
2017-05-05 09:43:54 +02:00
Cameron McCormack
14b955a5aa Bug 1361985 - Whitelist Gecko_NewGridTemplateAreasValue from heap write hazard checking, since it pokes at stuff in the object it just created. r=me (CLOSED TREE)
--HG--
extra : amend_source : be20cfdd93de65557b1e343504051c476e17db24
2017-05-05 15:43:37 +08:00
Gabriele Svelto
9942c797e2 Bug 1360819 - Do not show a console on Windows when launching the pingsender; r=Dexter
MozReview-Commit-ID: 54TBiNMFcWM

--HG--
extra : rebase_source : eb0eb6005608f31b8ec765c572b6b789ff3ec10a
2017-05-04 10:51:04 +02:00
Manish Goregaokar
da4403ef57 servo: Merge #16730 - Make font-size: larger/smaller work with the base size stuff (from Manishearth:stylo-font-size); r=dbaron
Source-Repo: https://github.com/servo/servo
Source-Revision: 441d3cf3e5b4dd909fef4ef4a8c9a5422d5330d3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 059b55b818893b633f8d8dfc74b9608499296d2b
2017-05-05 01:38:38 -05:00
Michael Ratcliffe
360cec7787 Bug 1356033 - chrome://browser/content/gcli_sec_{bad,good,moderate}.svg should be moved to devtools r=jdescottes
This is easy to test:

Green tick marks (gcli_sec_good.svg) and Red Crosses (gcli_sec_bad.svg):
1. Go to https://csp-evaluator.withgoogle.com/
2. Shift+F2
3. security csp

I couldn't find a way to show the Orange Minus (gcli_sec_moderate.svg) but the path is changed in line with the other images and I did test it programatically so it will be fine.

MozReview-Commit-ID: 5897IV7epax

--HG--
rename : browser/base/content/gcli_sec_bad.svg => devtools/client/themes/images/gcli_sec_bad.svg
rename : browser/base/content/gcli_sec_good.svg => devtools/client/themes/images/gcli_sec_good.svg
rename : browser/base/content/gcli_sec_moderate.svg => devtools/client/themes/images/gcli_sec_moderate.svg
extra : rebase_source : b550cd4184f2c9e77b1d5df2cf5c67c1296b8ade
2017-05-04 14:41:36 +01:00
Iris Hsiao
541787d3f9 Backed out changeset 763cc804a25d (bug 1361944) for causing crashtest perma failure on Android 2017-05-05 15:12:51 +08:00
Carsten "Tomcat" Book
b5f09cc95b Backed out changeset 2c7d3f3cb9e8 (bug 1336271) on request for possible memory issues 2017-05-05 09:04:09 +02:00
Jared Wein
c352d05b9b Bug 1343569 - Delay hiding the popup on blur if the search field gains focus. r=enndeakin+6102
Since the order of events is 'blur' followed by 'focus', we send a message from the content process to the parent process and wait for a reply to give enough time for the parent process to signal that the 'blur' was related to the focusing of the search field. If the parent process hasn't signaled as such, then the content process will proceed with hiding the dropdown.

MozReview-Commit-ID: 6ngoo9uHcsM

--HG--
extra : rebase_source : caf43a975827aec71ba82fe39435b05c954673bc
2017-04-25 20:19:42 -04:00
Cameron McCormack
193a0517ae Bug 1361985 - Adjust test expectations. r=me 2017-05-05 14:50:07 +08:00
Alfredo Yang
9006749e49 Bug 1336271 - ignore ftyp box when parsing mp4 metadata. r=jya
MozReview-Commit-ID: IarGzXtmGQ2

--HG--
extra : rebase_source : 0926bda331f491f9b14ab8da18be29d1a1b5e6da
2017-05-03 16:55:00 +08:00
Mike Hommey
8e811ce9b6 Bug 1356700 - Don't set MOZ_AUTOMATION individually for hazard and l10n builds. r=mshal
--HG--
extra : rebase_source : 06b5e16e7c142878296699a4aa6bc17a4f1ab4c7
2017-04-15 07:36:59 +09:00
Mike Hommey
0896160558 Bug 1356700 - Don't set MOZ_AUTOMATION from mozharness configurations. r=mshal
It is set at buildbot level since bug 1011352, and now at taskcluster level.

--HG--
extra : rebase_source : 163692a9581ac79b680cc229d5fe1d44423583ee
2017-04-15 07:36:04 +09:00
Mike Hommey
04e21d63a9 Bug 1356700 - Set MOZ_AUTOMATION on all taskcluster jobs. r=dustin
--HG--
extra : rebase_source : d55a62f6f31b6815e7f94f10761e4208ad03379b
2017-04-15 07:30:42 +09:00
Luca Greco
f05b5fec60 Bug 1358314 - Fix 'Open Link in New Tab' context menu item after tab navigated in non-e10s mode. r=kmag
MozReview-Commit-ID: KIG3QTx4J6b

--HG--
extra : rebase_source : 2441fc11e1d47dbcbc0bfa79d3721703b1476bf9
2017-04-24 16:22:31 +02:00
Boris Chiou
efc7384c17 Bug 1361951 - Add null check for nsIDocument in ComputeAnimationDistance. r=birtles
MozReview-Commit-ID: GFMmT8bMKzP

--HG--
extra : rebase_source : abd2ad259dab39f6a8be0004287a1f054e69d9b0
2017-05-05 11:25:03 +08:00
KuoE0
5b7d28dcc5 Bug 1356072 - Update stylo-failures. r=xidorn
MozReview-Commit-ID: 4FBnwJfh2Uc

--HG--
extra : rebase_source : c35d186ba0f9dbe787bf727586bf8795f8b6b498
2017-04-27 17:54:18 +08:00
Anthony Ramine
a2e7b85307 Bug 1361985 - Add Servo bindings for GridTemplateAreasValue. r=Manishearth
MozReview-Commit-ID: fi5j076kwH

--HG--
extra : rebase_source : 380b1a60a5385d762ee2f73bb089aaefb86c0c53
2017-05-04 12:24:01 +02:00
Daosheng Mu
85b521a633 Bug 1362284 - Assign the background thread before flushing pending events at GamepadEventChannelParent; r=Lenzak
MozReview-Commit-ID: FcnAM1JSON2

--HG--
extra : rebase_source : 61ce19675463d6b32502d561cd90a6cfa782c72e
2017-05-05 01:21:39 +08:00
KuoE0
01e6deb40d servo: Merge #16733 - Make stylo support moz-prefixed cursor values (from KuoE0:bug-1356072); r=xidorn
<!-- Please describe your changes on the following line: -->

This issue is reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1356072.

We need to support the following moz-prefix properties in stylo:
- -moz-grab
- -moz-grabbing
- -moz-zoom-in
- -moz-zoom-out

---
<!-- 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 [Bug 1356072](https://bugzilla.mozilla.org/show_bug.cgi?id=1356072).

<!-- Either: -->
- [X] These changes do not require tests because the tests already exist in Gecko.

<!-- 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: 8187969c39d6cfcd415571dc02c0b62e932a59da

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ce348d8f8daed18ea8c582d5b308fc7a7dbce421
2017-05-04 22:27:44 -05:00
Valentin Gosu
3ccc45df23 Bug 1359697 - Make CaptivePortalService not poll for status when it is in the NOT_CAPTIVE state r=mcmanus
MozReview-Commit-ID: BrxJfipydEj

--HG--
extra : rebase_source : 780f49bd3b6dcf0682f9368c53c0a04c03e0616b
2017-05-04 11:43:25 +02:00
Glenn Watson
1327c3b0a9 servo: Merge #16731 - Update WR (remove old border path, composite fixes) (from glennw:update-wr-borders-nearly-done); r=pcwalton
* Support border corner transitions with new path.
* Remove old border rendering code and shaders.
* Bug fix for mix-blend-mode / composite tasks.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 35658addcb2db615e9f96dd00f8823bdec33dc62
2017-05-04 21:20:01 -05:00
Anthony Ramine
cf55c1fbeb servo: Merge #16727 - Implement grid-template-areas (fixes #16079) (from nox:grid-template-areas); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 18c8c290daea3419b02799e206c2cb50845cd0af

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c666b12b559154a25d5b6f54201112bd554ee610
2017-05-04 19:58:22 -05:00
JW Wang
dba2f2df64 Bug 1361944. P2 - be sure to shut down the existing decoder before loading the next source child. r=cpearce
Otherwise we will fail the assertion (!mDecoder, "Shouldn't have a decoder")
in HTMLMediaElement::InitializeDecoderForChannel().

MozReview-Commit-ID: 1zShp0th3Uv

--HG--
extra : rebase_source : 9b61fd8f6817e33c7d041e4b49bc34ccbc357a15
2017-05-04 13:28:17 +08:00
JW Wang
0b67e0ea16 Bug 1361944. P1 - add a crash test. r=cpearce
The crash happens when:
1. there are multiple <source> children.
2. decode error happens on the 1st child.

MozReview-Commit-ID: 60UXaQ475Nh

--HG--
extra : rebase_source : b7e61ae909cfa10fb2db3c41b278449de41b9450
2017-05-04 14:23:23 +08:00
Chris Pearce
a8d20712d6 Bug 1361629 - Only call timeBeginPeriod/timeEndPeriod when media playback starts/stops. r=jwwang
MozReview-Commit-ID: B3YCoGMY5Ab

--HG--
extra : rebase_source : 1311d2f901c00885695b17746b524115ab72758d
2017-05-04 16:54:19 +12:00
Phil Ringnalda
6ff93fd449 Backed out changeset 8ff81b6fdfb8 (bug 1317962) for frequent Windows failures in browser_console_copy_entire_message_context_menu.js
CLOSED TREE

MozReview-Commit-ID: ADIiRxXlKs1
2017-05-04 20:56:39 -07:00
Iris Hsiao
76dc3f1ddf Backed out changeset 85bc6a5f7c73 (bug 1345990). a=backout
CLOSED TREE

--HG--
extra : amend_source : 277b042c5bca1a62d81359ea965e2da100f6eefd
2017-05-05 10:20:42 +08:00
Iris Hsiao
c206e9ec3c Backed out changeset 34f24ca08fac (bug 1345990) for mochitest bc testing uncaught exception at BrowserTestUtils.jsm
CLOSED TREE
2017-05-05 10:20:29 +08:00
Farmer Tseng
54235886c3 Bug 1345710 - part3: implement PDFViaEMFPrintHelper to convert PDF to EMF r=cjku,jwatt
This class helps draw a PDF file to a given Windows DC.

MozReview-Commit-ID: IjZAIcN3bND

--HG--
extra : rebase_source : 035dfbf5380316aacae8e1e1591d81971c47b843
2017-01-10 17:43:16 +08:00
Farmer Tseng
4971e86b5c Bug 1345710 - part2: implement a PDFiumEngineShim class to link to PDFium symbols r=cjku,jwatt
This class exposes an interface to PDFium library and takes care of loading and
linking to the appropriate PDFium symbols.

MozReview-Commit-ID: 32jZD6d0KFw

--HG--
extra : rebase_source : 1d0580cbc8dc8687656ce32654d679da54104a33
2016-12-02 12:02:56 +08:00
Farmer Tseng
377e7ae977 Bug 1345710 - part1: implement a WindowsEMF class to support Windows Enhance Metafile r=cjku,jwatt
WindowsEMF could be initialized with the path of a file where the EMF data
should be stored. If pass null point to the constructor that means the EMF data
are store in memory. Consumers can call GetDC() to get a HDC. It can be drawn to
generate the EMF output. After finishing with the HDC, call FinishDocument() to
finish writing the EMF output. Then consumers can call Playback() to play the
EMF's drawing commands onto the given DC. Once consumers don't use WindowsEMF
anymore, call ReleaseEMFHandle() to release object's handle. If the EMF output
is in memory, it is deleted. If it is on disk, it is not.

Consumers also can initialize WindowsEMF with an existing EMF file. They can
only use Playback().

MozReview-Commit-ID: 8hUsx8b2CXz

--HG--
extra : rebase_source : 99e38e61a00bfae45ec9102b3b23a095a7f3af1e
2016-12-02 11:43:44 +08:00
Cameron McCormack
2fadc51f72 Bug 1352531 - Make dom::FontFace cache its gfxCharacterMap instead of rebuilding it every time. r=dbaron
MozReview-Commit-ID: INmKPdC9dq5

--HG--
extra : rebase_source : a7f0636168784227fb2b6a381fa72cf652038c12
2017-04-20 17:00:59 +10:00
Jared Hirsch
c9d26e5822 Bug 1362234 - Fix Screenshots Talos regressions by removing WebExtension startup delay and removing tab 'activated' event handler; r=kmag
MozReview-Commit-ID: BWM1GNdJnTQ

--HG--
extra : rebase_source : 0be365a3184aa70f0168cdef0e8609f5fafdc9ad
2017-05-04 17:38:21 -07:00
Blake Kaplan
7829881e9e Bug 1345990 - Allow creation of new tabs in their own processes. r=mconley
This uses XPCOM to replace the default process selector with one that always
asks for a new process and then put the old one back again. This comes with a
test to prove that it works.

MozReview-Commit-ID: Bq6KP4VzP7W

--HG--
extra : rebase_source : 1ea86df2e2443be38cfae4e5f8c1336bf742157c
2017-04-26 17:52:20 -07:00
Blake Kaplan
a7595ea509 Bug 1345990 - Switch to an options object for BTU.openNewForegroundTab. r=mconley
MozReview-Commit-ID: HkFXpiWICge

--HG--
extra : rebase_source : f7739afebaa74976b4ce5100bde29cbcd33c9526
2017-04-26 17:08:32 -07:00
Masatoshi Kimura
b299a459d1 Bug 1358524 - Load userContent.css on both style backends in e10s. r=bholley
MozReview-Commit-ID: 54HOAnm73dz

--HG--
rename : layout/reftests/usercss/usercss-ref.html => layout/reftests/usercss/usercss-moz-document-ref.html
rename : layout/reftests/usercss/usercss.html => layout/reftests/usercss/usercss-moz-document.html
rename : layout/reftests/usercss/usercss.html => layout/reftests/usercss/usercss-xbl.html
extra : rebase_source : f2653dc4f89f8be7ab54c666a82861f3048f2d4d
2017-05-03 20:48:48 +09:00
Connor Brewster
e2a45c503e servo: Merge #16697 - Make History attributes and methods throw (from cbrewster:history_throw); r=KiChjang
<!-- Please describe your changes on the following line: -->
All History methods and attributes should throw a `SecurityError` if the document associated with the `History` object is not fully active.
https://html.spec.whatwg.org/multipage/browsers.html#history-3

---
<!-- 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: -->
- [ ] 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: ca2a5025e50819f3fc54f66f681f9d73479386e4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7ec6837fa7f0d87660233cf14a1c6ecf27cc299f
2017-05-04 18:50:17 -05:00
Dan Glastonbury
4f5a7952ca Bug 1360053 - Fetch version dbcd7f of cubeb-pulse-rs from github. r=kinetik
MozReview-Commit-ID: 8vy5Sy1430s

--HG--
extra : rebase_source : 72b3370258affb14dfa2754b1816eea13a4d1e2e
2017-04-27 10:06:33 +10:00
Sebastian Hengst
498b61d523 Backed out changeset a39a98ffb29b (bug 1359058) for failing mochitest dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__texture-npot-video.html on Windows. r=backout 2017-05-05 00:34:05 +02:00
Sebastian Hengst
64ea535650 Backed out changeset fe9ac1176159 (bug 1359058) 2017-05-05 00:32:36 +02:00