Commit Graph

484272 Commits

Author SHA1 Message Date
Gijs Kruitbosch
6fc19dc1e3 Bug 1287980 - fix combined toolbar button styling after undo reset, r=jaws
MozReview-Commit-ID: GnkIUIAByH7

--HG--
extra : rebase_source : 1fce678c641bb3461e7ee71b4cf61b0790ed1c3b
2016-07-20 13:27:10 +01:00
Manish Goregaokar
52b9ca33f3 Bug 1288383 - Replace NS_STYLE_USER_FOCUS_* with an enum class; r=heycam
MozReview-Commit-ID: A7BYcfsn1tI

--HG--
extra : rebase_source : b893331b173a306143e546f0d403ae25f827fae2
2016-07-25 11:56:40 +05:30
Manish Goregaokar
d78a51cbcc Bug 1288383 - Replace NS_STYLE_FLOAT_EDGE_* with an enum class; r=heycam
MozReview-Commit-ID: FrH5kGWeXkL

--HG--
extra : rebase_source : 73c3446ba07f31f3fbfb6eca304ebe88cccf359a
2016-07-25 11:56:05 +05:30
Manish Goregaokar
b3653dd18e Bug 1288383 - Replace NS_STYLE_BOX_SHADOW_* and NS_STYLE_BASIC_SHAPE_* with enum classes; r=heycam
MozReview-Commit-ID: EgC9rPNXbod

--HG--
extra : rebase_source : 8bd51a9bd776c02979093a0ec76cfc42bcee8ffd
2016-07-25 11:53:27 +05:30
Manish Goregaokar
f4dffe63a1 Bug 1288383 - Replace NS_STYLE_CLIP_PATH_* with an enum class; r=heycam
MozReview-Commit-ID: H6nwOybonF3

--HG--
extra : rebase_source : db3ab986f7708540219cefa18a21b4624a2dc27a
2016-07-25 11:52:34 +05:30
Sebastian Kaspari
d3f6c0eed6 Bug 1284387 - Remove audio control notification after playing tab has been closed. r=ahunt
MozReview-Commit-ID: 9nrlKpcedzQ

--HG--
extra : rebase_source : 06b3e7b26ca4e5007150780446346eedc9a63653
2016-07-21 15:33:48 +02:00
Chris Pearce
d29928ce19 Bug 1288976 - Only retry MediaKeySystemAccess requests on 'gmp-changed' notification if the CDM is now installed. r=gerald
This ensures we'll only retry requests if we know the install operation has
completed for a given GMP. This means if (say) OpenH264 happens to install
while we have a Widevine request pending, we won't retry the Widevine request,
as that would fail. The Widevine request will retry once the Widevine CDM
has downloaded and in turn fires its gmp-changed notification.



MozReview-Commit-ID: E3CV9uID4pS

--HG--
extra : rebase_source : 4e27210a9e6c28118e93f45846b63aaa64f5882d
2016-07-25 13:38:08 +12:00
Chris Pearce
d183d8433b Bug 1288976 - Use gmp-changed rather than gmp-path-added to retry MediaKeys requests. r=gerald
We're already routing the "gmp-changed" observer service notification over from
the chrome process to the content process, and it fires at pretty much the same
time as the "gmp-path-added" notification (and a few more) so we can just switch
to have the MediaKeySystemAccessManager listen on that notification instead, and
we'll be e10s compatible.




MozReview-Commit-ID: EowFDfdWgAJ

--HG--
extra : rebase_source : ad01990278cf9005f6676ef0b7fa0acbf69249eb
2016-07-25 10:18:34 +12:00
Masayuki Nakano
464384943c Bug 1288318 Initialize TSFTextStore::mInputScopes at initializing its members rather than after setting focus to the context r=m_kato
In CreateAndSetFocus(), SetInputScope() is called *after* setting focus to the context. At this time, Google Japanese Input retrieves InputScopes. Therefore, TSFTextStore returns IS_DEFAULT. But after that, Google Japanese Input tries to retrieve InputScopes after every notification (in this case, a call of ITextStoreACPSink::OnLayoutChange()). Then, we return IS_URL due to set after returns IS_DEFAULT.

This is actually our fault, but according to the other TIPs, Google Japanese Input shouldn't commit composition at detecting an InputScope change, though.

MozReview-Commit-ID: 2tPlcEA0MI0

--HG--
extra : rebase_source : 0956bf79ed84b7b901b6314bb483e40436d49751
2016-07-22 23:30:12 +09:00
Boris Chiou
a8ff634f84 Bug 1272475 - Part 2: Add crashtests and mochitests. r=heycam
MozReview-Commit-ID: A8CpiMLfa7Q

