Commit Graph

477400 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
9e39dd8938 Bug 1273042 - Part 1: Use StyleContext()->GetPseudoType() to obtain CSSPseudoElementType for the nsIFrame. r=birtles
Before this patch, we could't use EffectSet::GetEffectSet(nsIFrame*) until
the target content associated with the nsIFrame has a primary frame since
nsLayoutUtils::GetStyleFrame(nsIContent*) needs the primary frame.

In this patch, StyleContext()->GetPseudoType() is used for obtaining
CSSPseudoElementType instread of content->NodeInfo()->NameAtom().
As a result, we don't need to care about whether the content has a
primary frame or not.
2016-06-01 16:24:34 +09:00
Chris Peterson
6b776e8000 Bug 1277014 - Fix -Wstring-conversion warnings in security/manager/ssl/. r=keeler
security/manager/ssl/nsNSSComponent.cpp:1694:16 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [31]' to 'bool'
security/manager/ssl/nsNSSIOLayer.cpp:1333:16 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [22]' to 'bool'
security/manager/ssl/nsNSSIOLayer.cpp:1341:16 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [22]' to 'bool'
security/manager/ssl/nsNSSIOLayer.cpp:1349:16 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [22]' to 'bool'
security/manager/ssl/nsNSSIOLayer.cpp:1357:16 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [22]' to 'bool'
2016-05-31 21:51:50 -07:00
Chris Peterson
553aca4e35 Bug 1276567 - Fix -Wstring-conversion warnings in js/ directory. r=billm
js/ipc/WrapperAnswer.cpp:531:16 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [12]' to 'bool'
js/src/jit/MIR.h:63:25 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [26]' to 'bool'
js/src/jit/SharedIC.cpp:1648:21 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [30]' to 'bool'
js/src/jsgc.cpp:7135:21 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [59]' to 'bool'
2016-05-31 21:49:52 -07:00
Chris Peterson
ed15e4ee96 Bug 1276523 - Fix -Wshadow warnings in dom/media/ogg/. r=gerald
dom/media/ogg/OggReader.cpp:625:9 [-Wshadow-compatible-local] declaration of 'samples' shadows a previous local
dom/media/ogg/OggReader.cpp:656:9 [-Wshadow-compatible-local] declaration of 'samples' shadows a previous local
dom/media/ogg/OggReader.cpp:1344:14 [-Wshadow-compatible-local] declaration of 'res' shadows a previous local
dom/media/ogg/OggReader.cpp:1700:22 [-Wshadow-local] declaration of 'res' shadows a previous local
dom/media/ogg/OggReader.cpp:1894:22 [-Wshadow-local] declaration of 'res' shadows a previous local

dom/media/ogg/OpusParser.cpp:185:17 [-Wshadow-compatible-local] declaration of 'i' shadows a previous local
2016-05-30 22:17:35 -07:00
Carsten "Tomcat" Book
ad436d89e5 Backed out changeset b541ce3cbff5 (bug 1277087) for ab build failures
--HG--
extra : rebase_source : bad752021d110e22a4942fd23a9ec04c780a677c
2016-06-01 09:19:06 +02:00
JW Wang
925bd5c7c6 Bug 1276852 - Assert AudioStream::Start() is called when mState is INITIALIZED. r=kinetik.
MozReview-Commit-ID: DeGSEpSWYSM

--HG--
extra : rebase_source : d2ab8b8abb7e9893934783b99939bbfe359e93d0
2016-05-31 14:33:03 +08:00
JW Wang
17e4b1d7d8 Bug 1276851 - Remove AudioStream::mIsFirst. r=kinetik.
MozReview-Commit-ID: H9KCM2zZulA

--HG--
extra : rebase_source : 51387a1bd37f1b22bdb5100abe83af17c0caa481
2016-05-31 14:18:58 +08:00
JW Wang
8d11127d3c Bug 1276849 - some AudioStream::OpenCubeb code cleanup. r=kinetik.
MozReview-Commit-ID: 1X1DXa8fEZN

