Commit Graph

461975 Commits

Author SHA1 Message Date
Jonathan Griffin
12ac75fbf7 Bug 1240825 - s/asserts/asserts-if, a=test-only 2016-02-16 17:00:49 -08:00
Xidorn Quan
7f068cc774 Bug 743198 part 11 - Update locales string to the new spelling as well as unprefixed API. r=smaug
The main motivation of this patch is to fix the prefixed function name
used in one string. But updated string should have different a different
identifier, otherwise it might be ignored. Since we should eventually
prefer using word "fullscreen" over "full-screen", it is easier to just
change all of them together.

--HG--
extra : source : 1e9ab6a7503102b5562475784510581720bd1bad
2016-02-17 08:47:11 +08:00
Xidorn Quan
e7d75e819c Bug 743198 part 10 - Add test for prefixed Fullscreen API. rs=smaug
--HG--
extra : source : cc5b65b5e13c4a0ed7a177ab1a1ee594f4f50245
2016-02-17 08:47:11 +08:00
Xidorn Quan
18be918951 Bug 743198 part 9 - Use unprefixed Fullscreen API in tests. r=smaug
--HG--
extra : source : da91d7fdadd82fcb7201c237d79c8708d532e371
2016-02-17 08:47:11 +08:00
Xidorn Quan
0671ebf899 Bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code. r=smaug
--HG--
extra : source : a8b39fbf3673e59b0a41db2d748e092a87d4496c
2016-02-17 08:47:11 +08:00
Xidorn Quan
510a3f68bd Bug 743198 part 7 - Add :fullscreen pseudo class. r=heycam
--HG--
extra : source : 245ce2e3f4f51029f8b70bdbd0ca327385be9cdf
2016-02-17 08:47:11 +08:00
Xidorn Quan
775aed278a Bug 743198 part 6 - Add unprefixed fullscreen events. r=smaug
--HG--
extra : source : cb096452899287cb35b51146d2f2ffc3dc26350f
2016-02-17 08:47:11 +08:00
Xidorn Quan
8bc3b5685b Bug 743198 part 5 - Check legacy event listener only if listener is found in the current group. r=smaug
--HG--
extra : source : b141db892428ebcbc2dbf213aea759aa88f6e8bf
2016-02-17 08:47:11 +08:00
Xidorn Quan
52ccd4a553 Bug 743198 part 4 - Rename LogFullScreenDenied to nsIDocument::DispatchFullscreenError, and reuse it in Element::RequestFullscreen. r=smaug
--HG--
extra : source : 3896197f9747aab588f6226efce4d67998619407
2016-02-17 08:47:11 +08:00
Xidorn Quan
0007f9248b Bug 743198 part 3 - Refactor nsDocument::IsFullScreenEnabled to be static local function GetFullscreenError. r=smaug
--HG--
extra : source : e628336d1358c0fa5f614a27061809bc5aa08d00
2016-02-17 08:47:11 +08:00
Xidorn Quan
61f1684757 Bug 743198 part 2 - Add unprefixed Fullscreen API to Document and Element. r=smaug
--HG--
extra : source : aaf4d12b511ba25ba93e6135cb849a3264435f7c
2016-02-17 08:47:11 +08:00
Xidorn Quan
49647faf41 Bug 743198 part 1 - Drop [Throws] of document.mozFullScreenElement. r=smaug
This method actually never throws. IsFullScreenDoc() simply checks
whether GetFullScreenElement() returns nullptr, which means if that
method returns true, the "!el" check would never fail.

--HG--
extra : source : f32a1aeb6835fd4b4c47ef3abe6b9d7366ae4f07
2016-02-17 08:47:11 +08:00
Wes Kocher
6d91654914 Backed out changeset 9d5fa6d7558a (bug 1247432) for being a possible cause of the spike in ASAN test_browserElement_oop_getWebManifest.html failures
--HG--
extra : commitid : 1NKaYZHHXip
extra : rebase_source : 4f280016d0e7c767eca959d428a6978397514840
2016-02-16 16:40:43 -08:00
Wes Kocher
c9708caf53 Backed out changeset d2cb189066ea (bug 1247656) for being a possible cause of the spike in ASAN test_browserElement_oop_getWebManifest.html failures
--HG--
extra : commitid : uaVd6qwUQY
extra : rebase_source : 09d7a5cca83c8599b916d217176821742d703b98
2016-02-16 16:40:38 -08:00
Xidorn Quan
6b28759520 Bug 1218706 - Make 'unicode-bidi: isolate' the default for elements with a dir attribute. r=dbaron,jfkthame
--HG--
extra : source : b558ee0be0a413438660e1e858ac535930cf6603
extra : amend_source : c833b22b855610750c47f47b24e6816931782895
2016-02-17 08:39:54 +08:00
Chris Cooper
d5b9331a57 Bug 1236954 - partner repack script changes to read properties from buildprops.json (NPOTB, DONTBUILD); r=jlund
Adds --require-buildprops option used by the standalone builder. When this option is
specified, a partner property must be present in the buildprops.json file. This limits
the repack operation to that single partner.