--HG--
extra : rebase_source : 5a9b2911c41e4c08249a9d85e95a8bb2fa906493
2016-07-20 16:00:36 +08:00
Makoto Kato
b1da9d4a6c Bug 1094729 - Part 2. Support floating candidate window for hardware keyboard on Android 5+. r=jchen
MozReview-Commit-ID: G148os7J9wO

--HG--
extra : rebase_source : 1cbf1cb1a2a6897439effa7f3edf720adc184e15
extra : histedit_source : 2d84917b32d5eca4066e426f94ece36e81c0bdea
2016-07-20 16:19:05 +09:00
Boris Chiou
39b242ab37 Bug 1272475 - Part 1: Clamp max/min float value in the parser of CSS Transform function. r=heycam
To avoid calculate +/-infinite function value, we clamp it in the parser level.
Also, we use EnsureNotNan while calculating the interpolation for translate
function, so it's also better to do EnsureNotNan before call SetFloatValue()
while calculating the interpolation for rotate (AddCSSValueAngle) and scale
functions.

MozReview-Commit-ID: 1k19ytyNG1N

--HG--
extra : rebase_source : 73f152b52e067d52a1925215ad78a4c5cc736fd7
2016-07-20 15:14:05 +08:00
Xidorn Quan
834c029b00 Bug 1284788 - Allow change target of pointer lock when the pointer has been locked in the document. r=smaug
MozReview-Commit-ID: HiPkCPrQQr0

--HG--
extra : rebase_source : ce3826834065242a4e99b82d52ac65ddc205ae61
2016-07-20 14:42:08 +10:00
Benoit Girard
90c16684c7 Bug 1288954 - Only log error if failureId is set. r=jrmuizel
MozReview-Commit-ID: HsjNnHTqaya

--HG--
extra : rebase_source : 17858078f32ecb34146453441bb4f6405c30fcd9
2016-07-24 11:11:09 -04:00
Mark Hammond
1c158e3d9c Bug 1288877 - prevent bookmarks batch operations from triggering a continious sync.r=tcsc
MozReview-Commit-ID: L2zh6owKH4S

--HG--
extra : rebase_source : c8842b163fe7c5a3df0bd8dcbed3cb30fcaf3131
2016-07-23 10:43:04 +10:00
Bob Silverberg
55401c8180 Bug 1280357 - Update browser.history.onVisited to not call PlacesUtils.promisePlaceInfo, r=kmag
MozReview-Commit-ID: 3j4JdWI6APu

--HG--
extra : transplant_source : %B0ir%3B%FF%08%1A%08%D8%DDa%C1%90%AD%03%97M%DA%E3%FC
2016-07-19 17:01:08 -04:00
Alexandre Lissy
d62c2c8293 Bug 1287854 - Fix MediaEngineGonk build r=padenot
MozReview-Commit-ID: 5jmepGcWiIG

--HG--
extra : rebase_source : 55e0d6b33dd2670fb4ac40afca011c1d34b438f8
2016-07-19 19:09:16 +02:00
Henrik Skupin
faa2229a5e Bug 1287723 - Fix test_screenshot.py to properly wait for new chrome window to be loaded. r=automatedtester
MozReview-Commit-ID: KiFGbNdddJe

--HG--
extra : rebase_source : 87ccbb02cdb45531efc7fe948c57c10e9e03b547
2016-07-21 11:10:14 +02:00
Gian-Carlo Pascutto
0b8cfd1d36 Bug 1284240 - Use boolean rather than flag for Sandboxing Telemetry. r=gfritzsche
MozReview-Commit-ID: EsXFAbEyxYs

