Commit Graph

607510 Commits

Author SHA1 Message Date
Mike Hommey
64ff5e5cb1 Bug 1480654 - Allow empty eh_frame entries. r=froydnj
Somehow, when building with LTO, clang can end up creating a eh_frame
section with only one, empty, entry (which just looks like a 4-bytes
long section full of 0x00).

--HG--
extra : rebase_source : 385c05c7e447fe1c4bc261b79c7d56138e268458
2018-08-03 11:33:49 +09:00
Bryce Van Dyk
379760a7ef Bug 1480589 - Extend lifetime of MediaRecorder telemetry probes to FF68. r=liuche
Extend lifetime of MEDIA_RECORDER_RECORDING_DURATION,
MEDIA_RECORDER_TRACK_ENCODER_INIT_TIMEOUT_TYPE, and
SCALARS_MEDIARECORDER.RECORDING_COUNT telemetry probes. This allows continued
monitoring of MediaRecorder usage in the wild. See Bug 1400757 for the original
introduction of these probes.

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

--HG--
extra : moz-landing-system : lando
2018-08-02 21:21:45 +00:00
Masayuki Nakano
45a67c4b77 Bug 1480663 - Make EditorBase::IsModifiableNode() non-virtual r=m_kato
HTMLEditor::IsModifiableNode() is enough simple and can be checked in
EditorBase. So, we should make it non-virtual and check if instance is
HTMLEditor in EditorBase::IsModifiableNode().

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

--HG--
extra : moz-landing-system : lando
2018-08-03 11:10:46 +00:00
Mark Striemer
558c4b9c14 Bug 1476991 - Move selected tab indicator to right side in RTL r=dao
MozReview-Commit-ID: 33EfbEXeCQg

--HG--
extra : rebase_source : 0ba48550323ffd221f91049cc04b163afea74c98
2018-07-31 16:00:35 -05:00
Julian Descottes
3e93eca85f Bug 1349416 - Only delay removeEventListener when hiding after mouseup;r=birtles
The inplace-editor is programmatically hiding the autocomplete-popup
on TAB and notifies the caller. The caller (eg rule view) will trigger
a click on the next focusable element immediately after that.

If the HTMLTooltip is still consuming outside clicks at that point
the click will be swallowed and the new inplace-editor cannot be created.

Depends on D2661

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

--HG--
extra : moz-landing-system : lando
2018-08-03 11:02:45 +00:00
Julian Descottes
248fb27471 Bug 1349416 - Hide HTMLTooltip on mouseup rather than on click;r=birtles
A click event is only fired if the element on which mousedown and mouseup
happened are the same. If this is not the case, the HTMLTooltip will not
be able to hide itself.

Listening to mouseup makes the behavior more consistent but forces the
hide() method to be always asynchronous, while before it was only
asynchronous for tooltips using the XULWrapper.

Depends on D2660

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

--HG--
extra : moz-landing-system : lando
2018-08-03 11:01:51 +00:00
Julian Descottes
dc84fc2f5d Bug 1349416 - Prevent event tooltip from reappearing when clicking on bubble;r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D2660

--HG--
extra : moz-landing-system : lando
2018-08-03 09:40:07 +00:00
Masayuki Nakano
2552597ed2 Bug 1467373 - part 2: Skip hacks for most TIPs in TSFTextStore::HackNoErrorLayoutBugs() if running on Windows 10 build 17643 or newer r=m_kato
At Windows 10 build 17643, Microsoft fixed the bug of TSF which returns E_FAIL
to TIP when GetTextExt() returns TS_E_NOLAYOUT.  With this fix, most TIPs do
not have any problems even if we return TS_E_NOLAYOUT.  So, unless active
TIP still needs the hack, the method can skip the hack if running on build
17643 or later.

Note that we still need to support Japanist 10 and Microsoft Office IME 2010.
It confirmed that Japanist 10 has a bug of handling TS_E_NOLAYOUT.  On the
other hand, we have not tested Microsoft Office IME 2010 since it's installable
only into Win7 or Win8 and needs to upgrade it to Win10 for testing, but I
do not have the license.  After the fix comes into release channel, I'll be
able to test it though (my main environment is Win10 and it was installed
before upgraded).  So, we need to be back after Microsoft releases the fix.

MozReview-Commit-ID: 2BzkDvHTKyI

--HG--
extra : rebase_source : ee0261c83c5a1ab7b2aa2a8f476f0c6634e2cf34
2018-08-02 14:55:52 +09:00
Masayuki Nakano
34ee9cefe7 Bug 1467373 - part 1: Split hack for TS_E_NOLAYOUT part from TSFTextStore::GetTextExt() r=m_kato
The block in TSFTextStore::GetTextExt() which decides whether we should return
S_OK with unmodified character rectangle rather than TS_E_NOLAYOUT is too big.

