575722 Commits

Author SHA1 Message Date
Alfredo.Yang
7a29b0590c Bug 1426773 - update rust mp4 parser. r=kinetik
MozReview-Commit-ID: 8GzXp7Oq9Wx

--HG--
extra : rebase_source : 251cdf64d067a11fb288b73ab822cfe9bbe4115b
2018-01-08 10:08:04 +08:00
JW Wang
51a137168e Bug 1427699. P2 - rewrite InitAsCloneInternal() to mimic the case where data is downloaded from a channel. r=gerald
Note we add mClient->CacheClientSuspend() so the network state of the element
is changed to IDLE because we have no channel to fetch data initially.

MozReview-Commit-ID: DgJbMxvJBzH

--HG--
extra : rebase_source : 69a3ef35d4b5faaaa645fabe02246d49aebce22e
extra : source : 61ec40ce378a444ec0f74d474c28b6a9db3aa830
2018-01-05 16:31:39 +08:00
JW Wang
6c7aec249a Bug 1427699. P1 - allow element->DownloadSuspended() to be called when mChannel is null. r=gerald
This is required by P2 where we want to notify the 'suspend' event for a cloned
resource whose mChannel is initially null.

MozReview-Commit-ID: 3znDl2TqlqK

--HG--
extra : rebase_source : 71c3d6dc2052566b6bfb0879ce56b804312c5a37
extra : source : e6b7cb7937c80420ad2725c5a77143c7a071150f
2018-01-05 16:04:16 +08:00
Shih-Chiang Chien
e6a79fe88f Bug 1426751 - Prevent FlushQueue to be invoked on multiple threads simultaneously. r=mayhemer
This issue is triggered by off-main-thread ODA listener that return error cause from OnDataAvailable callback.
A CancelEvent will be prepend to event queue and trigger race condition between CompleteResume and EndForceEnqueueing.

The `mFlushing` is checked and set in separate critical sections, therefore two threads that executing MayFlushQueue
might both pass the `mFlushing` check and trying to call FlushQueue simultaneously.

The solution is to check and set `mFlushing` in single critical section, so we can guarantee that only one FlushQueue
can be executed at anytime.

In addition, resumption is postponed until no AutoEventEnqueuer is activated. Therefore, CompleteResume will only be
triggered while all the suspension requests and auto enqueue requests are finished.

MozReview-Commit-ID: HpxzgUqYm8C

--HG--
extra : rebase_source : 9be0d37bb4475a0817dafb6270585263160a9da1
2018-01-04 18:53:02 +08:00
Alfredo.Yang
3cf0d3b491 Bug 1423469 - update mp4 rust parser. r=kinetik
MozReview-Commit-ID: IMnqoNL2jay

--HG--
extra : rebase_source : 14bd23405f9dfdcbb8bae5a850439918aacec5e3
2018-01-05 11:11:06 +08:00
Glenn Watson
677bd4968e servo: Merge #19715 - Update WR (removal of RGB8, which isn't supported on some hardware) (from glennw:update-wr-rgb8); r=emilio
Instead, we convert any source RGB8 images into RGBx (with
an opaque alpha channel).

Source-Repo: https://github.com/servo/servo
Source-Revision: 5d0d6cff81a003e72dda83f6b2dd87ad8821d779

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 425ab27ae1e200eec6d63585e9da02af7717ab89
2018-01-07 17:04:54 -06:00
Pyfisch
30dce265cf servo: Merge #19686 - Create own file for background calculations in layout (from pyfisch:layout-background); r=emilio
See #19676

<!-- 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 _____

<!-- 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: 8e226fe9ff412cff087069f17d1bc634cf5fa994

--HG--
rename : servo/components/layout/display_list_builder.rs => servo/components/layout/display_list/builder.rs
rename : servo/components/layout/webrender_helpers.rs => servo/components/layout/display_list/webrender_helpers.rs
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3ea1341671593aa486b39b2dc570a7afc56cc5a2
2018-01-07 08:53:18 -06:00
tigercosmos
7e509de21b servo: Merge #19602 - implement valid DatetimeLocal input (from tigercosmos:r1); r=KiChjang
<!-- Please describe your changes on the following line: -->
implement valid Date time Local input

part of #19172

---
<!-- 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 #19587 fix #19603(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: 7f36b59762864731279fb249dd50faca5078b751

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ea6250ffebfac620b987fac98b653247aa81a951
2018-01-07 05:10:47 -06:00
Narcis Beleuzu
fa67a6ede3 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2018-01-07 11:59:19 +02:00
Geoffrey Sneddon
69a27ca4d5 Bug 1428582 - Preprocess wpt lint paths to be relative to the wpt root r=jgraham
MozReview-Commit-ID: EUS7sjPhWoH

