Commit Graph

284469 Commits

Author SHA1 Message Date
Jean-Yves Avenard
175bf1926e Revert "Bug 1248570: Allow WAV into media element. r=lchristie"
This reverts commit b3f7abd15a
2016-02-17 16:09:51 +11:00
Jean-Yves Avenard
23022c0bf7 Bug 1248570: Allow WAV into media element. r=lchristie
MozReview-Commit-ID: AKIQq9EyCC6
2016-02-17 15:47:43 +11:00
Brian Birtles
43d395844b Bug 1244414 - Create iframe element from script to avoid racing with the load event; r=bz 2016-02-17 13:38:31 +09:00
Kartikaya Gupta
e83409aee0 Bug 1246056 - Ensure that the MockContentController's timestamp is always >= GetStartupTime(). r=botond
MozReview-Commit-ID: KfkX1ixpKaI
2016-02-16 17:25:54 -05:00
Xidorn Quan
744ed836a3 Bug 1248757 followup - Release blob after assignment in DoGetBlobAsString on CLOSED TREE.
MozReview-Commit-ID: HOsMvsjBJKF
2016-02-17 11:57:59 +08:00
Ting-Yu Lin
2752bcb7fd Bug 1246918 - Handle PresShell gone after FlushLayout(). r=roc
After calling FlushLayout(), PresShell::Destroy() might be called and we
should consider PresShell and other resources will be no longer valid.

Before this patch, AccessibleCaretManager and AccessibleCaret(s) are
deallocated in PresShell::Destroy(). However FlushLayout() are all
invoked in AccessibleCaretManager, we need to keep manager alive to
clean up after PresShell::Destroy().

This patch makes AccessibleCaretManager live after PresShell::Destroy(),
and use IsTerminated() to check whether PreShell is vaild after each
FlushLayout() calls.

Note that event though AccessibleCaretEventHub will be unref in
PresShell::Destroy(), all the callers to AccessibleCaretEventHub's
public methods already add a ref to AccessibleCaretEventHub. So we don't
need to worry about AccessibleCaretEventHub and AccessibleCaretManager
die immediately after PresShell::Destroy().

MozReview-Commit-ID: DDpXZ7v3zyo
2016-02-15 15:12:35 +08:00
Ting-Yu Lin
0cded77e54 Bug 1246918 - Fix carets missing after scrolling down in selection mode on Fennec. r=roc
Fennec enables sCaretsExtendedVisibility which uses
Appearance::NormalNotShown instead of Appearance::None to keep actionbar
shown during scrolling. This breaks selection mode update when the
positions of the carets are not changed after scrolling.

To fix this, we need to implement appearance recovering for selection
mode scrolling like we did for cursor mode in bug 1212732, and make
UpdateCaretsForSelectionMode() respects UpdateCaretsHint.

