Commit Graph

465066 Commits

Author SHA1 Message Date
Boris Zbarsky
bf4428afdd Bug 1254860. Switch the AutoEntryScript TestShellCommandParent::RunCallback to taking ownership of error reporting. r=bholley
There's no one expecting a pending exception from this method.
2016-03-09 15:29:17 -05:00
Boris Zbarsky
3d0a95827d Bug 1254859 part 2. Switch the AutoEntryScript in nsXULTemplateBuilder::InitHTMLTemplateRoot to take ownership of error reporting. r=bholley
There isn't really anyone expecting a pending exception to be left on the
JSContext by this method, so reporting is fine.
2016-03-09 15:29:14 -05:00
Boris Zbarsky
5fae994fe9 Bug 1254859 part 1. Switch the AutoEntryScript in nsGlobalWindow::FireOnNewGlobalObject to take ownership of error reporting. r=bholley
Doesn't matter in practice, since JS_FireOnNewGlobalObject never throws.
2016-03-09 15:28:56 -05:00
Boris Zbarsky
2e279c21e5 Bug 1254857. Switch the AutoEntryScript in xpc::EvalInSandbox to take ownership of error reporting. r=bholley
In practice we always propagate the exception out anyway, so this change is a no-op.
2016-03-09 15:28:54 -05:00
Boris Zbarsky
3774edb271 Bug 1254855. Switch AutoEntryScripts in nsDirectoryViewer to take ownership of error reporting. r=bholley
These are both in things that get called from the event loop, so there is no one
expecting to see the pending exception.
2016-03-09 15:28:45 -05:00
Boris Zbarsky
bf71c8ea5b Bug 1254848 part 3. Take ownership of error reporting on the AutoEntryScript in AsyncScriptLoader::OnStreamComplete. r=bholley
There is no one else who cares about an exception left on the JSContext here: we're coming in off the event loop.
2016-03-09 15:28:42 -05:00
Boris Zbarsky
9c955ac670 Bug 1254848 part 2. Take ownership of error reporting on the AutoEntryScript in mozJSComponentLoader::PrepareObjectForLocation. r=bholley
This is only used for calling JS_FireOnNewGlobalObject, which never throws.
2016-03-09 15:28:41 -05:00
Boris Zbarsky
731f2ec68f Bug 1254848 part 1. Take ownership of error reporting on the AutoEntryScript in mozJSComponentLoader::ObjectForLocation. r=bholley
The code as it stood is a bit weird.  It sets up an AutoJSAPI that takes
ownership of error reporting.  Then later it also sets up an
AutoEntryScript... but keeps using the JSContext it got from the AutoJSAPI.
It's not obvious that there is any guarantee that this matches the JSContext
from the AutoEntryScript!

