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

589471 Коммитов

Автор SHA1 Сообщение Дата
Gabriel Luong b618527ebd Bug 1447562 - Show the 3 pane inspector toggle button in nightly only. r=pbro 2018-04-05 14:21:23 -04:00
Gabriel Luong e9ff3da166 Bug 1433611 - Adjust the widths of the split box on toggling on the 3 pane inspector. r=pbro
When the inspector is in landscape mode, it will first try to toggle on the 3 pane mode by
creating a middle/bottom-left panel with the same sidebar width, but if doubling the
original  sidebar width will be bigger than half of the toolbox's width, we will instead
toggle on the 3 pane mode with all panels being of equal widths.

When the inspector is in portrait mode, it will just toggle on its T shape pane such that
the 2 bottom panes are equal widths.

We also increased the breakpoint width of the toolbox's side view to 1000px so that it
will keep its T shape in portrait mode until the toolbox's width is bigger than 1000px.
2018-04-05 14:21:13 -04:00
Dan Minor d474e7f00c Bug 1432793 - Add gtests for simulcast screenshare and odd resolutions; r=bwc
MozReview-Commit-ID: ADBh7SCVgoC

--HG--
extra : rebase_source : 561a924560c0dbffbc95317b4cc5303dec6a8de6
2018-04-04 13:09:06 -04:00
Dan Minor edc3382dd2 Bug 1432793 - Add mochitest for odd simulcast resolutions; r=bwc
This creates a simulcast stream with an odd resolution. This previously would
have caused a runtime assertion failure and crash.

MozReview-Commit-ID: IsywVOu6UeV

--HG--
extra : rebase_source : 7ad1cbe7dd36ccdd7a05e0c0a83db98a36c8c416
2018-04-04 09:24:28 -04:00
Dan Minor 3eee879885 Bug 1432793 - Force screensharing simulcast to one layer and stop generating layers once an odd width and height are found; r=bwc
This limits screensharing simulcast to a single layer. When window sharing, our
source video can have arbitrary dimensions. If one of those dimensions ends up
being odd, the aspect ratio of the smaller layer will not match the aspect ratio
of the odd sized layer, causing a runtime assertion failure and crash.

It is not sufficient to prevent the creation of odd sized layers in
CreateEncoderStreams because the user can resize the window while it is being
shared, which will cause a fatal assertion prior to the streams being recreated.

When switching back from window sharing to camera, a call to
CreateEncoderStreams will occur with resolutions matching the dimensions of
the window that was just shared. To prevent a crash, this also adds a check
which prevents the creation of layers with odd resolutions.

Looking at cricket::GetSimulcastConfig for the version of webrtc.org in tree,
the number of simulcast layers is limited to one, or two if a field experiment
is enabled. That code also limits resolutions at which screensharing is allowed
as well as the number of layers that can be created for each resolution, and
ensures that each layer is exactly half the size of the layer above.

Adding these new constraints to CreateEncoderStreams makes us more consistent
with what the webrtc.org code would do when creating streams, which should
help to avoid more assertion failures in the future. Long term, I believe we
should just switch to using cricket::GetSimulcastConfig.

MozReview-Commit-ID: 8gjdY5GPPjl

--HG--
extra : rebase_source : b13b7acdac7f1e0b6016417b83bbe97dc2417a92
2018-03-28 11:07:54 -04:00
Dorel Luca 19f62f31a4 Backed out changeset 0222a82d1e90 (bug 1360198) for Talos exceptions on windows machines. CLOSED TREE 2018-04-05 21:10:34 +03:00
Dorel Luca 4ea3199177 Backed out changeset 186241aaea35 (bug 1360198) for Talos exceptions on windows machines. CLOSED TREE 2018-04-05 21:10:24 +03:00
Jonathan Kew c66fb1e660 Bug 1451296 - Make enabling of font-variation-settings and font-optical-sizing properties dependent on adequate platform support at runtime. r=lsalzman 2018-04-05 18:53:56 +01:00
Alexis Beingessner 912939d028 Bug 1449976 - Add regression test for fast-shadow clipping. r=jrmuizel
--HG--
extra : amend_source : c72fa00d3895d87d6802488673e4ceee023e7ca6
2018-04-03 13:01:00 -04:00
Boris Zbarsky 83412146ec Bug 1449631 part 13. Remove now-unnecessary forwarding macros. r=smaug
MozReview-Commit-ID: 6teO2KoGqUo
2018-04-05 13:42:42 -04:00
Boris Zbarsky a0b6e32bba Bug 1449631 part 12. Remove the Nullable smuggling from nsIDOMEventTarget. r=smaug
MozReview-Commit-ID: 73qhRSCpr3S
2018-04-05 13:42:42 -04:00
Boris Zbarsky 0b77426fa7 Bug 1449631 part 11. Remove nsIDOMEventTarget::AddSystemEventListener. r=smaug
The security checks outer window did here don't seem right, because the whole
point is that this method is only called by C++ code for its own purposes.
We're not adding random untrusted listeners via addSystemEventListener!

