Commit Graph

540697 Commits

Author SHA1 Message Date
Ehsan Akhgari
19d6dc61bb Bug 1368286 - Take the idle queue into account in nsThread::HasPendingEvents(); r=smaug 2017-06-06 12:37:27 -04:00
Ehsan Akhgari
394af562be Bug 1370448 - Start poll watchdog timer off of a runnable from the main thread in order to avoid a false positive detected deadlock; r=dragana 2017-06-06 12:37:26 -04:00
Mark Banner
e82e58aff9 Bug 1370507 - browser_all_files_referenced.js should be able to handle template strings. r=florian
MozReview-Commit-ID: FQZjG1i0ddk
2017-06-06 17:07:47 +01:00
Mason Chang
2e836194b0 Bug 1359527 Part 2 Add D2D fuzzing for GPU Luminance. r=jrmuizel 2017-06-06 09:05:31 -07:00
ffxbld
cd09b99007 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-06-06 08:39:25 -07:00
ffxbld
12a027af8e No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-06-06 08:39:22 -07:00
Alex Gaynor
aa9f5488cb Bug 1367560 - Remove an assertion from the Directory constructor that the directory exists on disk from DEBUG builds; r=baku
As long as Directory objects can be constructed in the content process, trying
to access the file system conceptually does not make sense because of
sandboxing. The canary in the coal mine for this was tests which started
crashing on Directory construction as we further locked down read access in the
sandbox.

MozReview-Commit-ID: HZitALYpO5H

--HG--
extra : rebase_source : 1f7e0361e40e45a9c23d5d78bdcdc1696d44d298
2017-06-06 10:15:13 -04:00
Mike de Boer
221a21cbd3 Bug 1367970 - when switching panels quickly, the auto-resize workaround can cause wonky animations. Clear the timeout when a new animation starts. r=Gijs
MozReview-Commit-ID: CpQFjDDm2BR

--HG--
extra : rebase_source : 971fe451fc50ddde02842dfef38c1e8908c05620
2017-06-06 18:18:42 +02:00
L10n Bumper Bot
20963d7269 no bug - Bumping Fennec l10n changesets r=release a=l10n-bump
tsz -> removed
2017-06-06 03:00:37 -07:00
Michael Ratcliffe
786b52b5e9 Bug 1364437 - Make storage inspector layout match inspector's layout r=pbro
MozReview-Commit-ID: 3W9BpRMec4C

--HG--
extra : rebase_source : b8283e2eb3da96601adced69fb4629abc018f712
2017-06-06 10:55:41 +01:00
Simon Sapin
962178dc77 servo: Merge #17185 - Fix some "unused" warnings (from servo:unused); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 87005a0df33531995635728989c929572de429e7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 132d1a167ffd5a75ed978da5c82b71b8530bc8b1
2017-06-06 08:13:39 -07:00
Henry Chang
150a885dfa Bug 1362182 - Early return if mUpdateObserver has been nulled out by CancelUpdate(). r=francois
MozReview-Commit-ID: 2fQCtjMJkx

--HG--
extra : rebase_source : 33b16d2c1958d8a4dcd4cfa9eb3b602f2c84aa55
2017-06-06 17:51:51 +08:00
Glenn Watson
093332c149 servo: Merge #17196 - Update WR (move glyph data to gpu cache and halve glyph alloc/uploads) (from glennw:update-wr-cache-glyphs); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 12dca42dd703573cff4d231e5043b7f5dcdf06f7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c2c22a4b4e83e30f489a39914cb0d6ec9e3fc8f2
2017-06-07 22:55:53 -07:00
Cameron McCormack
8626db01df Bug 1365162 - Followup: fix reftest annotation. 2017-06-08 15:00:05 +08:00
Kaku Kuo
2afe1fbdbd Bug 1349253 - modify the assertion; r=jwwang
While MDSM calls MFR::Seek(), MFR tries to do video seek first and then the audio seek.

Video-seek and audio-seek are applied sequentially, and if something wrong in video-seek,
MFR discards the whole seek operation without applying audio-seek.

video    | audio     |
waiting  | waiting   | What MDSM receives
-----------------------------------------------------------------------------
   X     |    X      | resove mSeekRequest
-----------------------------------------------------------------------------
   O     |    X      | reject mSeekRequest with type=VIDEO, error=WAITING
