Commit Graph

593305 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
8239c1300e Bug 1386840: Defer loading and don't block rendering for non-matching stylesheets. r=bz,heycam
MozReview-Commit-ID: 24UJZDooGmn
2018-04-26 16:44:03 +02:00
Emilio Cobos Álvarez
31aff796a0 Bug 1456435: Make the loader a bit less outparam-happy. r=heycam
Returning the same type and UpdateStyleSheet.

This hopefully helps seeing how the data flows between the methods, instead of
the messy bits we had before.

MozReview-Commit-ID: C6THNRi8bbg
2018-04-26 16:43:58 +02:00
Emilio Cobos Álvarez
5618bcfb59 Bug 1456435: Less bool outparam in Loader too. r=heycam
MozReview-Commit-ID: D5A2BxwHGjn
2018-04-26 16:43:54 +02:00
Emilio Cobos Álvarez
a00f507b72 Bug 1456435: Make UpdateStyleSheet less bool-happy. r=heycam
MozReview-Commit-ID: FlTD390lMhg
2018-04-26 16:43:52 +02:00
Emilio Cobos Álvarez
e0fb59363f Bug 1456435: Don't clone a URI for sheet loading. r=heycam
nsIURI is immutable now.

MozReview-Commit-ID: 1eMikl399Fd
2018-04-26 16:43:45 +02:00
Kartikaya Gupta
690111347c Bug 1456340 - Increase fuzz slightly for webrender. r=me
DONTBUILD because this is trivial
2018-04-26 10:40:11 -04:00
Boris Zbarsky
86835e49c5 Bug 1456588 part 6. Change nsXULCommandDispatcher::GetRootFocusedContentAndWindow to return Element. r=enndeakin 2018-04-26 10:37:47 -04:00
Boris Zbarsky
a3a6206b20 Bug 1456588 part 5. Store an Element as the focused content in the focus manager. r=enndeakin 2018-04-26 10:37:47 -04:00
Boris Zbarsky
01c62fd5cb Bug 1456588 part 4. Change nsFocusManager guts to make it clearer that the focused thing is always an Element. r=enndeakin
I couldn't find a good way to make this incremental without adding QIs and
AsElement() in various places....
2018-04-26 10:37:47 -04:00
Boris Zbarsky
b3b21fd3fa Bug 1456588 part 3. Change nsFocusManager::SetFocusInner to take Element. r=enndeakin 2018-04-26 10:37:47 -04:00
Boris Zbarsky
dac6314cb8 Bug 1456588 part 2. Change nsIFocusManager::MoveFocus to take Element. r=enndeakin 2018-04-26 10:37:47 -04:00
Boris Zbarsky
8a0b50bea8 Bug 1456588 part 1. Change nsIFocusManager::SetFocus to take Element. r=enndeakin 2018-04-26 10:37:46 -04:00
Jonathan Kew
5485dd0a02 Bug 1456547 - When weight/stretch/style descriptor is omitted from a @font-face rule, the corresponding variation axis should not be clamped to the 'normal' value. r=jwatt 2018-04-26 15:32:36 +01:00
Xidorn Quan
43eb5c8140 Bug 1456364 part 4 - Convert CSS_PROPERTY_* flags to a typed enum flags. r=emilio
MozReview-Commit-ID: 4mLPe5cH80N
2018-04-26 16:24:33 +02:00
Xidorn Quan
1eb2fafd90 Bug 1456364 part 3 - Remove flags from nsCSSPropList.h. r=emilio
Some assertions are also removed because they are no longer necessary.
The script generating the flags guarantees those assertions hold.

MozReview-Commit-ID: BgXMBoRBJaJ
2018-04-26 16:24:32 +02:00
Xidorn Quan
9684819902 Bug 1456364 part 2 - Remove PropertyParseType. r=emilio
MozReview-Commit-ID: 3JDLVKJAlpv
2018-04-26 16:24:31 +02:00
Xidorn Quan
8af9d264aa Bug 1456364 part 1 - Reduce dependencies to nsCSSProps.h. r=emilio
So that hacking on this header can be less painful...