MozReview-Commit-ID: JdS5gTESclu
2018-04-05 13:42:42 -04:00
Boris Zbarsky 2cdc7450c3 Bug 1449631 part 10. Devirtualize AddEventListener. r=smaug
The CanCallerAccess check in the "webidl" version of
nsGlobalWindowOuter::AddEventListener was pointless, because bindings never
call things on outer windows.

MozReview-Commit-ID: 1CGMJ277bPu
2018-04-05 13:42:42 -04:00
Boris Zbarsky 88937275cc Bug 1449631 part 9. Remove nsIDOMEventTarget::AddEventListener. r=smaug
Also switch the XPCOM-y version of EventTarget::AddEventListner to a
Nullable<bool> for aWantsUntrusted.

The three-arg overload of AddEventListener in ContentFrameMessageManager was
never called, so all the AddEventListener overloads there are not needed.

MozReview-Commit-ID: 4IhqHmPVWzE
2018-04-05 13:42:42 -04:00
Boris Zbarsky 14f26fccf6 Bug 1449631 part 8. Remove nsIDOMEventTarget::GetEventTargetParent. r=smaug
MozReview-Commit-ID: 5wQ2LYrjUxf
2018-04-05 13:42:41 -04:00
Boris Zbarsky adbcff27c1 Bug 1449631 part 7. Remove nsIDOMEventTarget::GetTargetFor* methods. r=smaug
MozReview-Commit-ID: AIzDo67mTDf
2018-04-05 13:42:41 -04:00
Boris Zbarsky 4292bca4ee Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Boris Zbarsky 553b5d6aae Bug 1449631 part 5. Move Will/Pre/PostHandleEvent out of nsIDOMEventTarget. r=smaug
MozReview-Commit-ID: K2nOZNPy0XE
2018-04-05 13:42:41 -04:00
Boris Zbarsky 053e2c9b36 Bug 1449631 part 4. Remove nsIDOMEventTarget::GetContextForEventHandlers. r=smaug
MozReview-Commit-ID: ID0FDvp28HY
2018-04-05 13:42:40 -04:00
Boris Zbarsky 7c94e8697f Bug 1449631 part 3. Remove nsIDOMEventTarget::RemoveSystemEventListener. r=smaug
MozReview-Commit-ID: F67Od8surQ8
2018-04-05 13:42:40 -04:00
Boris Zbarsky 1dce94cf16 Bug 1449631 part 2. Remove nsIDOMEventTarget::RemoveEventListener. r=smaug
We can't have a null content in
ScrollbarActivity::StopListeningForScrollAreaEvents, because only viewport
frames have a null GetContent().

MozReview-Commit-ID: 9iAg0ivVqqG
2018-04-05 13:42:40 -04:00
Boris Zbarsky a4c5e65aa3 Bug 1449631 part 1. Remove JS uses of nsIDOMEventTarget. r=smaug
MozReview-Commit-ID: CCHCZjMgInu
2018-04-05 13:42:40 -04:00
Peter Moore 25b7539ba9 Bug 1360198 - improve code comments per review feedback,r=dustin 2018-04-05 19:04:39 +02:00
Peter Moore 87e9b41b25 Bug 1360198 - don't set expiry for generic-worker task artifacts,r=dustin 2018-04-05 18:56:08 +02:00
Marco Castelluccio dbeabc37e3 Bug 1423667 - Reenable some tests that were disabled because of a Clang update. r=jmaher
--HG--
extra : rebase_source : 1ace11df58e858905e9d53c32d9cf8e1f75046d4
2018-04-05 09:20:47 +01:00
Tom Schuster cfa2f46eca Bug 1404744 - Change more web-platform tests to avoid using FTP. r=me CLOSED TREE
--HG--
extra : rebase_source : ed6856f6e4a1901bd1cf7250143550a842bb68a7
2018-04-05 18:11:20 +02:00
Noemi Erli f4ff690634 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-05 18:22:46 +03:00
Noemi Erli d0413b711d Merge inbound to mozilla-central. a=merge 2018-04-05 18:15:37 +03:00
Boris Zbarsky 71517dfd71 Bug 1451199. Fix the handling of .onchange in MediaQueryList to match the handling of addEventListener('change'). r=emilio
MozReview-Commit-ID: 4YvJ0m0BOnQ
2018-04-05 08:34:46 -04:00
Tiberius Oros 784748948c Backed out changeset aecbdcadaf96 (bug 1451319) for linting opt failures /builds/worker/checkouts/gecko/testing/mozbase/mozcrash/tests/conftest.py:90 on a CLOSED TREE
--HG--
extra : amend_source : 35e120af14725c1cc045f729e0d5b36fab2a1cfd
2018-04-05 14:53:07 +03:00
Nicolas B. Pierron 56eef529a8 Bug 1451456 - Index documentation of JSMSG_EMPTY_ARRAY_REDUCE. r=fscholz 2018-04-05 11:53:02 +00:00
ui.manish 03e35989f7 Bug 1451701 - Remove unused toolbar button dropdown arrow images. r=dao
--HG--
extra : rebase_source : 85b9919c6f5de33b6ae47631bc08eb0997d53290
2018-04-05 13:39:30 +02:00
ui.manish 15deaa2313 Bug 1451713 - Use SVG icon for verification failed in update UI. r=dao
--HG--
extra : rebase_source : 09604d2832da268dc2a4ea57785c3af8c853f3bb
2018-04-05 15:28:42 +02:00
Ben Kelly fad5d8c778 Bug 1450269 Remove the BroadcastChannel inner-window-destroyed observer in favor of DisconnectFromOwner(). r=baku 2018-04-05 07:55:16 -07:00
Joel Maher c3afe5f470 Bug 1445164 - Disable /css/css-tables/table-model-fixup-2.html on linux64-qr. r=jet 2018-04-05 10:31:13 -04:00
Paolo Amadini 9507600d75 Bug 1451691 - Unify the markup of toolbar buttons of the menu type. r=enn
MozReview-Commit-ID: CT2ezCzucsL

