Commit Graph

501736 Commits

Author SHA1 Message Date
Matthew Noorenberghe
5f138b9942 Bug 1318537 - Remove Learn More link from the insecure login field autocomplete popup. r=seanlee
MozReview-Commit-ID: KbRokkIr8DE

--HG--
extra : rebase_source : d25cb7d611870ef30d0fdc074b5ba3db236776e9
2016-11-23 13:42:00 -08:00
Daniel Stenberg
442a764272 Bug 1312548 - When changing buffer, get the new buffer size too. r=dd
--HG--
extra : rebase_source : c3a2bf6755847b6c5641913eda254648f28041ab
2016-11-23 18:14:07 -05:00
Ehsan Akhgari
718b18d849 Bug 1319903 - Part 3: Revert to using Expr::IgnoreImplicit, pushed on a CLOSED TREE 2016-11-23 18:14:33 -05:00
Ehsan Akhgari
88121ac8dd Bug 1319903 - Part 2: Rename IgnoreImplicit to IgnoreTrivials 2016-11-23 18:00:01 -05:00
Ehsan Akhgari
bc354ecd55 Bug 1319903 - Part 1: Ignore ParenExpr's when ignoring trivial expressions; r=mystor 2016-11-23 18:00:00 -05:00
Dragana Damjanovic
898f6d8b2a Bug 1317641 - Some loadinfo security flags should not apply in case of a redirect. r=bz
--HG--
extra : rebase_source : aaebbb8628801871e09bc583b3b11a9908b77b92
2016-11-23 17:54:58 -05:00
Dão Gottwald
3882faf0d0 Bug 658467 - Fade out tab label on overflow instead of ellipsis. r=jaws ui-r=shorlander 2016-11-23 23:43:54 +01:00
Jay Harris
7a7b0325f0 Bug 1319197 - Remove audio decoding from gmp-clearkey. r=cpearce
MozReview-Commit-ID: EA0AAoDjWUh

--HG--
extra : transplant_source : 1D%21%1C%21%15%F7A%CD%EF-%C9%8FS%ECl%A8%9A%DC%B5
2016-11-22 14:32:26 +13:00
André Bargull
fa6366e3c1 Bug 1319465 - Use the newer ICU string normalization API to improve performance for partially normalized strings. r=arai 2016-11-22 09:20:18 -08:00
André Bargull
b64b9b133b Bug 1319464 - Replace flattened with linear strings in Intl.cpp file. r=Waldo 2016-11-23 09:12:51 -08:00
Tobias Schneider
4bf964cab8 Bug 1315837 - Crash in mozilla::dom::Element::UpdateIntersectionObservation. r=mrbkap
--HG--
extra : rebase_source : 374b22a8b3fce5b220d323593a712387d6caf7f6
2016-11-23 13:14:00 -05:00
Tracy Walker
aba2c919f4 Bug 1119906 - Temporarily skip browser_newtab_bug722273.js on OSX debug until it can be made more reliable. r=jmaher
--HG--
extra : rebase_source : df02fd418ac3e8e65d8c143c9e51cfc312a81f41
2016-11-23 11:54:42 -06:00
Hamel Joshi
b060052591 Bug 1316017 - Remove redundant nullcheck calls. r=sebastian
--HG--
extra : rebase_source : 8316fc83da782c6437028ed16088c19886370c07
2016-11-16 09:12:00 -05:00
Matthew Noorenberghe
b4372d801a Bug 1129629 - Provide an indication to the user when auto-complete is suggesting saved logins. r=mconley,rfeeley
MozReview-Commit-ID: PU65IjwPcD
2016-11-23 14:06:16 -08:00
Luca Greco
31ce204c24 Bug 1315251 - Fix excluded 'devtools/server/tests' in .eslintignore. r=ochameau
MozReview-Commit-ID: L5V89Frof6K

--HG--
extra : rebase_source : 113992624ebbeb4fe0ac15983a1bc37edc1f00fb
2016-11-11 18:20:13 +01:00
Shih-Chiang Chien
1de6877d89 Bug 1319682 - fix compile warning/error in TaskTracer, r=sinker
MozReview-Commit-ID: 4E0ThIAZAxC

--HG--
extra : rebase_source : d1cb4ae28e7d10b5bdd3d87d6a97413e2d204057
2016-11-24 17:51:23 +08:00
Michael Ratcliffe
b4e6fa3527 Bug 1146194 - Multiple cookies with the same name not shown r=gl
Stubborn debugger statement.

