Search about:neterror net_error.html marionette orange

RESOLVED FIXED

Status

Testing Graveyard
JSMarionette
RESOLVED FIXED
5 years ago
4 months ago

People

(Reporter: gaye, Assigned: aus)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
1) search navigate to invalid page (about:neterror) loads net_error.html from system:

JavaScriptError: (17) UnknownError

Remote Stack:

@app://browser.gaiamobile.org/js/browser_db.js, line 393

at Error.MarionetteError (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13)

at Object.Client._handleCallback (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:474:19)

at /home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21

at TcpSync.send (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10)

at Object.send (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36)

at Object.Client._sendCommand (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19)

at Object._executeScript (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1448:19)

at Object.executeAsyncScript (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1229:19)

at Object.Client.waitForSync (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:674:14)

at Object.Client.waitFor (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:648:60)

at Object.MarionetteHelper.waitForElement (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-helper/index.js:131:12)

at Context.<anonymous> (/home/travis/build/mozilla-b2g/gaia/apps/browser/test/marionette/navigate_test.js:82:29)

at Test.Runnable.run (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:211:32)

at Runner.runTest (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:372:10)

at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:448:12

at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:297:14)

at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:307:7

at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:245:23)

at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:269:7

at Hook.Runnable.run (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:213:5)

at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:257:10)

at Object._onImmediate (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:274:5)

at processImmediate [as _immediateCallback] (timers.js:330:15)
(Reporter)

Updated

5 years ago
Blocks: 952611
(Assignee)

Comment 1

4 years ago
I think I might have something that does the trick...
Assignee: nobody → aus
Status: NEW → ASSIGNED
(Assignee)

Comment 2

4 years ago
Created attachment 8357972 [details] [review]
Pull Request - Wait for error-message element to be visible before verifying message content
Attachment #8357972 - Flags: review?(gaye)
(Reporter)

Updated

4 years ago
Attachment #8357972 - Flags: review?(gaye) → review+
(Assignee)

Comment 3

4 years ago
Fixed on master.

Commit: https://github.com/mozilla-b2g/gaia/commit/8a7754ef543f2a798f35830214e590159202b565
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED

Updated

4 months ago
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.