Commit Graph

307 Commits

Author SHA1 Message Date
Masayuki Nakano
0cf8dbff4b Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske 2011-12-07 14:13:06 +09:00
Simon Montagu
7b749d2345 Use BrowserSetForcedCharacterSet instead of Firefox-specific SetForcedCharset. Bug 705943, r=dao 2011-11-30 11:10:41 +02:00
Igor Bazarny
6832a953c0 Bug 694612. Hook up the performance timing APIs even inside an <object>. r=bzbarsky 2011-11-17 10:24:03 +13:00
Oonishi Atsushi
ebc58fb880 Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Igor Bazarny
8b10d6b949 Bug 691547. Don't record a navigationStart for a docshell when one of its descendants navigates. r=bzbarsky 2011-11-08 11:51:20 -05:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Justin Lebar
fbe51410e2 Bug 683777 - In an attempt to fix a crash in nsDocShell::InternalLoad, re-land bug 646641 with an extra null-check. r=smaug 2011-10-21 11:26:34 -04:00
Joel Maher
1e47f3d3f0 Bug 674321 - port docshell_helpers.js to SpecialPowers. r=ted 2011-10-19 05:35:05 -04:00
Justin Lebar
5629c0bfc8 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Justin Lebar
e7ce3fbda2 Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange. 2011-10-17 21:09:17 -04:00
Justin Lebar
e295b19833 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Boris Zbarsky
31d91ff3a9 Bug 690056. Implement a vendor-prefixed version of the visibility API. r=sicking
The idea is to fire the visibilitychange event synchronously during pageshow and pagehide, since we're
already running script there for the pageshow/pagehide events.  For docshell active state changes, we
fire the event asynchronously.  In all cases, the actual state changes just before the event fires.
2011-10-11 17:29:12 -04:00
Joel Maher
be5ce7dc85 Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only. 2011-10-06 10:51:03 -04:00
Matt Brubeck
4a976aab61 Back out 2780356be1a1 (bug 675574) and 9928fb9a32b1 (bug 690220) on suspicion of causing browser-chrome shutdown hangs 2011-09-29 14:44:36 -07:00
Mounir Lamouri
6c638adde5 Bug 675574 - Do not allow more than one call to window.open() when we allow popups. r=jst 2011-09-28 23:23:36 +02:00
Boris Zbarsky
357f4e6801 Bug 688681. Back out the fix for bug 674321 because it broke a bunch of docshell tests. r=khuey 2011-09-23 12:26:37 -04:00
Jonathan Griffin
378ef8cf62 Bug 673285 - Remove unnecessary timeouts in test, r=smaug, a=testonly
--HG--
extra : rebase_source : d4dd42e4233e478edf1024536751a225ff1e0428
2011-08-24 10:47:54 -07:00
Justin Lebar
7e582ce643 Bug 680257 - Always call nsDocShell::ScrollToAnchor on short-circuited loads, so as to make sure the target pseudo-class is updated correctly. r=bz 2011-08-22 22:39:37 -04:00
Ehsan Akhgari
5a0b04f098 Bug 675201 - Wait until the window opened by layout/generic/test/test_bug514732.html is closed before running the next test, hopefully fixing the intermittent orange in layout/generic/test/test_bug632379.xul; r=volkmar 2011-08-18 11:09:16 -04:00
Malini Das
960a7c7495 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
02665c9658 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Justin Lebar
aa17ad67fe Bug 646641 - Part 2: Update SHistory so it understands that SHEntries may share content viewers. r=smaug
--HG--
extra : rebase_source : 431dafff170f2e6c8aa3429d5ec0f444efc53a10
2011-05-13 15:42:36 -04:00
Justin Lebar
8e5777e1a0 Bug 646641 - Part 1: Create nsSHEntryShared, so SHEntries from the same document can share state. r=smaug
--HG--
extra : rebase_source : 67c37d16f9ac4cbd69f7a76ee94e47c8adf59ae3
2011-08-06 11:44:02 -04:00
Matheus Kerschbaum
5692e9c245 Bug 669040 part 1: Remove build-system and toolkit dependency on mork and morkreader. r=mak 2011-08-06 17:24:52 +02:00
Justin Lebar
fd3b50e945 Bug 673467 - Part 1. Don't create an extra SHEntry for dynamically-added iframes. r=bz
--HG--
extra : rebase_source : 2af3094ea2dc95e30db3a9aa4d36766718efa009
2011-08-01 19:45:47 -04:00
Tim Taubert
f5dd994368 merge the last green changeset on fx-team to m-c 2011-08-02 14:21:37 +02:00
Tim Taubert
6f626c2d9a Bug 670318 - Google+ home page creates multiple SHEntries, and if you go back to the first one, you can no longer go forward; r=smaug 2011-08-01 23:45:45 +02:00
Boris Zbarsky
100cd4b0dd Bug 675587. Change the location on hash changes even if we can't scroll right then. r=jlebar 2011-08-01 13:43:23 -04:00
Dão Gottwald
165f87025b Backed out changeset 7ad075ec023b 2011-07-31 21:40:55 +02:00
Justin Lebar
a705cbbdb9 Bug 673467 - Part 1. Don't create an extra SHEntry for dynamically-added iframes. r=bz 2011-07-31 13:17:55 -04:00
Joel Maher
c830090389 Bug 674321 - port docshell_helpers.js to SpecialPowers, r=jgriffin, a=test-only 2011-07-28 12:03:59 -04:00
Matt Brubeck
f77383a536 Back out f57324fe25c9 (Bug 673467) because of mochitest-1 failures 2011-07-26 15:17:02 -07:00
Justin Lebar
22a16aaeef Bug 673467 - Don't create an extra SHEntry for dynamically-added iframes. r=bz 2011-07-26 13:07:48 -04:00
Justin Lebar
dc90d67bd7 Bug 669671 - When navigating to a history entry created via pushState or touched by replaceState, we should not force the load from cache. r=bz 2011-07-07 09:12:14 -04:00
Phil Ringnalda
49ca3d9624 Bug 634834 (long delayed) followup, it puts the iframe after the function for its onload, or it gets the "is not defined" error again 2011-07-04 20:53:49 -07:00
Igor Bazarny
a2f1b7e521 Bug 668513 - make the w3c tests for navigationtiming pass
r=smaug