MozReview-Commit-ID: F2qgWofemHG

--HG--
rename : devtools/client/storage/test/browser_storage_dynamic_updates.js => devtools/client/storage/test/browser_storage_dynamic_updates_sessionStorage.js
extra : rebase_source : 07934238d3c2d8dbc1a81d28d9a3a710ee39a126
2016-11-11 15:57:51 +00:00
Makoto Kato
ced4cccc2c Bug 1313986 - Part 5. Remove createAnonymousElement from nsIHTMLEditor. r=masayuki
c-c nor add-ons seem noet to use it.  We should remove this.

MozReview-Commit-ID: 3jN8kUp6D4Z

--HG--
extra : rebase_source : cc31001bb87da2888a9c1da6d92a305cdebebb7a
2016-10-31 18:06:27 +09:00
Makoto Kato
ef514b53ec Bug 1313986 - Part 4. Use Element instead of nsIDOMElement for resizer. r=masayuki
Resizer and etc attributes on table editor still use nsIDOMElement.  Converting to Element makes both implementation and the callers simpler.

MozReview-Commit-ID: TTFSvqn5GE

--HG--
extra : rebase_source : 705576c4eb0fe5f8f566f3415a8a72842c919edd
2016-11-24 15:58:01 +09:00
Makoto Kato
3d6d028dd6 Bug 1313986 - Part 3. Use CreateAnonymousElement with nsIAtom for simple case. r=masayuki
Now we can return Element directly via CreateAnonymousElement. We should use it.

MozReview-Commit-ID: Et1i3hLVSqc

--HG--
extra : rebase_source : e09c2b2b41481dd6608d9c816676030d8aae1ed6
2016-11-24 18:07:47 +09:00
Makoto Kato
ba151083a7 Bug 1313986 - Part 2. Add CreateAnonymousElement with nsIAtom. r=masayuki
I would like to nsIAtom and mozilla::dom::Element version of CreateAnonymousElement to clean up code.  When getting/setting attirubte, editor sometimes use string, not nsGkAtoms.  We should use new mozilla::dom::Element methods.

Also, we should add  _moz_anonclass to atom list that uses on editor.

MozReview-Commit-ID: ICaAWVPjcej

--HG--
extra : rebase_source : 9585214aa678c16905250265a75b817c90246fcc
2016-11-24 16:12:04 +09:00
Makoto Kato
18132c8907 Bug 1313986 - Part 1. Add test for inlineTableEditing and objectResizing. r=masayuki
We have no mochitest for objectResizing and inlineTableEditing.  So I add simple test for this.

MozReview-Commit-ID: Hnjpopr3h5F

--HG--
extra : rebase_source : 8cb81a89f11d4092f2adaa8822733f861a71ace1
2016-11-24 15:00:04 +09:00
Gijs Kruitbosch
46cf9c683d Bug 1319816 - fix default browser determination on Windows 7 and below in the automigration case, r=jaws
As noted on the bug, because we call getMigratorKeyForDefaultBrowser() multiple times,
its value no longer reflects the (deleted) registry key for subsequent calls.

While we can fix this for the automigrate case by just passing the default we determined a few
lines earlier (and that seems worth doing to avoid busywork), there are 2 small problems
with this:

1) if the default browser has no data, `migratorKey` won't be set, and so we'll call the same
method again anyway, and the message reported in the error console will be that we can't
migrate from Firefox, when the real problem is that we can't migrate from the original
default browser.

2) there are other callers besides AutoMigrate. Specifically, migration.js also calls this
method.

To deal with these, I've fixed getMigratorKeyForDefaultBrowser() to return the same
registry-based value for its lifetime if we hit the 'the default is firefox, go look for an
earlier default' case.

I've verified that either the s/aMigratorKey/migratorKey/ or the change to
getMigratorKeyForDefaultBrowser() are sufficient to make this work properly in the
automigration case.

While I was here, I also updated one of the error messages to be more explicit.

MozReview-Commit-ID: GeUNTfScMMB

--HG--
extra : rebase_source : 09b4b5fef85c4668bc0931de2c8cf3d1a32e2b42
2016-11-23 16:06:00 +00:00
Sylvestre Ledru
310bebf009 Bug 1319393 - Remove the misc-use-override.KeepVirtual declaration in .clang-tidy file r=Ehsan
MozReview-Commit-ID: E68Ji3al1ZF