-----------------------------------------------------------------------------
   X     |    O      | reject mSeekRequest with type=AUDIO, error=WAITING
-----------------------------------------------------------------------------
   O     |    O      | reject mSeekRequest with type=VIDEO, error=WAITING
-----------------------------------------------------------------------------

So, here, AccurateSeekingState::OnSeekRejected() has a unified code to handle
WAITING_FOR_DATA error for both video and audio type, and it uses the
aReject.mType variable to distinguish different types.

But, it mixes the assertions. We should also apply assertions according to the
type that is in concern.



MozReview-Commit-ID: F7RpnFghcKk

--HG--
extra : rebase_source : d18c3197ec2a08f2f184150e0c4a08da200a34b0
2017-06-07 18:52:36 +08:00
Masayuki Nakano
696e4cb85a Bug 1250823 part 2 - IMEContentObserver should cache adding ranges as a range during document change r=smaug
Between nsIDocumentObserver::BeginUpdate() and nsIDocumentObserver::EndUpdate(), IMEContentObserver can cache added nodes as a range if they are consecutive nodes.  Even if a node is removed, a data node is changed or attribute is changed unexpectedly, IMEContentObserver can post text change of the added node range and handle it normally.

MozReview-Commit-ID: IttDHBkr92Y

--HG--
extra : rebase_source : f0849d5fab0b28bdfa311cf833a216d43b9215d2
2017-06-08 11:24:58 +09:00
Masayuki Nakano
a5bc18e848 Bug 1250823 part 1 - Implement DocumentObserver as a nested class of IMEContentObserver for observing to begin and end update r=smaug
IMEContentObserver can reduce the number of times to compute node offsets with caching all added nodes as a range.  For that, it needs to know when it starts to update and ends updating the document.

nsIDocumentObserver is a subclass of nsIMutationObserver and IMEContentObserver is a mutation observer of editor's root content.  Therefore, if we change IMEContentObserver to a document observer, each mutation observer method needs to check if the change occurs in the observing editor.  Therefore, this patch implements document observer as its nested class and manages it as a member of IMEContentObserver.

MozReview-Commit-ID: HPSPfajxjnx

--HG--
extra : rebase_source : fd4bdcc24759040fb6c39317024049a3a924fc67
2017-06-08 11:21:28 +09:00
Ting-Yu Lin
0dbc15d1bd Bug 1370762 - Null check GetSelection() before calling Stringify(). r=mtseng
MozReview-Commit-ID: 9sNaXwzbqUw

--HG--
extra : rebase_source : 3f9b88368a27a38e01fab3d97a228cdda1c55dfa
2017-06-08 12:49:05 +08:00
Alan Jeffrey
9ceb5bb873 servo: Merge #17077 - Removed root browsing context from constellation (from asajeffrey:constellation-no-root-browsing-context); r=cbrewster
<!-- Please describe your changes on the following line: -->

Removed the special root browsing context from the constellation.

---
<!-- 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 #13994
- [X] These changes do not require tests because this isn't visible from user code

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 548e0caed1e409c2284e4418cdebaf388b5c7e27
2017-06-07 21:57:10 -07:00
Sebastian Hengst
a0bd7b9c0d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BDyuSdNALvH
2017-06-06 11:20:56 +02:00
Xidorn Quan
7f22b593d5 Bug 1345709 - Lowercase color keyword in specified value. r=heycam
MozReview-Commit-ID: d5cbTvSpQt