So we go ahead and change the things that are nominally using the
AutoEntryScript to use it JSContext and take ownership of error reporting on it
explicitly.  If the JSContext is the same as that of the AutoJSAPI, then we were
getting backstopped by its taking ownership of error reporting anyway.  If it's
not, we don't want to leave exceptions dangling on it.
2016-03-09 15:28:33 -05:00
Boris Zbarsky
d0363ce0e6 Bug 1254846. Add an AutoEntryScript constructor that takes a JSObject instead of an nsIGlobalObject, for convenience. r=bholley 2016-03-09 15:28:26 -05:00
Tim Taubert
7703774589 Bug 1243311 - Add structured cloning tests for CryptoKeys r=rbarnes 2016-03-09 21:18:38 +01:00
Kyle Machulis
91e2132559 Bug 1171182 - Mochitests for NPAPI CSS Zoom; r=bsmedberg 2016-03-09 11:55:21 -08:00
Kyle Machulis
75e71bb508 Bug 1171182 - CSS Zoom Query for NPAPI; r=jaas r=bsmedberg 2016-03-09 11:55:21 -08:00
Ehsan Akhgari
12373d0425 Bug 1223839 - Avoid expanding the width of a pinned tab when displaying the overlay icon; r=jaws 2016-03-09 14:49:04 -05:00
Wilmer Paulino
37e46b9248 Bug 1238545 - Remove nsISimpleUnicharStreamFactory; r=froydnj 2016-01-13 17:04:25 -05:00
Andrea Marchesini
a3cd53613f Bug 1255099 - XHR CTOR doesn't need to use implicitJSContext, r=bz 2016-03-09 20:28:33 +01:00
Mike Shal
aeffe80634 Bug 1242632 - Remove TESTING_FILES from moz.build; r=glandium
MozReview-Commit-ID: ALy4s6Xpg7f
2016-01-25 13:41:22 -05:00
Chris Manchester
39a28de0e3 Bug 1240149 - Add taskcluster definitions for a linux artifact based build in automation. r=nalexander
MozReview-Commit-ID: 9mqPqFc3slV
2016-03-09 10:58:49 -08:00
Chris Manchester
463d221986 Bug 1240149 - Add a mozharness config for linux artifact builds in automation. r=jlund
MozReview-Commit-ID: 6E9C3FPcp8e
2016-03-09 10:58:49 -08:00
Chris Manchester
b16bf0a8dd Bug 1240149 - Install Python packages necessary to artifact builds from mozilla pypi when running in automation. r=nalexander
MozReview-Commit-ID: 3hat64zgs2b
2016-03-09 10:58:49 -08:00
Chris Manchester
5f53ef2dec Bug 1240149 - Build system changes necessary to run linux artifact builds in automation. r=glandium
MozReview-Commit-ID: CJ0CTBtklCs
2016-02-11 18:46:46 -08:00
Wes Kocher
32b01c6513 Backed out changeset 65051cc8fc06 (bug 1254752) for browser_dbg_addon-sources.js failures
MozReview-Commit-ID: 8Lg5gJHY6J5

--HG--
extra : rebase_source : def380fa7ce90838e42ad1a63ca1f9f365a868ba
2016-03-09 10:56:28 -08:00
Wes Kocher
817d8829fc Backed out changeset 7cbab9ec76d5 (bug 1254689) for browser_dbg_addon-sources.js failures
MozReview-Commit-ID: 3zPliH7mmPj

--HG--
extra : rebase_source : 90a6c96c2106ec23043160ed93041cd7e15b1640
2016-03-09 10:56:23 -08:00
Richard Barnes
0926cc2911 Bug 1254653 - Add telemetry to measure how often we encounter EV certificates r=keeler
MozReview-Commit-ID: FvDpMGEJGLQ

--HG--
extra : rebase_source : 8dab354175e1a7b57450011bc50ffa6fd13448b7
2016-03-08 17:30:40 -05:00
Jim Blandy
595069840a Bug 1179278: GDB pretty-printers: handle encoding errors when trying to print JSObject class names. DONTBUILD r=jorendorff
--HG--
extra : rebase_source : b463225bc35fe7f8e2848e20578362e1bfa8bde3
2015-06-30 23:47:14 -07:00
Andreas Tolfsen
e41745c1c8 Bug 1245064 - Run click tests with new interactability algorithm; r=automatedtester
MozReview-Commit-ID: FR7yucKZ7XT

--HG--
extra : rebase_source : 9ea4991525ff8a7133dbf7ab834454a2fdf57f00
2016-03-04 18:04:16 +00:00
Andreas Tolfsen
176f8137f9 Bug 1245064 - Lint GeckoDriver#setSessionCapabilities; r=automatedtester
MozReview-Commit-ID: GXLGqjKCfVA

--HG--
extra : rebase_source : 8a58e5df7e1bf097b26597d6632bab6742a26bc2
2016-03-04 18:03:28 +00:00
Andreas Tolfsen
158557f87b Bug 1245064 - Pass all capabilities to listener; r=automatedtester
MozReview-Commit-ID: 2UgKKAUowM4