--HG--
extra : rebase_source : ccaabf95bf9a8afd5333e3b3aa2d6f23e0c99a84
2016-11-22 12:17:14 +01:00
Sylvestre Ledru
197c2c53d8 Bug 1318004 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11. r=Ehsan
MozReview-Commit-ID: lk5eJXUno9

--HG--
extra : rebase_source : b8d2fe8df709e19412593f4825ec10cb559eff7e
2016-11-16 17:12:13 +01:00
Sylvestre Ledru
1981578386 Bug 1318004 - Use C++11's override and remove virtual where applicable. r=Ehsan
MozReview-Commit-ID: H9tAe0YN1tx

--HG--
extra : rebase_source : a11a03af4105afaae2945d2e0cad4eee65022f37
2016-11-16 17:08:26 +01:00
Sylvestre Ledru
97d06d3189 Bug 1318004 - Replace string literals containing escaped characters with raw string literals. r=Ehsan
MozReview-Commit-ID: KOk13e23Py

--HG--
extra : rebase_source : 7e9794dd3b44a1e2f3dcdd4ffe998c2536e307a6
2016-11-16 17:07:03 +01:00
Sylvestre Ledru
2901996124 Bug 1318004 - Replace default bodies of special member functions with = default; r=Ehsan
MozReview-Commit-ID: 33AOhtFrXS8

--HG--
extra : rebase_source : 6541778fe7d44d9b54441108a03d72f3cc8b91ad
2016-11-16 18:26:14 +01:00
Ting-Yu Lin
cd7d086eb1 Bug 1317588 Part 5 - Change Side's operator++ from postfix to prefix. r=mats
The postfix operator++ was actually incorrectly implemented as a prefix
version. Since it's only used in NS_FOR_CSS_SIDES, let's changed it to
prefix version.

MozReview-Commit-ID: GbdB2ZC9KyW

--HG--
extra : rebase_source : a46deea148e07609ca32e6836738de7296090f95
2016-11-23 16:55:04 +08:00
Ting-Yu Lin
2705923138 Bug 1317588 Part 4 - Remove side bits defined in BorderConsts.h r=mats
Those bits are already defined as enum in gfx/2d/Types.h.

MozReview-Commit-ID: 8E81lW9WnAg

--HG--
extra : rebase_source : 959d723a7a223b08a4f0935f4cc4ff894cae1260
2016-11-21 11:56:35 +08:00
Ting-Yu Lin
754b6c9659 Bug 1317588 Part 3 - Remove #define NS_SIDE_TOP/RIGHT/BOTTOM/LEFT. r=mats
This patch was written with the help of the following script. Also, manually
add mozilla qualifier to the enum values in nsStyleCoord.h, gfxRect.h, and
Types.h to make it build.

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "NS_SIDE_TOP" "eSideTop"
rename "NS_SIDE_RIGHT" "eSideRight"
rename "NS_SIDE_BOTTOM" "eSideBottom"
rename "NS_SIDE_LEFT" "eSideLeft"

MozReview-Commit-ID: 9T0ORsqM6nP

--HG--
extra : rebase_source : 884ad96104c6e9cf6c8b3145d2d3a071ecccfe6a
2016-11-18 18:12:25 +08:00
Ting-Yu Lin
c9cfd878cb Bug 1317588 Part 2 - Remove mozilla::css::Side typedef. r=mats
This patch is written with the help of the following script.

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "css::Side" "Side"

MozReview-Commit-ID: DPV6vivpPUp

--HG--
extra : rebase_source : 9c4f66dc9d2b26c89a4517fba4ff9c5db413411b
2016-11-18 16:28:38 +08:00
Ting-Yu Lin
3a4c674931 Bug 1317588 Part 1 - Move NS_FOR_CSS_SIDES and operator++ to gfx/2d/Types.h. r=mats
Make them live with the definition of enum Side.

MozReview-Commit-ID: 5uJPxFPOj79

--HG--
extra : rebase_source : 566f1a680ae85b61b1af0f643f59a4d1ac7472d3
2016-11-18 15:25:33 +08:00
cku
fd94212fce Bug 1319667 - Part 3. Test case for mask longhands on svg element. r=mstange
MozReview-Commit-ID: HF1NiNPfzQs

--HG--
extra : rebase_source : 16ad8f6db362520c7e6ecf949d8a7ed99877b3d5
2016-11-23 14:02:07 +08:00
cku
5ee6e3966a Bug 1319667 - Part 2. Move DrawResult from function parameter of PaintClipMask to the return value. r=mstange
Enlight by "Bug 1314536 - Part 1"