Additionally, we need to add new condition to check Windows 10's version there.
That makes the large block more complicated.  So, we should split the block
off from TSFTextStore::GetTextExt().  Then, we can use early-return-style to
reduce the deep indentations.

MozReview-Commit-ID: J2BJMB1QD0T

--HG--
extra : rebase_source : 3c86b5ed3a83fda1045a6453250e784f11419b97
2018-08-02 14:36:03 +09:00
Bogdan Tara
0fd5041455 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-03 13:27:13 +03:00
Bogdan Tara
f2cb75b28c Merge inbound to mozilla-central. a=merge 2018-08-03 13:16:27 +03:00
Mike Hommey
5d438c8022 Bug 1478995 - Fix gradle-dependencies bustage for nodejs not found. CLOSED TREE
--HG--
extra : source : 228be4ef7ed11764f008c6fc904089f3ed5f130e
2018-08-03 12:44:27 +03:00
Nicolas Chevobbe
4f34541b99 Bug 1475391 - Add mapping for CORS error types to MDN pages; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D2557

--HG--
extra : moz-landing-system : lando
2018-08-03 06:40:36 +00:00
Nathan Froyd
879bf0a2bd Bug 1480553 - part 3 - add mappings for aarch64 in Windows configure paths; r=glandium
We need to add mappings for target.cpu to MSVC's arm64 name for
determining various paths, and we need to add an extra case to
get_vc_paths so the compiler can find all the necessary DLLs.
2018-08-02 21:40:40 -04:00
Nathan Froyd
60ba63041d Bug 1480553 - part 2 - add a case for aarch64* when setting MIDL_FLAGS; r=glandium 2018-08-02 21:40:40 -04:00
Nathan Froyd
868f4fb506 Bug 1480553 - part 1 - add Windows-specific aarch64 macro detection; r=glandium
MSVC doesn't define __aarch64__, but uses its own symbol instead.
2018-08-02 21:40:40 -04:00
Masayuki Nakano
7484cc4573 Bug 1480055 - part 4: Make AutoTransactionsConserveSelection take reference of Editor rather than pointer r=m_kato
It's always created with non-nullptr.  So, making it treat reference of
EditorBase makes its implementation simpler.

Note that this changes comment in EditorBase::InsertTextWithTransaction() to
a MOZ_ASSERT() for detecting bugs.  However, the comment is wrong.  When
the insertion is for updating composition string, callers don't need to create
AutoTransactionsConserveSelection since it'll be ignored by
CompositionTransaction.  So, the new MOZ_ASSERT() checks whether it's
in composition or prevented transaction changing Selection.

MozReview-Commit-ID: 6jZ4LpksyoD

--HG--
extra : rebase_source : 61ca9272ddea165b3691cf1ce42dc6f4df099a36
2018-08-01 21:30:14 +09:00
Masayuki Nakano
4292293e8c Bug 1480055 - part 3: Create non-virtual method to set EditorBase::mAllowsTransactionsToChangeSelection r=m_kato
There is no non-virtual method to modify
EditorBase::mAllowsTransactionsToChangeSelection.  Therefore,
AutoTransactionsConserveSelection calls virtual method,
nsIEditor::SetShouldTxnSetSelection() twice (from both constructor and
destructor).  So, we should save this unnecessary cost.

MozReview-Commit-ID: B7TYGnGtuLB

--HG--
extra : rebase_source : 26ce77fb63a1967cca88b002cd65e1105477a63d
2018-08-01 21:11:44 +09:00
Masayuki Nakano
a9559a1d82 Bug 1480055 - part 2: Rename EditorBase::GetShouldTxnSetSelection() to EditorBase::AllowsTransactionsToChangeSelection() r=m_kato
For explaining what it does clearer, we should rename it and corresponding
member.

MozReview-Commit-ID: 6U8FgfHBbCL

--HG--
extra : rebase_source : 50bc3ce0d3b9900939c7e6e8a137abe2288cf727
2018-08-01 20:53:57 +09:00
Masayuki Nakano
470feacd31 Bug 1480055 - part 1: Remove nsIEditor::shouldTxnSetSelection() r=m_kato
nsIEditor::ShouldTxnSetSelection() is used only by DeleteRangeTransaction
(even if including comm-central and BlueGriffon) and there is a non-virtual
method EditorBase::GetShouldTxnSetSelection().  So, we can remove this.