--HG--
extra : rebase_source : 0bd6e318e4372ab5c26bf2db28e75486b28419f0
2017-06-06 14:48:33 +10:00
Xidorn Quan
adad1a1d17 servo: Merge #17219 - Support interpolation between currentcolor and numeric color (from upsuper:currentcolor); r=Manishearth,birtles
This is the Servo side change of [bug 1345709](https://bugzilla.mozilla.org/show_bug.cgi?id=1345709).

Source-Repo: https://github.com/servo/servo
Source-Revision: 24e944ad94816e607e833e34095c4f8b8136df4c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9bd6680c1a980543f2ebfc191186cc8d88fb075c
2017-06-07 21:03:52 -07:00
Matt Brubeck
38a876b232 servo: Merge #17192 - Parallel layout optimizations (from mbrubeck:layout); r=pcwalton
This takes some of the optimizations made to parallel styling in #16971 and applies them to parallel layout.  Specifically:

* Reduce the chunk size, to increase chances for parallelism on trees with small fan-out.
* Reduce allocations by using SmallVec.
* Reduce task switching by processing up to one chunk of children within the same rayon task as the parent.

This cuts the "Primary Layout Pass" time in **half** on the MySpace page from [tp5n], and on my other real-world test pages it is a small improvement or close to no change.

[tp5n]: https://wiki.mozilla.org/Buildbot/Talos/Tests#tp5n_pages_set

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because they affect performance only

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 473d903f4a7bd5d1403fcb31cbbad6d5570f7ddb
2017-06-07 19:57:57 -07:00
Phil Ringnalda
4b9de82509 Backed out changeset 5decd51af7a9 (bug 1369282) for breaking the build by trying to ship a duplicated file
CLOSED TREE

MozReview-Commit-ID: wmARe5Aata
2017-06-07 21:02:34 -07:00
Ethan Lin
ff2bdf007d Bug 1370155 - Remove fullscreen mode in basic compositor video test to prevent intermittent problem. r=jmaher 2017-06-06 09:55:49 +08:00
Delphine Lebédel
a69dd29ced Bug 1370287 - (tsz) Drop 'tsz' locale from single-locale builds, r=flod
MozReview-Commit-ID: IO5vS3uzj6g

--HG--
extra : rebase_source : 8ca77acd02c6cdb9f5cce9e43dcd5428a3ca2b07
2017-06-05 17:17:16 -07:00
Servo VCS Sync
73b0699d0c No bug - Revendor rust dependencies 2017-06-06 04:18:47 +00:00
Bobby Holley
e95fb71e70 servo: Merge #17179 - shrink Rule and store all heap-allocated selector data inline (from bholley:one_selector_allocation); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1370107

Source-Repo: https://github.com/servo/servo
Source-Revision: 74ea8ce3ed6aa3d7edfe05924f196ccbe57daed6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a8c3994ae54b1775686552f549605a7fc2ba5646
2017-06-05 20:10:28 -07:00
Marco Castelluccio
adc55303d4 Bug 1322803 - Allow setting additional rustflags via mozconfig. r=ted
--HG--
extra : rebase_source : 996d0e0f9ac85c10ad7b188585e823da74407384
2017-06-06 01:05:10 +01:00
Kris Maglione
fc7b949c51 Bug 1370027: Part 2 - Use Subprocess.jsm rather than nsIProcess to create the Browser Toolbox process. r=bgrins
Using nsIProcess has the side-effect of spawning a NSPR process wait loop
thread, which makes it impossible for other IPC code to waitpid on its own
processes, and check their exit status. There are other instances that need to
be changed as well, but this is the one that developers are most likely to run
into.

MozReview-Commit-ID: L0WyOxlXbkk

--HG--
extra : rebase_source : 0b128c187a2d18dd6fb226bb718ede9ce97ece4b
2017-06-06 16:15:38 -07:00
Kris Maglione
9c37be53dc Bug 1370027: Part 1 - Cleanly handle a subprocess child being reaped by NSPR. r=aswan
The first time any other code in the parent process uses NSPR (usually via
nsIProcess) to spawn a new process, it spawns a thread to contuously wait for
any child process to exit. This thread winds up reaping our child processes
before we get the chance to wait for them, which leads us to continuously poll
for them to exit.

We don't have a good way to handle this, but checking the error status of
waitpid at least prevents us from failing catastrophically.

MozReview-Commit-ID: 75Z1yUHUmjy

--HG--
extra : rebase_source : db45f781190b6fc84873c32c611134326736a1ba
2017-06-06 16:00:53 -07:00
Sebastian Hengst
481ca2cea0 Backed out changeset 47ce8dbb036e (bug 1356189) for no tests result for own test await-restricted-nested.js on Windows 7 VM opt. r=backout 2017-06-07 20:27:53 +02:00
Mats Palmgren
4ab8b6f8bc Bug 1370700 part 2 - Use mAttributeCache.GetOrInsert() to avoid a second hashtable lookup for Put(). r=froydnj
MozReview-Commit-ID: BE6vztn6ljl
2017-06-07 20:03:19 +02:00
Mats Palmgren
6cdee8c35e Bug 1370700 part 1 - Use mAttributeCache.LookupRemoveIf() to avoid a second hashtable lookup for Remove(). r=froydnj
MozReview-Commit-ID: CrIb6DcE1D7
2017-06-07 20:03:19 +02:00
Mason Chang
e6ddf2c3c1 Bug 1258781 Add pref for content skia font cache size. r=erahm 2017-06-07 10:11:17 -07:00
Ehsan Akhgari
3cc0bd4b17 Backout bug 1361461 due to potentially introducing some intermittent reftest failures 2017-06-07 13:01:24 -04:00
Tobias Schneider
4dcf7f2e6f Bug 1369363 - Test for crash in nsLayoutUtils::TransformFrameRectToAncestor.
--HG--
extra : rebase_source : c7e3cb5e8733ea1a53c77838bed38953580de817
2017-06-06 10:44:42 -07:00
Boris Zbarsky
2f1f31e6d0 Bug 1370640. Get rid of ProtoAndIfaceCache::EntrySlotIfExists. r=peterv 2017-06-07 12:56:27 -04:00
Boris Zbarsky
40b47041ab Bug 1370614. Replace some uses of ProtoAndIfaceCache::EntrySlotIfExists with a faster boolean-returning test function. r=froydnj 2017-06-07 12:56:27 -04:00
Michael Layzell
b8affd20db Bug 1365032 - Part 2: Add a test for propagating properties of windows across window.open, r=smaug
MozReview-Commit-ID: i7cW9rd0eO
2017-06-07 12:55:07 -04:00
Michael Layzell
b0be882522 Bug 1365032 - Part 1: Allow changing processes when opening a new window with noopener, r=smaug
MozReview-Commit-ID: CXKjDxmoXVH
2017-06-07 12:54:59 -04:00
Michael Layzell
e9a9541ee7 Bug 1368046 - Part 2: Propagate OriginAttributes across processes for RecvCreateWindowInDifferentProcess, r=smaug
MozReview-Commit-ID: 8ok4DI9zgfR
2017-06-07 12:54:57 -04:00
Michael Layzell
ac7ba92fd5 Bug 1368046 - Part 1: Propagate window.name across processes for RecvCreateWindowInDifferentProcess, r=smaug
MozReview-Commit-ID: 6xmLN9pbCKd
2017-06-07 12:54:53 -04:00
Sebastian Hengst
eaba7e1d97 Backed out changeset 51c81beac6aa (bug 1158445) for bustage on Android in mfbt/Poison.cpp. r=backout 2017-06-07 18:25:48 +02:00
Jason Laster
e67d86c8f3 Bug 1370324 - Update Debugger frontend (v0.5) (6/5/2017). r=jdescottes
MozReview-Commit-ID: A6Oz0XnBHuJ

--HG--
extra : rebase_source : 20268bbcad4f1c431cf6567968c9486b709f7211
2017-06-07 17:53:35 +02:00
André Bargull
d50d361001 Bug 1356189 - Ensure 'await' is always a restricted identifier when parsing modules. r=shu 2017-06-06 01:42:18 -07:00
Martin Robinson
9915ffcbc3 Bug 1370530 - Convert more CSS filters to WebRender display items. r=jrmuizel
Activate WebRender output for filters that introduce only one pixel
differences in tests. Since the filters spec does not seem to specify
how color values are rounded, this output should be spec compliant.
2017-06-07 03:43:00 -04:00
Michael Ratcliffe
55b26ee7b7 Bug 1366535 - convert uses of defer to new Promise in client/storage r=nchevobbe
MozReview-Commit-ID: LXFr5hAlHZe

--HG--
extra : rebase_source : c8245b1a3361ae276dec86e1553872ed31220f52
2017-06-05 21:58:23 +01:00
Kate Ustiuzhanina
82b8c9fead Bug 1367094 - Measure the size of successful and failed pings. r=gfritzsche
MozReview-Commit-ID: KSt07czm7Kt

--HG--
extra : rebase_source : 588835ced106e7effe1afbd6e6490af2313f4cd4
2017-06-06 16:52:41 +01:00
Ian Bicking
c4d9ddfaf1 Bug 1370383 - Export Screenshots 9.0.0 to Firefox; r=standard8
--HG--
extra : rebase_source : ac3c11c0383ab7cac3417b8d218d931d8f592e1b
2017-06-05 17:11:19 -05:00