MozReview-Commit-ID: Iogdh7LWsWa

--HG--
extra : rebase_source : aacc88ac39551aeb5ffbb84a11580a0d2eec73cc
2016-11-24 00:08:13 +08:00
cku
6a4c5689f0 Bug 1319667 - Part 1. Allow mask longhands apply to SVG elements. r=mstange
Originally, we use the follwoing statement to determine whether generate mask
for an SVG element:
aUsage.shouldGenerateMaskLayer =
  maskFrames.Length() == 1 && maskFrames[0];

maskFrames[0] is not null only if that mask resource is an SVG-mask. That means
we will not generate mask for image mask to any SVG one.

MozReview-Commit-ID: 4QiifC6J0UR

--HG--
extra : rebase_source : aa90599fc4955c0eb6e5d9d10c168b8643c32e03
2016-11-23 13:51:36 +08:00
Kilik Kuo
de713f4c77 Bug 1319686 - Remove the use of AutoNoJSAPI from HTMLMediaElement::NotifyAudioChannelAgent r=jwwang
MozReview-Commit-ID: FMKloJPpT93

--HG--
extra : rebase_source : 8796cdb9085882c319234595d5fa9aef67ba6532
2016-11-23 18:16:31 +08:00
Daosheng Mu
ab1fbc2684 Bug 1318586 - Adjust OpenVR controller button mapping to be consistency; r=kip
MozReview-Commit-ID: 6ODcMjqYQNP

--HG--
extra : rebase_source : 71a34032d866f373eac2396e80f3ed4ce12f963a
2016-11-18 16:36:51 +08:00
Stone Shih
dc05661157 Bug 1301708 - nsWindow::DealWithPopup() should do nothing at receiving WM_ACTIVATE for a popup window and its wParam includes WA_CLICKACTIVATE. r=masayuki
When the first time user clicks download panel popup to hide the drop marker popup, Windows fires WA_ACTIVATE with wParam includes WA_CLICKACTIVATE to the download panel. In that case the popupWindow is the drop marker. We shouldn't roll up popups by handling WA_ACTIVATE since we'll handle the rollup behavior with WM_LBUTTONDOWN message.

MozReview-Commit-ID: 43jCgdBjjUN

--HG--
extra : rebase_source : 371de468252e7716e2ffe30520939650f76a4222
2016-11-10 16:09:25 +08:00
maliu
1bf966a5c8 Bug 1319302 - RTL support for Firefox for Android, r=sebastian
MozReview-Commit-ID: bKzW07YBDy

--HG--
extra : rebase_source : 591b8f98a7a287dbf2b7748a97211c81a3ac11aa
2016-11-11 16:10:21 +08:00
Boris Chiou
f045a91867 Bug 1317178 - Pass the property name to Servo_DeclarationBlock_SerializeOneValue. r=birtles
In order to use single_value_to_css() in
Servo_DeclarationBlock_SerializeOneValue(), we need to pass the property name
and a flag for custom properties.

MozReview-Commit-ID: 5HfI2qOmPwP

--HG--
extra : rebase_source : 968468b3c9313c4ec3007ee9883075c8fc4ab769
2016-11-22 19:18:18 +08:00
JW Wang
8565b864ed Bug 1319790 - add assertions to detect if MediaDecoder is deleted without Shutdown() being called. r=kaku
Also call mResourceCallback->Disconnect() in the destructor in case Shutdown() is not called to avoid dangling pointer.

MozReview-Commit-ID: 1qV4m8nWlGq

--HG--
extra : rebase_source : f40f77d64ccaace921625067ff8c51e322eec1b9
2016-11-24 11:59:18 +08:00
JW Wang
b89b9e675b Bug 1319357 - clean up media elements when media tests are done. r=jya
MozReview-Commit-ID: GHJAwxR50AG

--HG--
extra : rebase_source : bdb6d045fddf65d18779b056baa496dc1c71e756
extra : source : 691ffaaf98a3796c92bab0e58eb56d0212601acc
2016-11-22 17:02:08 +08:00
JW Wang
109db02de3 Bug 1319698 - Remove MediaDecoderReader::SetIdle(). r=jya
MozReview-Commit-ID: ArGqum1MSIO

