Commit Graph

552722 Commits

Author SHA1 Message Date
Ryan Hunt
f695471892 Bug 1390755 - Rename PaintThread and CompositorBridgeChild methods to be more unified. r=mchang
MozReview-Commit-ID: FpwIqEmmvbg

--HG--
extra : rebase_source : 6577c8591748b65752bde1ff30e2f183a52cd3ec
extra : histedit_source : 0d08ed24d071a85159be34e7194ed6dc3cdda65f
2017-08-16 16:02:13 -05:00
Ryan Hunt
0b44973fe4 Bug 1390755 - Ensure PaintThread::EndTransaction runs before IPDL messages are resumed. r=mchang
MozReview-Commit-ID: GdSKTxtqWRA

--HG--
extra : rebase_source : 68a114d00f292ad57c995e77bd7d013fb8a4d098
extra : histedit_source : 340ca92a22d96beda099d08d58548504d3bc6d61
2017-08-16 13:55:57 -05:00
Ryan Hunt
c909502278 Bug 1390755 - Notify the paint thread that a layer transaction is completed so it can unblock the main thread. r=mchang
MozReview-Commit-ID: 7kQHWUwek7v

--HG--
extra : rebase_source : a1837e2f3425b241b578a8903f60e43c2606cdaf
2017-08-16 01:04:41 -05:00
Bill McCloskey
a5168688f9 Bug 1382922 - Fix test bustage on a CLOSED TREE
MozReview-Commit-ID: D03XhT1oTP0
2017-08-16 21:27:14 -07:00
Bill McCloskey
12e61085ce Bug 1382922 - Fix build bustage on a CLOSED TREE
MozReview-Commit-ID: 2Ls9zhiXXgS
2017-08-16 21:11:59 -07:00
Phil Ringnalda
658d75701f Merge m-c to m-i
MozReview-Commit-ID: 8Njn4Fmf9sZ
2017-08-16 21:06:12 -07:00
Phil Ringnalda
478ce5e764 Backed out changeset 6b3566842a84 (bug 1390453) for ASan permaorange in test_eme_canvas_blocked.html
MozReview-Commit-ID: 7kGuQ4YGPuj
2017-08-16 20:58:18 -07:00
Bill McCloskey
9edd615af7 Bug 1382922 - Refactor event queue to allow multiple implementations (r=erahm)
This patch refactors the nsThread event queue to clean it up and to make it easier to restructure. The fundamental concepts are as follows:

Each nsThread will have a pointer to a refcounted SynchronizedEventQueue. A SynchronizedEQ takes care of doing the locking and condition variable work when posting and popping events. For the actual storage of events, it delegates to an AbstractEventQueue data structure. It keeps a UniquePtr to the AbstractEventQueue that it uses for storage.

Both SynchronizedEQ and AbstractEventQueue are abstract classes. There is only one concrete implementation of SynchronizedEQ in this patch, which is called ThreadEventQueue. ThreadEventQueue uses locks and condition variables to post and pop events the same way nsThread does. It also encapsulates the functionality that DOM workers need to implement their special event loops (PushEventQueue and PopEventQueue). In later Quantum DOM work, I plan to have another SynchronizedEQ implementation for the main thread, called SchedulerEventQueue. It will have special code for the cooperatively scheduling threads in Quantum DOM.

There are two concrete implementations of AbstractEventQueue in this patch: EventQueue and PrioritizedEventQueue. EventQueue replaces the old nsEventQueue. The other AbstractEventQueue implementation is PrioritizedEventQueue, which uses multiple queues for different event priorities.

The final major piece here is ThreadEventTarget, which splits some of the code for posting events out of nsThread. Eventually, my plan is for multiple cooperatively scheduled nsThreads to be able to share a ThreadEventTarget. In this patch, though, each nsThread has its own ThreadEventTarget. The class's purpose is just to collect some related code together.

One final note: I tried to avoid virtual dispatch overhead as much as possible. Calls to SynchronizedEQ methods do use virtual dispatch, since I plan to use different implementations for different threads with Quantum DOM. But all the calls to EventQueue methods should be non-virtual. Although the methods are declared virtual, all the classes used are final and the concrete classes involved should all be known through templatization.

