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

625306 Коммитов

Автор SHA1 Сообщение Дата
Nico Grunbaum 0c719fb462 Bug 1489040 Update WebRTC ICE candidate stats field name ipAddress to address r=mjf,jib,smaug
Bug 1489040 - P1 - Update WebRTC ICE candidate stats field ipAddress to new name, address
Bug 1489040 - P2 - adjust WebRTC stats mochitest for new stat name 'address'
Bug 1489040 - P3 - add test for legacy WebRTC stat names

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

--HG--
extra : moz-landing-system : lando
2018-11-22 00:14:36 +00:00
Eitan Isaacson 30fe7d0849 Bug 1509111 - Populate viewIdResourceName correctly. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D12583

--HG--
extra : moz-landing-system : lando
2018-11-21 21:07:20 +00:00
Tom Prince d490d292f2 Bug 1507860: [taskgraph] Move most classes to use attrs; r=dustin
This moves most of the low-hanging fruit to use attrs.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 23:50:04 +00:00
Brian Grinstead 3f17f6b48b Bug 1508446 - Require that [accesskey] gets set on <xul:label> to enable formatting;r=paolo
Previously, if the accesskey attribute was missing then the label would reach up
to binding parent to find it's accesskey. In practice, bindings already do
[xbl:inherits=accesskey] to send it down to the label anyway.

