Commit Graph

49081 Commits

Author SHA1 Message Date
Andreas Gal
98a47a4f07 Array.prototype lost its length property (583429, r=brendan). 2010-07-30 18:24:03 -07:00
Jeff Walden
5891afb00c Followup to bug 577536: move parse-as-octal inference to a slightly different location so as not to cause |parseInt('0A', 16)| to be parsed as octal. r=jorendorff 2010-07-30 14:39:51 -07:00
Luke Wagner
48166dd26f Fix warning in js_DumpAtoms on 64-bit (no bug) 2010-07-30 16:50:38 -07:00
Jeff Walden
b22a1c4599 Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
Jeff Walden
a38463c8a4 Bug 577536 - parseInt() uses radix 8 if the string starts with '0' but not 0x or 0X, and the digit string should be stringified before the radix is integerized. r=jorendorff 2010-07-23 02:29:44 -05:00
Jason Orendorff
7947f2514c Make CheckScopeChainValidity local to jsobj.cpp. No bug#, rs=gal on IRC. 2010-07-29 16:25:06 -05:00
Jason Orendorff
90eb236531 jsapi-tests: Remove unnecessary #include that causes warnings on MSVC. no_r=me.
--HG--
extra : rebase_source : 687fcbb5901d4484750665189afeec284db759f0
2010-07-29 15:55:22 -05:00
Chris Leary
de4f1f12a2 Fix trace-test.py to work on symlinks. (r=self). 2010-07-29 11:02:54 -07:00
Doug Turner
848fbc02f4 Bug 568925 - Remote History Set Title for URI. r=cjones, sr=bz 2010-07-02 08:53:42 -07:00
L. David Baron
dbd3ee48de Rev IID, which was missed in changeset 56030877b753. (Bug 582303) 2010-07-28 16:57:32 -07:00
L. David Baron
a539512caf Clean up messy line thanks to new operator from bug 570912. (Bug 582111) r=bzbarsky 2010-07-28 16:43:53 -07:00
L. David Baron
18dff75787 Make the transitions style rule hold on to its values and thus preserve rule immutability. Do this by reusing the code for the covering style rule for both transitions style rule types. (Bug 582111) r=bzbarsky 2010-07-28 16:43:53 -07:00
David Zbarsky
b031cede9e Remove unneeded nsIDOMNSHTMLButtonElement interface by merging it into nsIDOMHTMLButtonElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
b3ebf67236 Remove unneeded nsIDOMNSHTMLAreaElement and nsIDOMNSHTMLAreaElement2 interfaces by merging them into nsIDOMHTMLAreaElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
f1c4604ccc Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
91c644282f Remove unneeded nsIDOMNSHTMLOptionElement interface by merging it into nsIDOMHTMLOptionElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
08bd79fe55 Remove unneeded nsIDOMNSHTMLScriptElement interface by merging it into nsIDOMHTMLScriptElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
aa0b85856a Remove unneeded nsIDOMNSHTMLLabelElement interface by merging it into nsIDOMHTMLLabelElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
Felipe Gomes
2f25b339e8 Bug 582315. Intermittent orange in test_taskbarprogress_downloadstates.xul 2010-07-28 16:43:52 -07:00
Paul O’Shannessy
72daea871b Bug 582753 - Merge fx-sync to mozilla-central [r=vlad] 2010-07-28 15:10:51 -07:00
Joe Drew
42e42531be Bug 572520: step 9, test asynchronous notification for regular loads and channel loads on static, animated, and 404 images. r=jrmuizel,bholley 2010-07-28 14:52:59 -07:00
Joe Drew
9ecbf020a6 Bug 572520: step 8, make LoadImage and LoadImageWithChannel scriptable so they are testable from js unit tests. r=jrmuizel sr=vlad 2010-07-28 14:52:50 -07:00
Joe Drew
364a44e4bd Bug 572520: step 7.1, Add some logging to imgStatusTracker. r=bholley 2010-07-28 14:52:34 -07:00
Joe Drew
e2fa5f1de8 Bug 572520: step 7, delay otherwise-synchronous notifications, and send them asynchronously later. r=jrmuizel,bholley sr=bz 2010-07-28 14:52:14 -07:00
Philipp von Weitershausen
23ee08503e Bug 580158 - Change Firefox Sync behavior in Private Browsing mode [r=mconnor]
Don't disable sync when in private browsing. When in explicit private browsing mode (either via menu item or -private command line flag), have tabs engine not provide data.
2010-07-19 23:07:45 -07:00
Philipp von Weitershausen
223fbdf62d Bug 579510 - Make sure multi-byte passwords are stored and sent correctly [r=mconnor]
UTF8-encode passwords when creating accounts, changing passwords, and when authenticating. Detect old low-byte only passwords on the server and reupload them as UTF8.
2010-07-20 00:28:54 +02:00
Philipp von Weitershausen
c6b05f2bb1 Add missing test_service_passphraseUTF8 from bug 558963 2010-07-02 14:44:00 +02:00
Edward Lee
61ced88b2e Bug 579209 - Blue "i" for delayed node assignment disappears on sync [r=mconnor]
Explicitly set the NO_SYNC_NODE sync status to keep the "i".
2010-07-15 17:02:06 -07:00
Mike Connor
39e9fff92b Bug 578825 - sync should only sort on mobile clients, r=Mardak 2010-07-14 18:18:24 -04:00
Philipp von Weitershausen
0c89ecd876 Bug 569744 - Delayed loading of service.js causes test failures [r=Mardak]
Explicitly set username pref so that when service.js starts up (which it does after 10s, thanks to Weave.js) it doesn't reset the WeaveID's username to ''.
2010-07-14 18:36:13 +02:00
Philipp von Weitershausen
efc1efae81 Bug 558963, part 2, UTF-8 encode passphrase and rewrap keys if needed, r=mconnor 2010-07-03 14:13:40 -04:00
Philipp von Weitershausen
c7f7dd613e Bug 558963, part 1, add UTF-8 helpers and tests, r=mconnor 2010-07-03 14:11:58 -04:00
Philipp von Weitershausen
41a4891ba7 Bug 576554 - Need manifests to register XPCOM components on trunk, r=mconnor 2010-07-03 13:26:57 -04:00
Philipp von Weitershausen
bb6cc1d5bb Bug 576084 - Firefox Sync failing to load on Android: error creating resource://services-sync substitution, r=mconnor
No need for the file URI dance, just use the resource:// directly.
2010-07-01 16:44:32 -07:00
Edward Lee
eca54fde2e Bug 575423 - Forced syncs fail to upload some history [r=mconnor]
Select from views to get disk and memory data now that async makes it not block.
2010-06-29 11:18:21 -07:00
Philipp von Weitershausen
9b34f348c7 Bug 573740 - Register resource://services-sync before xpcshell tests get run [r=Mardak]
Don't try to create the alias too early, add-on chrome registration might not have happened yet, so do it during testing.
2010-06-23 16:28:10 +02:00
Philipp von Weitershausen
fc4daed597 Bug 569744 - Delayed loading of service.js causes test failures [r=Mardak]
Have FakeCryptoService.generateRandomIV() return 24 bytes so that Weave.Service._checkCrypto() believes it's the real deal. Fix undeclared variable.
2010-06-23 12:36:48 +02:00
Edward Lee
86f538e41e Bug 573740 - Register resource://services-sync before xpcshell tests get run [r=mconnor]
Add the alias to resource://services-sync when loading the component instead of waiting for app-startup, which doesn't fire for xpcshell tests.
2010-06-22 19:11:20 -07:00
Edward Lee
b3db2d2328 Bug 573870 - Be less strict about what the path/root of an exception stack file can be [r=mconnor]
Just match anything that doesn't look like another stack file entry.
2010-06-22 16:29:47 -07:00
Edward Lee
29f095c96f Bug 573842 - Work around non-null terminated string issue for decrypted strings [r=mconnor]
Just wrap with empty strings until bug 573841 is fixed.
2010-06-22 19:09:29 -07:00
Edward Lee
6ce04aa984 Bug 573679 - Fix tests to pass on trunk
Get a profile for xpcshell tests so that login manager works (and probably other stuff). Fix up anno test from this change to use a real bookmark id.
2010-06-22 18:28:37 -07:00
Edward Lee
547387482f Bug 573679 - Fix tests to pass on trunk
Use Utils.delay instead of setTimeout.
2010-06-22 16:49:33 -07:00
Edward Lee
6b59818d1b Bug 573679 - Fix tests to pass on trunk
Switch around which lazy services we use to test with but cover even more data types.
2010-06-22 16:48:55 -07:00
Edward Lee
cd82d6dcbb Bug 573679 - Fix tests to pass on trunk
Just take parts of a static string instead of randomly generating bytes and btoa-ing.
2010-06-22 16:47:44 -07:00
Edward Lee
80fc412879 Bug 573679 - Fix tests to pass on trunk
Use do_load_httpd_js for xpcshell tests and have consumers directly call new nsHttpServer().
2010-06-22 13:18:10 -07:00
Edward Lee
fd877450e3 Bug 573691 - Flatten/split components and prefs for services vs ui separation [r=mconnor]
Move about:weave-tabs component to ui/firefox and flatten structure of the components. Split prefs for services vs firefox.
2010-06-22 08:14:15 -07:00
Edward Lee
58b70d2360 Bug 573668 - Register appinfo with correct OS for tests
Register a fake AppInfo with correct OS if it doesn't exist yet. Just use Svc.Crypto instead of trying to dynamically pick the contract id. Name the head files so they load in appinfo -> helper -> http order.

--HG--
rename : services/sync/tests/unit/bookmark_setup.js => services/sync/tests/unit/head_appinfo.js
rename : services/sync/tests/unit/head_first.js => services/sync/tests/unit/head_helpers.js
2010-06-22 00:20:31 -07:00
Edward Lee
0192c7670c Bug 573679 - Fix tests to pass on trunk
Create a bookmark so that the url will exist when setting annotations.
2010-06-21 23:56:56 -07:00
Marco Bonardo
f9a6abae66 Bug 547190 - AsInt64 (and other AsXXX cpp helpers) ignores GetInt64 failures. r=sdwilsh 2010-06-22 02:01:33 +02:00
Ms2ger
f44cbdb1a4 Bug 564001 - Should use the first image map in tree order r=bzbarsky a=benjamin
--HG--
extra : rebase_source : 0bd0a6eafd22095fc0621dc294ad95ca7fd1b7d6
2010-08-06 13:08:58 +02:00