--HG--
extra : amend_source : 1514dd1ff78da90468d4923348f8ad345d835b84
2016-01-25 15:20:41 -05:00
Luke Wagner
cdc3c61166 Bug 1248625 - Change 'return false' to 'return nullptr' (r=me)
MozReview-Commit-ID: 75AW4GpR8hd

--HG--
extra : rebase_source : 0ed91fc5a13ebcb6c990409df77440844ba84d4e
2016-02-16 17:11:05 -06:00
Jordan Lund
c8a4f6bbb5 Bug 1246074 - add partials template config for mozharness beetmover, DONTBUILD r=rail
--HG--
rename : testing/mozharness/configs/beetmover/repacks.yml.tmpl => testing/mozharness/configs/beetmover/partials.yml.tmpl
extra : rebase_source : b6370d8e3977e08dcb2665ceabb36dbff6beb544
extra : amend_source : 932005ddd129a40eb763d1a16efbc7c83a60cb6d
2016-02-06 13:46:13 -08:00
Louis Christie
7afcbd8099 Bug 1231793: Part 8 - Added checks for various metadata errors. r=jya 2016-02-17 09:57:52 +11:00
Luke Wagner
f20fca37bf Bug 1248625 - Baldr: make string labels more regular (r=sunfish)
MozReview-Commit-ID: BD6fAWfP7Fn
2016-02-16 16:48:23 -06:00
Luke Wagner
e741996d6d Bug 1248488 - Odin: switch more integer immediates to variable-length u32s (r=sunfish)
MozReview-Commit-ID: r3Ie4fsLGZ
2016-02-16 16:48:23 -06:00
Luke Wagner
1aab84c5af Bug 1247846 - Baldr: add indirect function table and call_indirect (r=sunfish)
MozReview-Commit-ID: HFq8Nh0XCkB
2016-02-16 16:48:23 -06:00
Luke Wagner
d4618c01b3 Bug 1247846 - Baldr: add type declaration to text language (r=sunfish)
MozReview-Commit-ID: IoPFObBpMxT
2016-02-16 16:48:23 -06:00
Luke Wagner
f67d575e23 Bug 1247846 - Odin: refactor error stub generation (r=bbouvier)
MozReview-Commit-ID: 2q3GnmC7r4Z
2016-02-16 16:48:23 -06:00
Luke Wagner
dfb24b5393 Bug 1247846 - Odin: refactor ModuleGenerator::finish (r=bbouvier)
MozReview-Commit-ID: LHb3Z3U6FKJ
2016-02-16 16:48:23 -06:00
Luke Wagner
6d3a01af27 Bug 1247846 - Odin: switch CallIndirect to wasm binary encoding (r=bbouvier)
MozReview-Commit-ID: HxmlvHLmZVu
2016-02-16 16:48:23 -06:00
Ben Kelly
124248a8ad Bug 1248757 Use string ::Assign() instead of Adopt() when reading blobs as strings. r=asuth 2016-02-16 14:32:00 -08:00
Mike Hommey
4e5e6fd2d4 Bug 1247833 - Display the class name in mozunit output. r=gps
One can run individual tests with python testfile.py Class.method. But
the output for tests only shows the method so looking at a test output
is not enough to tell how to run one particular test. Moreover, there
are many cases where a test file contains multiple classes, and we fail
to identify the difference between those classes.
2016-02-17 07:19:46 +09:00
Mike Hommey
a97df3d684 Bug 801679 - Handle expected failures and skipped tests in mozunit runner. r=gps
Python's unittest has decorators to mark tests as skipped or expecting
to fail. Mozunit runner fails to print anything for them.

While here, somehow unify the output for TEST-UNEXPECTED-FAIL.

This leaves known failures silent about the failure. It would be better
to only show them with a flag, like -v, and to leave it to a followup.
2016-02-17 07:19:46 +09:00
Mike Hommey
bb27c7040b Bug 795681 - Print out failures in mozunit runner. r=gps
Python's unittest separates errors and failures, where the former is
uncaught exceptions and the latter uncaught assertions. We were only
printing the former, making the mozunit runner output useless to debug
failures due to assertions in the code being tested.

I would usually edit the test to temporarily switch to unittest.main().
Enough is enough, handle failures properly.

At the same time, instead of printing all the errors one after the other
at the end, print them right after the TEST-UNEXPECTED-FAIL message.
2016-02-17 07:19:46 +09:00
Jim Chen
f0b94011a2 Bug 1248695 - Check for null browser app object when handling UI telemetry events; r=snorp
The nsAppShell mBrowserApp object may not have been initialized when
handling UI telemetry events. In that case, we should bail instead of
crashing.
2016-02-16 16:57:49 -05:00
Jim Chen
a44d38701c Bug 1248459 - Get more logs for debugging crash; r=snorp
This patch turns on logging for GeckoEditable and GeckoInputConnection,
and makes us fetch more lines of logcat when submitting crash reports.
2016-02-16 16:57:49 -05:00
Jim Chen
48144b598c Bug 1248033 - Support GAME_ROTATION_VECTOR sensor events with no W parameter; r=snorp 2016-02-16 16:57:49 -05:00
Gerald Squelart
cb8bb9067d Bug 1248308 - Fix dom/media non-unified build errors - r=jya 2016-02-17 08:55:33 +11:00
Gregory Szorc
8e0f9cf49b Bug 1248658 - Remove make targets for running mochitests; r=ted
These have been deprecated in favor of mach commands for years. Let's
stop pretending to support them by removing them.