MozReview-Commit-ID: JWSCw9k6lI0

--HG--
extra : rebase_source : 2509274216a1493134757a7d106464f06ea0ba57
2018-08-01 20:16:30 +09:00
Mike Hommey
9121cf9b3c Bug 1478995 - Fix gradle-dependencies bustage for nodejs not found. CLOSED TREE
--HG--
extra : amend_source : fd57b0342731f14fb35169376981c02e8eee080d
2018-08-03 12:44:27 +03:00
Bogdan Tara
8cff2b32a0 Backed out 3 changesets (bug 1349416) for Dev Tools failures CLOSED TREE
Backed out changeset ec5ee2990e21 (bug 1349416)
Backed out changeset c4f8eccf14dc (bug 1349416)
Backed out changeset b7e80d3a6810 (bug 1349416)
2018-08-03 12:33:32 +03:00
Xidorn Quan
5380f1c02c Bug 1480358 - Have the second OptionallyBreak actually make sense. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D2696

--HG--
extra : moz-landing-system : lando
2018-08-03 07:21:35 +00:00
trisha
0460afa15c Bug 1480038 - Update the Continue button in new cert-error pages r=flod
MozReview-Commit-ID: BXewUNCSxlt

--HG--
extra : rebase_source : 997be870d7958bc04167ce755451625b0d71bee1
2018-08-01 15:31:43 +05:30
Ionut Goldan
8741096bbe Bug 1472804 - Add SunSpider as a jsshell-bench test r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D2507

--HG--
extra : moz-landing-system : lando
2018-08-03 07:19:15 +00:00
Julian Descottes
abf5a16722 Bug 1479416 - Add Connect sidebar item to aboutdebugging-new;r=daisuke
This patch adds:
- a new action actions/ui:selectPage
  - takes a page id in argument
  - returns type PAGE_SELECTED, with selected page id as 'page'
- a new reducer reducers/ui-state
  - on PAGE_SELECTED, updates the state by setting 'page' in 'selectedPage'

The state of the application after this patch looks as follows:
{
  ui: {
    selectedPage: String
  }
}

As we add more devices the way we identify the selected page might change
(maybe use an index instead of an id) but that is good enough for now.

The "dispatch" helper is forwarded to the App component via connect.
From that point, components are responsible for forwarding the dispatch
property to all components who need to dispatch actions.

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

--HG--
extra : moz-landing-system : lando
2018-08-03 07:23:33 +00:00
Julian Descottes
91b9d97d0e Bug 1349416 - Only delay removeEventListener when hiding after mouseup;r=birtles
The inplace-editor is programmatically hiding the autocomplete-popup
on TAB and notifies the caller. The caller (eg rule view) will trigger
a click on the next focusable element immediately after that.

If the HTMLTooltip is still consuming outside clicks at that point
the click will be swallowed and the new inplace-editor cannot be created.

Depends on D2661

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

--HG--
extra : moz-landing-system : lando
2018-08-03 07:05:51 +00:00
Julian Descottes
f4e6047756 Bug 1349416 - Hide HTMLTooltip on mouseup rather than on click;r=birtles
A click event is only fired if the element on which mousedown and mouseup
happened are the same. If this is not the case, the HTMLTooltip will not
be able to hide itself.

Listening to mouseup makes the behavior more consistent but forces the
hide() method to be always asynchronous, while before it was only
asynchronous for tooltips using the XULWrapper.

Depends on D2660

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

--HG--
extra : moz-landing-system : lando
2018-08-03 07:05:43 +00:00
Julian Descottes
de6d2067bb Bug 1349416 - Prevent event tooltip from reappearing when clicking on bubble;r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D2660

--HG--
extra : moz-landing-system : lando
2018-08-03 07:05:30 +00:00
Abdoulaye O. Ly
497a22d1d5 Bug 1477780 - In a multi-select context, 'Close Tabs To The Right' closes tabs located to right of the rightmost selected tab. r=jaws
MozReview-Commit-ID: 6Kwnv8fvFLa

--HG--
extra : rebase_source : c880c87b0c06bde570c0dad0c09136a715a251ae
2018-07-30 15:04:32 +00:00
Jared Wein
9849e2000e Bug 1472278 - Localize the required form asterisk on the address-form, basic-card-form, and CVV entry field. r=MattN
MozReview-Commit-ID: 7VN1VY7QziT

--HG--
extra : rebase_source : b28017164a32758271059b0337e295ca4883f14b
2018-07-30 21:13:36 -04:00
Kartikaya Gupta
4e5a308827 Bug 1479939 - Ensure we tell WR to remove the compositable pipelines when clearing resources. r=sotaro
MozReview-Commit-ID: AxuvERUalhb

