Commit Graph

488022 Commits

Author SHA1 Message Date
Nicholas Nethercote
8bc855b22d Bug 1293596 (part 6) - Make nsIWidget::SetSizeMode() infallible. r=mstange,baku.
The only implementation of SetSizeMode() that can fail is the nsCocoaWindow
one, on an Objective C exception, which is unlikely and can be swallowed.

This allows some nsGlobalWindow functions to become infallible as well.

--HG--
extra : rebase_source : 85d54185f63d2c138ee3f3e0e0bfe3b5e805a981
2016-08-22 09:15:49 +10:00
Jimmy Wang
ac5f97870d Bug 1275289 - Add try catch to DownloadLegacy.js since aRequest.responseStatus does not exist in the case of a failed download. r=paolo
MozReview-Commit-ID: HbN86Ef3Okv

--HG--
extra : transplant_source : %06k%7D%F1M7%E1%19%7E%84%81%BFWJ%EF%B2t%7E%9D%C9
2016-05-24 14:37:42 -04:00
Jorg K
c7b501bf65 Bug 1296883 - Disable test unsuitable for Thunderbird. r=kmag 2016-08-20 15:13:00 -04:00
Thomas Wisniewski
3bb3379361 Bug 1046816 - Hold/DropJSObjects properly in main thread XHR. r=smaug 2016-08-20 11:43:02 -04:00
Olli Pettay
b0720279d0 Bug 1296268 - [TreatNullAs=EmptyString] for innerText. r=ehsan
--HG--
extra : amend_source : 8a281379a561ba6505163803bb6447d57ec7035b
2016-08-18 05:40:00 -04:00
Martin Stransky
db4ee506fc Bug 1278108 - Implement <input type="range"> on gtk 3.20. r=karlt 2016-08-19 05:20:00 -04:00
Ryan VanderMeulen
1130d9b73e Backed out changeset 9b4c4fd433a9 (bug 1293908) for blowing up Linux64 tests. 2016-08-21 21:30:11 -04:00
Xidorn Quan
4111be24e9 Bug 1200469 part 2 - Discard cursor image urgently. r=tnikkel
Given that script may change cursor image in a high frequency, and it
is usually small, it is probably better discarding it urgently.

MozReview-Commit-ID: J6tqIODXykg
2016-08-19 23:43:11 +10:00
Xidorn Quan
a154442a7e Bug 1200469 part 1 - Avoid using fallback cursor if from the same frame. r=tnikkel,smaug
MozReview-Commit-ID: A2Ku0TND66L

--HG--
extra : amend_source : 186b672b7e55affaf2f30a737346da5fde4aa343
2016-08-19 23:37:14 +10:00
Nicholas Nethercote
91655900fc Bug 1295825 (part 3) - Use [must_use] and MOZ_MUST_USE in nsIGZFileWriter.idl. r=froydnj.
--HG--
extra : rebase_source : 7af7a00edf68fe8964c3cade994819288163d198
2016-08-17 17:09:45 +10:00
Nicholas Nethercote
f68e1caceb Bug 1295825 (part 2) - Use [must_use] and MOZ_MUST_USE in nsIPipe.idl. r=froydnj.
The patch also makes GetInputStream() fail if the pipe isn't initialized, just
like GetOutputStream().

--HG--
extra : rebase_source : 7391b331ffe25e0ac7ebc755f7da313dc7b5517d
2016-08-17 16:52:48 +10:00
Nicholas Nethercote
0b2a9374e3 Bug 1295825 (part 1) - Add a [must_use] attribute to XPIDL. r=froydnj.
For XPIDL methods, this causes MOZ_MUST_USE to be prepended to the generated
C++ function declaration.

For XPIDL attributes, this causes MOZ_MUST_USE to be prepended to the generated
C++ getter declaration and (if present) setter declaration.