--HG--
extra : rebase_source : b825d364262b5c0b9b86eed8340a9cc8b6eeb1d6
2018-01-06 23:20:08 +00:00
Jonathan Watt
53631ea19f Bug 1425190 - Stop checking for GTK >= 2.24 in the printing code. r=karlt
MozReview-Commit-ID: CEvccM9YzgC
2017-12-08 09:44:17 +00:00
Gabriel Luong
8b2109ede1 Bug 1427392 - Scroll into view the grid container when clicking on the inspect icon. r=pbro 2018-01-05 12:28:39 -05:00
Chris AtLee
44e2a953f3 Bug 1420449: Skip schema validation with --fast r=dustin,ahal
MozReview-Commit-ID: 6wWYrNOG677

--HG--
extra : rebase_source : 316a9941c0c77c9f6dcd665bc7ca84914ad4f415
2017-12-07 22:23:57 -05:00
Boris Zbarsky
9c7a904e7b Bug 1426525 part 5. Remove the 'ref' getter/setter on XULElement. r=smaug
The WebIDL for this was already removed in bug 1425356.

MozReview-Commit-ID: HWxPe3a0Pmi
2018-01-05 13:48:39 -05:00
Boris Zbarsky
8a91a899cc Bug 1426525 part 4. Remove uses of 'ref' in XUL trees. r=gijs
MozReview-Commit-ID: He9RTzZMmSr
2018-01-05 13:48:39 -05:00
Boris Zbarsky
d6e49f095c Bug 1426525 part 3. Remove the special-casing of the 'ref' attribute in CanBroadcast. r=smaug
MozReview-Commit-ID: K8Zkedorr7U
2018-01-05 13:48:39 -05:00
Boris Zbarsky
77660697fc Bug 1426525 part 2. Remove the now-nearly-unused XULDocument::GetElementsForID method. r=smaug
MozReview-Commit-ID: Gv23I8gLhem
2018-01-05 13:48:39 -05:00
Boris Zbarsky
bde68b50e6 Bug 1426525 part 1. Remove XULDocument's mRefMap member, since there should be no XUL elements with 'ref' attributes anymore. r=smaug
'ref' used to be used for templates, but those are gone as of bug 1425356 being
fixed.

MozReview-Commit-ID: GerfZrckypp
2018-01-05 13:48:38 -05:00
Lucius Q. User
c83ae3a2c6 Bug 930845 - Removed expander binding, expander.css and expander.xml; r=enn
MozReview-Commit-ID: 26oF9gSQZVt

--HG--
extra : rebase_source : b12964a0d5f6af62542e3dc54b7552ea48125474
2018-01-05 19:09:21 +01:00
Gian-Carlo Pascutto
3178a4003d Bug 1297740. r=jld
--HG--
extra : rebase_source : 1d7bd987eed365bf442ed7eb856d8413af3205dc
2018-01-04 15:37:33 +01:00
Coroiu Cristina
cf8d0654b4 Backed out 5 changesets (bug 1426525) for bustage at build/src/layout/xul/tree/nsTreeContentView.cpp r=backout on a CLOSED TREE
Backed out changeset 96efa1b6f4d5 (bug 1426525)
Backed out changeset 37fdd4a04f4e (bug 1426525)
Backed out changeset cee585723368 (bug 1426525)
Backed out changeset 85e218bf000c (bug 1426525)
Backed out changeset 501c70abf837 (bug 1426525)
2018-01-05 21:40:44 +02:00
David Major
28ad88d8c4 Bug 1321651 - revert clang-cl changes from bug 1298418 that are no longer needed. r=froydnj 2018-01-05 14:16:08 -05:00
Boris Zbarsky
b7061c1a7e Bug 1426525 part 5. Remove the 'ref' getter/setter on XULElement. r=smaug
The WebIDL for this was already removed in bug 1425356.

MozReview-Commit-ID: HWxPe3a0Pmi
2018-01-05 13:48:39 -05:00
Boris Zbarsky
d8f202f957 Bug 1426525 part 4. Remove uses of 'ref' in XUL trees. r=gijs
MozReview-Commit-ID: He9RTzZMmSr
2018-01-05 13:48:39 -05:00
Boris Zbarsky
62d4e8ee58 Bug 1426525 part 3. Remove the special-casing of the 'ref' attribute in CanBroadcast. r=smaug
MozReview-Commit-ID: K8Zkedorr7U
2018-01-05 13:48:39 -05:00
Boris Zbarsky
8ae71997ff Bug 1426525 part 2. Remove the now-nearly-unused XULDocument::GetElementsForID method. r=smaug
MozReview-Commit-ID: Gv23I8gLhem
2018-01-05 13:48:39 -05:00
Boris Zbarsky
215419bbfb Bug 1426525 part 1. Remove XULDocument's mRefMap member, since there should be no XUL elements with 'ref' attributes anymore. r=smaug
'ref' used to be used for templates, but those are gone as of bug 1425356 being
fixed.

MozReview-Commit-ID: GerfZrckypp
2018-01-05 13:48:38 -05:00
Jonathan Watt
b0ddef10f5 Bug 1425188 - Remove the ability to save as Postscript from the print dialog on Linux. r=karlt
Saving to PDF will now be the only option.