--HG--
extra : rebase_source : 4dd837189433fe687f71dc65169fcf141be66287
2018-04-05 11:46:00 +01:00
Tom Schuster f2161b8a15 Bug 1404744 - Simple sub-resource only test. r=ckerschb
--HG--
extra : rebase_source : b9f35ec37ae00eb4c3a8d3fbcb3eb0e488351527
2018-04-01 20:07:06 +02:00
Tom Schuster 1575d1bf05 Bug 1450574 - Remove NoExpressionClosure FunctionSyntaxKind values. r=jorendorff
--HG--
extra : rebase_source : 95436039d196fead4171ba91efa33ee28e3cfae5
extra : histedit_source : 344857f80c7b6b9a692b6f82f87211f96d9ff432
2018-04-01 18:47:52 +02:00
Noemi Erli e624a263b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-05 13:44:11 +03:00
Noemi Erli f4d2c09aba Backed out changeset c9db3f332a19 (bug 1440753) for content sometimes not being rendered (bug 1451597). a=backout 2018-04-05 13:15:35 +03:00
Noemi Erli ff466e94c1 Merge inbound to mozilla-central. a=merge 2018-04-05 13:02:11 +03:00
Emilio Cobos Álvarez 3c69ce8551 Bug 1451405: Notify debug-only image observers off a script-runner. r=bz
MozReview-Commit-ID: ARn8d2Rxp13
2018-04-05 11:45:40 +02:00
Noemi Erli 112dc4a070 Backed out changeset e72d2ab40d64 (bug 1450959) for failing in builds/worker/workspace/build/src/obj-firefox/dist/include/js/UbiNode.h on a CLOSED TREE 2018-04-05 11:55:19 +03:00
Tim Taubert 4bac1121e4 Bug 1445317 - Correct WebAuthn notification icon tooltip text r=jcj
Reviewers: jcj

Reviewed By: jcj

Bug #: 1445317

Differential Revision: https://phabricator.services.mozilla.com/D845

--HG--
extra : amend_source : 16d55e0b25a395fea0273f2a07cee6043c812fb5
2018-04-05 10:29:15 +02:00
Bob Owen a1b4f405f6 Bug 1449348: Pref off win32k disable for GMP due to intermittent failures. r=jimm 2018-04-05 09:07:49 +01:00
Jeff Muizelaar dbb95d3a78 Bug 1450162. Add a crash test that invalidates our previous assumptions. r=mstange 2018-04-04 23:05:00 -04:00
Lars T Hansen b3a02fddbc Bug 1451292 - Better payload for arm64 breakpoint instruction. r=sstangl
At least some non-zero payloads confuse GDB and make it iloop on the
breakpoint instruction rather than break to the command line as it
should.  There seems to be no reason not to use a zero payload.

--HG--
extra : rebase_source : 6d6f9aa2911b86b02572f88948d48bc2238c6353
extra : amend_source : 9fed9235d481a9eadafc4a3e0075c9fef8b6050d
2018-04-04 15:48:48 +02:00
Andrea Marchesini 933fa97728 Bug 1450959 - TimeStamp class doesn't need to be friend of StartupTimelineRecordExternal, r=glandium 2018-04-05 06:44:31 +02:00
Nicholas Nethercote 1ad4d0e314 Bug 1451169 - Reduce indirection for static pointers in txCoreFunctionCall.cpp. r=erahm
The patch also adds more `const` to txCoreFunctionDescriptor.

MozReview-Commit-ID: 6VFyAcjD98F

--HG--
extra : rebase_source : db054286e7e236775d686e406c6e05a18d5b5f35
2018-04-03 22:15:31 +10:00
Nicholas Nethercote e0c05abb10 Bug 1451169 - Reduce indirection for PseudoParentData::mPseudoType. r=xidorn
MozReview-Commit-ID: CiXGCKrpfCB

--HG--
extra : rebase_source : a2c22543668887d1fd20065e71f359aaf33795d9
2018-04-03 22:15:31 +10:00