Commit Graph

82 Commits

Author SHA1 Message Date
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
Bill McCloskey
d77e121881 Bug 1199800 - [webext] Allow extensions to be generated from JSON (r=gabor) 2015-09-03 20:59:03 -07:00
Bill McCloskey
e26678da25 Bug 1199800 - [webext] More refactoring of SpecialPowers to support chrome tests (r=gabor) 2015-09-03 20:59:01 -07:00
Yoshi Huang
8b5f32856e Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
Bill McCloskey
bb5e250df8 Bug 1197507 - [webext] Allow Mochitests to load WebExtensions via special powers (r=gabor) 2015-08-25 15:14:10 -07:00
Bobby Holley
d12b79b75a Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Yoshi Huang
22d5c28f38 Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Michael Layzell
33c106d99d Bug 1165217 - Use nsIPrincipal instead of nsIURI/appId/inBrowser for nsIQuotaManager, r=janv 2015-08-18 20:24:30 -04:00
chunminchang
a9f69be393 Bug 1141415 - add expire setting of permission to SpecialPowers. r=jmaher 2015-06-12 18:01:00 +02:00
Wes Kocher
110ce4497c Backed out changeset 020ac30e270a (bug 1141415) for windows mochitest bustage 2015-05-27 14:45:35 -07:00
chunminchang
070caf25e5 Bug 1141415 - Add expire setting of permission to SpecialPowers. r=jmaher 2015-05-27 10:44:52 +08:00
chunminchang
15e9c22777 Bug 1149868 - Move permissionObserver to SpecialPowersObserver to listen all perm-changed signals. r=jmaher 2015-05-24 18:49:00 -04:00
Alexandre Lissy
0684391f91 Bug 1167056 - Fix broken indentation. r=gwagner 2015-05-20 22:42:00 -04:00