MozReview-Commit-ID: LmpMnF7q9RG
2018-04-26 16:24:30 +02:00
Emilio Cobos Álvarez
6cc8c70c09 Bug 1456364 part 0 - Add a missing X11UndefineNone.h. r=xidorn
MozReview-Commit-ID: BCzHasDV4xe
2018-04-26 16:22:54 +02:00
Bogdan Tara
94e09143d7 Bug 1457075 - adding PerformanceUtils.h on Release and Beta builds r=tarek a=beta-fix 2018-04-26 11:23:21 +03:00
Andreea Pavel
17a7053b0d Merge mozilla-inbound to mozilla-central. a=merge 2018-04-26 17:03:43 +03:00
Ryan VanderMeulen
dd9e28b9cc Merge m-c to autoland. a=merge on a CLOSED TREE
--HG--
extra : amend_source : 273d04bb1e8ee4b8c0bc59e3ce926e64bcc4aa9a
2018-04-26 08:48:42 -04:00
Ryan VanderMeulen
bcb74332bf Merge m-c to inbound. a=merge on a CLOSED TREE
--HG--
extra : amend_source : e7b9ac74e2053c62b71c61e67c224b31f0994a4e
2018-04-26 08:47:22 -04:00
Ryan VanderMeulen
dd8d13d4b6 Fix the broken backout of bug 1438375 to reopen the CLOSED TREE.
--HG--
extra : amend_source : 1fa43b15c46f36d99ffc17e750d25d6c937486ee
2018-04-26 08:38:45 -04:00
Andreea Pavel
35eb788d03 Backed out changeset b5a1430d99b5 (bug 1403530)for failing clipboard on devtools/client/netmonitor/src/har/test/browser_net_har_copy_all_as_har.js on a CLOSED TREE 2018-04-26 14:52:23 +03:00
Andrea Marchesini
1fb956b640 Bug 1457073 - Fix a leak in WorkerEventTarget::Dispatch() about how already_AddRefed<> params are handled, r=smaug 2018-04-26 11:41:15 +02:00
Ryan VanderMeulen
84b6d45572 Backed out 3 changesets (bug 1455028, bug 1455019, bug 1455016) because they were already pushed to inbound. DONTBUILD
Backed out changeset 53422b422071 (bug 1455028)
Backed out changeset 1b5f2913b206 (bug 1455019)
Backed out changeset f93d567284f7 (bug 1455016)

--HG--
extra : amend_source : 3c4e53b1dc7eb256dd724d23b3e3646b7dc11609
2018-04-26 05:40:13 -04:00
Bogdan Tara
b802be6941 Backed out changeset fb836a045f20 (bug 1438375) for browser chrome failres at browser/components/preferences/in-content/tests/browser_extension_controlled.js : fixed line ending a=backout CLOSED TREE
--HG--
extra : amend_source : c7bba71ed697f8ffcc7b4a6c6f19d3e92577965c
2018-04-26 11:39:42 +03:00
Andreea Pavel
d539978c47 Backed out changeset fb836a045f20 (bug 1438375) for browser chrome failures at browser/components/preferences/in-content/tests/browser_extension_controlled.js a=backout
--HG--
extra : source : 8801ee790cc2ae7bbb39613515365ca24f30abaa
2018-04-26 10:45:11 +03:00
Andreea Pavel
a21531022b Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-26 09:04:59 +03:00
Jeff Walden
04d21ccac0 Bug 1451248. r=jorendorff, r=bz
--HG--
extra : rebase_source : e26439a5954162bdaf332fbd63d623a3810e19e0
2018-04-25 19:40:09 -07:00
Dorel Luca
7153e84656 Backed out 3 changesets (bug 1451307) for Mochitest failure on toolkit/components/url-classifier/tests/mochitest/test_bug1254766.html. CLOSED TREE
Backed out changeset be0a9b78c224 (bug 1451307)
Backed out changeset 13e58d5887d8 (bug 1451307)
Backed out changeset 7f89d94d45ba (bug 1451307)