MozReview-Commit-ID: 9Evtr9oIJvx
2017-08-16 20:55:43 -07:00
Yura Zenevich
7a394bf55e Bug 1377276 - add modal dialog semantics and better accessibility for onboarding overlay dialog. r=mossop, gasolin, rexboy
MozReview-Commit-ID: 9xyhn7jLJqD
2017-08-16 23:49:54 -04:00
Phil Ringnalda
38fcdf7831 Backed out changeset 20640980065f (bug 1389787) for eslint failure
MozReview-Commit-ID: FvOlAbSEaLT
2017-08-16 20:26:49 -07:00
Oriol Brufau
613499796d Bug 1389787 - Let the console unwrap proxy objects to avoid running traps. r=jimb 2017-08-16 23:11:00 -04:00
Yura Zenevich
64d3370f05 Bug 1377298 - improve semantics and keyboard accessibility of tour tabs UI in onboarding overlay. r=mossop, gasolin
MozReview-Commit-ID: Iay3mL6RJKF
2017-08-16 22:00:18 -04:00
Wes Kocher
9e13a44b54 Merge inbound to central, a=merge
MozReview-Commit-ID: GEfEDRZk5bo
2017-08-16 16:59:26 -07:00
Kris Maglione
cc7b4984ba Bug 1391099: Avoid using checkLoadURIStrWithPrincipal. r=mixedpuppy
checkLoadURIStrWithPrincipal runs URLs through the URI fixup services and
checks against each of the results. This is both expensive and unnecessary for
our purposes.

MozReview-Commit-ID: 4L2Z4KuMZhQ

--HG--
extra : rebase_source : 9b72c8e4c6b0a48541b94871f507ce029be664c7
extra : amend_source : d20b032a6ddf9b9804a14e528094bc6867d5b728
2017-08-16 16:29:06 -07:00
Wes Kocher
9aa04a95f3 Merge autoland to central, a=merge
MozReview-Commit-ID: Fv1T41t9Gof
2017-08-16 15:30:39 -07:00
Ryan VanderMeulen
84df616efe Backed out 5 changesets (bug 1366664) for landing non-localizable strings.
Backed out changeset e5dfbde553d6 (bug 1366664)
Backed out changeset e078166d9857 (bug 1366664)
Backed out changeset 014d0def1489 (bug 1366664)
Backed out changeset 51868598947e (bug 1366664)
Backed out changeset 6a21eb146fba (bug 1366664)
2017-08-16 16:34:06 -04:00
ffxbld
5ce320a16f No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-08-16 10:10:45 -07:00
ffxbld
8b97f39049 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-08-16 10:10:42 -07:00
Wes Kocher
9a955fd0b3 Backed out 2 changesets (bug 1380701) for bustage in SandboxBroker a=backout
Backed out changeset 6cef83dd4d11 (bug 1380701)
Backed out changeset 4456ebfe5657 (bug 1380701)

MozReview-Commit-ID: Cnfj7TZvCbv
2017-08-16 09:46:48 -07:00
Carsten "Tomcat" Book
eea1986e03 merge mozilla-inbound to mozilla-central a=merge 2017-08-16 11:23:24 +02:00
Carsten "Tomcat" Book
1fc6e56a12 merge autoland to mozilla-central a=merge 2017-08-16 11:20:31 +02:00
Carsten "Tomcat" Book
d82373eb66 Backed out changeset 9758617c1833 (bug 1376895) for test failures in own test 2017-08-16 11:17:39 +02:00
Carsten "Tomcat" Book
786ca37886 Backed out changeset 6949fdc7f97c (bug 1376895) 2017-08-16 11:16:04 +02:00
Carsten "Tomcat" Book
a478b0ef54 Backed out changeset adf5ed713e0d (bug 1376895) 2017-08-16 11:15:50 +02:00
Gabriel Luong
1df5aa37ef Bug 1390298 - Fix unit tests with browser_boxmodel_navigation.js not recognizing ".boxmodel-main .devtools-monospace". r=me 2017-08-16 00:33:38 -07:00
Jan de Mooij
9a7bf50e92 Bug 1390159 - Remove throw-on-set setProperty hooks on WrappedNatives. r=mrbkap 2017-08-16 09:01:56 +02:00
Jan de Mooij
503f557cde Bug 1390471 - Remove xpcshell's environment object. r=bholley 2017-08-16 09:00:44 +02:00
Aki Sasaki
9d3cf9697f bug 1383771 - back out d25db0546c92 (reland ffc2e43aa834). r=backout a=release
MozReview-Commit-ID: LlNo4Npariw