MozReview-Commit-ID: 4fX6SZN18EQ

--HG--
extra : rebase_source : 236914496758842d722c005a4effb39399889f29
extra : amend_source : 39d2a5facbe2b38135deede180a66da5ca251678
2016-02-16 13:48:04 -08:00
Kyle Huey
31dabb4558 Bug 1247117: De-namespace much of IndexedDB. r=baku 2016-02-16 13:46:08 -08:00
Mike Shal
dfe61e6f93 Bug 1243750 - Install all SDKs into sdk/; r=glandium 2016-01-29 14:52:52 -05:00
Mike Shal
1a3a0b1118 Bug 1217987 - Append bucket prefix for staging post_upload.py; r=nthomas 2016-02-10 20:32:35 -05:00
Mike Shal
de1e7b8d59 Bug 1241976 - port INSTALL_TARGETS in xpcom/tests to moz.build; r=glandium 2016-01-21 21:06:50 -05:00
Ralph Giles
d6e1901788 Bug 1245170 - Upload rust builds to tooltool. r=dustin
Update the gecko-rust-build docker container to upload the
constructed toolchain to tooltool when running on taskcluster,
so it can be used in normal gecko builds (buildbot as well as tc)

Also include a mac build script (which can't run in taskcluster
currently) and a python script for launching the build task from
a local checkout. This is based on Ted's script for building
breakpad's minidump_stackwalk utility.

Matches contents of https://github.com/rillian/rust-build
commit 407c6854e91541341508e96e6a2781434535b7a5
tag v0.2.0
2016-02-16 13:30:19 -08:00
Jeff Walden
d9ee752669 Add an assertion message to the assert-is-empty in LinkedList::~LinkedList, to indicate to users who hit it that it's the fault of the caller, not the fault of MFBT code. No bug, rs=froydnj 2016-02-16 13:06:20 -08:00
Jeff Walden
906bc8c43a Bug 1247140 - Use mozilla::BinarySearchIf for baseline's IC-to-pcoffset binary search, rather than hand-rolling it. r=jandem 2016-02-15 15:37:17 -08:00
Jim Chen
038960bc2d Bug 1248047 - Switch back to UI thread when using physical keyboards; r=esawin
When using physical keyboards, we get key events on the UI thread. To
improve performance, and to support key listeners better, we should
switch the IC thread to the UI thread in that case.
2016-02-16 16:02:39 -05:00
Jim Chen
b501d5ca8c Bug 1248047 - Simplify GeckoInputConnection.processKey; r=esawin
Right now, processKey uses a IC-thread proxy in order to handle key
events on the UI thread. This patch makes it post the key event to the
IC thread and avoid the proxy entirely.
2016-02-16 16:02:39 -05:00
Jim Chen
51ebebc9a5 Bug 1248047 - Make GeckoInputConnection.sendKeyEvent more efficient; r=esawin
Right now, sendKeyEvent does a round trip from the IC thread to the UI
thread back to the IC thread. This patch makes it stay on the IC thread.
2016-02-16 16:02:38 -05:00
Botond Ballo
c5fb5cdd95 Bug 1247452 - Use the effective visible region rather than the visible region where appropriate in the compositor. r=mattwoodrow
MozReview-Commit-ID: 6wbe0kUWh9h

--HG--
extra : rebase_source : 1263fcf02beb41bd8f7c6d6556b629f772fd955a
2016-02-12 20:24:38 -05:00
Nick Thomas
14047f5ac8 Bug 1248255 - Android l10n single-locale repacks can't find tooltool.py, r=Callek 2016-02-17 09:48:05 +13:00
Jim Mathies
f7c7fcb101 Bug 1229429 - Refresh plugin window state during composition if we detect a change of layer trees. Fixes issues with plugin window visibility during rapid tab switching. r=roc
MozReview-Commit-ID: pVnTksTt2d

--HG--
extra : rebase_source : 1e50f5386ce3236cf3081f75e4d6f10940a7de88
2016-02-16 09:30:55 -06:00
Morgan Phillips
73778dd365 Bug 1248717 - Don't initialize variables in a for head with var, then use them later. r=jorendorff
--HG--
extra : rebase_source : 4de90a39708b79fe122fe0adc73a76744505bbea
2016-02-16 14:25:24 -06:00
Geoff Brown
58592042ef Bug 1238611 - Use PIE version of gdbserver for JimDB (x86); r=jmaher 2016-02-16 13:15:59 -07:00