Commit Graph

535368 Commits

Author SHA1 Message Date
Andrea Marchesini
2f43217a11 Bug 1363288 - Console.time() prints a warning if used twice with the same label, r=bgrins 2017-05-11 14:36:09 -07:00
Ryan VanderMeulen
6e88e0bfab Bug 1363127 - Include nsPrintfCString.h in ProxyStream.cpp to fix --disable-accessibility bustage. r=aklotz 2017-05-11 17:22:19 -04:00
James Willcox
22e9b1e4cc Bug 1322650 - Don't use AndroidBridge to get API version in media stack r=jolin
AndroidBridge is not available in child processes.

MozReview-Commit-ID: KlBs8F1Bu1O
2017-05-11 15:42:45 -05:00
James Willcox
5f0f52f2b1 Bug 1322650 - Add jni::GetAPIVersion() to get Android API version r=jchen
MozReview-Commit-ID: EfPMfS7RmcH
2017-05-11 15:42:45 -05:00
James Willcox
4a8c671a89 Bug 1322650 - Update JNI bindings r=jchen
MozReview-Commit-ID: EjRjyY8BQxw
2017-05-11 15:42:44 -05:00
James Willcox
8069ecfcd6 Bug 1322650 - Adjust Android Flash support to API changes r=jchen
MozReview-Commit-ID: CmMINaGcTER
2017-05-11 15:42:44 -05:00
James Willcox
40d0e705e9 Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
This is needed to support Flash on Android

MozReview-Commit-ID: 5yNIoZHonla
2017-05-11 15:42:44 -05:00
James Willcox
0f332539ae Bug 1322650 - Don't use inout param for Surface in ICodec r=jolin
It's unnecessary, and the serialization goes wrong with GeckoSurface on the return trip.

MozReview-Commit-ID: 9DUMoLQFhlv
2017-05-11 15:42:43 -05:00
James Willcox
31b30cd5c9 Bug 1322650 - Make video decoding work with new SurfaceTexture API r=jolin
MozReview-Commit-ID: EXQ5YDSMMGL
2017-05-11 15:42:43 -05:00
James Willcox
07fe90bcbb Bug 1322650 - Allow access to TexturePoolOGL from Java r=jchen 2017-05-11 15:42:43 -05:00
James Willcox
85b4c1a702 Bug 1322650 - Disable blitting from a SurfaceTexture r=jgilbert
This has been broken for a while anyway, because we
disabled SurfaceTexture detachment in most cases.

MozReview-Commit-ID: 6ysRGDNCQa0
2017-05-11 15:42:43 -05:00
James Willcox
ad1995d388 Bug 1322650 - Use SurfaceTexture for WebGL on Android in E10S r=jgilbert
The main advantage here is that it works cross-process.

MozReview-Commit-ID: 7YUTVB4Bydg
2017-05-11 15:42:42 -05:00
James Willcox
2372095708 Bug 1322650 - Add GeckoSurfaceTexture, GeckoSurface and associated Android Service r=jchen
This allows us to allocate an Android SurfaceTexture in the compositor process as well
as an accompanying Surface. We can then transfer the Surface back to the content process
via binder, where it can be used for things like WebGL and video decoding.

Each SurfaceTexture/Surface pair has a unique handle. We use this handle in
layer transactions to locate the SurfaceTexture for a given Surface and composite it
appropriately.