--HG--
extra : rebase_source : 791001cf9c9fa54448d9f5f25cf92de4b8cc8d5e
2011-07-04 11:30:43 +02:00
Joe Drew
bcb9088b38 Bug 552605 - Write tests to make sure we reload images that are redirected with a Cache-Control: no-cache header. r=bz 2011-07-01 13:03:43 -04:00
Marco Bonardo
6013ac2db8 Backout bug 552605 and bug 619048 due to increase in random failures in reftests on a CLOSED TREE 2011-07-01 18:08:24 +02:00
Joe Drew
301a37eb71 Bug 552605 - Write tests to make sure we reload images that are redirected with a Cache-Control: no-cache header. r=bz 2011-06-30 21:58:36 -04:00
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Dão Gottwald
9e3c046bbe more random browser chrome test cleanup (no bug) 2011-06-11 16:54:23 +02:00
Steffen Wilberg
3b7e75b4ce Bug 435325: Offline mode error page should go online when clicking 'Try Again'. Add a goOnline() method to nsDOMWindowUtils, and call that from about:neterror in the netOffline case. ui-r=faaborg, r=bz, gavin. 2011-06-11 15:38:40 +02:00
Ehsan Akhgari
c29fd423ea Merge cedar into mozilla-central 2011-06-08 17:46:13 -04:00
Kyle Huey
d2da8f5e6c Merge m-c to cedar since I already pushed it in, and push what I actually wanted to push 2011-06-07 13:23:03 -07:00
Kyle Huey
145f013f05 Bug 662200: Regression test. 2011-06-07 13:08:07 -07:00
Justin Lebar
b195c39d86 Bug 662170 - Navigating to anchor '#' should scroll to top of the page. r=bz 2011-06-08 14:08:29 -04:00
Dão Gottwald
4e4ac318f3 Bug 658738 - remove event listeners in browser chrome tests 2011-06-07 16:45:26 +02:00
Boris Zbarsky
169ed5d1fc Bug 660404. Allow storing the previous page in bfcache even if the new one is a multipart response. r=smaug 2011-06-01 16:00:36 -04:00
Philipp von Weitershausen ext:(%2C%20Justin%20Lebar%20%3Cjustin.lebar%40gmail.com%3E)
5ae81a5495 Bug 420605 - Notify the favicon service when we do a hash navigation so fragment history entries get favicons correctly. r=sicking 2011-05-22 12:51:55 -04:00
Justin Lebar
95fbf4179e Bug 653741 - You should be able to scoll back to the current anchor by focusing the location bar and pressing <enter>. r=bz
--HG--
extra : rebase_source : fde3ce1083868e7d398c626628344bc521224666
2011-05-09 17:59:16 -04:00
Steven Michaud
3c38967408 Backed out changeset ae5b84b96fd7 (bug 570341) due to test failures DONTBUILD. a=sheriff 2011-05-24 01:54:23 -05:00
Igor Bazarny
b829003e22 bug 570341 - Initial implementation of web timing specification
r=jduell sr=biesi
2011-05-23 19:19:24 -07:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Justin Lebar
110b9f1823 Bug 655270 - push/replaceState should update the favicon. r=mak, sr=gavin 2011-05-20 08:37:02 -04:00
Justin Lebar
00e27b8bef Bug 655273 - SHEntries created by history.pushState should have their titles set. r=sicking
--HG--
extra : rebase_source : 72b12b4f2ff34510c350dc529b736f694b35bf6e
2011-05-09 14:54:36 -04:00
Gavin Sharp
dd3b8d223c Bug 656815: make loading javascript: URIs in a docshell work for DISALLOW_INHERIT_OWNER loads, r=bz
--HG--
extra : rebase_source : 6b0e289ac80ffab967813b06e2e28f2842921b70
2011-05-13 10:40:22 -07:00
Gavin Sharp
f6fa25a9a0 Bug 656433: don't allow URIs loaded into the location bar to inherit the currently loaded document's principal, r=bz, r=dao
--HG--
extra : rebase_source : 3eed0612c5740d6a52ba5898d7ae130cfadd9641
2011-05-12 10:52:25 -07:00
Justin Lebar
f454c06deb Backing out rev 355db79ef6b6 due to orange.
--HG--
extra : rebase_source : 196fc1d1d009a9d9c02c5b2132e6d30721594fd6
2011-05-15 21:51:04 -04:00
Justin Lebar
9ce61756db Bug 655273 - SHEntries created by history.pushState should have their titles set. r=sicking 2011-05-09 14:54:36 -04:00
Boris Zbarsky
4bade4fce7 Bug 508369 part 3. Stop using timeouts in the test. r=ehsan
The zip file change is just a change to replace top.poke() with parent.poke() so that the refresh test will be useful in the harness too.
2011-05-11 11:28:53 -04:00
Boris Zbarsky
a14c392751 Bug 508369 part 2. Change the test to catch the error fixed in part 1 in the future. This is just removing an extra .parent from the scripts in anchors.html inside the zip file. r=jst 2011-05-11 11:28:53 -04:00
Boris Zbarsky
014edefda3 Bug 508369 part 1. Move the detection of loads inheriting a principal later in InternalLoad so that we catch ones that pass in a non-null owner directly. r=jst 2011-05-11 11:28:53 -04:00
Justin Lebar
8ce3ec96a2 Bug 551225 - Make pushState use structured clone. r=zpao, sicking 2011-04-24 22:30:54 -04:00
Justin Lebar
2dbe5ce82d Bug 490153 - Fix intermittent orange in test_not-opener.html. r=sicking
--HG--
extra : rebase_source : 1865a51f62271e34f4d718ad9b9ed019a5c4fdb3
2011-04-27 16:53:52 -04:00
Marco Bonardo
a75d40810e Bug 641531 - Close Places containers after use (mechanical changes)
rs=me
2011-04-23 02:09:13 +02:00
Justin Lebar
331607e5aa Bug 628069 - Add newURL, oldURL properties to hashchange event. r=smaug
--HG--
extra : rebase_source : 865194e9c50612599ad029815314c0819de60124
2011-03-31 16:30:32 -04:00
Justin Lebar
f50c4cd27d Bug 640387 - onhashchange should be fired when navigating between history entries created via history.pushState if the entries' URIs differ only in their hashes. r=smaug
--HG--
extra : rebase_source : de3b3389e1ed402362f46b4b17f7cd386aca8361
2011-03-31 12:35:04 -04:00
Ehsan Akhgari
680e9b757e Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted 2011-04-16 19:39:34 -04:00
Jonathan Kew
20281c115e Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug. 2011-04-13 14:35:06 +01:00
Paul Biggar
bc3d36f617 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
L. David Baron
52ee86d378 Backout changeset b583111a88aa (bug 585152) for causing mochitest-browser-chrome orange on opt builds. 2011-04-12 01:29:41 -07:00
Paul Biggar
c0aeeea187 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Boris Zbarsky
aae915ec33 Bug 629559. Clone child session history entries on anchor navigation. r=dtownsend,smaug
--HG--
rename : dom/tests/mochitest/general/historyframes.html => docshell/test/historyframes.html
rename : dom/tests/mochitest/general/test_framedhistoryframes.html => docshell/test/test_framedhistoryframes.html
rename : dom/tests/mochitest/general/test_windowedhistoryframes.html => docshell/test/test_windowedhistoryframes.html
2011-03-30 13:40:48 -04:00
Boris Zbarsky
6814200abd Bug 637644. Start layout on the new document we just created in nsGlobalWindow::SetOpenerScriptPrincipal, since if we don't do it here no one ever will. r=jst 2011-03-02 14:45:13 -05:00
Jonas Sicking
9adba11f73 Bug 635844 part 2: Update pushState to latest agreed behavior. r=jlebar a=beltzner/jst 2011-02-28 23:08:56 -08:00
Jonas Sicking
0a21ea9298 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Justin Lebar
ef161c8702 Bug 634834 - Throw an error if JSON stringification during history.push/replaceState navigates the page. r=bz, a=blocking 2011-02-18 16:15:42 -08:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dfd1d01778 Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Serge Gautherie
6fe9a94662 Bug 628890 - mochitests-2: test_bug509055.html should not call SimpleTest.finish() before it actually has; (Av1) Wrap the call in SimpleTest.executeSoon() (ftb).
r=Olli.Pettay a=(test-only).
2011-01-26 17:07:28 +01:00
Jeff Walden
15fda24aa9 Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden
882117c5e3 Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity 2011-01-23 03:12:28 -08:00
Jeff Walden
5ef527b523 Another round of orange fixes, sigh. r=orange yet again 2011-01-23 00:12:05 -08:00
Jeff Walden
a04ed905d9 More orange-fixing. r=yellowish-red 2011-01-22 22:52:02 -08:00
Joel Maher
a1ced5aa8a Bug 601245 Stop packaging test files which are in tests.jar r=ctalbert a=test-only 2010-12-09 14:47:21 -08:00
Justin Lebar
71e63abc25 Bug 615061 - Dispatch the hashchange event synchronously. r=smaug, a2.0=blocking 2010-11-29 11:13:12 -08:00
Dão Gottwald
f02608aecf remove FUEL usage from these tests. a=tests-only
--HG--
extra : rebase_source : 646bf40bb3acf773ded5471bc42f745e3c356003
2010-11-28 21:02:03 +01:00
Jonas Sicking
0b34446294 Bug 608669: Make chrome-document-global-created be properly dispatched on newly opened windows. r=jst a=blocker 2010-11-23 00:50:56 -08:00
Mark Banner
055848b769 Bug 610974 - Ensure places is enabled for places related tests; r=sdwilsh, a=test-only change 2010-11-19 13:23:35 +00:00
Ehsan Akhgari
0450182992 Bug 611182 - Part 2: Correct the definition of EndOfDocument for the HTML editor in order to fix some tests which have been relying on the bogus node existing in non-empty editable documents; r=bzbarsky a=blocking-beta8+ 2010-11-11 16:40:55 -05:00
Johnny Stenback
41120f4b7c Bug 580128. Fix various mochi chrome tests to work with the new wrappers. r=mrbkap@gmail.com 2010-10-10 15:37:28 -07:00
Phil Ringnalda
b21a69cdb2 Bug 464946 - try to eliminate timeouts in test_bug428288.html by loading about:blank in the iframe instead of mozilla.com, a=orange
--HG--
extra : rebase_source : ad520f92a90bacb31c9853b8bf94e0914f8496a1
2010-10-03 21:39:18 -07:00
Justin Lebar
0e71fe597f Bug 593144 - Try to fix intermittent orange in test_bug593573.html. rs=sicking, a=test-only 2010-09-21 21:10:31 -04:00
Jonas Sicking
aac728d04b Bug 391177: XSLT should reuse the existing inner window in order to help debuggers and the like. r=jst a=blocker CLOSED TREE 2010-09-15 15:54:00 -07:00
Joel Maher
3b1fb9d8ce Bug 592859 Update browser chrome tests to only use chrome paths for mochitest to prep for android support r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Olli Pettay
a42909ef55 A test for Bug 534178, a=testcase for a blocker 2010-09-06 15:36:32 +03:00
Kyle Huey
a846b63dba Bug 583863: Refactor <input> implementation to deal with files that aren't on the disk. r=sicking a=blocking-fennec
--HG--
extra : rebase_source : 2b3605042aea4e4c8273cdad5ec7f05af15959cc
2010-09-05 14:00:05 -04:00
Kyle Huey
73e9690f8f Backed out changeset af1365b24066 2010-09-05 11:32:57 -04:00