--HG--
rename : browser/base/content/test/trackingUI/benignPage.html => browser/base/content/test/general/benignPage.html
rename : browser/base/content/test/trackingUI/browser_trackingUI_1.js => browser/base/content/test/general/browser_trackingUI_1.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_2.js => browser/base/content/test/general/browser_trackingUI_2.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_3.js => browser/base/content/test/general/browser_trackingUI_3.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_4.js => browser/base/content/test/general/browser_trackingUI_4.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_5.js => browser/base/content/test/general/browser_trackingUI_5.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_6.js => browser/base/content/test/general/browser_trackingUI_6.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_telemetry.js => browser/base/content/test/general/browser_trackingUI_telemetry.js
rename : browser/base/content/test/trackingUI/file_trackingUI_6.html => browser/base/content/test/general/file_trackingUI_6.html
rename : browser/base/content/test/trackingUI/file_trackingUI_6.js => browser/base/content/test/general/file_trackingUI_6.js
rename : browser/base/content/test/trackingUI/file_trackingUI_6.js^headers^ => browser/base/content/test/general/file_trackingUI_6.js^headers^
rename : browser/base/content/test/trackingUI/trackingPage.html => browser/base/content/test/general/trackingPage.html
2018-04-26 05:08:47 +03:00
Dorel Luca
5846115845 Backed out 2 changesets (bug 1456679) for Reftests failure. CLOSED TREE
Backed out changeset c40209504a45 (bug 1456679)
Backed out changeset 351ae90cc6a0 (bug 1456679)
2018-04-26 05:07:47 +03:00
Dorel Luca
1c84618b5b Backed out changeset 5de60fc0f2da (bug 1446203) for Mochitest failure on browser/extensions/formautofill/test/mochitest/test_address_level_1_submission.html. CLOSED TREE 2018-04-26 04:07:15 +03:00
Dragan Mladjenovic
81023c7822 Bug 1455028 - [MIPS64] Fix jit -> c++ int32 argument passing for simulator builds. r=bbouvier
--HG--
extra : rebase_source : 171195511a6d7e6cd371bde37307b270027d83f8
2018-04-25 02:25:00 -04:00
Dragan Mladjenovic
eaca55867d Bug 1455019 - [MIPS64] Add error detection for int64 <-> fp conversion in simulator. r=bbouvier
--HG--
extra : rebase_source : 9c6c77339866182a6e475810b79339c02e45121b
2018-04-25 02:24:00 -04:00
Jeff Walden
e2c8f8433f Bug 1456296 - Move IdentifierName parsing into a separate function from TSS::getTokenInternal to simplify some control flow. r=arai
* * *
[mq]: more

--HG--
extra : rebase_source : 1ba08d6801d5dff326921cf9b88655ae5b151b91
2018-04-23 13:37:39 -07:00
Brian Birtles
fc9af7ef8b Bug 1454123 - Wait a moment after moving toolbox to a window before triggering its menu; r=bgrins
MozReview-Commit-ID: 839Z65WTjpC

--HG--
extra : source : dd82a78059af3c47e0961a277bf720cac3210121
2018-04-25 09:55:04 +09:00
Kris Maglione
6bb92f08a7 Bug 1456035: Follow-up: Fix wrapper error in plain mochitest. r=bustage
MozReview-Commit-ID: BsZOhFIuDLv
2018-04-25 17:37:24 -07:00
Kris Maglione
fc4672bb17 Bug 1456035: Follow-up: Delete redundant test_extensionURL.html, which fails with wrapper errors. r=me f=aswan CLOSED TREE
MozReview-Commit-ID: F5LmwfizygB