MozReview-Commit-ID: 68VSbXdfsMH
2017-05-11 15:42:42 -05:00
Jim Chen
04c08fbf1d Bug 1362195 - 5. Remove GeckoInterface.setFullScreen; r=me
Remove GeckoInterface.setFullScreen now that it's no longer used. r=me
for trivial patch.
2017-05-11 16:40:18 -04:00
Jim Chen
2edd8463c6 Bug 1362195 - 4. Implement onFullScreen for GeckoApp/BrowserApp; r=snorp
Use a custom ContentListener for GeckoApp/BrowserApp that implements
onFullScreen to set full screen mode for the Activity.
2017-05-11 16:40:17 -04:00
Jim Chen
044b6b9b8c Bug 1362195 - 3. Call onFullScreen for full screen changes; r=snorp
Send an event from nsWindow to GeckoView when we enter/exit full screen
mode, and call ContentListener.onFullScreen to notify the implementer.
2017-05-11 16:40:17 -04:00
Jim Chen
1137640d64 Bug 1362195 - 2. Add onFullScreen to GeckoView.ContentListener; r=snorp
Add the onFullScreen method to GeckoView.ContentListener to handle
entering and exiting full screen mode.
2017-05-11 16:40:17 -04:00
Jim Chen
34b8e70127 Bug 1362195 - 1. Add EventDispatcher::Dispatch for C++ code; r=snorp
Add an EventDispatcher::Dispatch function for C++ code, so native code
can dispatch events to JS/Java.
2017-05-11 16:40:17 -04:00
Jim Chen
18c0a5d9ca Bug 1356698 - Use application context in AndroidGamepadManager; r=snorp
Use application context in AndroidGamepadManager to avoid crash when
trying to use GeckoAppShell.getContext() in content process.
2017-05-11 16:39:30 -04:00
Jim Chen
7785e0c15b Bug 1362191 - 4. Remove GeckoInterface.doRestart; r=me
Remove GeckoInterface.doRestart now that it's no longer used.
2017-05-11 16:39:30 -04:00
Jim Chen
05c9cfa565 Bug 1362191 - 3. Remove GeckoAppShell.scheduleRestart; r=snorp
GeckoAppShell.scheduleRestart was called from XPCOM toolkit when we
needed to restart after the Gecko thread exits. But because we made the
"Gecko:Exited" event contain a "restart" flag, we can handle that
entirely in Java now, so we don't need to call
GeckoAppShell.scheduleRestart anymore.
2017-05-11 16:39:30 -04:00
Jim Chen
2a44ba08f8 Bug 1362191 - 2. Move shutdown to GeckoApplication; r=snorp
Move the code that actually performs shutdown from BrowserApp to
GeckoApplication, so we can shutdown even without an active BrowserApp.
From inside GeckoApp/BrowserApp, all shutdown now go through
finishAndShutdown(), which destroys the Activity before shutting down.
2017-05-11 16:39:30 -04:00
Jim Chen
87eb61480f Bug 1362191 - 1. Add "restart" flag for "Gecko:Exited" event; r=snorp
In the GeckoBundle data for the "Gecko:Exited" event, indicate whether
we should restart or not through the "restart" flag.
2017-05-11 16:39:29 -04:00
Gabriel Luong
824b4d7c66 Bug 1335768 - Set debugger/new/panel.js and netmonitor/panel.js to be ignored during the webpack module parse. r=jdescottes 2017-05-11 16:36:16 -04:00
Aaron Klotz
0c505ba983 Bug 1363887: Use nsAutoHandle for CreateBitmap call in AccessibleWrap::UpdateSystemCaretFor; r=tbsaunde
MozReview-Commit-ID: CbLqtqMEw32

--HG--
extra : rebase_source : 44a96fef761917b09f96f5a46be94327df504e67
2017-05-10 16:04:05 -06:00
Kevin Jones
4d0d5937ec Bug 1363078 - Refuse to insert lazy browsers in closed windows. r=dao
MozReview-Commit-ID: Gc783ESwXjv
2017-05-11 22:31:15 +02:00
Samuel Vargas
e6e5dce84e Bug 1364169 - On ANGLE context creation asks for robustness but does not get it. r=jgilbert
--HG--
extra : rebase_source : a5233c815aa7e7b0f794c403e85d790478affee8
2017-05-11 12:48:00 -04:00
Zibi Braniecki
060e591797 Bug 1358159 - Handle string terminator for GetLocaleInfoEx. r=jfkthame
MozReview-Commit-ID: 4Hu1N4gNobx

--HG--
extra : rebase_source : bc90fc051da8bb7bc024b3be0575c35f537046db
2017-05-10 12:42:26 -07:00
Randall Barker
3bc44d3fb9 Bug 1302150 - Ensure the dynamic toolbar becomes visible when end of page is reached r=kats
MozReview-Commit-ID: 2t1wfwGug6e
2017-05-11 13:10:34 -07:00
Randall Barker
05a319ede2 Bug 1358775 - Fix the dynamic toolbar animator to animate the toolbar in place instead of shifting content with the toolbar r=botond,nical
MozReview-Commit-ID: 85l2d6q7OdL
2017-05-11 13:10:34 -07:00
Kris Maglione
37bcd40492 Bug 1353060: Allow APZ in popup window widgets. r=kats
Prior to this patchset, we never hosted remote, scrollable content in widgets
other than toplevel and child windows, so all other widget types have APZ
disabled. Since we now need to host remote content in popup widgets, and would
like similar performance and behavior for those browsers as other remote
browsers, we also need to enable APZ for those widgets too.

MozReview-Commit-ID: AVDt9U5i2WK
2017-04-17 13:29:56 -07:00
Kris Maglione
bcc24533a6 Bug 1353060: Disable remote frameloaders in small popup widgets. r=kats
Since we now want to support APZ for remote frameloaders in popups, but do not
want to needlessly enable it in simple popup widgets which should never host
remote content, we need to prevent remote content from being loaded into those
popups.