--HG--
extra : rebase_source : 95bbfa30597490fb1b972056651b75f5a129daad
2016-07-21 09:39:09 +02:00
Milan Sreckovic
f49db94bcc Bug 1287945: Return the number of modified/filled preferences and use it for subsequent operations. r=aklotz 2016-07-19 15:10:00 +02:00
Julian Hector
3236586a67 Bug 1285769 - Add sys_get_mempolicy to seccomp whitelist. r=gcp 2016-07-25 19:37:58 +02:00
Julian Hector
1ab18ae903 Bug 1285770 - Add sys_fallocate to seccomp whitelist. r=gcp 2016-07-23 17:13:52 +02:00
Tim Huang
e18b1be852 Bug 1283325 - Part 2 : Add a test case to test the EME is originAttributes aware or not. r=cpearce 2016-07-25 08:55:00 +02:00
Tim Huang
71ca0b6bc8 Bug 1283325 - Part 1 : Make EME Plugins / Gecko Media Plugins storage OriginAttribute aware. r=cpearce 2016-07-22 08:40:00 +02:00
Jim Mathies
b5801fa3f7 Bug 1283274 - Disable windowless workaround if we detect a flash library that support async rendering. r=aklotz
MozReview-Commit-ID: 3RubBjRoeEa
2016-07-25 15:45:29 -05:00
Ting-Yu Chou
a7d35e9f6b Bug 1278505 - Remove unneeded NS_NOTREACHED from DeallocPPrintProgressDialogChild(). r=mconley
MozReview-Commit-ID: 7WvZM390h8W

--HG--
extra : transplant_source : %7B%C6%26%18%C8i%20U%165%A9%90%F2%13%7B%16%AC%3D4%8A
2016-07-22 09:35:22 +08:00
Martin Stransky
1130b1827c Bug 1282753 - move button and entry widgets from gtk3drawing to WidgetCache, r=andrew@comminos 2016-07-20 01:57:00 +02:00
Ethan Lin
e89d62b83f Bug 1279986 - Make WebGL Uniform*, UniformMatrix* and VertexAttrib* accept SharedArrayBuffer. r=jgilbert 2016-07-19 20:00:00 +02:00
isangelawu
5362a0f92e Bug 1275473 - Implement CompositionEvent.ranges. r=masayuki, r=smaug 2016-07-26 12:09:07 +02:00
Haik Aftandilian
8f7ffc84b7 Bug 1274540 - Record sandboxing status in crash reports; r=gcp
Adds content sandbox metadata to parent and child crash reports:
Includes the value of pref security.sandbox.content.level,
whether or not the system is capable of sandboxing, if the
sandbox was successfully turned on, and (on Linux systems)
the sandbox capabilities flags.

New crash report keys:
"ContentSandboxLevel" in parent and content
"ContentSandboxCapable" in parent
"ContentSandboxEnabled" in content
"ContentSandboxCapabilities" in content on Linux
2016-07-25 13:21:00 +02:00
Kate McKinley
01cbd73591 Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb,r=mayhemer,r=jld,r=smaug,r=dkeeler,r=jmaher,p=ally
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

(r=ckerschb,r=mayhemer,r=jld,r=smaug,r=dkeeler,r=jmaher,p=ally)
2016-07-25 12:37:00 +02:00
Andreas Tolfsen
c6cfc1c7ad Bug 1287751 - Remove logging in GeckoDriver#startBrowser; r=automatedtester
MozReview-Commit-ID: K7ZV3BajNS8

--HG--
extra : rebase_source : 3076a5b4299453f450a06bed7f4f260c768515cc
2016-07-19 13:25:56 +01:00
Mike Hommey
cb0e41dd08 Bug 1288313 - Ensure the host and target compilers build for the right endianness. r=chmanchester
--HG--
extra : rebase_source : d47263faac601a0d1b5a89ac6e9d3d373f0b15a1
2016-07-21 08:24:45 +09:00
Henry Chang
5efab66305 Bug 1275507 - XPCOM API to create SB v4 update request. r=francois
MozReview-Commit-ID: RfM3KFe6kG

--HG--
extra : rebase_source : b208a6b83953b21db7bf1a857453d55fa9ab1c87
2016-07-19 18:09:53 +08:00
Nancy Pang
2290b0bb8f Bug 1287474 - Remove uneeded keyboard handler. r=Honza
MozReview-Commit-ID: 41UNnQGPom7