--HG--
extra : amend_source : 478bc62294f7a311f960a0b3e888261473254d15
2018-04-25 17:01:36 -07:00
Shane Caraveo
1e0138caf3 Bug 1455755 Move browserSettings.proxyConfig to proxy.settings, r=aswan, mstrimer
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-25 18:50:22 -05:00
Kris Maglione
be628a4524 Bug 1456677: Make the blocklist service a JSM, with an XPCOM service stub. r=Gijs
Aside from making things easier for JS callers, this also makes it harder to
accidentally trigger an early load of the service, which can be expensive
during startup.

This also makes a slight change to nsPluginHost to initially preserve the
previous blocklist state when a plugin is updated, to avoid the risk of the
possible additioanl asynchrony unblocking a plugin that should stay blocked.

MozReview-Commit-ID: 4EvIGJ1Ke0Z

--HG--
rename : toolkit/mozapps/extensions/nsBlocklistService.js => toolkit/mozapps/extensions/Blocklist.jsm
extra : rebase_source : e7047615ea3a728478695c76a0c521b0281f363b
extra : amend_source : b74115abacacd17ae3e8433a534a5bbb541905b0
2018-04-24 17:46:44 -07:00
Kris Maglione
a6d2e794ef Bug 1456035: Part 3.1 - Add temporary fallback XPCOMUtils.generateQI implementation for Android hostutils. r=me
MozReview-Commit-ID: IDs6Jyz5PyO

--HG--
extra : rebase_source : ae871cbec9494945663843a7dbeb56ae2a49c164
2018-04-25 14:26:05 -07:00
Kris Maglione
e318b76d56 Bug 1456035: Part 3 - Replace XPCOMUtils.generateQI with a stub for ChromeUtils.generateQI. r=mccr8
MozReview-Commit-ID: HWnlxUQvxYZ

--HG--
extra : rebase_source : a5801a0d7427a2cf3cedec2a4e8db1a3d80273ec
2018-04-22 18:55:49 -07:00
Kris Maglione
8b53374e1d Bug 1456035: Part 2 - Add fast path for XPCWrappedJS QueryInterface with native helper. r=mccr8
When the QueryInterface method for an XPCWrappedJS class is implemented by the
native helper, we can avoid a lot of overhead by simply asking it if it
supports a given interface rather than going through all of the JSAPI call and
exception handling overhead we'd need otherwise.

MozReview-Commit-ID: FVAN3oYRE9I

--HG--
extra : rebase_source : 23a42374e83ee4314fa89ead135fd2e8f9968296
2018-04-22 20:37:51 -07:00
Kris Maglione
dc8ba3688b Bug 1456035: Part 1 - Add helper to generate native QueryInterface callbacks. r=bz
MozReview-Commit-ID: JpV6zYOdvHu

--HG--
extra : rebase_source : 4aeda7c2c612dd9c7dbb7b6f4fdd33b8b289b702
2018-04-22 20:32:11 -07:00
arthur.iakab
b952733074 Merge mozilla-central to inbound on a CLOSED TREE
--HG--
extra : amend_source : 211f8c266bd77e1617feb70153708664d3edf337
2018-04-26 02:08:49 +03:00
arthur.iakab
b6893939a1 Backed out changeset dd82a78059af (bug 1454123) for devtools failures at devtools/client/webconsole/test/mochitest/browser_webconsole_split.js a=backout 2018-04-26 01:44:27 +03:00
Dorel Luca
7652908dea Backed out changeset 3802f86e1bd1 (bug 1364624) for shutdown hangs on reftests. a=backout 2018-04-26 00:27:45 +03:00
Tiberius Oros
78dbe34925 Bug 1452580 - remove RELEASE_OR_BETA defines for PerformanceCounter usage a=beta-fix 2018-04-25 14:43:48 +03:00
Gurzau Raul
faeb9b7ddd Merge inbound to mozilla-central. a=merge 2018-04-25 12:36:04 +03:00