MozReview-Commit-ID: WfjMC2p2eK
2017-04-17 13:45:08 -07:00
Kris Maglione
503713f913 Bug 1353060: Use the correct layer manager for frameloaders in <popup>s. r=kats,mattwoodrow
Currently, we only correctly support remote layer trees for frameloaders that
use the same layer manager as their document. Since we need to be able to host
remote <browser> content in popup widgets for remote WebExtensions, we need to
tie the frameloaders to the layer manager of their host element, rather than
the root layer manager for the document.

MozReview-Commit-ID: 4RCsamFBiQw
2017-04-17 21:41:18 -07:00
James Graham
57367d9eb4 Bug 1363982 - Fix missing directories in moz.build, a=bustage on a CLOSED TREE
MozReview-Commit-ID: 1aGV5hth8sT
2017-05-11 19:08:20 +01:00
Gabriel Luong
4bf211e698 Bug 1335768 - Remove the Heritage.extend dependency in the markup view. r=jdescottes 2017-05-11 13:47:01 -04:00
Byron Campen [:bwc]
85231bad6e Bug 1361100: Perform all timer init after removal from TimerThread. r=froydnj 2017-05-01 14:50:37 -05:00
Boris Zbarsky
3ec9d2495f Bug 1363961. Fix the order of arguments to FindInReadable in AttrHasSubstring. r=heycam
MozReview-Commit-ID: BAsd9bN4dtA
2017-05-11 13:25:14 -04:00
Ryan VanderMeulen
9669157cae Bug 1364136 - Update pdf.js to version 1.8.346. r=bdahl 2017-05-11 13:17:17 -04:00
James Graham
fdae3f6561 Bug 1364128 - Disable unstable wpt modules test, a=testonly
MozReview-Commit-ID: IgQunlPHunj
2017-05-11 18:01:48 +01:00
James Graham
08f0be2a98 Bug 1364124 - Disabled unstable indexeddb tests on win8-opt, a=testonly
MozReview-Commit-ID: KpZKYj0dmGV
2017-05-11 18:01:48 +01:00
James Graham
61efc53d14 Bug 1351890 - disable unstable service worker test on Windows only, a=testonly
MozReview-Commit-ID: BOGZMWVHnse
2017-05-11 18:01:48 +01:00
James Graham
79e6f3d9cd Bug 1363797 - Update geckodriver to 0.16.1, a=testonly
MozReview-Commit-ID: IkkjuATYbbl
2017-05-11 18:01:47 +01:00
James Graham
3c7b6c4f29 Bug 1363982 - Pass browser capabilities in alwaysMatch, a=testonly
MozReview-Commit-ID: FTmkGARaHOa
2017-05-11 18:01:47 +01:00
James Graham
8ae1f394a6 Bug 1363982 - Clean up fixtures for session creation in wdspec, a=testonly
[Cherry-picked from wpt]

This introduces two fixtures for creating a multi-test session and a
longlived session. For performance it is important that we don't
ordinarily create a new session for each test, but it's also important
that specific tests are able to create new sessions with arbitary
capabilities.

MozReview-Commit-ID: DNZCgmkrwvn
2017-05-11 18:01:47 +01:00
James Graham
cb3c5fd799 Bug 1363982 - Update web-platform-tests expected data to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a, a=testonly
MozReview-Commit-ID: 64BfbLZKedo
2017-05-11 18:01:47 +01:00
Maja Frydrychowicz
6a2baa22bb Bug 1357590 - Add default button to pointer_up and pointer_down; r=ato
MozReview-Commit-ID: Ll7O3peSrme
2017-05-11 18:01:46 +01:00
Maja Frydrychowicz
4b64f1dcc1 Bug 1345653 - Add pause and click to actions client API; r=ato
MozReview-Commit-ID: 9yMUtEWt2tx
2017-05-11 18:01:46 +01:00
James Graham
d7e6aa0db8 Bug 1318724 - Increase the HTTP connection timeout for WebDriver tests, r=ato
The 5s timeout was not enough for debug builds. I don't really see a
reason to use something other than the default socket timeout here.

MozReview-Commit-ID: Fm5lgSI3lFb
2017-05-11 18:01:46 +01:00
James Graham
b598a77d59 Bug 1363982 - Update web-platform-tests to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a a=testonly
MozReview-Commit-ID: KjIquC2PKKI