--HG--
extra : rebase_source : 5ffd21c06fb98ac908d5118f55736b5f4271ff95
2016-03-04 18:02:56 +00:00
Andreas Tolfsen
1e70da6b17 Bug 1245064 - Lower specificationLevel to 0; r=automatedtester
Marionette is not yet compatible with the WebDriver specification, and
we indicate this by lowering the specificationLevel capability to 0.
This lets us "gate" specification-compatible features, such as the new
element interactability algorithm.

The new interactability algorithm can be enabled by requesting the
capability specificationLevel 1.

MozReview-Commit-ID: 6wsEAsBtR6P

--HG--
extra : rebase_source : f37444470987bb782f32e190e3b5476eb139f142
2016-03-04 18:00:17 +00:00
Andreas Tolfsen
e3854ffb41 Bug 1245064 - Implement element pointer-interactability; r=automatedtester
Implements the WebDriver pointer-interactability algorithm described in
http://w3c.github.io/webdriver/webdriver-spec.html#dfn-interactable-element.

The specification compatible behaviour is enabled only when the client
requests the capability specificationLevel >= 0.

MozReview-Commit-ID: BP60SGj49OW

--HG--
extra : rebase_source : d84d38510e28ab5e0debce2051e336e1fd3f0f86
2016-03-04 16:44:38 +00:00
Andreas Tolfsen
71b94d4505 Bug 1245064 - Refactor interaction- and accessibility API; r=automatedtester
MozReview-Commit-ID: LblRZz8KqPx

--HG--
extra : rebase_source : fbb7995924c7e2707e2aaa2293b8a5c51fc563bc
2016-03-03 13:58:13 +00:00
Mike Shal
f9d7acba82 Bug 1253431 - Touching CLOBBER to test OSX debug bustage 2016-03-09 12:42:46 -05:00
Mike Shal
053369e67e Bug 1253431 part 7 - Remove SDK_BINARY; r=gps
MozReview-Commit-ID: 4RmjsX966Qh

--HG--
extra : rebase_source : 0d9d94ed98ae8f1cfb9d5787edc1336ce1ee6785
2016-03-03 14:23:57 -05:00
Mike Shal
4bd051f9d7 Bug 1253431 part 6 - Remove SDK_BINARY from js/src; r=gps
It has no effect anyway, since it is set after including config/rules.mk

MozReview-Commit-ID: LfxwCLRl99i

--HG--
extra : rebase_source : 27c4765bf954dac71b6cad01639ad6c4fcbab5bb
2016-03-03 13:46:20 -05:00
Mike Shal
8a7fd16468 Bug 1253431 part 5 - Remove build/unix/Makefile.in; r=gps
MozReview-Commit-ID: 7FhprSrtqyt

--HG--
extra : rebase_source : 51a338e9c3e61eb39d3952176cc944c78fb64705
2016-01-21 16:46:34 -05:00
Mike Shal
691d1784ff Bug 1253431 part 4 - Convert header.py to a GENERATED_FILES script; r=gps
We only ever execute this in one place, so we can just have the main
action do the --regen --cachedir=. mode of operation.

MozReview-Commit-ID: Fis4YBPFjMl

--HG--
extra : rebase_source : f19ac1ad688115c0aee4bf307b72d6207512f702
2016-03-03 14:15:58 -05:00
Mike Shal
7b58ab8671 Bug 1253431 part 3 - Move SDK_BINARY files in xpcom/idl-parser/xpidl to moz.build; r=gps
We can just generate xpidllex.py/xpidlyacc.py in the current directory
rather than one directory higher, and specify this directory as an
include path to xpidl-process.py

MozReview-Commit-ID: KLoGjudc4Y8