MozReview-Commit-ID: LkfUIGKHL0h
2016-02-11 16:22:57 +08:00
JW Wang
de266ee46b Bug 1248543 - release decoder resources when finishing tests to avoid OOM and failing to open cubeb streams. r=kinetik.
MozReview-Commit-ID: 1LmRNzVFYX9
2016-02-17 10:47:03 +08:00
Shih-Chiang Chien
bc0f7bd48d Bug 1231416 - fix Mulet UA string generation rule. r=fabrice.
MozReview-Commit-ID: 69fIxw0FO9l
2016-02-16 18:54:12 +08:00
Xidorn Quan
9127b0d28a Bug 1218706 followup - Mark some dir-isolation web-platform test expected pass.
MozReview-Commit-ID: IABqEq2wFYi
2016-02-17 10:33:12 +08:00
Jonathan Watt
7a5edafda6 Bug 1245414, part 10 - Apply the Mozilla patches via mfbt/decimal/update.sh. r=Waldo 2016-02-11 19:43:14 +00:00
Jonathan Watt
82f1876b51 Bug 1245414, part 9 - Disable mfbt/decimal/fix-wshadow-warnings.patch. r=cpeterson 2016-02-11 19:07:42 +00:00
Jonathan Watt
9c566fe3ef Bug 1245414, part 8 - Remove mfbt/decimal/floor-ceiling.patch now that the issue is fixed upstream. r=Waldo 2016-02-11 19:07:42 +00:00
Jonathan Watt
88c1e66f99 Bug 1245414, part 7 - Update mfbt/decimal/to-moz-dependencies.patch. r=Waldo 2016-02-11 19:07:42 +00:00
Jonathan Watt
e8c377c44a Bug 1245414, part 6 - Update mfbt/decimal/mfbt-abi-markers.patch. r=Waldo 2016-02-11 19:07:42 +00:00
Jonathan Watt
d43bf2b405 Bug 1245414, part 5 - Update mfbt/decimal/comparison-with-nan.patch. r=Waldo 2016-02-11 19:07:41 +00:00
Jonathan Watt
9a93ca8911 Bug 1245414, part 4 - Update mfbt/decimal/zero-serialization.patch. r=Waldo 2016-02-11 19:07:41 +00:00
Jonathan Watt
1dfe3b8cb7 Bug 1245414, part 3 - Overwrite mfbt/decimal/Decimal.* with vanilla upstream copies. r=Waldo 2016-02-11 19:07:41 +00:00
Jonathan Watt
4b0fe2fb73 Bug 1245414, part 2 - Update mfbt/decimal/update.sh to reflect Blink's switch from svn to git, and the different files we now pull. r=Waldo 2016-02-11 19:07:41 +00:00
Jonathan Watt
4061fd51d6 Bug 1245414, part 1 - Delete the mfbt/decimal/LICENSE* files since upstream now just uses inline comments. r=Waldo 2016-02-11 19:07:40 +00:00
Jonathan Griffin
3f2a2e8714 Bug 1240825 - s/asserts/asserts-if, a=test-only 2016-02-16 17:00:49 -08:00
Xidorn Quan
b9315a0e0a 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.
2016-02-17 08:47:11 +08:00
Xidorn Quan
6961d34c6f Bug 743198 part 10 - Add test for prefixed Fullscreen API. rs=smaug 2016-02-17 08:47:11 +08:00
Xidorn Quan
624da19ffb Bug 743198 part 9 - Use unprefixed Fullscreen API in tests. r=smaug 2016-02-17 08:47:11 +08:00
Xidorn Quan
7cada478d1 Bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code. r=smaug 2016-02-17 08:47:11 +08:00
Xidorn Quan
2f4b14ff27 Bug 743198 part 7 - Add :fullscreen pseudo class. r=heycam 2016-02-17 08:47:11 +08:00
Xidorn Quan
e717e0d7b7 Bug 743198 part 6 - Add unprefixed fullscreen events. r=smaug 2016-02-17 08:47:11 +08:00
Xidorn Quan
ef896f886c Bug 743198 part 5 - Check legacy event listener only if listener is found in the current group. r=smaug 2016-02-17 08:47:11 +08:00
Xidorn Quan
542ad9bac9 Bug 743198 part 4 - Rename LogFullScreenDenied to nsIDocument::DispatchFullscreenError, and reuse it in Element::RequestFullscreen. r=smaug 2016-02-17 08:47:11 +08:00
Xidorn Quan
6c40e9925c Bug 743198 part 3 - Refactor nsDocument::IsFullScreenEnabled to be static local function GetFullscreenError. r=smaug 2016-02-17 08:47:11 +08:00
Xidorn Quan
6536557784 Bug 743198 part 2 - Add unprefixed Fullscreen API to Document and Element. r=smaug 2016-02-17 08:47:11 +08:00
Xidorn Quan
d8dd8f560b 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.
2016-02-17 08:47:11 +08:00
Wes Kocher
c38635597b Backed out changeset 9d5fa6d7558a (bug 1247432) for being a possible cause of the spike in ASAN test_browserElement_oop_getWebManifest.html failures 2016-02-16 16:40:43 -08:00
Wes Kocher
4f33922c99 Backed out changeset d2cb189066ea (bug 1247656) for being a possible cause of the spike in ASAN test_browserElement_oop_getWebManifest.html failures 2016-02-16 16:40:38 -08:00
Xidorn Quan
ad3d3d3712 Bug 1218706 - Make 'unicode-bidi: isolate' the default for elements with a dir attribute. r=dbaron,jfkthame 2016-02-17 08:39:54 +08:00
Chris Cooper
a6b66b0d36 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.
2016-01-25 15:20:41 -05:00
Luke Wagner
bab83d8895 Bug 1248625 - Change 'return false' to 'return nullptr' (r=me)
MozReview-Commit-ID: 75AW4GpR8hd
2016-02-16 17:11:05 -06:00
Jordan Lund
d0e6894479 Bug 1246074 - add partials template config for mozharness beetmover, DONTBUILD r=rail 2016-02-06 13:46:13 -08:00
Louis Christie
1c89333a27 Bug 1231793: Part 8 - Added checks for various metadata errors. r=jya 2016-02-17 09:57:52 +11:00
Luke Wagner
504f7e331d Bug 1248625 - Baldr: make string labels more regular (r=sunfish)
MozReview-Commit-ID: BD6fAWfP7Fn
2016-02-16 16:48:23 -06:00
Luke Wagner
4a58f95566 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
80b719b64e 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
447d281429 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
44eb6269f8 Bug 1247846 - Odin: refactor error stub generation (r=bbouvier)
MozReview-Commit-ID: 2q3GnmC7r4Z
2016-02-16 16:48:23 -06:00
Luke Wagner
b73a0a2fe2 Bug 1247846 - Odin: refactor ModuleGenerator::finish (r=bbouvier)
MozReview-Commit-ID: LHb3Z3U6FKJ
2016-02-16 16:48:23 -06:00
Luke Wagner
7da9114394 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
98524ae5af 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
821bd60307 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
0b338e799d 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
96b08f51d3 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