--HG--
extra : rebase_source : 79ab44ea8cbfd5710006731789925daaad80dc3a
2016-05-31 13:55:27 +08:00
Carsten "Tomcat" Book
a415d80096 Backed out changeset a9db7e5634d7 (bug 1258286) for test_smilCSSFromTo.xhtml test failures 2016-06-01 08:47:06 +02:00
Carsten "Tomcat" Book
85f95c9e86 Backed out changeset d5832177887d (bug 1258286) 2016-06-01 08:46:47 +02:00
Eddy Bruel
ceec41fb99 Bug 1271653 - Use HandleObject for eval bindings instead of HandleValue;r=jimb 2016-06-01 08:37:16 +02:00
Eddy Bruel
8ddce9d86b Bug 1271653 - Use mozilla::range<const char16_t> for eval code instead of HandleValue;r=jimb 2016-06-01 08:36:08 +02:00
Christoph Kerschbaumer
8ca38235c0 Bug 1267754 - Replace WARNING about missing triggeringPrincipal with LOG() r=mcmanus
MozReview-Commit-ID: ESHG6geGqAD

--HG--
extra : rebase_source : 0c2ead7341d796f9d2bb129752f2093038ea7972
2016-05-11 10:58:06 +02:00
Honza Bambas
601acdd087 Bug 1275898 - Proper about:cache asyncOpen implementation + kill the disk entries loop hard on shutdown, r=michal
MozReview-Commit-ID: 3Tmvy45Iayu

--HG--
extra : histedit_source : 736f2ff12fb097bf2776cc900750010a00c4cf2a
2016-05-31 22:20:17 -07:00
Jonathan Hao
525c086187 Bug 1259871 - Replace getSimpleCodebasePrincipal with createCodebasePrincipal. r=sicking
MozReview-Commit-ID: Frx0CjBzuve

--HG--
extra : histedit_source : 036eb321d9ccb20e0e071ba588b0a1249eb34bdd
2016-05-24 18:01:34 +08:00
Dragana Damjanovic dd.mozilla@gmail.com
d53c07485b Bug 1271987 - After on-***-request observers and loadGroup::AddRequest are called, on a failure AsyncOpen() must return async.r=mcmanus, r=mayhemer
MozReview-Commit-ID: AAi6R0pb6It

--HG--
extra : histedit_source : 8c7f0f46745958c7d3aa7e8a5521bb5a38e6e10e
2016-05-31 22:13:23 -07:00
Kit Cambridge
d9d287a14e Bug 1265841 - Implement the notificationclose service worker event. r=wchen,baku
MozReview-Commit-ID: EQfCbQKqn9H

--HG--
extra : rebase_source : 2dad51a3c148db794769fb7c64c28f81ea2ca6ff
extra : histedit_source : 254e2e372ba605f74c1f5106f40b207e492e85e1
2016-04-19 22:04:09 -07:00
Kit Cambridge
02d8a1e5d9 Bug 1265593 - Forward app server keys to Autopush on Android. r=nalexander
MozReview-Commit-ID: 3J4mM1k0pcY

--HG--
extra : rebase_source : c5a33f2f7043321307da17a6915dedfac66f1fc9
extra : histedit_source : 0357740fc62df416635c90a1ad075f6ee5e492e8
2016-03-22 12:09:31 -07:00
Kit Cambridge
978954c755 No bug - Use the correct protocol for insecure Push server URLs. r=me
MozReview-Commit-ID: FmYTQMSIhkP

--HG--
extra : rebase_source : 9a17f7678d6e676e7aff85efbd0cbad7d6cf312a
2016-05-27 17:30:39 -07:00
David Anderson
a27e168838 Ignore SIGINT on all subprocesses. (bug 1277068, r=billm) 2016-05-31 21:49:31 -07:00
Chris Pearce
5dc395709d Bug 1265281 - Blacklist atiumd64.dll versions for D3D9 DXVA which are suspected to crash. r=kentuckyfriedtakahe
MozReview-Commit-ID: 1dfmProc7ck

--HG--
extra : rebase_source : 14835b1634d56c0399c3b84b094a95f871acbe12
2016-05-31 21:08:31 +12:00
Astley Chen
3102a18f88 Bug 1258286: Part 2 - update w3c css masking mask-repeat ref test case. r=heycam
MozReview-Commit-ID: 44YCmdFrmok