--HG--
rename : testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_ecdh_bits.html => testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_ecdh_bits.https.html
rename : testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_ecdh_keys.html => testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_ecdh_keys.https.html
rename : testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_hkdf.html => testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/test_hkdf.https.html
rename : testing/web-platform/tests/WebCryptoAPI/digest/test_digest.html => testing/web-platform/tests/WebCryptoAPI/digest/test_digest.https.html
rename : testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_cbc.html => testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_cbc.https.html
rename : testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_ctr.html => testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_ctr.https.html
rename : testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_gcm.html => testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_aes_gcm.https.html
rename : testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_rsa_oaep.html => testing/web-platform/tests/WebCryptoAPI/encrypt_decrypt/test_rsa_oaep.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_aes-cbc.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_aes-cbc.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_aes-ctr.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_aes-ctr.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-CBC.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-CBC.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-CTR.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-CTR.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-GCM.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-GCM.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-KW.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_AES-KW.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_ECDH.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_ECDH.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_ECDSA.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_ECDSA.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_HMAC.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_HMAC.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSA-OAEP.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSA-OAEP.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSA-PSS.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSA-PSS.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSASSA-PKCS1-v1_5.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_failures_RSASSA-PKCS1-v1_5.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-CBC.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-CBC.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-CTR.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-CTR.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-GCM.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-GCM.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-KW.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_AES-KW.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_ECDH.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_ECDH.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_ECDSA.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_ECDSA.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_HMAC.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_HMAC.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_RSA-PSS.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_RSA-PSS.https.html
rename : testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_RSASSA-PKCS1-v1_5.html => testing/web-platform/tests/WebCryptoAPI/generateKey/test_successes_RSASSA-PKCS1-v1_5.https.html
rename : testing/web-platform/tests/WebCryptoAPI/import_export/test_ec_importKey.html => testing/web-platform/tests/WebCryptoAPI/import_export/test_ec_importKey.https.html
rename : testing/web-platform/tests/WebCryptoAPI/import_export/test_rsa_importKey.html => testing/web-platform/tests/WebCryptoAPI/import_export/test_rsa_importKey.https.html
rename : testing/web-platform/tests/WebCryptoAPI/import_export/test_symmetric_importKey.html => testing/web-platform/tests/WebCryptoAPI/import_export/test_symmetric_importKey.https.html
rename : testing/web-platform/tests/WebCryptoAPI/sign_verify/test_ecdsa.html => testing/web-platform/tests/WebCryptoAPI/sign_verify/test_ecdsa.https.html
rename : testing/web-platform/tests/WebCryptoAPI/sign_verify/test_hmac.html => testing/web-platform/tests/WebCryptoAPI/sign_verify/test_hmac.https.html
rename : testing/web-platform/tests/WebCryptoAPI/sign_verify/test_rsa_pkcs.html => testing/web-platform/tests/WebCryptoAPI/sign_verify/test_rsa_pkcs.https.html
rename : testing/web-platform/tests/WebCryptoAPI/sign_verify/test_rsa_pss.html => testing/web-platform/tests/WebCryptoAPI/sign_verify/test_rsa_pss.https.html
rename : testing/web-platform/tests/WebCryptoAPI/wrapKey_unwrapKey/test_wrapKey_unwrapKey.html => testing/web-platform/tests/WebCryptoAPI/wrapKey_unwrapKey/test_wrapKey_unwrapKey.https.html
rename : testing/web-platform/tests/html/browsers/windows/browsing-context-names/browsing-context-_blank.html => testing/web-platform/tests/html/browsers/windows/browsing-context-names/choose-_blank-001.html
rename : testing/web-platform/tests/html/browsers/windows/browsing-context-names/resources/parent-iframe-3.html => testing/web-platform/tests/html/browsers/windows/browsing-context-names/resources/choose-_parent-003-iframe.html
rename : testing/web-platform/tests/html/browsers/windows/browsing-context-names/resources/parent-iframe-2.html => testing/web-platform/tests/html/browsers/windows/browsing-context-names/resources/open-in-_parent.html
rename : testing/web-platform/tests/presentation-api/receiving-ua/support/idlharness_receiving-ua.https.html => testing/web-platform/tests/presentation-api/receiving-ua/support/idlharness_receiving-ua.html
rename : testing/web-platform/tests/tools/LICENSE => testing/web-platform/tests/tools/wptrunner/LICENSE
rename : testing/web-platform/tests/auxclick/auxclick_event-manual.html => testing/web-platform/tests/uievents/auxclick/auxclick_event-manual.html
rename : testing/web-platform/tests/webrtc/rtcpeerconnection/rtcconfiguration-icecandidatepoolsize.html => testing/web-platform/tests/webrtc/RTCConfiguration-iceCandidatePoolSize.html
rename : testing/web-platform/tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor.html => testing/web-platform/tests/webrtc/RTCPeerConnection-constructor.html
rename : testing/web-platform/tests/webrtc/rtcpeerconnection/iceGatheringState.html => testing/web-platform/tests/webrtc/RTCPeerConnection-iceGatheringState.html
rename : testing/web-platform/tests/webrtc/rtcpeerconnection/rtcpeerconnection-idl.html => testing/web-platform/tests/webrtc/RTCPeerConnection-idl.html
2017-05-11 18:01:46 +01:00
Mason Chang
844f99874d Bug 1361787. Don't use the minimum box shadow when printing box shadows. r=lsalzman 2017-05-11 09:56:15 -07:00