The problem with this is that for controls without accesskeys, the attribute doesn't get set,
so the label will access the control from JS. This is fine for XBL, since typically
the label XBL will construct at the same time as the control, but when migrating
to Custom Elements, the label gets connected even when the control is hidden.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 22:35:44 +00:00
Ting-Yu Lin 4b1c23e4c2 Bug 1506216 - Remove bogus assert in AssertColumnSpanWrapperSubtreeIsSane(). r=bzbarsky
The assert is testing that the content's primary frame shouldn't
generate any native anonymous children, but what we really want to
ensure is that :-moz-column-span-wrapper doesn't create any native
anonymous child (because we don't restyle the wrapper), not the content
which creates ::-moz-column-span-wrapper. The condition is already
guaranteed by !aFrame->HasAnyStateBits(NS_FRAME_OWNS_ANON_BOXES) above.

Also, at this point during the frame construction, we haven't associate
the content with the its primary frame. Therefore,
nsContentUtils::AppendNativeAnonymousChildren() won't return anything
except for scrollbars on root element. That's why we have the crash in
this bug.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 18:59:00 +00:00
Dorel Luca ace910d684 Backed out 2 changesets (bug 1488442) for browser-chrome failures in browser/components/preferences/in-content/tests/browser_browser_languages_subdialog.js
Backed out changeset d683ee5ff088 (bug 1488442)
Backed out changeset 8d14b467d422 (bug 1488442)
2018-11-22 01:22:10 +02:00
k88hudson 078be8fa0c Bug 1499110 - Make CFR/ASR preferences compatible with roll-outs r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D12475

--HG--
extra : moz-landing-system : lando
2018-11-21 19:57:03 +00:00
Matt Brubeck b059d469bb Bug 1487542 - Change LoadRequest.isUserTriggered to isRedirect. r=snorp,smaug
Differential Revision: https://phabricator.services.mozilla.com/D12370

--HG--
extra : moz-landing-system : lando
2018-11-21 22:35:42 +00:00
Karl Tomlinson cbf2ec1e66 Bug 1508909 revert reformat of third-party ffmpeg headers r=jya
Changes to these files from 0ceae9db9ec0 are reverted.

# skip-blame

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

--HG--
extra : moz-landing-system : lando
2018-11-21 08:25:05 +00:00
Karl Tomlinson 9f96b7dd5a Bug 1508905 Include WebAudio files forked from Blink in static-analysis review support r=Ehsan
Given the differences already between upstream and this fork, I expect the pros of additional static analysis would out-weigh the cons.

Depends on D12508

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

--HG--
extra : moz-landing-system : lando
2018-11-21 04:08:13 +00:00
Karl Tomlinson 237046a29b Bug 1508905 Remove from clang-format-ignore WebAudio files forked from Blink r=Ehsan
Upstream of this fork has reformatted with clang-format, and so there seems
little value in leaving this fork in its original format.  It can be
reformatted to the new Mozilla style with clang-format, which will probably be
closer to the format upstream is now using.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 04:08:00 +00:00
Dão Gottwald 8f9711a2ea Bug 1508603 - Introduce a private scope around gBrowser. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D12429

--HG--
extra : moz-landing-system : lando
2018-11-21 18:22:43 +00:00
Emilio Cobos Álvarez cf56163d41 Bug 1509044 - FrameLoader.clipSubdocument is unused. r=jwatt,smaug
Plus it generally doesn't work for e10s, etc. etc.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 20:06:15 +00:00
Mark Striemer f398585595 Bug 1488442 - Part 2: Ensure added langpack is enabled r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D10981

--HG--
extra : moz-landing-system : lando
2018-11-21 22:09:14 +00:00
Mark Striemer 4f65e55040 Bug 1488442 - Part 1: Only list available locales in the requested set r=zbraniecki
Generally, this switches Services.locale.requestedLocales calls to use
Services.locale.appLocalesAsBCP47.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 22:09:07 +00:00
Mark Striemer 28551ead0f Bug 1505751 - Wait for menulist close for browser language handlers r=Gijs
The search handler was being called when focusing the menuitem with the keyboard on Windows. This didn't provide a good experience and left the popup open once the search started. Ensure the popup is always shown when using the keyboard and don't trigger the search until the popup is closed.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 15:36:52 +00:00
Coroiu Cristina 71a5f7b873 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-11-21 23:48:40 +02:00
Bryce Van Dyk 0311cf925c Bug 1507389 - Update GMP fallback downloader for Widevine 4.10.1196.0 r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D11981

--HG--
extra : moz-landing-system : lando
2018-11-21 21:44:18 +00:00
Boris Zbarsky c38419de6d Bug 1509101. Stop passing around anchor targets as char16_t*; use nsAString instead. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D12579

--HG--
extra : moz-landing-system : lando
2018-11-21 18:53:39 +00:00
Jan de Mooij e39a94637e Bug 1509010 - Fix some clang-format comment issues in js/public. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D12535

--HG--
extra : moz-landing-system : lando
2018-11-21 18:12:57 +00:00
Dorel Luca c9ce5110c2 Backed out changeset 31b5c6b8ef22 (bug 1487542) for apiling. CLOSED TREE 2018-11-21 22:35:24 +02:00
Matt Brubeck 0c8f075f55 Bug 1487542 - Change LoadRequest.isUserTriggered to isRedirect. r=snorp,smaug
Differential Revision: https://phabricator.services.mozilla.com/D12370

--HG--
extra : moz-landing-system : lando
2018-11-21 13:12:42 +00:00
Sam Foster 44f245f69d Bug 1481481 - Create separate forms for shipping, payer and billing address r=MattN
* New AddressForm instances for each address type
* Move selected-state-key out of state for the address forms, and into an attribute
* Remove passing form title via state, just use data-title-edit and data-title-add on the element
* Remove shippingOption form title logic from address picker, just set the right attribute values from PaymentDialog
* Move setting the extraRequiredFields data attribute the payer form needs out to the payment-dialog's render.
* Amend onboarding logic to direct to billing address form when necessary
* Fix-up tests

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

--HG--
extra : moz-landing-system : lando
2018-11-21 19:23:27 +00:00
Jan de Mooij dfefd7badd Bug 1508176 - Some clang-format fixes for generated unicode files. r=tcampbell,sylvestre
* Add generated files to .clang-format-ignore.
* Remove the "clang-format off/on" annotations from generated files.
* Rename FOR_EACH_NON_BMP_CASE_FOLDING argument from macro to MACRO. See bug 1508180.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 18:30:44 +00:00
Petru Lingurar 8fc1796f00 Bug 1479724 - Part 2: Pre-Oreo icons for Dev builds; r=sdaswani,bram,JanH
Depends on D12023

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

--HG--
extra : moz-landing-system : lando
2018-11-20 21:19:28 +00:00
Paolo Amadini e06112cee5 Bug 1451410 - Remove display="xul:button" on tab binding. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D12540

--HG--
extra : rebase_source : 2ab5d1cab629e3bac660f08c00920c89efd64ac8
2018-11-20 19:45:26 +00:00
Andrew Swan 1ed913bf8a Bug 1505148 Switch addon signing tests to webextensions r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D12476

--HG--
extra : rebase_source : 30069ca79651c9b45603c8c348925d4ad989cd3e
2018-11-20 13:08:40 -08:00
Gabriel Luong fd9406741e Bug 1508353 - [Track Changes] Enable track changes for nightly. r=rcaliman 2018-11-21 12:09:29 -05:00
Cosmin Sabou 6a888dd9ac Merge mozilla-central to mozilla-inbound. a=merge 2018-11-21 18:25:38 +02:00
Kartikaya Gupta fbf7f83817 Bug 1509064 - Disable test failing with new windows AMIs. r=jmaher 2018-11-21 11:19:35 -05:00
Paolo Amadini 37ad34fc88 Bug 1429940 - Null-check the GetContent call on the parent. r=Jamie
--HG--
extra : rebase_source : 1f2692152b608d9283990a6051091410ad0f6fea
2018-11-21 15:24:13 +00:00
Emilio Cobos Álvarez d285902ade Bug 1508845 - Make BlastSubtreeToPieces handle Shadow DOM. r=smaug
We can use the unattach shadow stuff because BlastSubtreeToPieces will remove
all the slots.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 13:02:24 +00:00
WR Updater Bot a9f889232c Bug 1508766 - Update webrender to commit 229436b578701fc74a009d6cedc6b2a3ae313f77 (WR PR #3331). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12534

--HG--
extra : moz-landing-system : lando
2018-11-21 12:29:04 +00:00
Michael Kohler a4ce56f2b6 Bug 1500218 - Set 'Move to Start' and 'Move to End' disabled state according to contextTab and contextTab position r=dao,jaws
Differential Revision: https://phabricator.services.mozilla.com/D9598

--HG--
extra : moz-landing-system : lando
2018-11-21 11:30:33 +00:00
Masayuki Nakano 4ca52542bb Bug 1504911 - part 5: Make HTMLEditor::InsertTableCellsWithTransaction() create AutoPlaceholderBatch and AutoTopLevelEditSubActionNotifier r=m_kato
Currently, calling nsITableEditor.insertTableCell() does not cause dispatching
"input" event since it does not create AutoPlaceholderBatch.  Additionally,
different from InsertTableRowsWithTransaction() and
InsertTableColumnsWithTransaction(), it does not create
AutoTopLevelEditSubActionNotifier.

Because of those APIs should work similarly, we should make it creates
both auto class instances.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 09:30:40 +00:00
Petru Lingurar 293aaebf2c Bug 1479724 - Part 1: Adaptive icons for Beta and Dev builds; r=sdaswani,bram,JanH
Differential Revision: https://phabricator.services.mozilla.com/D12023

--HG--
extra : moz-landing-system : lando
2018-11-20 19:25:10 +00:00
Marco Zehe ccd63db4b3 Bug 1508870 - Make a distinction between an empty returned string versus a null pointer, r=Jamie
When determining if an author provided an empty alt attribute versus no alt attribute at all, our image accessible name is either an empty string or a null string. Screen readers can then choose to guess the name from the source if the author did not explicitly provide an empty alt text and thus marked the image as decorative.

The accessible handler for the Windows remote processes did not account for this distinction, always returning what appeared to be an empty string. This was found while determining why NVDA wasn't guessing the SRC from a non-labelled graphical link. NVDA checks to see if the name returned by the link accessible is null, and then decides to look for the graphical children if that is the case.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 06:09:31 +00:00
Masayuki Nakano 0acd37ec1d Bug 1504911 - part 4: Make all script for web content dispatch "input" event with proper event interface r=smaug
Currently, some "input" event dispatchers in our script dispatch "input" event
with UIEvent.  This is completely wrong.  For conforming to HTML spec, Event
is proper event.  Additionally, for conforming to Input Events, InputEvent
is proper event only on <textarea> or <input> element which has a single line
editor.

For making us to maintain easier, this patch adds new API, "isInputEventTarget"
to MozEditableElement which returns true when "input" event dispatcher should
use InputEvent for the input element.

Finally, this makes some dispatchers use setUserInput() instead of
setting value and dispatching event by themselves.  This also makes
us to maintain them easier.

Note that this does not touch "input" event dispatchers which dispatch events
only for chrome (such as URL bar, some pages in about: scheme) for making
this change safer as far as possible.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 14:35:38 +00:00
Masayuki Nakano b5ea72aa13 Bug 1504911 - part 3: Make TextEditRules::WillSetText() not handle anything when EditAction is eReplaceText r=m_kato
When all editor text is replaced while handling a user operation, editor
needs to dispatch "input" event.  Therefore, in such case, i.e., EditAction
is eReplaceText, TextEditor::SetTextAsSubAction() needs to handle it instead
of TextEditRules::WillSetText().

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

--HG--
extra : moz-landing-system : lando
2018-11-20 14:34:32 +00:00
Masayuki Nakano cc3adb8c9e Bug 1504911 - part 2: Make nsTextEditorState::SetValue() dispatch "input" event if it's called for handling part of user input r=smaug
When editor is modified as part of user action, aFlags of
nsTextEditorState::SetValue() includes eSetValue_BySetUserInput.  In this case,
TextEditor (if there is) or the method itself (if there is no editor yet)
should dispatch "input" event by themselves because we will need to initialize
InputEvents more since we're going to implement Input Event specs.

Note that even with this patch, password field stops dispatching "input" event
with call of HTMLInputElement::SetUserInput().  This is caused by a hidden bug
of TextEditRules.   This will be fixed in a following patch.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 22:06:37 +00:00
Masayuki Nakano abe138f771 Bug 1504911 - part 1: Make all "input" event dispatcher in C++ use new utility method r=smaug
Currently, a lot of code dispatch "input" event and some of them dispatch
"input" event with wrong interface and/or values.  Therefore this patch
creates nsContentUtils::DispatchInputEvent() to make all of them dispatch
correct event.

Unfortunately, due to bug 1506439, we cannot set pointer to refcountable
classes of MOZ_CAN_RUN_SCRIPT method to nullptr.  Therefore, this patch
creates temporary RefPtr<TextEditor> a lot even though it makes damage to
the performance if it's in a hot path.

This patch makes eEditorInput event dispatched with
InternalEditorInputEvent when "input" event should be dispatched with
dom::InputEvent.  However, this patch uses WidgetEvent whose message is
eUnidentifiedEvent and setting WidgetEvent::mSpecifiedEventType to
nsGkAtoms::oninput when "input" event should be dispatched with
dom::Event because we need to keep that eEditorInput and
InternalEditorInputEvent are mapped each other.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 03:59:02 +00:00
Masayuki Nakano 388e64d857 Bug 1504911 - part 0: Add "input" event tests into existing tests r=smaug
It's difficult to create new test which checks "input" events caused by
all edit operations especially when text is inserted from our UI.  Therefore,
this adds "input" event type checks into existing tests.

Additionally, this adds new test for MozEditableElement.setUserInput() whose
behavior needs to be fixed in this bug.

Currently, InputEvent interface should be used only on text controls or
contenteditable editor when dispatching "input" event.
https://w3c.github.io/input-events/#events-inputevents

You may feel odd to use different event interface for same "input" events.
However, other browsers also use InputEvent interface only in the cases. So,
we should follow them for now.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 14:24:06 +00:00
Imanol Fernandez 5eb9ef2267 Bug 1499758 - Fix potential null pointer deref in WebGLContext::GetVRFrame r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D12480

--HG--
extra : moz-landing-system : lando
2018-11-21 10:34:52 +00:00
Dão Gottwald 00d2226d66 Bug 1507109 - Fix popup notification footer button colors. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D11867

--HG--
extra : moz-landing-system : lando
2018-11-21 11:11:22 +00:00
Bogdan Tara 9a0a078d48 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-21 11:48:53 +02:00
Bogdan Tara 8f89901f2d Merge inbound to mozilla-central. a=merge 2018-11-21 11:40:19 +02:00
Razvan Caliman 12acae9b30 Bug 1507476 - Update Changes panel tests to use helpers for rendered declarations. r=pbro
Depends on D12434

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

--HG--
extra : moz-landing-system : lando
2018-11-21 08:16:06 +00:00
Aaron Klotz 5aab222ecc Bug 1508848: Remove operator bool from WindowsError and replace with IsSuccess and IsFailure methods; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D12485

--HG--
extra : moz-landing-system : lando
2018-11-20 22:59:51 +00:00
Barret Rennie b09ba3de12 Bug 1457546 - Use glMapBufferRange instead of glMapBuffer to capture screenshots r=jgilbert
It was pointed out in a review by jgilbert that glMapBuffer only supports
writing to the mapped range on an OpenGL ES profile and using it to read is
undefined behaviour. We now use glMapBufferRange when available, which does
support reading on both OpenGL and OpenGL ES profiles, and allows capturing
screenshots on Android. When it is not available, we fall back to glMapBuffer
(e.g., for macOS).

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

--HG--
extra : moz-landing-system : lando
2018-11-20 18:32:10 +00:00
Barret Rennie 4575169eee Bug 1457546 - Add checkbox to record screenshots in new performance pane r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D12339

--HG--
extra : moz-landing-system : lando
2018-11-20 18:32:00 +00:00