--HG--
extra : rebase_source : 8641c6cdf3ab9944de14ec01fc535e74f2c6ed04
2016-07-18 12:00:25 -04:00
Towkir Ahmed
9e080b773b Bug 1286128 - Prevent eyedropper button from being overflown in the color picker. r=jdescottes
--HG--
extra : rebase_source : 25dcfb2d72fa9d61ce3f5c90ed2e43d8086b0c11
2016-07-21 03:19:00 -04:00
Dalimil Hajek
1636092871 Bug 1275887 - Remove longPropIterator/shortPropIterator in reps. r=odvarko
--HG--
extra : rebase_source : ba7bfb53abc520748629a9fb075c0e5c5569ff5f
2016-07-20 06:22:00 -04:00
Jan Odvarko
8b6f76bc43 Bug 1287413 - Avoid blank area in the Sidebar. r=pbro
--HG--
extra : rebase_source : 3d8bfc8200bbb722689ed80fb87a96e4886a56ed
2016-07-21 07:02:49 +02:00
Jan Odvarko
6ceb664a74 Bug 1287368 - Fix inspector sidebar portrait mode. r=pbro
--HG--
extra : rebase_source : 80728b4530a86bda280f1138eda25e343bae2571
2016-07-19 09:57:59 +02:00
Allasso Travesser
bf6b26dcfd Bug 1287456 - Set flag on tab to indicate that it has a browser. r=dao 2016-07-21 17:25:28 +02:00
Dão Gottwald
1d5f203656 Bug 1287408 - Restor accidentally removed code for auto-allowing persisted permissions. r=dale 2016-07-21 17:23:13 +02:00
Carsten "Tomcat" Book
a8e41b0eb2 Merge mozilla-central to fx-team 2016-07-21 16:27:04 +02:00
Rob Wu
5d91567c97 Bug 1280482 - Add export helpers to content scripts. r=kmag
MozReview-Commit-ID: I4o3NXVphJX

--HG--
extra : transplant_source : P%B0k%A3%E6%ADz%ACE%BF%2B%5C%B0%9C%E8k%A3%DF%D6%C8
2016-07-15 23:33:47 -07:00
Sebastian Kaspari
94363d0dc6 Bug 1280148 - Enable Chrome Custom Tabs in Nightly be default r=glandium
MozReview-Commit-ID: E4IXJ3I0Jdo

--HG--
extra : rebase_source : e794d9de2521f53eeae4d49e75bbbd213caeffb4
extra : amend_source : 605466851ab8acb62bd4f400d8fd4beaefc94799
2016-07-15 20:36:58 +02:00
Jamie Nicol
64528a4fed Bug 1164027 - Do not call glTexImage2D if likely to fail on Adreno 3xx devices; r=jrmuizel,snorp
There is a bug in the graphics driver for Adreno 3xx GPUs on android
versions up to 4.4 which segfaults if a texture allocation fails due to
virtual memory exhaustion.

On affected devices, guess whether an allocation would succeed and avoid
calling glTexImage2D where we believe it would fail. As the texture will
not be allocated this will likely cause problems such as black
rectangles appearing on the screen, but that is preferable to crashing.

MozReview-Commit-ID: 7xVI22pAdwb

--HG--
extra : transplant_source : %12%2B%C9%E2%DC%10%BE%C9%A7%E4%2C%FF%27%80%5D7%E0%8B%A2U
2016-07-15 16:58:58 +01:00
Tim Huang
2107711fca Bug 1287607 - Making the stylesheets editor using the system principal to load CSS files from 'chrome://' URL. r=gl 2016-07-19 17:39:00 +02:00
Jaideep Bhoosreddy
55e61dc998 Bug 670002 - Use source maps in the web console w/ performance issues; r=jsantell
--HG--
rename : devtools/client/framework/source-location.js => devtools/client/framework/source-map-service.js
2016-07-20 19:09:00 +02:00
Jaideep Bhoosreddy
02353bc27a Bug 670002 - Tests for source maps in the web console w/ performance issues; r=jsantell
--HG--
rename : devtools/client/framework/test/browser_source-location-01.js => devtools/client/framework/test/browser_source_map-01.js
rename : devtools/client/framework/test/browser_source-location-02.js => devtools/client/framework/test/browser_source_map-02.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.coffee => devtools/client/framework/test/code_binary_search.coffee
rename : devtools/client/debugger/test/mochitest/code_binary_search.js => devtools/client/framework/test/code_binary_search.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.map => devtools/client/framework/test/code_binary_search.map
rename : devtools/client/debugger/test/mochitest/doc_empty-tab-01.html => devtools/client/framework/test/doc_empty-tab-01.html
2016-07-19 14:42:00 +02:00
Wes Kocher
6b345a6cc2 Backed out changeset b9c789ba01a0 (bug 1286186) for test_reps_array.html failures CLOSED TREE 2016-07-20 15:19:45 -07:00
Wes Kocher
2f6e5ed95c Backed out changeset c6a1177a17e4 (bug 670002) because it should have been backed out with the other patch from this bug CLOSED TREE
--HG--
rename : devtools/client/framework/test/browser_source_map-01.js => devtools/client/framework/test/browser_source-location-01.js
rename : devtools/client/framework/test/browser_source_map-02.js => devtools/client/framework/test/browser_source-location-02.js
2016-07-20 15:15:33 -07:00