Commit Graph

630405 Commits

Author SHA1 Message Date
Paolo Amadini
408c7eca26 Bug 1517507 - Part 3 - Share the table row creation and update code. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15664

--HG--
extra : rebase_source : cb05da81aca921417af98132537e1b03b6d06f53
extra : amend_source : d2509aede2d31582598d002aed1e7f0a0955b6c7
2019-01-08 11:48:29 +00:00
Paolo Amadini
1b5ec2acdf Bug 1517507 - Part 2 - Improve validation of numeric input. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15663

--HG--
extra : rebase_source : 372f27d0b869ae9f50c465521287d434fdb7ccb5
extra : amend_source : ed009bc1c00bd716ee19c728c72d5adf3a08198f
2019-01-08 11:48:18 +00:00
Paolo Amadini
38ec686b2e Bug 1517507 - Part 1 - Add in-content styling for input[type="number"]. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15662

--HG--
extra : rebase_source : 9531e45f894a9b110a651a0ae965bfdd9565fdaf
extra : amend_source : c13510a9179a1206bb095f92b8a0218eb5325407
2019-01-08 11:48:08 +00:00
Jon Coppeard
66048b9129 Bug 1518075 - Add check for null script because compilation can 'succeed' if scripting is disabled r=smaug 2019-01-08 10:41:48 +00:00
Oana Pop Rus
aec8de62bb Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-08 12:37:02 +02:00
Oana Pop Rus
3adbeba770 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-08 12:13:02 +02:00
Brian Birtles
c3ebaf6de2 Bug 1518374 - Add missing dom:: declaration to PendingAnimationTracker.cpp; r=hiro
Depends on D15903

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:46:23 +00:00
Brian Birtles
d012e4ca2e Bug 1518374 - Fix a bunch of fallout from changes to mozilla::dom::Document; r=hiro
Bug 1517241 renamed nsIDocument to mozilla::dom::Document but unfortunately in
the process it messed up the ordering of includes which, according to the coding
style[1], should be alphabetically sorted.

Also, in TimingParams.cpp it didn't add the dom::* prefix so when the unified
build chunking changes, if the "using namespace mozilla::dom" declaration
disappears from the chunk, it will fail to build.

[1] https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#CC_practices

Depends on D15902

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:45:18 +00:00
Brian Birtles
1fd4653bf3 Bug 1518374 - Move a couple of bool members next to each other in KeyframeEffect.h so they can be packed together; r=hiro
Depends on D15901

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:43:52 +00:00
Brian Birtles
361e464182 Bug 1518374 - Drop unused aEffectSet parameter from EffectCompositor::AllowCompositorAnimationsOnFrame; r=hiro
Depends on D15900

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:42:56 +00:00
Brian Birtles
8285a179ca Bug 1518374 - Mark GetKeyframes and GetTargetComputedStyle as const; r=hiro
Depends on D15899

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:42:17 +00:00
Brian Birtles
3ce2f154a0 Bug 1518374 - Remove obsolete comment in Animation.h about kNoIndex; r=hiro
As of bug 1203009 / changeset 37b6deedaab6 and per spec, we no longer reset the
animation index when an Animation re-enters the idle state and kNoIndex is no
longer defined.

Depends on D15898

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:41:34 +00:00
Brian Birtles
2c202a7e3c Bug 1518374 - Shuffle definitions in Animation.h; r=hiro
This arranges related declarations by function as opposed to trying to
distinguish between functions that are Web-facing and those that are not.

The order still corresponds to the order in the spec[1] however.

[1] https://drafts.csswg.org/web-animations-1/#the-animation-interface

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

--HG--
extra : moz-landing-system : lando
2019-01-08 06:47:43 +00:00
Tom Prince
4686a2003d No bug: [try-staging] Update balrog rules to match staging balrog; r=nthomas
The staging balrog server got reset to match production, so update the rules to match.

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

--HG--
extra : moz-landing-system : lando
2019-01-08 02:04:51 +00:00
Dragana Damjanovic
7bdd6628ba Bug 1514688 - In case we already have a h2 connection and it does not support websockets, we should not try again to use websockets over h2. r=michal
There are 2 parts of the patch:
1) we should not try to use websockets over h2 if we already know that they are not supported.
2) make sure that we clean up websockets waiting for the settings frame when we close a h2 connection. (the part 1) will fix the issue, this part is only to be 100% that we some how do not retrigger the issue)

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

--HG--
extra : moz-landing-system : lando
2019-01-07 23:09:35 +00:00
Randall Barker
66b1687bfb Bug 1507852 - Add GeckoView API to toggle desktop viewport support r=geckoview-reviewers,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D15598