--HG--
extra : rebase_source : e0b2c43235bfbc02db609076e82ca6325e4b0bff
2016-08-17 11:08:14 +10:00
Kris Maglione
c327297913 Bug 1295867: Wait for all IO operations to complete before ending test tasks. r=aswan
MozReview-Commit-ID: A6DIpXE5M1R

--HG--
extra : source : 64fc57e6ee841f55e2d2f196b51aff11b71a428e
extra : amend_source : 9106416154aaaa4ca63f147b45cb98fd328cf311
2016-08-20 15:32:42 -07:00
Sebastian Hengst
6323aa3ab2 Backed out changeset 64fc57e6ee84 (bug 1295867) for windows xpcshell failure test_native_messaging.js | test_native_app_shutdown. r=backout 2016-08-21 23:50:36 +02:00
Sebastian Hengst
6568eeec5b Backed out changeset e3b15fe52734 (bug 1265800) for failing added wpt /XMLHttpRequest/event-error.html. r=backout 2016-08-21 23:48:54 +02:00
Sebastian Hengst
9df7aba907 Backed out changeset bba587e03e0b (bug 1265800) 2016-08-21 23:42:45 +02:00
Sebastian Hengst
73836dc023 Backed out changeset da1cdd000993 (bug 1265800) 2016-08-21 23:42:41 +02:00
George Wright
fefcfec2ff Bug 1293908 - Specify the LayersBackend to be used when creating Textures r=nical 2016-08-21 17:44:25 -04:00
cku
afd0aaac37 Bug 1277788 - (follow-up) Part 4. Correct the initial value of mask-position-x/y in property_database.js. r=me
MozReview-Commit-ID: 14sOcM7rcqB

--HG--
extra : rebase_source : db0d8f15e6ad8a3273c5aef99f35a9391531c33e
2016-08-22 00:22:29 +08:00
Kris Maglione
5f2a25f86e Bug 1295867: Wait for all IO operations to complete before ending test tasks. r=aswan
MozReview-Commit-ID: A6DIpXE5M1R

--HG--
extra : rebase_source : 386f3e602a169ad105dc4bf9abe74c4c6ffe10c2
2016-08-20 15:32:42 -07:00
Kris Maglione
2c634c4cb0 Bug 1296888: Add "webextensions" tag to WebExtension tests. r=aswan
MozReview-Commit-ID: 3QYXtpdznrP

--HG--
extra : rebase_source : 4aacd77cd2569b9ffc3916a5db3f41dd26bc7b70
2016-08-20 15:41:31 -07:00
cku
aa2f7387d8 Bug 1275451: (follow-up) Part 3. Correct content of assert. r=me
MozReview-Commit-ID: 39nPpliOtD4
2016-08-22 00:50:47 +08:00
Aryeh Gregor
aeca189ce4 Bug 1265800 part 3 - Move cursor into all adjacent nodes after delete; r=masayuki
When deleting, we previously would only move the cursor back into the
previous block if the last leaf node was a text node, for some reason.
We should move into the previous block in other cases as well, like if
the leaf node is a collapsed <br>.  (Probably it's not correct to move
backward into tables, but that already was happening if the table had
text at the end.  There may be other cases where this is wrong.)

MozReview-Commit-ID: 8e0dTU3lNYO
2016-08-21 18:13:49 +03:00
Aryeh Gregor
c0a463e1dd Bug 1265800 part 2 - Don't place cursor after invisible break; r=masayuki
If the user tries to insert text without moving the cursor, the
invisible break will become visible, which from the user's perspective
means an extra line break was inserted for no reason.

The IsVisBreak change here is a bit scary, because it may result in
unexpected behavior changes, but it seems to improve correctness.  If it
turns out to cause problems, it can be added as a special case to
GetGoodSelPointForNode instead.