--HG--
extra : histedit_source : caa06b6d50b61e7d256cd88a425b824546ee2e8a
2016-06-01 11:13:48 +08:00
Astley Chen
23317c963f Bug 1258286: Part 1 - add layer types to nsStyleImageLayers and layer initialization. r=heycam
MozReview-Commit-ID: ENLXAEA62Bm

--HG--
extra : histedit_source : a93d2a0d1603026dfc94e38e8e754646cd307b6d
2016-06-01 11:00:58 +08:00
JW Wang
f587ac226e Bug 1276840 - Remove AudioStream::RUNNING. r=kinetik.
MozReview-Commit-ID: 3sCGYifUxJO

--HG--
extra : rebase_source : f20ee5647bb92b7bf1a35fde9bb131f4585cb32c
2016-05-31 11:54:30 +08:00
Randell Jesup
420b8a9b0e Bug 1240209: use buffer-half-empty callbacks to send buffered data instead of a timer r=tuexen,drno 2016-05-31 23:45:17 -04:00
Randell Jesup
21cc78c1a6 Bug 1276156: Stop encoder ProcessThreads before deleting the channel r=pkerr
To avoid deadlocks between DeleteChannel() and Process() code

MozReview-Commit-ID: G650SWDH8s0
2016-05-31 23:39:34 -04:00
Ting-Yu Lin
a649636701 Bug 1276870 - Rename parentReflowState to mParentReflowState in nsHTMLReflowState. r=dholbert
MozReview-Commit-ID: ETfT1Iow7kF

--HG--
extra : rebase_source : 0f679077ccb91a1873cb9be9def4008d55579725
2016-05-31 17:40:31 +08:00
Jeff Gilbert
cb9b33550e Bug 1276093 - Warn when we fail to hit the GPU-copy fast-path. - r=jrmuizel 2016-05-31 19:33:22 -07:00
Jeff Gilbert
20401f453e Bug 1276093 - Warn on slow CPU format conversions. - r=jrmuizel 2016-05-31 19:33:22 -07:00
Alastor Wu
eaa6e6ced4 Bug 1257738 - part3 : add test.
MozReview-Commit-ID: AJ4Ua5Hnups
2016-06-01 10:22:17 +08:00
Alastor Wu
b76ee4b13b Bug 1257738 - part2 : modify logic of requesting audio focus in Android.
MozReview-Commit-ID: AG095CIgnA5
2016-06-01 10:21:58 +08:00
Alastor Wu
fa47d77e11 Bug 1257738 - part1 : implement the audio competing mechanism.
MozReview-Commit-ID: GZw7P0kbhOa
2016-06-01 10:21:13 +08:00
Liang-Heng Chen
1e3f941f78 Bug 1258977 - Part 3: handle special case to follow the test; r=bagder
MozReview-Commit-ID: ImGSoBMwQvx

--HG--
extra : rebase_source : 405e43f404cfabbce26709ab789b33de88df5e0f
2016-05-26 17:48:51 +08:00
Liang-Heng Chen
9e816df3f6 Bug 1258977 - Part 2: add proxy exception tests; r=bagder
MozReview-Commit-ID: HS8Y41TtxvF

--HG--
extra : rebase_source : 5db1ed69a56786e329f2ce9a928f793a51171b3d
2016-05-26 14:48:27 +08:00
Liang-Heng Chen
94297c4fad Bug 1258977 - Part 1: separate match function; r=bagder
MozReview-Commit-ID: J4DVAzI0bZm