--HG--
extra : rebase_source : 674a20346c234912f7389d9fc7078c956cf08fc7
2018-08-02 00:17:36 -04:00
Tom Ritter
dedea82b24 Bug 1480177 Change forward slash to backslash in #include r=froydnj
MozReview-Commit-ID: FySU6SVkMJl

--HG--
extra : rebase_source : 9b849f7de12bffeb84d610432e0218cb666d08d6
2018-08-02 10:54:29 -05:00
Tom Ritter
c9e4e2854a Bug 1480177 Lowercase includes to fix MinGW Build Errors r=froydnj
MozReview-Commit-ID: LvFS90CRAFe

--HG--
extra : rebase_source : bfbcc59d061128e5440378448523bbaf939d5a45
2018-07-30 22:43:24 -05:00
Tudor-Gabriel Vîjială
a16d201c28 Bug 1473313 - Part 5: Add in-tree documentation page for Android code coverage. r=nalexander
MozReview-Commit-ID: 20meKbpduha

--HG--
extra : rebase_source : 0383fe0cab846c148e1b20b2ee517730a18fae32
2018-07-31 12:02:08 +01:00
Kristen Wright
fbf7880ab6 Bug 1478942 - Convert UniquePtr<SimpleEdgeRange> back to UniquePtr<EdgeRange> to return an EdgeRange. r=erahm 2018-07-27 11:00:40 -07:00
André Bargull
99b08c5930 Bug 1472211 - Part 2: Reorder operands in Super-Elem bytecode operations. r=arai 2018-07-31 06:54:07 -07:00
André Bargull
997b7657f1 Bug 1472211 - Part 1: Reorder super-property evaluation order per latest spec change. r=arai, f=Waldo 2018-07-31 13:54:38 -07:00
André Bargull
94f1ed78bd Bug 1476417: Add a resume point after assigning to a mapped argument. r=jandem 2018-07-25 06:41:30 -07:00
André Bargull
ee1962ac13 Bug 1480018: Change some Base(Value)Index users to BaseObject(Element|Slot)Index. r=mgaudet 2018-08-02 08:02:17 -07:00
André Bargull
86ac00a6ad Bug 1480116: Improve codegen for LIsConstructor, LConvertElementsToDoubles, and the surrogate check in PrepareAndExecuteRegExp. r=mgaudet 2018-08-02 13:12:50 -07:00
Nicholas Nethercote
da4f2681a4 Bug 1478885 - Improve docs for mozilla::Hash{Set,Map}. r=luke
This patch does the following:

- Adds a bunch of useful high-level info at the top of the file, making the
  types easier to use for newcomers.

- Adds a comment to every Hash{Set,Map} method that lacked one.

- Tweaks lots of existing comments for clarity.

- Removes comments in Hash{Set,Map} referring to details within HashTable. That
  dependence is now covered in the top-level comment.

- Tweaks the signatures in hash policy classes to be more consistent.

--HG--
extra : rebase_source : ab9d6ae38b4b73e12151a228107ad3f3f12e36b3
2018-08-03 06:33:21 +10:00
Narcis Beleuzu
394893c006 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-03 01:35:43 +03:00
Eugen Sawin
6e3b78c7be Bug 1480460 - [2.1] Add onProgressChange test. r=jchen 2018-08-03 00:29:51 +02:00
Eugen Sawin
23de33333d Bug 1480460 - [1.1] Add basic progress bar to the example app. r=snorp 2018-08-03 00:29:51 +02:00
Narcis Beleuzu
4684ccf98e Merge inbound to mozilla-central. a=merge 2018-08-03 01:28:14 +03:00
Boris Zbarsky
fad1e33048 Bug 1480527. Remove QueryInterface from the JS reflection of boxobjects. r=mccr8 2018-08-02 15:26:48 -04:00
Boris Zbarsky
d4993da381 Bug 1476142 part 4. Remove some unnecessary QIs on window in various parts of the tree. r=kmag
The crashtest was not testing anything useful, because getInterface is no longer exposed to web content.
2018-08-02 15:26:48 -04:00
Boris Zbarsky
c02c1c0f2b Bug 1476142 part 3. Remove some unnecessary QIs in mobile. r=snorp 2018-08-02 15:26:48 -04:00
Boris Zbarsky
c955b98d55 Bug 1476142 part 2. Remove some unnecessary QIs in browser. r=gijs 2018-08-02 15:26:47 -04:00