MozReview-Commit-ID: 9WIDws6lByG
2017-12-07 14:52:25 +00:00
Ben Kelly
61a07a8b0a Bug 1425975 P17 Make web extension tests wait for service worker to activate to avoid races. r=kmag 2018-01-05 12:10:23 -05:00
Ben Kelly
7f0e026bcb Bug 1425975 P16 Make nsDocShell check for session cookie lifetime policy before allowing service worker intercept. r=asuth 2018-01-05 12:10:22 -05:00
Ben Kelly
fd30dd024a Bug 1425975 P15 Add session lifetime policy checks to test_third_party_iframe.html. r=asuth 2018-01-05 12:10:22 -05:00
Ben Kelly
b7d9339122 Bug 1425975 P14 Assert that storage is allowed when a ClientSource is both execution ready and controlled. r=asuth 2018-01-05 12:10:22 -05:00
Ben Kelly
423f2202f9 Bug 1425975 P13 Check for a different final document principal and reset the ClientSource when it happens. r=asuth 2018-01-05 12:10:22 -05:00
Ben Kelly
ddc8898fc1 Bug 1425975 P12 Don't mark an initial about:blank client as controlled if its sandboxed. r=asuth 2018-01-05 12:10:22 -05:00
Ben Kelly
d9c3b35de3 Bug 1425975 P11 Fix test_workerupdatefound.html not to frame loading against SW activation and updatefound events. r=asuth 2018-01-05 12:10:22 -05:00
Ben Kelly
8d1c01e9eb Bug 1425975 P10 Fix the test_skip_waiting.html mochitest to properly wait for active worker state. r=asuth 2018-01-05 12:10:21 -05:00
Ben Kelly
3bd4435759 Bug 1425975 P9 Refactor MaybeCheckNavigationUpdate() to take a ClientInfo instead of a document. r=asuth 2018-01-05 12:10:21 -05:00
Ben Kelly
6bbdc69490 Bug 1425975 P8 Fix unregister-then-register-new-script.https.html to not race iframe.remove() and expect resurrection on failed scripts. r=asuth 2018-01-05 12:10:21 -05:00
Ben Kelly
c67746c9b2 Bug 1425975 P7 Use the mControlledClients list to drive controller start and stop logic. r=asuth 2018-01-05 12:10:21 -05:00
Ben Kelly
aaf7a2cb50 Bug 1425975 P6 Rename some service worker methods to not reference documents. r=asuth 2018-01-05 12:10:21 -05:00
Ben Kelly
81e3a5bfa7 Bug 1425975 P5 Make ServiceWorkerManager::RemoveRegistration assert there is no controlled document. r=asuth 2018-01-05 12:10:20 -05:00
Ben Kelly
9354f0db20 Bug 1425975 P4 Make ServiceWorkerManager::UpdateClientControllers use mControlledClients. r=asuth 2018-01-05 12:10:20 -05:00
Ben Kelly
d199c719ef Bug 1425975 P3 Refactor ServiceWorkerManager::GetDocumentRegistration() to GetClientRegistration(). r=asuth 2018-01-05 12:10:20 -05:00
Ben Kelly
0d02480ce1 Bug 1425975 P2 Add ServiceWorkerManager mControlledClients to track controlled ClientHandle references. r=asuth 2018-01-05 12:10:20 -05:00
Ben Kelly
ed3bd4b27a Bug 1425975 P1 Add ClientHandle::OnDetach() which returns a MozPromise that resolves on actor destruction. r=asuth 2018-01-05 12:10:20 -05:00
Brad Werth
b61d32f5ef Bug 1423378 Part 1: Specially treat the explicit line names following a repeat auto-fit or auto-fill declaration to ensure they are always applied to the following line. r=mats
MozReview-Commit-ID: iFM5J6wRL6
2017-12-05 14:51:06 -08:00
Jorg K
23bdfd7fcc Bug 1428389 - handle case gracefully where weaveXPCService is not available. r=kitcambridge
--HG--
extra : rebase_source : 35252182145ae140b5ec55fb4f1ae0175dd8c735
2018-01-05 14:04:00 +02:00
Jan de Mooij
80492d04bd Bug 1420172 - Make scalar replacement of arrays work in more cases (writes to COW elements, double elements). r=nbp 2018-01-06 13:30:37 +01:00
Jonathan Kew
6cf89ddd0e Bug 1427641 - patch 8 - Refactor gfxFT2FontBase glyph-width code so that we properly respect variations when getting character widths during InitMetrics. r=lsalzman 2018-01-02 13:29:54 +00:00
Jonathan Kew
7222178ff9 Bug 1427641 - patch 7 - Work around buggy FreeType metrics APIs when using variation fonts with FT versions prior to 2.8.2. r=lsalzman 2018-01-02 13:29:48 +00:00