--HG--
extra : rebase_source : 8dda268c6490cdfb8b896de9da5b789208584193
2016-03-03 13:49:42 -05:00
Mike Shal
99a6e03fb1 Bug 1253431 part 2 - Use SDK_FILES instead of INSTALL_TARGETS; r=gps
MozReview-Commit-ID: K2Va7og0xw9

--HG--
extra : rebase_source : f8ae661e14c350aed7b8f66453cd6affe7498e78
2016-01-21 16:31:02 -05:00
Mike Shal
7ea5981744 Bug 1253431 part 1 - Add SDK_FILES to moz.build; r=gps
This adds support for an SDK_FILES variable in moz.build, which creates
a FinalTargetFiles object to install files into dist/sdk/

MozReview-Commit-ID: 97a5NdbZmmD

--HG--
extra : rebase_source : ad8d521ec56fe4610437c8d2d503c545894b40c2
2016-01-21 16:17:57 -05:00
Christoph Kerschbaumer
007c074be0 Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal (r=sicking)
MozReview-Commit-ID: LKK3MGMODNI
2016-03-09 09:01:45 -08:00
Christoph Kerschbaumer
f0fbe292c5 Bug 1254752 - Remove deprecated functions from nsIIOService (r=mcmanus)
MozReview-Commit-ID: 7ZV7ddKTCK5
2016-03-09 08:58:45 -08:00
Michal Novotny
2e9a36c765 Bug 1227136 - crash in mozilla::net::WebSocketChannel::StartWebsocketData, r=bagder, r=baku 2016-03-09 17:02:28 +01:00
Nathan Froyd
7578babdd1 Bug 1254618 - modify nsTransactionStack to use nsDeque rather than std::deque; r=ehsan
Using std::deque here causes problems for libc++ builds; TestTXMgr on
OSX 10.6 opt times out when libc++'d std::deque is used.  Running the
test locally shows that the test process consumes gigabytes (!) of
memory and is thus reduced to swapping, rather than making any progress.
libc++'s std::deque also appears to be slightly slower in said test that
even OSX libstdc++'s std::deque.  (Admittedly, this test is artificial.)

Let's sidestep the slowness of libc++'s std::deque by rewriting
nsTransactionStack to use nsDeque rather than std::deque.  Not only does
this change enable OSX 10.6 tests to pass, it also makes TestTXMgr
significantly faster in opt builds: TestTXMgr is anywhere from 25-60%
faster (depending on the platform) than when using std::deque from
libstdc++ or libc++.
2016-03-07 20:12:07 -05:00
Michal Novotny
a226a7c588 Bug 1251130 - null out CacheFileIOManager::gInstance in CacheFileIOManager::ShutdownInternal() to prevent doing shutdown procedure multiple times, r=honzab 2016-03-09 16:50:16 +01:00
James Willcox
5949211ed6 Bug 1172872 - Enable ServiceWorkerClients.openWindow on Android r=catalinb 2016-03-09 09:48:25 -06:00
Jon Coppeard
6f6aece93c Backed out changeset 818e0d0ecbcc (bug 1254108) for performance regression on splay 2016-03-09 15:37:22 +00:00
Neil Deakin
f4a281c4a0 Bug 1246662, enable test_focusrings in e10s, r=mkbkap 2016-03-09 09:12:15 -05:00
Neil Deakin
db2bfbaf4b Bug 1246661, enable test_clipboard_events.html in e10s, r=mrbkap 2016-03-09 09:12:05 -05:00
Neil Deakin
038b1390a7 Bug 1246659, enable browser_bug453896.js in e10s, r=mconley 2016-03-09 09:11:56 -05:00
Neil Deakin
7e8e97329b Bug 1246654, enable browser_bug1008941_dismissGeolocationHanger.js in e10s, r=mconley 2016-03-09 09:11:46 -05:00
Neil Deakin
01667b7d93 Bug 1246635, enable browser_autofocus_preference.js in e10s, r=mrbkap 2016-03-09 09:11:35 -05:00