MozReview-Commit-ID: 7SRQYHYtJvF
2016-08-21 18:13:49 +03:00
Aryeh Gregor
7c39888a95 Bug 1265800 part 1 - Small unrelated cleanup patch; r=masayuki
MozReview-Commit-ID: CmyOTeFgKtS
2016-08-21 18:13:47 +03:00
Sebastian Hengst
ee40c4ef0a Backed out changeset 865501b808e3 (bug 1287330) for frequent timeouts in browser_async_remove_tab.js with e10s on Linux debug. r=backout 2016-08-21 16:45:16 +02:00
Heiher
b4e4ac2868 Bug 1294606 - Part 3: Add tests for SignExtend. r=nbp
---
 .../jit-test/tests/ion/dce-with-rinstructions.js   | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)
2016-08-21 22:16:11 +08:00
Heiher
7a337d2603 Bug 1294606 - Part 2: Folds Lsh/Rsh same bits to SignExntend. r=nbp
---
 js/src/jit/CodeGenerator.cpp                       | 16 +++++++++
 js/src/jit/CodeGenerator.h                         |  1 +
 js/src/jit/Lowering.cpp                            | 13 ++++++++
 js/src/jit/Lowering.h                              |  1 +
 js/src/jit/MIR.cpp                                 | 27 +++++++++++++++
 js/src/jit/MIR.h                                   | 39 ++++++++++++++++++++++
 js/src/jit/MOpcodes.h                              |  1 +
 js/src/jit/MacroAssembler.h                        |  3 ++
 js/src/jit/Recover.cpp                             | 37 ++++++++++++++++++++
 js/src/jit/Recover.h                               | 12 +++++++
 js/src/jit/arm/MacroAssembler-arm-inl.h            | 12 +++++++
 js/src/jit/arm64/MacroAssembler-arm64-inl.h        | 12 +++++++
 .../mips-shared/MacroAssembler-mips-shared-inl.h   | 12 +++++++
 js/src/jit/shared/LIR-shared.h                     | 16 +++++++++
 js/src/jit/shared/LOpcodes-shared.h                |  1 +
 .../jit/x86-shared/MacroAssembler-x86-shared-inl.h | 12 +++++++
 js/src/vm/Interpreter-inl.h                        | 11 ++++++
 17 files changed, 226 insertions(+)
2016-08-21 22:16:10 +08:00
Heiher
246b59f85c Bug 1294606 - Part 1: Implement LIRGenerator::useByteOpRegisterAtStart. r=nbp
---
 js/src/jit/arm/Lowering-arm.cpp                 | 6 ++++++
 js/src/jit/arm/Lowering-arm.h                   | 1 +
 js/src/jit/arm64/Lowering-arm64.cpp             | 6 ++++++
 js/src/jit/arm64/Lowering-arm64.h               | 1 +
 js/src/jit/mips-shared/Lowering-mips-shared.cpp | 6 ++++++
 js/src/jit/mips-shared/Lowering-mips-shared.h   | 1 +
 js/src/jit/none/Lowering-none.h                 | 1 +
 js/src/jit/x64/Lowering-x64.cpp                 | 6 ++++++
 js/src/jit/x64/Lowering-x64.h                   | 1 +
 js/src/jit/x86/Lowering-x86.cpp                 | 6 ++++++
 js/src/jit/x86/Lowering-x86.h                   | 1 +
 11 files changed, 36 insertions(+)
2016-08-21 22:16:09 +08:00
Aryeh Gregor
00e1330640 Bug 1295588 - Add createEvent() telemetry; r=smaug, data-review=bsmedberg
The createEvent() method supports only a fixed list of legacy event
types, and we would like to converge with other browsers on a list of
events to support.  To this end, we want to know if any supported types
are unused so we can drop them.

MozReview-Commit-ID: 8uB1vepBCpi
2016-08-21 16:06:14 +03:00
Aryeh Gregor
e576cbacce Bug 1295150 - Fix incorrectly skipped test; r=mats
Bug 1268736 inadvertently put a new test before a skip-if line, which
makes the new test skipped instead of the preexisting one.

