Commit Graph

505479 Commits

Author SHA1 Message Date
Boris Zbarsky
9f8934b143 Bug 1298588 part 4, gecko piece. Recreate the default computed values for a document as needed. r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky
6104ba14f9 Bug 1298588 part 3, gecko piece. Add a default ComputedValues member to PerDocumentStyleData. r=bholley 2017-01-04 14:52:26 -05:00
Boris Zbarsky
a3a6e58c68 Bug 1298588 part 2, gecko piece. Pass through an nsPresContext to the PerDocumentStyleData constructor. r=bholley 2017-01-04 14:52:26 -05:00
Boris Zbarsky
d6ee8eb8a9 Bug 1298588 part 1. Make StyleStructContext work with a const nsPresContext. r=bholley 2017-01-04 14:52:26 -05:00
Boris Zbarsky
6d6f2704fc Bug 1326301. Put the global allocated by SimpleGlobalObject in the system zone, so we don't create tons of zones when we're converting JSON to dictionaries many times over. r=mccr8 2017-01-04 14:52:26 -05:00
Jim Chen
a0b925e4e6 Bug 1319660 - 3. Add test for correctly adjusting last node in content iterator; r=masayuki
Add a test for the previous patch that makes sure querying selected text
in an edge case works correctly.
2017-01-04 14:46:10 -05:00
Jim Chen
7d16ef42f3 Bug 1319660 - 2. Use previous node instead of sibling when adjusting last node; r=masayuki r=smaug
nsContentIterator in pre mode adjusts its last node if the node is a
childless node like <br>. However, right now it's using GetPrevSibling,
which can lead to error in some edge cases such as:

<p></p><div><br></div>

In this case, if the last node is <br> with offset 0, GetPrevSibling
will return <p> because <p> is <br>'s parent's previous sibling, and the
last node will be set to <p>. However, the correct last node in this
case is <div>, because <br> with offset 0 refers to the position to the
left of <br>, which is <div> with offset 0. In this case, PrevNode
returns the correct <div> value, so we should set the last node to the
result of PrevNode.

For the first node, for a childless node in pre mode, GetNextSibling and
NextNode are the same, so there is no bug in this case. Nevertheless,
this patch changes the call to NextNode to be consistent with calling
PrevNode for the last node.
2017-01-04 14:46:10 -05:00
Jim Chen
cdb5767ec4 Bug 1319660 - 1. Don't take shortcut if old replacement ranges don't match; r=esawin
The block at [1] is a shortcut we take when we reconcile Java text
changes with Gecko text changes. However, we only checked that the new
ranges are the same, i.e. that the new Gecko text is the same as the new
Java text. We should also be checking that the old ranges are the same,
i.e. that the replaced Gecko text is the same as the replaced Java text.

[1] https://dxr.mozilla.org/mozilla-central/rev/bbbd2f7539f224a482cc6d2dd10e6a5f31c8baf3/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoEditable.java#1233
2017-01-04 14:46:10 -05:00
Lee Salzman
7267008bbf Bug 1309205 - part 3 - enable print_via_parent on Linux. r=bobowen
MozReview-Commit-ID: 7CX8ACMeNPa
2017-01-04 14:01:56 -05:00
Lee Salzman
3cff1c818b Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame
MozReview-Commit-ID: 94XcLKgwTPq
2017-01-04 14:01:12 -05:00
Lee Salzman
d5f91aa244 Bug 1309205 - part 1 - allow querying FT_Library from gfxPlatform so that Moz2d Factory can use it. r=jfkthame
MozReview-Commit-ID: 7kxseOOVvWi
2017-01-04 14:00:17 -05:00
Ehsan Akhgari
2877f826cb Bug 1328502 follow-up: Move the worker section out of job-defaults to make sure it doesn't apply to the Windows jobs
Landed on a CLOSED TREE
2017-01-04 13:22:07 -05:00
David Anderson
9560f318d9 Simplify calling SendUpdate/SendUpdateNoSwap. (bug 1325993, r=nical) 2017-01-04 12:58:58 -05:00
Ehsan Akhgari
7da8d19514 Bug 1328172 - Support downloading internal resources from tooltool in toolchain-script; r=dustin 2017-01-04 12:25:58 -05:00
Ehsan Akhgari
41aeee7a17 Bug 1328502 - Move the Windows static analysis builds to the static-analysis kind; r=dustin 2017-01-04 12:25:58 -05:00
Ehsan Akhgari
2ffc60ec46 Bug 1328457 - Link clang statically against the MSVCRT on Windows; r=mystor 2017-01-04 12:25:57 -05:00
Jonathan Watt
a03162818c Bug 1316654 - Fix the DrawTargetSkia::CreateSimilarDrawTarget check for non-raster backed SkCanvas to avoid false positives. r=lsalzman 2016-12-22 01:35:22 +00:00
Jonathan Watt
eb5cbfaadf Bug 1328508 - Increase the print watchdog timer for debug builds, and add some warnings to make watchdog timeouts visible. r=bobowen 2016-12-19 10:12:39 +00:00
Alexandre Poirot
32a78e7d88 Bug 1320084 - Remove useless devtools JSM shims. r=jryans
MozReview-Commit-ID: JUui79wiNYi
2017-01-04 09:11:25 -08:00
Alexandre Poirot
693c71b018 Bug 1320084 - Remove project editor test files from firefox package. r=bgrins
MozReview-Commit-ID: FBvL2jtL2LZ