--HG--
extra : transplant_source : %86Z0%DF%CA%04%B6%AB%2B%0Dz%AF%D6%16%D2%ED%B6%A0%93%F6
2017-08-15 22:54:08 -07:00
Wes Kocher
7921644d1b Merge inbound to central, a=merge
MozReview-Commit-ID: 1DadhJTLBXN
2017-08-15 19:02:51 -07:00
Wes Kocher
5a4fb82b72 Merge autoland to central, a=merge
MozReview-Commit-ID: FOw9Q98gVXH
2017-08-15 18:51:25 -07:00
Aki Sasaki
03c0e3b9cb bug 1383771 - back out ffc2e43aa834 until we fix bug 1390552. r=backout a=release 2017-08-15 14:25:04 -07:00
Ryan VanderMeulen
c0706372d9 Merge m-c to autoland. a=merge 2017-08-15 15:00:18 -04:00
Stephen Horlander
9b2da10fd1 Bug 1390358 - Improve Nightly Branding iteration 04. r=mconley, a=RyanVM 2017-08-15 14:56:03 -04:00
ffxbld
13148faaa9 No bug, Automated HPKP preload list update from host bld-linux64-spot-309 - a=hpkp-update 2017-08-15 10:02:09 -07:00
ffxbld
e0eb15e049 No bug, Automated HSTS preload list update from host bld-linux64-spot-309 - a=hsts-update 2017-08-15 10:02:05 -07:00
Jason Laster
d4137437f7 Bug 1389503 - Don't fail when an SVG is not found. r=jdescottes 2017-08-15 10:01:00 -04:00
Sebastian Hengst
aaeaf6ba8a Backed out changeset 21619c674c86 (bug 1348361) for failing mochitest test_group_zoom.html on Android and robocop tests. r=backout 2017-08-15 21:08:14 +02:00
Andrew Osmond
2aac283f14 Bug 1389479 - Part 3. AnimationSurfaceProvider no longer needs to always dispatch to free its RasterImage. r=tnikkel 2017-08-15 15:02:14 -04:00
Andrew Osmond
5360de90d7 Bug 1389479 - Part 2. Make the SurfaceCache free ImageSurfaceCache objects outside of the lock. r=tnikkel 2017-08-15 15:02:14 -04:00
Andrew Osmond
42266555ed Bug 1389479 - Part 1. Add nsExpirationTracker::NotifyEndTransaction(Locked) callbacks for subclasses to know when an aging iteration is complete. r=froydnj 2017-08-15 15:02:14 -04:00
Ting-Yu Lin
8093e51fed Bug 1382102 - Update mochitest expectation. r=emilio
MozReview-Commit-ID: FCLxWKZ5Qap

--HG--
extra : rebase_source : c9624c7cb9ad9b3edafe4882bb6703b8809041b1
2017-08-15 20:44:49 +08:00
Ricky Chien
5a062d69af Bug 1377174 - Tweak margin to match the spec r=jaws
--HG--
extra : rebase_source : f8240aa0f2b0c356d53eb50a5d8d21a6e8038589
2017-08-16 15:59:34 +08:00
Ting-Yu Lin
01b76e9c9a servo: Merge #18104 - style: Skip matching :nth-child if element is the root of anonymous subtree (from aethanyc:fix-nth-child-xbl-bug1382102); r=emilio
This was reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1382102

Source-Repo: https://github.com/servo/servo
Source-Revision: 24270f93571e0a1254d402f1c897bcc1ebbbd459

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 85d26b1d4274515b33d5b2cb55e461e863ab4a0b
2017-08-16 01:47:46 -05:00
Sebastian Hengst
e6b40af388 Backed out changeset 76c117fe7e14 (bug 1377174) for failing browser_all_files_referenced.js. r=backout 2017-08-16 09:46:06 +02:00
Sebastian Hengst
ea277f4c6a Backed out changeset 4b420cda531b (bug 1389002) so bug 1377174 can be backed out. r=backout 2017-08-16 09:44:42 +02:00
Sebastian Hengst
bbd6794abc Backed out changeset 0ae3b8deb294 (bug 1361952) so bug 1377174 can be backed out. r=backout 2017-08-16 09:42:45 +02:00
Jan Odvarko
5183203fb1 Bug 1390077 - Add readme about stubs generator instructions; r=nchevobbe
MozReview-Commit-ID: Ka6igCDyqRE

--HG--
extra : rebase_source : b0800699349cfddce7252d5301152b3e8fe2285c
2017-08-15 15:10:49 +02:00
Oriol
df52d2e9c4 Bug 1380506 - Prevent the console from searching safe getters in proxy objects. r=bgrins 2017-08-15 08:29:00 -04:00
Ryan VanderMeulen
ae7ec9627d Merge m-c to inbound. a=merge 2017-08-15 14:59:26 -04:00
Andreas Tolfsen
6358549fc7 No bug: Generate Marionette API docs. r=me
MozReview-Commit-ID: L9YAB4WCZmu
2017-08-15 19:56:04 +01:00