MozReview-Commit-ID: 20SuUc3IhiG
2016-08-21 16:06:13 +03:00
Aryeh Gregor
6072e242cb Bug 1213668 - wpt breaks with HTTP proxy; r=jgraham
./mach web-platform-tests tries to access the tests at
http://web-platform.test/.  If an HTTP proxy is configured, it tries to
access it via the proxy, which fails.  Disabling the proxy entirely
fixes the problem and should probably have no adverse effects, although
a cleaner solution would be to skip proxies only for that domain (as is
done with localhost).

MozReview-Commit-ID: IkIRLwbH16P
2016-08-21 16:06:13 +03:00
Sebastian Hengst
2f30199523 Backed out changeset 721fabf360ff (bug 1110928) for frequent failures to load onload scripts in reftests on Winodws XP and Windows 7 VM. r=backout 2016-08-21 12:29:01 +02:00
Sebastian Hengst
9d30a54ba3 Backed out changeset c5bc2d6ed0d7 (bug 1110928) 2016-08-21 12:27:56 +02:00
Sebastian Hengst
55ccc927a5 Backed out changeset 325bdb8f8f80 (bug 1110928) 2016-08-21 12:27:51 +02:00
Sebastian Hengst
7422ce2634 Backed out changeset 31b56ae647c8 (bug 1110928) 2016-08-21 12:27:47 +02:00
Jeff Muizelaar
8987909d57 Bug 1292628. Make sure our surface is good before locking it. r=mstange
This should fix a crash in ssse3_fetch_bilinear_cover.
2016-08-21 12:27:07 +02:00
Sebastian Hengst
3be5f0ac43 Backed out changeset f4c8b3de527e (bug 1286895) for crashing in test_bug1241485.html. r=backout 2016-08-21 11:31:35 +02:00
Andrea Marchesini
70fd734aff Bug 1286895 - Reintroduce a limit on number of dedicated JS web workers in Firefox, r=bkelly 2016-08-19 08:38:58 +02:00
Andrea Marchesini
db26797edf Bug 1296586 - Fixing some comments in WorkerPrivate, r=smaug 2016-08-21 08:41:34 +02:00
David Anderson
f0ab54253c Add feature level to D3D11DeviceStatus. (bug 1294988 part 6, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
David Anderson
2e46480cbf Communicate GPU process device information across processes. (bug 1294988 part 5, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
David Anderson
396d5d1191 Refactor cross-process acceleration controls. (bug 1294988 part 4, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
David Anderson
7df82d4b70 Enable Direct3D 11 in the GPU process. (bug 1294988 part 3, r=mattwoodrow) 2016-08-20 20:59:10 -07:00
David Anderson
e30ff6d169 Split device initialization into separate per-process steps. (bug 1294988 part 2, r=mattwoodrow) 2016-08-20 20:59:10 -07:00
David Anderson
febbb3a624 Factor out d3d11.dll handling. (bug 1294988 part 1, r=mattwoodrow) 2016-08-20 20:59:10 -07:00
David Anderson
7a8adea3b0 Rename DeviceManagerD3D11 helpers. (bug 1294988 part 0, r=mattwoodrow) 2016-08-20 20:59:09 -07:00
David Anderson
567a7e0d65 Fix DirectX shutdown ordering issues. (bug 1296749, r=mattwoodrow) 2016-08-20 18:25:03 -07:00
Kris Maglione
dbc9f1910b Bug 1259093: Follow-up: Fix another test race. r=me
MozReview-Commit-ID: 3DsTcQli8Ga

--HG--
extra : rebase_source : e32b68893d6684211cd752b88967f7cc74600faa
2016-08-20 14:00:37 -07:00
Sudhanva
abe4e0b4ee Bug 1289848 - Download toolbar button reverts to lodpi when pressed r=dao
--HG--
extra : rebase_source : 1c668aea54be3eba2805cbe8bb7ea926f65c21ce
2016-08-20 21:12:57 +05:30