--HG--
rename : devtools/client/projecteditor/chrome/content/projecteditor-test.xul => devtools/client/projecteditor/test/projecteditor-test.xul
2017-01-04 09:11:25 -08:00
Alexandre Poirot
15c12bb01f Bug 1320084 - Remove unused devtools/client/themes/dom.css file. r=Honza
MozReview-Commit-ID: 1sjsBmMUlGz
2017-01-04 09:11:24 -08:00
Florian Apolloner
534c99ffcd Bug 1324929 - Accept ':' between url and line number in server side logs backtraces. r=ochameau
MozReview-Commit-ID: AtP0Gimrcxt
2017-01-04 09:11:24 -08:00
David Anderson
9267c1b0fe Don't retain a ref to ImageContainers in ImageBridgeChild. (bug 1325784 part 6, r=nical) 2017-01-04 10:19:31 -05:00
David Anderson
61c82e108f Remove PImageContainer. (bug 1325784 part 5, r=nical) 2017-01-04 10:19:30 -05:00
David Anderson
944e8cc055 Use async compositable IDs for image composite notifications. (bug 1325784 part 4, r=nical) 2017-01-04 10:19:30 -05:00
David Anderson
2d302f4637 Move async compositable ID allocation to ImageBridgeChild. (bug 1325784 part 3, r=nical) 2017-01-04 10:19:29 -05:00
David Anderson
e8efc823bc Move CompositableMap into ImageBridge. (bug 1325784 part 2, r=nical) 2017-01-04 10:19:29 -05:00
David Anderson
bdaf0135d9 Move asyncID out of CompositableChild and into CompositableClient. (bug 1325784 part 1, r=nical) 2017-01-04 10:19:28 -05:00
Stephen A Pohl
49078b83e6 Bug 1326472: Fix compile warning introduced by bug 1309596. r=mstange 2017-01-04 10:31:17 -05:00
Carsten "Tomcat" Book
bf21cb8f03 Merge mozilla-central to mozilla-inbound 2017-01-04 16:18:24 +01:00
Stephen A Pohl
a481baefc3 Bug 1328604: Avoid displaying custom shortcuts on OSX until bug 429824 is fixed. r=mstange 2017-01-04 10:13:37 -05:00
Carsten "Tomcat" Book
b4e6d275b7 merge mozilla-inbound to mozilla-central a=merge 2017-01-04 16:09:56 +01:00
Carsten "Tomcat" Book
1076b02859 merge autoland to mozilla-central a=merge 2017-01-04 15:57:40 +01:00
Carsten "Tomcat" Book
be78cb36dd Bug 1024734 - disable test_import.html a=me
--HG--
extra : rebase_source : d06ec37900fc83976b4d61456008bb3e44459bcd
2017-01-04 15:45:30 +01:00
ffxbld
8c2f5e9bdf No bug, Automated blocklist update from host bld-linux64-spot-1064 - a=blocklist-update 2017-01-04 06:34:34 -08:00
ffxbld
c2cea3a621 No bug, Automated HPKP preload list update from host bld-linux64-spot-1064 - a=hpkp-update 2017-01-04 06:34:31 -08:00
ffxbld
ea89b1d359 No bug, Automated HSTS preload list update from host bld-linux64-spot-1064 - a=hsts-update 2017-01-04 06:34:29 -08:00
Carsten "Tomcat" Book
d05d412856 Backed out changeset 423594fd6c7e (bug 1325570) for eslint failure 2017-01-04 12:27:12 +01:00
Phil Ringnalda
82ebc0c5ea Merge m-i to m-c, a=merge
MozReview-Commit-ID: FEe5yZfka5J
2017-01-03 18:40:26 -08:00
Phil Ringnalda
9cb2656068 Merge autoland to m-c, a=merge
MozReview-Commit-ID: IiAulVMFL0V
2017-01-03 18:32:28 -08:00
George Wright
301ac256ca Bug 1324095 - Add GPU_PROCESS_INITIALIZATION_TIME_MS to track how long the GPU process takes to initialise excluding fork/xpcom initialisation times r=dvander,data-review=bsmedberg 2017-01-03 15:13:36 -05:00
Sebastian Hengst
d3f1bf94e1 Backed out changeset 2bd53e4e662b (bug 1303113) for various test failures in debug tests with e10s. r=backout 2017-01-03 20:53:59 +01:00
Ehsan Akhgari
1d19b4a99e Bug 1128311 - Only flush the DNS cache when the last private browsing window is closed; r=mcmanus 2017-01-03 14:32:49 -05:00
Lee Salzman
37e1e73a58 Bug 1328337 - fix implicit conversion of glyph size from float to uint32_t in NativeFontResource::CreateScaledFont. r=bobowen
MozReview-Commit-ID: 9JcrfRYJ3ca
2017-01-03 14:20:16 -05:00
Emanuel Hoogeveen
f3e78de716 Bug 1328355 - Don't unintentionally crash from the exception handler on Windows. r=jandem 2017-01-03 11:49:00 -05:00
Andrea Marchesini
2781835fb3 Bug 1321550 - origin should not contain ref part of the URL, r=valentin 2017-01-04 14:53:57 +01:00
Andrea Marchesini
bc98b07905 Bug 1322550 - Rename DOMStorage to Storage, r=smaug
--HG--
rename : dom/storage/DOMStorage.cpp => dom/storage/Storage.cpp
rename : dom/storage/DOMStorage.h => dom/storage/Storage.h
rename : dom/storage/DOMStorageCache.cpp => dom/storage/StorageCache.cpp
rename : dom/storage/DOMStorageCache.h => dom/storage/StorageCache.h
rename : dom/storage/DOMStorageDBThread.cpp => dom/storage/StorageDBThread.cpp
rename : dom/storage/DOMStorageDBThread.h => dom/storage/StorageDBThread.h
rename : dom/storage/DOMStorageDBUpdater.cpp => dom/storage/StorageDBUpdater.cpp
rename : dom/storage/DOMStorageDBUpdater.h => dom/storage/StorageDBUpdater.h
rename : dom/storage/DOMStorageIPC.cpp => dom/storage/StorageIPC.cpp
rename : dom/storage/DOMStorageIPC.h => dom/storage/StorageIPC.h
rename : dom/storage/DOMStorageManager.cpp => dom/storage/StorageManager.cpp
rename : dom/storage/DOMStorageManager.h => dom/storage/StorageManager.h
rename : dom/storage/DOMStorageObserver.cpp => dom/storage/StorageObserver.cpp
rename : dom/storage/DOMStorageObserver.h => dom/storage/StorageObserver.h
2017-01-04 14:53:01 +01:00
Benjamin Bouvier
d43de884f1 Bug 1328151: Check for OOM in BinaryToAST initialization of result; r=luke
MozReview-Commit-ID: 3tnx4rS6rZc

--HG--
extra : amend_source : d3d4a59b4df0d4e4bb0a7eed171d33cea8c74973
2017-01-03 16:18:03 +01:00
ffxbld
62d7405e17 No bug, Automated blocklist update from host bld-linux64-spot-058 - a=blocklist-update 2017-01-03 06:55:03 -08:00
ffxbld
3efee76cf0 No bug, Automated HPKP preload list update from host bld-linux64-spot-058 - a=hpkp-update 2017-01-03 06:55:00 -08:00