--HG--
extra : rebase_source : 0a989b57d440c968f17a339282ca577e6af9fa60
2016-05-26 14:34:51 +08:00
Boris Zbarsky
c22814a653 Bug 1276400 part 4. Stop setting dontReportUncaught in XPConnect code, since all consumers got their JSContext from an AutoEntryScript or AutoJSAPI. r=bkelly 2016-05-31 22:04:34 -04:00
Boris Zbarsky
39531c0bc8 Bug 1276400 part 3. Stop setting the dontReportUncaught option in IPC code, since we're working with an AutoJSAPI there. r=bkelly 2016-05-31 22:04:33 -04:00
Boris Zbarsky
519200a808 Bug 1276400 part 2. Stop setting the dontReportUncaught option on the worker JSContext, since workers should be using AutoJSAPI/AutoEntryScript for everything. r=bkelly 2016-05-31 22:01:30 -04:00
Boris Zbarsky
42a30322ba Bug 1276400 part 1. Get rid of AutoDontReportUncaught and its one consumer. r=bkelly 2016-05-31 22:00:17 -04:00
Mike Hommey
301b121903 Bug 1277087 - Always add in-tree search paths when bootstrapping mach. r=gps 2016-06-01 10:52:16 +09:00
Nicholas Nethercote
ec7b5a5b2b No bug. Fix typo in name of mDiscveryTimeoutMs. r=me. 2016-06-01 11:45:16 +10:00
Alexander Surkov
80432e7d0a Bug 1276562 - Hang when inserting a bulleted or numbered list into a contentEditable, r=yzen 2016-05-31 14:46:31 -04:00
Xidorn Quan
7d48b7906b Bug 1274520 part 3 - Listen video events in system group. r=gijs,jaws
Since the UI is now changed in listeners inside the system group, they
are invoked after the listeners added by the content. Because of that,
UI check needs to be asynchronously, otherwise we would be checking the
state before videocontrols update. For the same reason, mouse/keyboard
operations need to be invoked asynchronously as well, otherwise they
would be applied based on the UI before update. This shouldn't change
what is tested here, as user inputs are asynchronous by nature.

MozReview-Commit-ID: 4h9Oa9qMVc5

--HG--
extra : source : ca67bc5ad3a3ddc6cf41dd4c4d6af647d94bc298
2016-06-01 11:35:53 +10:00
Xidorn Quan
8a433ea200 Bug 1274520 part 2 - Listen control events in video controls on system group. r=gijs,jaws
Listeners in the system group are invoked after listeners in the default
group, so we can check defaultPrevented synchronously, and we have to
change the play state according to the state of the play button.

Due to the same reason above, we need to check the UI async in tests.

MozReview-Commit-ID: Bs4MZvGefJj

--HG--
extra : source : b28d589bb2675116fc7927381061fb0a03e39369
2016-06-01 11:35:53 +10:00
Xidorn Quan
ef5e94c156 Bug 1274520 part 1 - Add mozSystemGroup to EventListenerOptions for chrome and XBL to add listener in the system group. r=smaug
MozReview-Commit-ID: 6DdLMEazWIC

--HG--
extra : source : 3469098f26ccae51855666073cfbc3ff82b3685b
2016-06-01 11:35:53 +10:00
Andrew Comminos
8941af6511 Bug 1276734 - Avoid unnecessary invalidations for a nsDisplayTableBorderBackground if it uses a fixed background with a separate display item. r=mattwoodrow
MozReview-Commit-ID: 8zJnLCZsbzC

--HG--
extra : rebase_source : 12200ae0fb8d51fbd46f10cca8227fa81d7499d2
2016-05-30 16:03:50 -04:00
Andrew Comminos
e11a28e748 Bug 1276734 - Use nsDisplayBackgroundImage for table cells without collapsed borders. r=mattwoodrow
MozReview-Commit-ID: JrGVd2z7FFk

--HG--
extra : rebase_source : b52f4651934673a22573393c4d2326191b635011
2016-05-27 18:41:40 -04:00
Makoto Kato
100757988a Bug 1276948 - Remove IMEInputHandler::ConversationIdentifier. r=masayuki
This method is for old NSTextInput API and unused now.

MozReview-Commit-ID: thcbEExH58

--HG--
extra : rebase_source : 7d9f665d867366990c5aac5a54555cc2c3483828
2016-05-31 23:18:04 +09:00
Gregory Szorc
d06abbe862 Bug 1275623 - Use "branch" instead of "revision" to pass symbolic revisions; r=jlund
robustcheckout barfs on symbolic revisions when using "revision."

MozReview-Commit-ID: B7YXqbWG0G1

--HG--
extra : rebase_source : d852930ac24be79004bce978c8ed6542ab58600f
2016-05-31 14:40:04 -07:00
Wes Kocher
6e70ed1223 Merge m-c to inbound, a=merge 2016-05-31 17:18:54 -07:00