Kris Maglione
be161e68b4
Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug
...
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.
MozReview-Commit-ID: LAzvfm5Qhy0
2017-08-19 13:32:58 -07:00
Marco Castelluccio
310632dbf0
Bug 1380659 - Add SpecialPowers API to dump/reset coverage counters. r=jmaher
2017-07-14 11:02:44 +02:00
Rajesh Kathiriya
bfb3762076
Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
...
MozReview-Commit-ID: RT5QTipaOW
2017-07-04 21:30:18 +05:30
J. Ryan Stinnett
49761a7978
Bug 1375952 - Support default values in SpecialPowers.get*Pref. r=jaws
...
In bug 1338306, support for optional default values was added to the various
get*Pref APIs on the prefs service. This change exposes that to SpecialPowers
as well.
MozReview-Commit-ID: 6hU73CrQBZQ
2017-06-23 14:01:19 -05:00
J. Ryan Stinnett
10b7a956e4
Bug 1375952 - Clean up SpecialPowers pref syntax. r=jaws
...
MozReview-Commit-ID: 27I4eKdBqhB
2017-06-23 11:52:45 -05:00
Andrew McCreight
8b8828ad4f
Bug 1375262 - Add the ability to pass sandbox options to SpecialPowers.loadChromeScript(). r=jmaher
...
SpecialPowers.loadChromeScript() sends a script to the child process,
then creates a sandbox, and runs the script in that sandbox. There are
various sandboxOptions that can be passed when creating a sandbox, and
it would be nice to have that functionality for loadChromeScript.
I just need this for wantGlobalProperties, but I might as well make it
as general as possible. I'm not sure all of the types it can take can
actually be serialized across processes, but I guess that's okay.
MozReview-Commit-ID: GoJjXdjizFk
2017-06-20 15:50:20 -07:00
Geoff Brown
90dd9a553f
Bug 1367780 - Additional changes for eslint on testing/firefox-ui,mozbase,profiles,specialpowers; r=Standard8
2017-05-30 16:06:31 -06:00
Geoff Brown
b195bd0c85
Bug 1367780 - Enable eslint on testing/firefox-ui,mozbase,profiles,specialpowers - mechanical updates; r=Standard8
2017-05-30 16:06:29 -06:00
Matthew Wein
1186674777
Bug 1331742 - Part 5 - Add unit tests for browserAction.onClicked r=mixedpuppy
...
MozReview-Commit-ID: DE7me6moxG
2017-05-12 15:02:11 -04:00
Kris Maglione
5ce24cde06
Bug 1356826: Wait for startup to finish before shutting down. r=me
...
MozReview-Commit-ID: LksftmZHI8H
2017-05-10 20:26:01 -07:00
Iris Hsiao
0d81aa4e25
Backed out 15 changesets (bug 1358846, bug 1356826) for talos error. a=backout
...
Backed out changeset 96ea13bb00c5 (bug 1358846)
Backed out changeset b533d7f9b9c2 (bug 1358846)
Backed out changeset 7dcb80a051a3 (bug 1358846)
Backed out changeset 26825f1e33dd (bug 1358846)
Backed out changeset 98b57ff82a54 (bug 1358846)
Backed out changeset b9088593e34f (bug 1358846)
Backed out changeset cb2518673c56 (bug 1358846)
Backed out changeset 889c487a5d41 (bug 1358846)
Backed out changeset 459b36092b7a (bug 1356826)
Backed out changeset c861e23ec8ef (bug 1356826)
Backed out changeset d47998fa24cd (bug 1356826)
Backed out changeset b02e89c67132 (bug 1356826)
Backed out changeset c46fed6e4f6a (bug 1356826)
Backed out changeset 237268e3d9d2 (bug 1356826)
Backed out changeset 527435fc20db (bug 1356826)
2017-05-12 17:45:21 +08:00
Kris Maglione
6af5fca6ce
Bug 1356826: Wait for startup to finish before shutting down. r=me
...
MozReview-Commit-ID: LksftmZHI8H
2017-05-10 20:26:01 -07:00
Carsten "Tomcat" Book
dd164777f2
Backed out changeset 79579aab8851 (bug 1331742)
2017-04-24 12:27:45 +02:00
Matthew Wein
5b86f1818b
Bug 1331742 - Part 5 - Add unit tests for browserAction.onClicked r=mixedpuppy
...
MozReview-Commit-ID: Ko8eQYfIM0H
2017-04-10 16:15:54 -04:00
Geoff Brown
e2116c3fec
Bug 1354042 - Delete pending crash reports between mochitests; r=jmaher
2017-04-09 11:31:19 -06:00
Kris Maglione
115e1d5fce
Bug 1344590: Part 4 - Store parsed and normalized extension data in indexedDB. r=aswan
...
MozReview-Commit-ID: HA0PJfbGa9w
2017-03-08 09:16:01 -08:00
Kris Maglione
dfb667f054
Bug 1332874: Check that extra windows and tabs are closed after each mochitest. r=aswan
...
MozReview-Commit-ID: GjJxHVnLJi1
2017-01-21 15:19:33 -08:00
Florian Quèze
f412bc04ab
Bug 1330464 - script-generated removal of additional parameters that don't exist in the interface, r=jaws.
2017-01-13 20:21:53 +01:00
Florian Quèze
6459975a67
Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws.
2017-01-09 20:27:26 +01:00
Kris Maglione
73f2afa95d
Bug 1325158: Part 4 - Fix cases where extension startup listener is not removed. r=aswan
...
MozReview-Commit-ID: FIhGYSDoOhW
2016-12-24 18:48:56 -08:00
Ehsan Akhgari
516a4de699
Bug 1318206 - Remove some unused code for clearing app data; r=baku,mcmanus
2016-11-17 08:30:21 -05:00
Ehsan Akhgari
a1e56b3576
Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv
2016-10-13 13:18:41 -04:00
Yoshi Huang
85db56b906
Bug 1237152 - rename clear-origin-data to clear-origin-attributes-data, r=smaug
...
find \( -name '*.cpp' -o -name '*.h' -o -name '*.js' -o -name '*.jsm' -o -name '*.idl' -o -name '*.html' \) \
-a -type f -exec sed -i 's/clear-origin-data/clear-origin-attributes-data/g' {} \;
2016-10-07 17:45:10 +08:00
Kris Maglione
0e8fb15468
Bug 1306037: Support options_ui in embedded WebExtensions. r=aswan
...
MozReview-Commit-ID: KZVPz52qrTS
2016-09-28 23:11:35 +01:00
Kate McKinley
90c8afbeac
Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb, r=mayhemer, r=jld, r=smaug, r=dkeeler, r=jmaher, p=ally
...
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.
Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.
nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.
MozReview-Commit-ID: ES1JruCtDdX
2016-09-27 11:27:00 -04:00
Andrew Swan
1206774e48
Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag
...
Prior to this change, SpecialPowers used the extension id to identiy
extension instances in inter-process messaging. This required that
an id be allocated from the content process side when loadExtension()
was called, but that made it impossible to test code that exercises the
code path in the AddonManager that allocates ids for extensions that do
not include an id in the manifest (it also made the loadExtension() api
clunky).
With this change, SpecialPowers allocates an internal identifier for
messaging, but this identifier is separate from extension ids.
Confusingly, we still store the actual extension id in an id property
on the object returned by loadExtension(), but there are enough tests
that reference this that it would be unnecessarily disruptive to get
rid of it so it stays for now...
MozReview-Commit-ID: G6xk1mBJJL8
2016-08-02 16:04:37 -07:00
Jan Varga
135a915600
Bug 1195930 - Part 1: Re-enable tests for clearing origin data; r=asuth
2016-06-05 21:41:48 +02:00
Marco Castelluccio
11f972319b
Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk
2016-03-14 16:29:11 +00:00
Matthew Noorenberghe
5b604420a7
Bug 1251139 - Support running a function in the parent with loadChromeScript. r=jmaher
...
MozReview-Commit-ID: 3t7g2bjaFmA
2016-03-09 12:11:44 -08:00
Hiroyuki Ikezoe
005594238a
Bug 1153128 - Add sendSyncMessage to SpecialPowers.loadChromeScript. r=jmaher
...
MozReview-Commit-ID: AsbBiOkhhLo
2016-02-24 21:43:23 -08:00
Bill McCloskey
e0f8de3c70
Bug 1246787 - [webext] Add schema storage.json (r=kmag)
2016-02-11 13:04:31 -08:00
Kris Maglione
72237129ca
Bug 1244805: [webext] Don't resolve relative URLs in manifests unless extension is running. r=billm
2016-02-01 11:02:02 -08:00
Christoph Kerschbaumer
e98db8c819
Bug 1241576 - Convert testing/ to use channel.open2() (r=sicking)
2016-01-22 11:44:23 -08:00
Andrew McCreight
095ee4e38e
Bug 1226291 - Add SpecialPowers API for importing a jsm into the main process. r=jmaher
2015-11-25 12:34:08 -08:00
Jan Varga
ea0cabfec0
Bug 961049 - Part 4: QuotaManager on PBackground core changes; r=baku
2015-11-22 10:43:55 +01:00
Wes Kocher
508f2256e5
Backed out changeset 7fd167583034 (bug 1226291) for android m(16) failures CLOSED TREE
2015-11-20 12:00:13 -08:00
Andrew McCreight
98362f662f
Bug 1226291 - Add SpecialPowers API for importing a jsm into the main process. r=jmaher
2015-11-20 09:18:22 -08:00
Andrew Halberstadt
21a1942ba7
Bug 1219442 - Re-write specialpowers as a restartless addon, r=jmaher
...
In order to meet the addon signing requirement for tests, specialpowers
needs to be installed at gecko runtime. This means it must be restartless.
This patch packages specialpowers as a restartless addon, but it does not
yet install it at runtime.
2015-11-05 10:00:59 -05:00
dlee
08aaf1510c
Bug 1214593 - Remove service worker periodic updater. r=ehsan
2015-11-02 16:08:44 +08:00
Yoshi Huang
d563322200
Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley
...
From 7bb0fbba24f4f65d3fa83efe223b1431cd71fdb6 Mon Sep 17 00:00:00 2001
---
dom/apps/tests/test_third_party_homescreen.html | 8 +-
.../test/test_messagemanager_assertpermission.html | 4 +-
dom/base/test/test_messagemanager_targetchain.html | 16 +--
...rowserElement_AllowEmbedAppsInNestedOOIframe.js | 11 +-
.../mochitest/browserElement_CopyPaste.js | 9 +-
.../browserElement_DisallowEmbedAppsInOOP.js | 9 +-
.../mochitest/browserElement_Proxy.js | 10 +-
.../browserElement_SetInputMethodActive.js | 3 +-
.../mochitest/browserElement_SetVisibleFrames.js | 17 ++--
.../mochitest/browserElement_SetVisibleFrames2.js | 16 +--
.../priority/test_ExpectingSystemMessage2.html | 16 +--
.../mochitest/priority/test_NestedFrames.html | 16 +--
dom/cache/test/mochitest/driver.js | 11 +-
.../test/mochitest/test_cache_orphaned_body.html | 33 +-----
.../test/mochitest/test_cache_orphaned_cache.html | 33 +-----
dom/cache/test/mochitest/test_cache_restart.html | 11 +-
dom/cache/test/mochitest/test_cache_shrink.html | 33 +-----
dom/indexedDB/test/file.js | 12 +--
dom/indexedDB/test/helpers.js | 9 +-
dom/indexedDB/test/webapp_clearBrowserData.js | 6 +-
dom/inputmethod/mochitest/test_bug1043828.html | 5 +-
dom/inputmethod/mochitest/test_bug944397.html | 5 +-
.../mochitest/test_focus_blur_manage_events.html | 5 +-
.../mochitest/test_input_registry_events.html | 5 +-
.../mochitest/test_simple_manage_events.html | 5 +-
.../tests/test_permission_for_nested_oop_app.html | 3 +-
.../tests/test_permission_for_two_oop_apps.html | 3 +-
dom/ipc/tests/test_permission_helper.js | 21 ++--
.../test_permission_when_oop_app_crashes.html | 3 +-
dom/tv/test/mochitest/head.js | 5 +-
.../test_SpecialPowersPushAppPermissions.html | 14 ++-
.../tests/Harness_sanity/test_bug816847.html | 6 +-
.../components/SpecialPowersObserver.js | 4 +-
.../content/SpecialPowersObserverAPI.js | 24 +----
testing/specialpowers/content/specialpowersAPI.js | 111 ++++++++-------------
35 files changed, 173 insertions(+), 329 deletions(-)
2015-10-07 14:35:43 +08:00
Yoshi Huang
cb2176d7db
Backout e54c3b878993
2015-10-27 15:49:11 +08:00
Yoshi Huang
1c86cab3dd
Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley
2015-10-07 14:35:43 +08:00
Ehsan Akhgari
438907bab9
Bug 1213151 - Part 2: Use SpecialPowers.cleanUpSTSData() in a few tests; r=jdm
2015-10-09 10:56:19 -04:00
Ehsan Akhgari
d913217d08
Bug 1213151 - Part 1: Add a SpecialPowers API for cleaning up the STS data that works in both e10s and non-e10s modes; r=jdm
2015-10-09 10:56:17 -04:00
Bill McCloskey
70ffec68ff
Bug 1190662 - [webext] Browser action popup HTML should be reloaded each time popup is opened (r=gabor)
2015-09-23 17:18:26 -07:00
Phil Ringnalda
aaf72d29b9
Backed out 12 changesets (bug 1202482, bug 1202483, bug 1202481, bug 1202486, bug 1202479, bug 1202478, bug 1197475, bug 1203331, bug 1139860, bug 1202501, bug 1199473, bug 1190662) for Mulet mochitest-5 timeouts
...
CLOSED TREE
Backed out changeset 6503123e95dd (bug 1139860)
Backed out changeset b83bc163064d (bug 1203331)
Backed out changeset 2f501bd57cd2 (bug 1202481)
Backed out changeset 37e6ac7beb42 (bug 1202486)
Backed out changeset f9b6e99e620e (bug 1202483)
Backed out changeset 466af9f9baee (bug 1202482)
Backed out changeset 6be690e265a2 (bug 1202479)
Backed out changeset 57ff88bfccf4 (bug 1197475)
Backed out changeset 7e8c04ff6049 (bug 1202478)
Backed out changeset 525227997274 (bug 1202501)
Backed out changeset da317cdb79d3 (bug 1199473)
Backed out changeset 73b8ddd6dac9 (bug 1190662)
2015-09-22 19:29:51 -07:00
Bill McCloskey
e15f883a0d
Bug 1190662 - [webext] Browser action popup HTML should be reloaded each time popup is opened (r=gabor)
2015-09-22 16:09:20 -07:00
Bill McCloskey
69388b1d70
Bug 1199800 - [webext] Allow extensions to be generated from JSON (r=gabor)
2015-09-04 09:45:01 -07:00
Bill McCloskey
0f310ec0ca
Bug 1199800 - [webext] More refactoring of SpecialPowers to support chrome tests (r=gabor)
2015-09-04 09:45:00 -07:00
Carsten "Tomcat" Book
ebb221ac2d
Backed out 11 changesets (bug 1201377, bug 1199800, bug 1197437, bug 1199832, bug 1199698, bug 1199842) for breaking browser_ext_tabs_executeScript.js test on a CLOSED TREE
...
Backed out changeset 8d8d73d3c3e1 (bug 1201377)
Backed out changeset 4ed8951e3f54 (bug 1199842)
Backed out changeset 5830178bc008 (bug 1199832)
Backed out changeset 4445c570fe49 (bug 1199698)
Backed out changeset 35fc1e25d167 (bug 1199800)
Backed out changeset 54c4c3bd2454 (bug 1199800)
Backed out changeset bd3112ce6b9b (bug 1199800)
Backed out changeset 701e56e18ca7 (bug 1199800)
Backed out changeset 4407d50a7995 (bug 1199800)
Backed out changeset af2fbe345712 (bug 1199800)
Backed out changeset 0a41d20fcf77 (bug 1197437)
2015-09-04 09:59:34 +02:00