Commit Graph

488000 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
095526c413 Bug 1296758 - Don't upload symbols for Linux static analysis builds; r=dustin 2016-08-20 11:18:04 -04:00
Jan Varga
321c9b5fb3 Bug 1296512 - Rework OriginScope to use a union; r=asuth 2016-08-20 20:50:20 +08:00
Sebastian Hengst
2399f226e1 Backed out changeset 7a3c14d1770f (bug 1296512) for 'Conditional jump or move depends on uninitialised value(s)' detected by valgrind. r=backout 2016-08-20 12:41:09 +02:00
Sebastian Hengst
f1445a15e2 Backed out changeset 1ba19d1f07da (bug 1292628) for failing to create surface in reftests on Windows 7 VM. r=backout 2016-08-20 12:31:00 +02:00
Emilio Cobos Álvarez
3c832018ee Bug 1292618: Add Gecko_CopyStyleContentsFrom. r=heycam
This allows to copy the `content` property value from one nsStyleContent to
another, in order to implement content: inherit.

MozReview-Commit-ID: 75mQpGRKKba
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 20:24:28 -07:00
Emilio Cobos Álvarez
66f4488daf Bug 1292618: Specialize ServoStyleSet::ResolveStyleForText to take into account generated nodes. r=heycam
Eventually, we might want to use the same mechanism that Gecko uses directly,
and stop styling text nodes from Servo.

This would have the benefit of removing the "stash the change on the parent"
thing.

MozReview-Commit-ID: IOxNR05jkh
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 20:24:28 -07:00
Emilio Cobos Álvarez
e7bc43ddc7 Bug 1292618: Support basic pseudo-element restyling. r=heycam
:before and :after only, for now.

MozReview-Commit-ID: 9hLFvVhqIrN
2016-08-19 20:24:27 -07:00
Emilio Cobos Álvarez
00ab304ee2 Bug 1292618: Add Gecko_ClearPODTArray to clear arrays of types without destructors. r=heycam
MozReview-Commit-ID: 3RRvrXn6ZTD
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 20:24:24 -07:00
Stephen A Pohl
8f756a0ba5 Bug 1293593: Fix crash due to an Objective-C exception when calling getRed:green:blue:alpha on an NSColor instance with an incompatible NSColorSpace. r=mstange 2016-08-19 23:17:58 -04:00
Jan Varga
3daf0f3f96 Bug 1296512 - Rework OriginScope to use a union; r=asuth 2016-08-20 10:16:31 +08:00
Wes Kocher
431cc3777c Merge m-c to inbound a=merge 2016-08-19 18:39:52 -07:00
Wes Kocher
02f300c352 Backed out 4 changesets (bug 1292618) because it was making merging things difficult a=backout
Backed out changeset 14733a383b4c (bug 1292618)
Backed out changeset 17dfe8bc5f76 (bug 1292618)
Backed out changeset d04597bd1109 (bug 1292618)
Backed out changeset 30f7696fea2d (bug 1292618)
2016-08-19 18:37:09 -07:00
Emilio Cobos Álvarez
ad5dd28774 Bug 1292618: Add Gecko_CopyStyleContentsFrom. r=heycam
This allows to copy the `content` property value from one nsStyleContent to
another, in order to implement content: inherit.

MozReview-Commit-ID: 75mQpGRKKba
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 18:26:39 -07:00
Emilio Cobos Álvarez
84de3367d5 Bug 1292618: Specialize ServoStyleSet::ResolveStyleForText to take into account generated nodes. r=heycam
Eventually, we might want to use the same mechanism that Gecko uses directly,
and stop styling text nodes from Servo.

This would have the benefit of removing the "stash the change on the parent"
thing.

MozReview-Commit-ID: IOxNR05jkh
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 18:26:38 -07:00
Emilio Cobos Álvarez
6ca7e9e4f1 Bug 1292618: Support basic pseudo-element restyling. r=heycam
:before and :after only, for now.

MozReview-Commit-ID: 9hLFvVhqIrN
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 18:26:38 -07:00
Emilio Cobos Álvarez
c043a5d5c5 Bug 1292618: Add Gecko_ClearPODTArray to clear arrays of types without destructors. r=heycam
MozReview-Commit-ID: 3RRvrXn6ZTD
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 18:26:35 -07:00
Wes Kocher
bb22cc4067 Merge inbound to central, a=merge 2016-08-19 18:16:20 -07:00
Wes Kocher
1adf793988 Merge fx-team to central, a=merge 2016-08-19 17:54:55 -07:00
Kris Maglione
71987e4163 Bug 1259093: Follow-up: Fix some test races. r=me
MozReview-Commit-ID: riVGF5q3xV
2016-08-19 17:20:22 -07:00
Dão Gottwald
206756ae21 Bug 1295929 followup, fixing typo 2016-08-20 01:17:48 +02:00
Jonathan Kew
6e69d4453a Bug 1288975 - Add innerText tests for text-transform support of German double-s and Turkish i vs. dotless-i to web-platform-tests. r=mats 2016-08-20 00:08:26 +01:00
Jonathan Kew
477e0a395a Bug 1288975 - Make innerText use nsCaseTransformTextRunFactory::TransformString to implement text-transform, so that it benefits from language-specific behaviors. r=mats 2016-08-20 00:08:24 +01:00