--HG--
extra : moz-landing-system : lando
2019-01-08 00:58:16 +00:00
WR Updater Bot
92206415de Bug 1518390 - Update webrender to commit ca28ae618d249976a755db5419e5ec7c36bbfd1c (WR PR #3481). r=kats
https://github.com/servo/webrender/pull/3481

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

--HG--
extra : moz-landing-system : lando
2019-01-08 03:43:00 +00:00
WR Updater Bot
fcd0efb83f Bug 1518111 - Re-generate FFI header. r=kats
Depends on D15893

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

--HG--
extra : moz-landing-system : lando
2019-01-08 03:37:55 +00:00
WR Updater Bot
44b24d114c Bug 1518111 - Update webrender to commit cce627620aeecbe9e39cc2b39481f10d26aef892 (WR PR #3480). r=kats
https://github.com/servo/webrender/pull/3480

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

--HG--
extra : moz-landing-system : lando
2019-01-08 03:37:12 +00:00
Tooru Fujisawa
ac8d39d656 Bug 1517868 - Report unhandled rejections in JS shell. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D15792

--HG--
extra : moz-landing-system : lando
2019-01-08 02:34:57 +00:00
Bogdan Tara
77560bd888 Backed out 2 changesets (bug 1504659) for test_innerWidthHeight_script.html failures CLOSED TREE
Backed out changeset 0b7bbe6dda1d (bug 1504659)
Backed out changeset 2ebae5c1463b (bug 1504659)
2019-01-08 04:10:11 +02:00
Aaron Klotz
b4764bf8f4 Bug 1509929: Part 3 - Add TestSameBinary to launcher process tests; r=mhowell
This test ensures that IsSameBinaryAsParentProcess works correctly when
information about the current process's parent is no longer available.

It uses three processes which are outlined in the block comment at the top of
TestSameBinary.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-01-08 00:10:12 +00:00
Aaron Klotz
1914ecea36 Bug 1509929: Part 2 - Modify MakeCommandLine to accept an array of extra args that will be appended to the final result; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15447

--HG--
extra : moz-landing-system : lando
2019-01-08 00:09:52 +00:00
Aaron Klotz
7b47bb6e92 Bug 1509929: Part 1 - Move IsSameBinaryAsParentProcess to its own header; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15446

--HG--
extra : moz-landing-system : lando
2019-01-08 00:09:26 +00:00
Jeff Walden
718bf761d4 Bug 1518263 - Use Intl.NumberFormat objects to format numbers in about:memory rather than hand-rolling formatting code or using toLocaleString that will create a fresh formatter object every time it's called. r=heycam 2019-01-07 12:05:55 -08:00
André Bargull
5a7ec10946 Bug 1518101: Use calloc instead of malloc followed by memset for inlined TypedArray data allocation. r=jonco 2019-01-07 05:45:48 -08:00
Masayuki Nakano
a129d2b2b6 Bug 1516326 - part 2: Log more in KeymapWrapper r=m_kato
We haven't logged KeymapWrapper::HandleKeyPressEvent() nor
KeymapWrapper::HandleKeyReleaseEvent().  Therefore, this patch makes them
put their behavior into the log.

Additionally, KeymapWrapper::InitKeyEvent() does not log enough the result
of initialized WidgetkeyboardEvent.  This patch makes it log more.

With those changes, we can get the log of:
- detail of dispatched keyboard events
- which key event didn't cause keyboard events
- which keyboard event was consumed

Note that the utility methods are copied from widget/windows.  Perhaps,
we should create XP logging helper for keyboard/IME later.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 10:05:56 +00:00
Masayuki Nakano
0eed04a27d Bug 1516326 - part 1: Move implementation of nsWindow::OnKeyPress() and nsWindow::OnKeyRelease() into KeymapWrapper r=karlt
Move all implementation of nsWindow::OnKeyPress() and nsWindow::OnKeyRelease()
into KeymapWrapper because the implementation is a little bit complicated
but not loggable.  When we get bug reports which depend on environment around
IME/key handling like bug 1498823, it's useful to log those methods behavior
too.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 23:15:33 +00:00
Brad Werth
1d200a75b3 Bug 1504659 Part 2: Add tests of viewport RDM scroll behavior, with and without touch simulation. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13174

--HG--
extra : moz-landing-system : lando
2019-01-07 23:00:17 +00:00
Brad Werth
f93fd700e9 Bug 1504659 Part 1: Make RefreshVisualViewportSize allow non-APZ zooming, and call it during RefreshViewportSize. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D13173

--HG--
extra : moz-landing-system : lando
2019-01-07 22:56:58 +00:00
Kirk Steuber
ca450cef6f Bug 1518348 - Hide about:restartrequired from about:about r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D15888

--HG--
extra : moz-landing-system : lando
2019-01-08 00:09:44 +00:00
Bogdan Tara
96769dfd83 Backed out 3 changesets (bug 1509929) for mingw failures on TestSameBinary.cpp CLOSED TREE
Backed out changeset 8d432633f8fb (bug 1509929)
Backed out changeset 5ec50f23671e (bug 1509929)
Backed out changeset 8bdba9ec4d5b (bug 1509929)
2019-01-08 01:33:43 +02:00
Karl Tomlinson
f470a0dcbc Bug 1512737 assign HRTF to panningModel attribute instead of adding type property r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D14494

--HG--
extra : moz-landing-system : lando
2019-01-07 08:51:31 +00:00
Aaron Klotz
025eb3a5bd Bug 1509929: Part 3 - Add TestSameBinary to launcher process tests; r=mhowell
This test ensures that IsSameBinaryAsParentProcess works correctly when
information about the current process's parent is no longer available.

It uses three processes which are outlined in the block comment at the top of
TestSameBinary.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 22:36:55 +00:00
Aaron Klotz
ee8d23b14e Bug 1509929: Part 2 - Modify MakeCommandLine to accept an array of extra args that will be appended to the final result; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15447

--HG--
extra : moz-landing-system : lando
2019-01-07 22:36:33 +00:00
Aaron Klotz
7ee47561c5 Bug 1509929: Part 1 - Move IsSameBinaryAsParentProcess to its own header; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15446

--HG--
extra : moz-landing-system : lando
2019-01-07 22:36:08 +00:00
Tom Prince
a50e5641ef No bug: [taskgraph] Stop using deprecated test assertion failUnless; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D15867

--HG--
extra : moz-landing-system : lando
2019-01-07 22:21:34 +00:00
Bogdan Tara
066e0a3ec1 Backed out changeset 6ce5f09669e3 (bug 1517337) for test_oskeystore.js failures CLOSED TREE 2019-01-08 00:20:19 +02:00
Wes Kocher
2beede3e4d Bug 1294933 - Only release the reference to the mac dockmenu when the hidden window is shutdown r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D15617

--HG--
extra : moz-landing-system : lando
2019-01-07 21:49:44 +00:00
alwu
6b72f94b2f Bug 1513039 - part14 : add new error message for web audio. r=baku,flod
Differential Revision: https://phabricator.services.mozilla.com/D14637

--HG--
extra : moz-landing-system : lando
2019-01-07 18:44:03 +00:00
alwu
a4a90d4976 Bug 1513039 - part13 : set 'mWasAllowedToStart' flag. r=karlt
'mWasAllowedToStart' would be set to false if AudioContext is not allowed to start, and would be set to true if AudioContext has been allowed to start.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:43:31 +00:00
alwu
294f48db51 Bug 1513039 - part12 : remove temporary allow. r=daleharvey,florian
After removing autoplay doorhanger, we won't have temporary allow.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:42:55 +00:00
alwu
b19b9b34f5 Bug 1513039 - part11 : remove pref 'media.autoplay.ask-permission'. r=cpearce
Depends on D14335

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:41:58 +00:00
alwu
edbf43dd41 Bug 1513039 - part10 : remove nsIAutoplay.PROMPT r=daleharvey,cpearce
Depends on D14334

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:41:03 +00:00
alwu
99419e95dd Bug 1513039 - part9 : remove autoplayMediaCombobox. r=daleharvey,flod
Use CheckedBox instead.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:39:35 +00:00
alwu
3e5817542c Bug 1513039 - part8 : remove autoplay prompt front-end codes. r=florian,daleharvey,flod
Remove autoplay prompt related js codes.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:38:26 +00:00
alwu
1f7a52686c Bug 1513039 - part7 : modify web audio autoplay test for removal of doorhanger r=karlt
Check whether web audio starts when calling calling resume() or
AudioScheduledNode.start() after granting user activation.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:36:11 +00:00
alwu
047b607301 Bug 1513039 - part6 : remove AutoplayPermissionManager and AutoplayPermissionRequest. r=cpearce,smaug
Depends on D14330

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:35:30 +00:00
alwu
2e3f453263 Bug 1513039 - part5 : log warning when autoplay is blocked. r=cpearce,karlt
Wrap 'nsContentUtils::ReportToConsole()' to reduce necessary input parameters and call it when we need to log error or warning message. Show the warning when autoplay is blocked.

For web audio, this restores the console messages removed in part4 and also reports the same message when the AudioContext is blocked in the constructor.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 19:57:48 +00:00
alwu
28a21fe0ad Bug 1513039 - part4 : remove permission request logic in AudioContext. r=karlt
AudioContext won't need to ask permission request anymore, and we will report error message in patch5.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:33:36 +00:00