--HG--
extra : rebase_source : fddf43d270607c1ed4bab938b9d8b5f83dd0f8fb
2016-11-23 17:30:31 +08:00
Chris Pearce
27f8f13960 Bug 1316215 - Merge SelectGMP and LaunchGMP into one synchronous IPC operation. r=gerald
We were seeing almost permaorange failures in the WebRTC H.264/GMP tests
due to the GMP being shutdown in the parent process in between the
content process performing an OOP select operation and then performing
an OOP launch operation.

That is, in GeckoMediaPluginServiceChild::GetContentParent() in between
the SendSelectGMP completing and the SendLaunchGMP completing, the GMP
would shutdown and so when the launch operation ran in the main process
it would fail.

The select and launch are seperate operations so that the crash handler
can be reported to the content process and an association can be made
in the content process between the plugin ID and the crash helper before
we try to launch the GMP. This is so that if the GMP crashes on startup,
we're ready to handle the crash.

However it turns out that if the GMP crashes on startup, the crash report
message comes in after another round of the event/IPC message loop. So we
actually do have time in the content process to connect the crash helper
after the launch fails.

So in order to fix the problem of the GMP shutting down in between select
and launch, we can partially revert the changes I made in Bug 1267918 to
merge selecting and launching GMPs back into a single operation.


MozReview-Commit-ID: 5n4T1Gqlvr3

--HG--
extra : rebase_source : 6e6892a5e32a485b5bfc2f93bddb2d2fe5a422bd
2016-11-22 14:17:59 +13:00
Chris Pearce
39f5dc88d5 Bug 1316215 - Make GMPParent::IsUsed() take into account whether there are pending GetContentParent calls. r=gerald
In a similar vein to the previous patch, while we're waiting on a
GetContentParent promise to resolve, we don't want the GMPParent
to shutdown. So make IsUsed() check whether we're waiting on a
GetContentParent promise to resolve, so we don't pull the rug out
from under any code waiting to get a content parent to bridge a
GMP.

MozReview-Commit-ID: 8cTCuXLXMsK

--HG--
extra : rebase_source : 8cc04d57ea1ef4e48c7ff088dbb12eabe4b3b223
extra : source : f79a51d9bd193024f7359ba6ff75076b15d15faf
2016-11-18 12:37:14 +13:00
Chris Pearce
4fa2a5c829 Bug 1316215 - Block GMPContentParent close while a GMPService::GetContentParent is being processed. r=gerald
When GMPService::GetContentParent returns a MozPromise, we end up failing in
test_peerConnection_scaleResolution.html with e10s enabled because we Close()
the GMPContentParent twice. The test causes two GMPVideoEncoderParents to
be created. When the number of IPDL actors on the GMPContentParent reach 0,
we close the IPC connection. With GetContentParent() returning a MozPromise,
it's more async, and so we can end up requesting the content parent in order
to create the second GMPVideoEncoderParent, but while we're waiting for
the promise to resolve the previous GMPVideoEncoderParent is destroyed and
the GMPContentParent closes its IPC connection. Then the GetContentParent
promise resolves, and that fails to operate correctly since it's closed its
IPC connection.

My solution here is to add a "blocker" that prevents the GMPContentParent from
being shutdown while we're waiting for the GetContentParent promise to resolve.

MozReview-Commit-ID: HxBkFkmv0tV

--HG--
extra : rebase_source : 59aa7bcfe8b8f44274d136d6147a946542a64fff
extra : source : 59ab10349b58b0fbe13dca9312ec82332f7c3dbe
2016-11-16 10:59:08 +13:00
Chris Pearce
c93e08bf59 Bug 1316215 - Promisify GMPService GetGMPContentParent and GetServiceChild. r=gerald
MozReview-Commit-ID: 5ydGmZWGzWG

--HG--
extra : rebase_source : bc61628e97243db55b68d1efc93e7b55f32628e5
extra : intermediate-source : 7ca4bd360797b8207d26e46192400307cf046593
extra : source : eda96f88317dbf0c696aeaab8993bf2f030517c0
2016-11-09 15:52:22 +13:00
Xidorn Quan
934b500aa8 Bug 1319994 - Use NS_ERROR for not-implemented CSS rules. r=heycam
MozReview-Commit-ID: 9E1ThQuqBf1

--HG--
extra : rebase_source : be254d83da1f1969f26b5e1f92a6df72323c7202
2016-11-24 16:28:28 +11:00
Iris Hsiao
f2a7e74795 Backed out changeset b3574d03261b (bug 1319286) for GTest Assertion failures 2016-11-24 13:26:39 +08:00